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.68 for libXext 1.2.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 as_awk_strverscmp='
    549   # Use only awk features that work with 7th edition Unix awk (1978).
    550   # My, what an old awk you have, Mr. Solaris!
    551   END {
    552     while (length(v1) && length(v2)) {
    553       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    554       # Normally this is a single character, but if v1 and v2 contain digits,
    555       # compare them as integers and fractions as strverscmp does.
    556       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    557 	# Split v1 and v2 into their leading digit string components d1 and d2,
    558 	# and advance v1 and v2 past the leading digit strings.
    559 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    560 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    561 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    562 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    563 	if (d1 ~ /^0/) {
    564 	  if (d2 ~ /^0/) {
    565 	    # Compare two fractions.
    566 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    567 	      d1 = substr(d1, 2); len1--
    568 	      d2 = substr(d2, 2); len2--
    569 	    }
    570 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    571 	      # The two components differ in length, and the common prefix
    572 	      # contains only leading zeros.  Consider the longer to be less.
    573 	      d1 = -len1
    574 	      d2 = -len2
    575 	    } else {
    576 	      # Otherwise, compare as strings.
    577 	      d1 = "x" d1
    578 	      d2 = "x" d2
    579 	    }
    580 	  } else {
    581 	    # A fraction is less than an integer.
    582 	    exit 1
    583 	  }
    584 	} else {
    585 	  if (d2 ~ /^0/) {
    586 	    # An integer is greater than a fraction.
    587 	    exit 2
    588 	  } else {
    589 	    # Compare two integers.
    590 	    d1 += 0
    591 	    d2 += 0
    592 	  }
    593 	}
    594       } else {
    595 	# The normal case, without worrying about digits.
    596 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    597 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    598       }
    599       if (d1 < d2) exit 1
    600       if (d1 > d2) exit 2
    601     }
    602     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    603     # which mishandles some comparisons of empty strings to integers.
    604     if (length(v2)) exit 1
    605     if (length(v1)) exit 2
    606   }
    607 '
    608 SHELL=${CONFIG_SHELL-/bin/sh}
    609 
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libXext'
    633 PACKAGE_TARNAME='libXext'
    634 PACKAGE_VERSION='1.2.0'
    635 PACKAGE_STRING='libXext 1.2.0'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 MAKE_LINT_LIB_FALSE
    681 MAKE_LINT_LIB_TRUE
    682 LINTLIB
    683 LINT_FALSE
    684 LINT_TRUE
    685 LINT_FLAGS
    686 LINT
    687 XTMALLOC_ZERO_CFLAGS
    688 XMALLOC_ZERO_CFLAGS
    689 MALLOC_ZERO_CFLAGS
    690 XEXT_LIBS
    691 XEXT_CFLAGS
    692 OTOOL64
    693 OTOOL
    694 LIPO
    695 NMEDIT
    696 DSYMUTIL
    697 RANLIB
    698 AR
    699 OBJDUMP
    700 LN_S
    701 NM
    702 ac_ct_DUMPBIN
    703 DUMPBIN
    704 LD
    705 FGREP
    706 LIBTOOL
    707 XEXT_SOREV
    708 HAVE_STYLESHEETS_FALSE
    709 HAVE_STYLESHEETS_TRUE
    710 XSL_STYLESHEET
    711 STYLESHEET_SRCDIR
    712 XORG_SGML_PATH
    713 HAVE_FOP_FALSE
    714 HAVE_FOP_TRUE
    715 FOP
    716 HAVE_XMLTO_FALSE
    717 HAVE_XMLTO_TRUE
    718 HAVE_XMLTO_TEXT_FALSE
    719 HAVE_XMLTO_TEXT_TRUE
    720 XMLTO
    721 ENABLE_SPECS_FALSE
    722 ENABLE_SPECS_TRUE
    723 AM_BACKSLASH
    724 AM_DEFAULT_VERBOSITY
    725 MAN_SUBSTS
    726 XORG_MAN_PAGE
    727 ADMIN_MAN_DIR
    728 DRIVER_MAN_DIR
    729 MISC_MAN_DIR
    730 FILE_MAN_DIR
    731 LIB_MAN_DIR
    732 APP_MAN_DIR
    733 ADMIN_MAN_SUFFIX
    734 DRIVER_MAN_SUFFIX
    735 MISC_MAN_SUFFIX
    736 FILE_MAN_SUFFIX
    737 LIB_MAN_SUFFIX
    738 APP_MAN_SUFFIX
    739 SED
    740 host_os
    741 host_vendor
    742 host_cpu
    743 host
    744 build_os
    745 build_vendor
    746 build_cpu
    747 build
    748 INSTALL_CMD
    749 PKG_CONFIG
    750 CHANGELOG_CMD
    751 CWARNFLAGS
    752 EGREP
    753 GREP
    754 CPP
    755 am__fastdepCC_FALSE
    756 am__fastdepCC_TRUE
    757 CCDEPMODE
    758 AMDEPBACKSLASH
    759 AMDEP_FALSE
    760 AMDEP_TRUE
    761 am__quote
    762 am__include
    763 DEPDIR
    764 OBJEXT
    765 EXEEXT
    766 ac_ct_CC
    767 CPPFLAGS
    768 LDFLAGS
    769 CFLAGS
    770 CC
    771 MAINT
    772 MAINTAINER_MODE_FALSE
    773 MAINTAINER_MODE_TRUE
    774 am__untar
    775 am__tar
    776 AMTAR
    777 am__leading_dot
    778 SET_MAKE
    779 AWK
    780 mkdir_p
    781 MKDIR_P
    782 INSTALL_STRIP_PROGRAM
    783 STRIP
    784 install_sh
    785 MAKEINFO
    786 AUTOHEADER
    787 AUTOMAKE
    788 AUTOCONF
    789 ACLOCAL
    790 VERSION
    791 PACKAGE
    792 CYGPATH_W
    793 am__isrc
    794 INSTALL_DATA
    795 INSTALL_SCRIPT
    796 INSTALL_PROGRAM
    797 target_alias
    798 host_alias
    799 build_alias
    800 LIBS
    801 ECHO_T
    802 ECHO_N
    803 ECHO_C
    804 DEFS
    805 mandir
    806 localedir
    807 libdir
    808 psdir
    809 pdfdir
    810 dvidir
    811 htmldir
    812 infodir
    813 docdir
    814 oldincludedir
    815 includedir
    816 localstatedir
    817 sharedstatedir
    818 sysconfdir
    819 datadir
    820 datarootdir
    821 libexecdir
    822 sbindir
    823 bindir
    824 program_transform_name
    825 prefix
    826 exec_prefix
    827 PACKAGE_URL
    828 PACKAGE_BUGREPORT
    829 PACKAGE_STRING
    830 PACKAGE_VERSION
    831 PACKAGE_TARNAME
    832 PACKAGE_NAME
    833 PATH_SEPARATOR
    834 SHELL'
    835 ac_subst_files=''
    836 ac_user_opts='
    837 enable_option_checking
    838 enable_maintainer_mode
    839 enable_dependency_tracking
    840 enable_strict_compilation
    841 enable_silent_rules
    842 enable_specs
    843 with_xmlto
    844 with_fop
    845 enable_shared
    846 enable_static
    847 with_pic
    848 enable_fast_install
    849 with_gnu_ld
    850 enable_libtool_lock
    851 enable_malloc0returnsnull
    852 with_lint
    853 enable_lint_library
    854 '
    855       ac_precious_vars='build_alias
    856 host_alias
    857 target_alias
    858 CC
    859 CFLAGS
    860 LDFLAGS
    861 LIBS
    862 CPPFLAGS
    863 CPP
    864 PKG_CONFIG
    865 XMLTO
    866 FOP
    867 XEXT_CFLAGS
    868 XEXT_LIBS
    869 LINT
    870 LINT_FLAGS'
    871 
    872 
    873 # Initialize some variables set by options.
    874 ac_init_help=
    875 ac_init_version=false
    876 ac_unrecognized_opts=
    877 ac_unrecognized_sep=
    878 # The variables have the same names as the options, with
    879 # dashes changed to underlines.
    880 cache_file=/dev/null
    881 exec_prefix=NONE
    882 no_create=
    883 no_recursion=
    884 prefix=NONE
    885 program_prefix=NONE
    886 program_suffix=NONE
    887 program_transform_name=s,x,x,
    888 silent=
    889 site=
    890 srcdir=
    891 verbose=
    892 x_includes=NONE
    893 x_libraries=NONE
    894 
    895 # Installation directory options.
    896 # These are left unexpanded so users can "make install exec_prefix=/foo"
    897 # and all the variables that are supposed to be based on exec_prefix
    898 # by default will actually change.
    899 # Use braces instead of parens because sh, perl, etc. also accept them.
    900 # (The list follows the same order as the GNU Coding Standards.)
    901 bindir='${exec_prefix}/bin'
    902 sbindir='${exec_prefix}/sbin'
    903 libexecdir='${exec_prefix}/libexec'
    904 datarootdir='${prefix}/share'
    905 datadir='${datarootdir}'
    906 sysconfdir='${prefix}/etc'
    907 sharedstatedir='${prefix}/com'
    908 localstatedir='${prefix}/var'
    909 includedir='${prefix}/include'
    910 oldincludedir='/usr/include'
    911 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    912 infodir='${datarootdir}/info'
    913 htmldir='${docdir}'
    914 dvidir='${docdir}'
    915 pdfdir='${docdir}'
    916 psdir='${docdir}'
    917 libdir='${exec_prefix}/lib'
    918 localedir='${datarootdir}/locale'
    919 mandir='${datarootdir}/man'
    920 
    921 ac_prev=
    922 ac_dashdash=
    923 for ac_option
    924 do
    925   # If the previous option needs an argument, assign it.
    926   if test -n "$ac_prev"; then
    927     eval $ac_prev=\$ac_option
    928     ac_prev=
    929     continue
    930   fi
    931 
    932   case $ac_option in
    933   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    934   *=)   ac_optarg= ;;
    935   *)    ac_optarg=yes ;;
    936   esac
    937 
    938   # Accept the important Cygnus configure options, so we can diagnose typos.
    939 
    940   case $ac_dashdash$ac_option in
    941   --)
    942     ac_dashdash=yes ;;
    943 
    944   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    945     ac_prev=bindir ;;
    946   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    947     bindir=$ac_optarg ;;
    948 
    949   -build | --build | --buil | --bui | --bu)
    950     ac_prev=build_alias ;;
    951   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    952     build_alias=$ac_optarg ;;
    953 
    954   -cache-file | --cache-file | --cache-fil | --cache-fi \
    955   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    956     ac_prev=cache_file ;;
    957   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    958   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    959     cache_file=$ac_optarg ;;
    960 
    961   --config-cache | -C)
    962     cache_file=config.cache ;;
    963 
    964   -datadir | --datadir | --datadi | --datad)
    965     ac_prev=datadir ;;
    966   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    967     datadir=$ac_optarg ;;
    968 
    969   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    970   | --dataroo | --dataro | --datar)
    971     ac_prev=datarootdir ;;
    972   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    973   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    974     datarootdir=$ac_optarg ;;
    975 
    976   -disable-* | --disable-*)
    977     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    978     # Reject names that are not valid shell variable names.
    979     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    980       as_fn_error $? "invalid feature name: $ac_useropt"
    981     ac_useropt_orig=$ac_useropt
    982     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    983     case $ac_user_opts in
    984       *"
    985 "enable_$ac_useropt"
    986 "*) ;;
    987       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    988 	 ac_unrecognized_sep=', ';;
    989     esac
    990     eval enable_$ac_useropt=no ;;
    991 
    992   -docdir | --docdir | --docdi | --doc | --do)
    993     ac_prev=docdir ;;
    994   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    995     docdir=$ac_optarg ;;
    996 
    997   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    998     ac_prev=dvidir ;;
    999   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1000     dvidir=$ac_optarg ;;
   1001 
   1002   -enable-* | --enable-*)
   1003     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1004     # Reject names that are not valid shell variable names.
   1005     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1006       as_fn_error $? "invalid feature name: $ac_useropt"
   1007     ac_useropt_orig=$ac_useropt
   1008     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1009     case $ac_user_opts in
   1010       *"
   1011 "enable_$ac_useropt"
   1012 "*) ;;
   1013       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1014 	 ac_unrecognized_sep=', ';;
   1015     esac
   1016     eval enable_$ac_useropt=\$ac_optarg ;;
   1017 
   1018   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1019   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1020   | --exec | --exe | --ex)
   1021     ac_prev=exec_prefix ;;
   1022   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1023   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1024   | --exec=* | --exe=* | --ex=*)
   1025     exec_prefix=$ac_optarg ;;
   1026 
   1027   -gas | --gas | --ga | --g)
   1028     # Obsolete; use --with-gas.
   1029     with_gas=yes ;;
   1030 
   1031   -help | --help | --hel | --he | -h)
   1032     ac_init_help=long ;;
   1033   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1034     ac_init_help=recursive ;;
   1035   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1036     ac_init_help=short ;;
   1037 
   1038   -host | --host | --hos | --ho)
   1039     ac_prev=host_alias ;;
   1040   -host=* | --host=* | --hos=* | --ho=*)
   1041     host_alias=$ac_optarg ;;
   1042 
   1043   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1044     ac_prev=htmldir ;;
   1045   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1046   | --ht=*)
   1047     htmldir=$ac_optarg ;;
   1048 
   1049   -includedir | --includedir | --includedi | --included | --include \
   1050   | --includ | --inclu | --incl | --inc)
   1051     ac_prev=includedir ;;
   1052   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1053   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1054     includedir=$ac_optarg ;;
   1055 
   1056   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1057     ac_prev=infodir ;;
   1058   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1059     infodir=$ac_optarg ;;
   1060 
   1061   -libdir | --libdir | --libdi | --libd)
   1062     ac_prev=libdir ;;
   1063   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1064     libdir=$ac_optarg ;;
   1065 
   1066   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1067   | --libexe | --libex | --libe)
   1068     ac_prev=libexecdir ;;
   1069   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1070   | --libexe=* | --libex=* | --libe=*)
   1071     libexecdir=$ac_optarg ;;
   1072 
   1073   -localedir | --localedir | --localedi | --localed | --locale)
   1074     ac_prev=localedir ;;
   1075   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1076     localedir=$ac_optarg ;;
   1077 
   1078   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1079   | --localstate | --localstat | --localsta | --localst | --locals)
   1080     ac_prev=localstatedir ;;
   1081   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1082   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1083     localstatedir=$ac_optarg ;;
   1084 
   1085   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1086     ac_prev=mandir ;;
   1087   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1088     mandir=$ac_optarg ;;
   1089 
   1090   -nfp | --nfp | --nf)
   1091     # Obsolete; use --without-fp.
   1092     with_fp=no ;;
   1093 
   1094   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1095   | --no-cr | --no-c | -n)
   1096     no_create=yes ;;
   1097 
   1098   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1099   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1100     no_recursion=yes ;;
   1101 
   1102   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1103   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1104   | --oldin | --oldi | --old | --ol | --o)
   1105     ac_prev=oldincludedir ;;
   1106   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1107   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1108   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1109     oldincludedir=$ac_optarg ;;
   1110 
   1111   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1112     ac_prev=prefix ;;
   1113   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1114     prefix=$ac_optarg ;;
   1115 
   1116   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1117   | --program-pre | --program-pr | --program-p)
   1118     ac_prev=program_prefix ;;
   1119   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1120   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1121     program_prefix=$ac_optarg ;;
   1122 
   1123   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1124   | --program-suf | --program-su | --program-s)
   1125     ac_prev=program_suffix ;;
   1126   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1127   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1128     program_suffix=$ac_optarg ;;
   1129 
   1130   -program-transform-name | --program-transform-name \
   1131   | --program-transform-nam | --program-transform-na \
   1132   | --program-transform-n | --program-transform- \
   1133   | --program-transform | --program-transfor \
   1134   | --program-transfo | --program-transf \
   1135   | --program-trans | --program-tran \
   1136   | --progr-tra | --program-tr | --program-t)
   1137     ac_prev=program_transform_name ;;
   1138   -program-transform-name=* | --program-transform-name=* \
   1139   | --program-transform-nam=* | --program-transform-na=* \
   1140   | --program-transform-n=* | --program-transform-=* \
   1141   | --program-transform=* | --program-transfor=* \
   1142   | --program-transfo=* | --program-transf=* \
   1143   | --program-trans=* | --program-tran=* \
   1144   | --progr-tra=* | --program-tr=* | --program-t=*)
   1145     program_transform_name=$ac_optarg ;;
   1146 
   1147   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1148     ac_prev=pdfdir ;;
   1149   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1150     pdfdir=$ac_optarg ;;
   1151 
   1152   -psdir | --psdir | --psdi | --psd | --ps)
   1153     ac_prev=psdir ;;
   1154   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1155     psdir=$ac_optarg ;;
   1156 
   1157   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1158   | -silent | --silent | --silen | --sile | --sil)
   1159     silent=yes ;;
   1160 
   1161   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1162     ac_prev=sbindir ;;
   1163   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1164   | --sbi=* | --sb=*)
   1165     sbindir=$ac_optarg ;;
   1166 
   1167   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1168   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1169   | --sharedst | --shareds | --shared | --share | --shar \
   1170   | --sha | --sh)
   1171     ac_prev=sharedstatedir ;;
   1172   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1173   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1174   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1175   | --sha=* | --sh=*)
   1176     sharedstatedir=$ac_optarg ;;
   1177 
   1178   -site | --site | --sit)
   1179     ac_prev=site ;;
   1180   -site=* | --site=* | --sit=*)
   1181     site=$ac_optarg ;;
   1182 
   1183   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1184     ac_prev=srcdir ;;
   1185   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1186     srcdir=$ac_optarg ;;
   1187 
   1188   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1189   | --syscon | --sysco | --sysc | --sys | --sy)
   1190     ac_prev=sysconfdir ;;
   1191   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1192   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1193     sysconfdir=$ac_optarg ;;
   1194 
   1195   -target | --target | --targe | --targ | --tar | --ta | --t)
   1196     ac_prev=target_alias ;;
   1197   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1198     target_alias=$ac_optarg ;;
   1199 
   1200   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1201     verbose=yes ;;
   1202 
   1203   -version | --version | --versio | --versi | --vers | -V)
   1204     ac_init_version=: ;;
   1205 
   1206   -with-* | --with-*)
   1207     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1208     # Reject names that are not valid shell variable names.
   1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1210       as_fn_error $? "invalid package name: $ac_useropt"
   1211     ac_useropt_orig=$ac_useropt
   1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1213     case $ac_user_opts in
   1214       *"
   1215 "with_$ac_useropt"
   1216 "*) ;;
   1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1218 	 ac_unrecognized_sep=', ';;
   1219     esac
   1220     eval with_$ac_useropt=\$ac_optarg ;;
   1221 
   1222   -without-* | --without-*)
   1223     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1224     # Reject names that are not valid shell variable names.
   1225     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1226       as_fn_error $? "invalid package name: $ac_useropt"
   1227     ac_useropt_orig=$ac_useropt
   1228     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1229     case $ac_user_opts in
   1230       *"
   1231 "with_$ac_useropt"
   1232 "*) ;;
   1233       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1234 	 ac_unrecognized_sep=', ';;
   1235     esac
   1236     eval with_$ac_useropt=no ;;
   1237 
   1238   --x)
   1239     # Obsolete; use --with-x.
   1240     with_x=yes ;;
   1241 
   1242   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1243   | --x-incl | --x-inc | --x-in | --x-i)
   1244     ac_prev=x_includes ;;
   1245   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1246   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1247     x_includes=$ac_optarg ;;
   1248 
   1249   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1250   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1251     ac_prev=x_libraries ;;
   1252   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1253   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1254     x_libraries=$ac_optarg ;;
   1255 
   1256   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1257 Try \`$0 --help' for more information"
   1258     ;;
   1259 
   1260   *=*)
   1261     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1262     # Reject names that are not valid shell variable names.
   1263     case $ac_envvar in #(
   1264       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1265       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1266     esac
   1267     eval $ac_envvar=\$ac_optarg
   1268     export $ac_envvar ;;
   1269 
   1270   *)
   1271     # FIXME: should be removed in autoconf 3.0.
   1272     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1273     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1274       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1275     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1276     ;;
   1277 
   1278   esac
   1279 done
   1280 
   1281 if test -n "$ac_prev"; then
   1282   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1283   as_fn_error $? "missing argument to $ac_option"
   1284 fi
   1285 
   1286 if test -n "$ac_unrecognized_opts"; then
   1287   case $enable_option_checking in
   1288     no) ;;
   1289     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1290     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1291   esac
   1292 fi
   1293 
   1294 # Check all directory arguments for consistency.
   1295 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1296 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1297 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1298 		libdir localedir mandir
   1299 do
   1300   eval ac_val=\$$ac_var
   1301   # Remove trailing slashes.
   1302   case $ac_val in
   1303     */ )
   1304       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1305       eval $ac_var=\$ac_val;;
   1306   esac
   1307   # Be sure to have absolute directory names.
   1308   case $ac_val in
   1309     [\\/$]* | ?:[\\/]* )  continue;;
   1310     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1311   esac
   1312   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1313 done
   1314 
   1315 # There might be people who depend on the old broken behavior: `$host'
   1316 # used to hold the argument of --host etc.
   1317 # FIXME: To remove some day.
   1318 build=$build_alias
   1319 host=$host_alias
   1320 target=$target_alias
   1321 
   1322 # FIXME: To remove some day.
   1323 if test "x$host_alias" != x; then
   1324   if test "x$build_alias" = x; then
   1325     cross_compiling=maybe
   1326     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1327     If a cross compiler is detected then cross compile mode will be used" >&2
   1328   elif test "x$build_alias" != "x$host_alias"; then
   1329     cross_compiling=yes
   1330   fi
   1331 fi
   1332 
   1333 ac_tool_prefix=
   1334 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1335 
   1336 test "$silent" = yes && exec 6>/dev/null
   1337 
   1338 
   1339 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1340 ac_ls_di=`ls -di .` &&
   1341 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1342   as_fn_error $? "working directory cannot be determined"
   1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1344   as_fn_error $? "pwd does not report name of working directory"
   1345 
   1346 
   1347 # Find the source files, if location was not specified.
   1348 if test -z "$srcdir"; then
   1349   ac_srcdir_defaulted=yes
   1350   # Try the directory containing this script, then the parent directory.
   1351   ac_confdir=`$as_dirname -- "$as_myself" ||
   1352 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1353 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1354 	 X"$as_myself" : 'X\(//\)$' \| \
   1355 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1356 $as_echo X"$as_myself" |
   1357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1358 	    s//\1/
   1359 	    q
   1360 	  }
   1361 	  /^X\(\/\/\)[^/].*/{
   1362 	    s//\1/
   1363 	    q
   1364 	  }
   1365 	  /^X\(\/\/\)$/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  /^X\(\/\).*/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  s/.*/./; q'`
   1374   srcdir=$ac_confdir
   1375   if test ! -r "$srcdir/$ac_unique_file"; then
   1376     srcdir=..
   1377   fi
   1378 else
   1379   ac_srcdir_defaulted=no
   1380 fi
   1381 if test ! -r "$srcdir/$ac_unique_file"; then
   1382   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1383   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1384 fi
   1385 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1386 ac_abs_confdir=`(
   1387 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1388 	pwd)`
   1389 # When building in place, set srcdir=.
   1390 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1391   srcdir=.
   1392 fi
   1393 # Remove unnecessary trailing slashes from srcdir.
   1394 # Double slashes in file names in object file debugging info
   1395 # mess up M-x gdb in Emacs.
   1396 case $srcdir in
   1397 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1398 esac
   1399 for ac_var in $ac_precious_vars; do
   1400   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1401   eval ac_env_${ac_var}_value=\$${ac_var}
   1402   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1404 done
   1405 
   1406 #
   1407 # Report the --help message.
   1408 #
   1409 if test "$ac_init_help" = "long"; then
   1410   # Omit some internal or obsolete options to make the list less imposing.
   1411   # This message is too long to be a string in the A/UX 3.1 sh.
   1412   cat <<_ACEOF
   1413 \`configure' configures libXext 1.2.0 to adapt to many kinds of systems.
   1414 
   1415 Usage: $0 [OPTION]... [VAR=VALUE]...
   1416 
   1417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1418 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1419 
   1420 Defaults for the options are specified in brackets.
   1421 
   1422 Configuration:
   1423   -h, --help              display this help and exit
   1424       --help=short        display options specific to this package
   1425       --help=recursive    display the short help of all the included packages
   1426   -V, --version           display version information and exit
   1427   -q, --quiet, --silent   do not print \`checking ...' messages
   1428       --cache-file=FILE   cache test results in FILE [disabled]
   1429   -C, --config-cache      alias for \`--cache-file=config.cache'
   1430   -n, --no-create         do not create output files
   1431       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1432 
   1433 Installation directories:
   1434   --prefix=PREFIX         install architecture-independent files in PREFIX
   1435                           [$ac_default_prefix]
   1436   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1437                           [PREFIX]
   1438 
   1439 By default, \`make install' will install all the files in
   1440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1442 for instance \`--prefix=\$HOME'.
   1443 
   1444 For better control, use the options below.
   1445 
   1446 Fine tuning of the installation directories:
   1447   --bindir=DIR            user executables [EPREFIX/bin]
   1448   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1449   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1450   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1451   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1452   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1453   --libdir=DIR            object code libraries [EPREFIX/lib]
   1454   --includedir=DIR        C header files [PREFIX/include]
   1455   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1456   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1457   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1458   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1459   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1460   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1461   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXext]
   1462   --htmldir=DIR           html documentation [DOCDIR]
   1463   --dvidir=DIR            dvi documentation [DOCDIR]
   1464   --pdfdir=DIR            pdf documentation [DOCDIR]
   1465   --psdir=DIR             ps documentation [DOCDIR]
   1466 _ACEOF
   1467 
   1468   cat <<\_ACEOF
   1469 
   1470 Program names:
   1471   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1472   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1473   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1474 
   1475 System types:
   1476   --build=BUILD     configure for building on BUILD [guessed]
   1477   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1478 _ACEOF
   1479 fi
   1480 
   1481 if test -n "$ac_init_help"; then
   1482   case $ac_init_help in
   1483      short | recursive ) echo "Configuration of libXext 1.2.0:";;
   1484    esac
   1485   cat <<\_ACEOF
   1486 
   1487 Optional Features:
   1488   --disable-option-checking  ignore unrecognized --enable/--with options
   1489   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1490   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1491   --enable-maintainer-mode  enable make rules and dependencies not useful
   1492 			  (and sometimes confusing) to the casual installer
   1493   --disable-dependency-tracking  speeds up one-time build
   1494   --enable-dependency-tracking   do not reject slow dependency extractors
   1495   --enable-strict-compilation
   1496                           Enable all warnings from compiler and make them
   1497                           errors (default: disabled)
   1498   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1499   --disable-silent-rules         verbose build output (undo: `make V=0')
   1500   --enable-specs          Enable building the specs (default: yes)
   1501   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1502   --enable-static[=PKGS]  build static libraries [default=yes]
   1503   --enable-fast-install[=PKGS]
   1504                           optimize for fast installation [default=yes]
   1505   --disable-libtool-lock  avoid locking (might break parallel builds)
   1506   --enable-malloc0returnsnull
   1507                           malloc(0) returns NULL (default: auto)
   1508   --enable-lint-library   Create lint library (default: disabled)
   1509 
   1510 Optional Packages:
   1511   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1512   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1513   --with-xmlto            Use xmlto to regenerate documentation (default: yes,
   1514                           if installed)
   1515   --with-fop              Use fop to regenerate documentation (default: yes,
   1516                           if installed)
   1517   --with-pic              try to use only PIC/non-PIC objects [default=use
   1518                           both]
   1519   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1520   --with-lint             Use a lint-style source code checker (default:
   1521                           disabled)
   1522 
   1523 Some influential environment variables:
   1524   CC          C compiler command
   1525   CFLAGS      C compiler flags
   1526   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1527               nonstandard directory <lib dir>
   1528   LIBS        libraries to pass to the linker, e.g. -l<library>
   1529   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1530               you have headers in a nonstandard directory <include dir>
   1531   CPP         C preprocessor
   1532   PKG_CONFIG  path to pkg-config utility
   1533   XMLTO       Path to xmlto command
   1534   FOP         Path to fop command
   1535   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1536   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1537   LINT        Path to a lint-style command
   1538   LINT_FLAGS  Flags for the lint-style command
   1539 
   1540 Use these variables to override the choices made by `configure' or to help
   1541 it to find libraries and programs with nonstandard names/locations.
   1542 
   1543 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1544 _ACEOF
   1545 ac_status=$?
   1546 fi
   1547 
   1548 if test "$ac_init_help" = "recursive"; then
   1549   # If there are subdirs, report their specific --help.
   1550   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1551     test -d "$ac_dir" ||
   1552       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1553       continue
   1554     ac_builddir=.
   1555 
   1556 case "$ac_dir" in
   1557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1558 *)
   1559   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1560   # A ".." for each directory in $ac_dir_suffix.
   1561   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1562   case $ac_top_builddir_sub in
   1563   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1564   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1565   esac ;;
   1566 esac
   1567 ac_abs_top_builddir=$ac_pwd
   1568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1569 # for backward compatibility:
   1570 ac_top_builddir=$ac_top_build_prefix
   1571 
   1572 case $srcdir in
   1573   .)  # We are building in place.
   1574     ac_srcdir=.
   1575     ac_top_srcdir=$ac_top_builddir_sub
   1576     ac_abs_top_srcdir=$ac_pwd ;;
   1577   [\\/]* | ?:[\\/]* )  # Absolute name.
   1578     ac_srcdir=$srcdir$ac_dir_suffix;
   1579     ac_top_srcdir=$srcdir
   1580     ac_abs_top_srcdir=$srcdir ;;
   1581   *) # Relative name.
   1582     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1583     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1584     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1585 esac
   1586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1587 
   1588     cd "$ac_dir" || { ac_status=$?; continue; }
   1589     # Check for guested configure.
   1590     if test -f "$ac_srcdir/configure.gnu"; then
   1591       echo &&
   1592       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1593     elif test -f "$ac_srcdir/configure"; then
   1594       echo &&
   1595       $SHELL "$ac_srcdir/configure" --help=recursive
   1596     else
   1597       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1598     fi || ac_status=$?
   1599     cd "$ac_pwd" || { ac_status=$?; break; }
   1600   done
   1601 fi
   1602 
   1603 test -n "$ac_init_help" && exit $ac_status
   1604 if $ac_init_version; then
   1605   cat <<\_ACEOF
   1606 libXext configure 1.2.0
   1607 generated by GNU Autoconf 2.68
   1608 
   1609 Copyright (C) 2010 Free Software Foundation, Inc.
   1610 This configure script is free software; the Free Software Foundation
   1611 gives unlimited permission to copy, distribute and modify it.
   1612 _ACEOF
   1613   exit
   1614 fi
   1615 
   1616 ## ------------------------ ##
   1617 ## Autoconf initialization. ##
   1618 ## ------------------------ ##
   1619 
   1620 # ac_fn_c_try_compile LINENO
   1621 # --------------------------
   1622 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1623 ac_fn_c_try_compile ()
   1624 {
   1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1626   rm -f conftest.$ac_objext
   1627   if { { ac_try="$ac_compile"
   1628 case "(($ac_try" in
   1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1630   *) ac_try_echo=$ac_try;;
   1631 esac
   1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1633 $as_echo "$ac_try_echo"; } >&5
   1634   (eval "$ac_compile") 2>conftest.err
   1635   ac_status=$?
   1636   if test -s conftest.err; then
   1637     grep -v '^ *+' conftest.err >conftest.er1
   1638     cat conftest.er1 >&5
   1639     mv -f conftest.er1 conftest.err
   1640   fi
   1641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1642   test $ac_status = 0; } && {
   1643 	 test -z "$ac_c_werror_flag" ||
   1644 	 test ! -s conftest.err
   1645        } && test -s conftest.$ac_objext; then :
   1646   ac_retval=0
   1647 else
   1648   $as_echo "$as_me: failed program was:" >&5
   1649 sed 's/^/| /' conftest.$ac_ext >&5
   1650 
   1651 	ac_retval=1
   1652 fi
   1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1654   as_fn_set_status $ac_retval
   1655 
   1656 } # ac_fn_c_try_compile
   1657 
   1658 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1659 # ---------------------------------------------
   1660 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1661 # accordingly.
   1662 ac_fn_c_check_decl ()
   1663 {
   1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1665   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1666   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1668 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1669 if eval \${$3+:} false; then :
   1670   $as_echo_n "(cached) " >&6
   1671 else
   1672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1673 /* end confdefs.h.  */
   1674 $4
   1675 int
   1676 main ()
   1677 {
   1678 #ifndef $as_decl_name
   1679 #ifdef __cplusplus
   1680   (void) $as_decl_use;
   1681 #else
   1682   (void) $as_decl_name;
   1683 #endif
   1684 #endif
   1685 
   1686   ;
   1687   return 0;
   1688 }
   1689 _ACEOF
   1690 if ac_fn_c_try_compile "$LINENO"; then :
   1691   eval "$3=yes"
   1692 else
   1693   eval "$3=no"
   1694 fi
   1695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1696 fi
   1697 eval ac_res=\$$3
   1698 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1699 $as_echo "$ac_res" >&6; }
   1700   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1701 
   1702 } # ac_fn_c_check_decl
   1703 
   1704 # ac_fn_c_try_cpp LINENO
   1705 # ----------------------
   1706 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1707 ac_fn_c_try_cpp ()
   1708 {
   1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1710   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1711 case "(($ac_try" in
   1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1713   *) ac_try_echo=$ac_try;;
   1714 esac
   1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1716 $as_echo "$ac_try_echo"; } >&5
   1717   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1718   ac_status=$?
   1719   if test -s conftest.err; then
   1720     grep -v '^ *+' conftest.err >conftest.er1
   1721     cat conftest.er1 >&5
   1722     mv -f conftest.er1 conftest.err
   1723   fi
   1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1725   test $ac_status = 0; } > conftest.i && {
   1726 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1727 	 test ! -s conftest.err
   1728        }; then :
   1729   ac_retval=0
   1730 else
   1731   $as_echo "$as_me: failed program was:" >&5
   1732 sed 's/^/| /' conftest.$ac_ext >&5
   1733 
   1734     ac_retval=1
   1735 fi
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737   as_fn_set_status $ac_retval
   1738 
   1739 } # ac_fn_c_try_cpp
   1740 
   1741 # ac_fn_c_try_run LINENO
   1742 # ----------------------
   1743 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1744 # that executables *can* be run.
   1745 ac_fn_c_try_run ()
   1746 {
   1747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1748   if { { ac_try="$ac_link"
   1749 case "(($ac_try" in
   1750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1751   *) ac_try_echo=$ac_try;;
   1752 esac
   1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1754 $as_echo "$ac_try_echo"; } >&5
   1755   (eval "$ac_link") 2>&5
   1756   ac_status=$?
   1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1758   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1759   { { case "(($ac_try" in
   1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1761   *) ac_try_echo=$ac_try;;
   1762 esac
   1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1764 $as_echo "$ac_try_echo"; } >&5
   1765   (eval "$ac_try") 2>&5
   1766   ac_status=$?
   1767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1768   test $ac_status = 0; }; }; then :
   1769   ac_retval=0
   1770 else
   1771   $as_echo "$as_me: program exited with status $ac_status" >&5
   1772        $as_echo "$as_me: failed program was:" >&5
   1773 sed 's/^/| /' conftest.$ac_ext >&5
   1774 
   1775        ac_retval=$ac_status
   1776 fi
   1777   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1779   as_fn_set_status $ac_retval
   1780 
   1781 } # ac_fn_c_try_run
   1782 
   1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1784 # -------------------------------------------------------
   1785 # Tests whether HEADER exists and can be compiled using the include files in
   1786 # INCLUDES, setting the cache variable VAR accordingly.
   1787 ac_fn_c_check_header_compile ()
   1788 {
   1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1791 $as_echo_n "checking for $2... " >&6; }
   1792 if eval \${$3+:} false; then :
   1793   $as_echo_n "(cached) " >&6
   1794 else
   1795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1796 /* end confdefs.h.  */
   1797 $4
   1798 #include <$2>
   1799 _ACEOF
   1800 if ac_fn_c_try_compile "$LINENO"; then :
   1801   eval "$3=yes"
   1802 else
   1803   eval "$3=no"
   1804 fi
   1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1806 fi
   1807 eval ac_res=\$$3
   1808 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1809 $as_echo "$ac_res" >&6; }
   1810   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1811 
   1812 } # ac_fn_c_check_header_compile
   1813 
   1814 # ac_fn_c_try_link LINENO
   1815 # -----------------------
   1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1817 ac_fn_c_try_link ()
   1818 {
   1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1820   rm -f conftest.$ac_objext conftest$ac_exeext
   1821   if { { ac_try="$ac_link"
   1822 case "(($ac_try" in
   1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1824   *) ac_try_echo=$ac_try;;
   1825 esac
   1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1827 $as_echo "$ac_try_echo"; } >&5
   1828   (eval "$ac_link") 2>conftest.err
   1829   ac_status=$?
   1830   if test -s conftest.err; then
   1831     grep -v '^ *+' conftest.err >conftest.er1
   1832     cat conftest.er1 >&5
   1833     mv -f conftest.er1 conftest.err
   1834   fi
   1835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1836   test $ac_status = 0; } && {
   1837 	 test -z "$ac_c_werror_flag" ||
   1838 	 test ! -s conftest.err
   1839        } && test -s conftest$ac_exeext && {
   1840 	 test "$cross_compiling" = yes ||
   1841 	 $as_test_x conftest$ac_exeext
   1842        }; then :
   1843   ac_retval=0
   1844 else
   1845   $as_echo "$as_me: failed program was:" >&5
   1846 sed 's/^/| /' conftest.$ac_ext >&5
   1847 
   1848 	ac_retval=1
   1849 fi
   1850   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1851   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1852   # interfere with the next link command; also delete a directory that is
   1853   # left behind by Apple's compiler.  We do this before executing the actions.
   1854   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1855   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1856   as_fn_set_status $ac_retval
   1857 
   1858 } # ac_fn_c_try_link
   1859 
   1860 # ac_fn_c_check_func LINENO FUNC VAR
   1861 # ----------------------------------
   1862 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1863 ac_fn_c_check_func ()
   1864 {
   1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1867 $as_echo_n "checking for $2... " >&6; }
   1868 if eval \${$3+:} false; then :
   1869   $as_echo_n "(cached) " >&6
   1870 else
   1871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1872 /* end confdefs.h.  */
   1873 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1875 #define $2 innocuous_$2
   1876 
   1877 /* System header to define __stub macros and hopefully few prototypes,
   1878     which can conflict with char $2 (); below.
   1879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1880     <limits.h> exists even on freestanding compilers.  */
   1881 
   1882 #ifdef __STDC__
   1883 # include <limits.h>
   1884 #else
   1885 # include <assert.h>
   1886 #endif
   1887 
   1888 #undef $2
   1889 
   1890 /* Override any GCC internal prototype to avoid an error.
   1891    Use char because int might match the return type of a GCC
   1892    builtin and then its argument prototype would still apply.  */
   1893 #ifdef __cplusplus
   1894 extern "C"
   1895 #endif
   1896 char $2 ();
   1897 /* The GNU C library defines this for functions which it implements
   1898     to always fail with ENOSYS.  Some functions are actually named
   1899     something starting with __ and the normal name is an alias.  */
   1900 #if defined __stub_$2 || defined __stub___$2
   1901 choke me
   1902 #endif
   1903 
   1904 int
   1905 main ()
   1906 {
   1907 return $2 ();
   1908   ;
   1909   return 0;
   1910 }
   1911 _ACEOF
   1912 if ac_fn_c_try_link "$LINENO"; then :
   1913   eval "$3=yes"
   1914 else
   1915   eval "$3=no"
   1916 fi
   1917 rm -f core conftest.err conftest.$ac_objext \
   1918     conftest$ac_exeext conftest.$ac_ext
   1919 fi
   1920 eval ac_res=\$$3
   1921 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1922 $as_echo "$ac_res" >&6; }
   1923   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1924 
   1925 } # ac_fn_c_check_func
   1926 cat >config.log <<_ACEOF
   1927 This file contains any messages produced by compilers while
   1928 running configure, to aid debugging if configure makes a mistake.
   1929 
   1930 It was created by libXext $as_me 1.2.0, which was
   1931 generated by GNU Autoconf 2.68.  Invocation command line was
   1932 
   1933   $ $0 $@
   1934 
   1935 _ACEOF
   1936 exec 5>>config.log
   1937 {
   1938 cat <<_ASUNAME
   1939 ## --------- ##
   1940 ## Platform. ##
   1941 ## --------- ##
   1942 
   1943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1948 
   1949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1950 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1951 
   1952 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1953 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1955 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1956 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1957 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1958 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1959 
   1960 _ASUNAME
   1961 
   1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1963 for as_dir in $PATH
   1964 do
   1965   IFS=$as_save_IFS
   1966   test -z "$as_dir" && as_dir=.
   1967     $as_echo "PATH: $as_dir"
   1968   done
   1969 IFS=$as_save_IFS
   1970 
   1971 } >&5
   1972 
   1973 cat >&5 <<_ACEOF
   1974 
   1975 
   1976 ## ----------- ##
   1977 ## Core tests. ##
   1978 ## ----------- ##
   1979 
   1980 _ACEOF
   1981 
   1982 
   1983 # Keep a trace of the command line.
   1984 # Strip out --no-create and --no-recursion so they do not pile up.
   1985 # Strip out --silent because we don't want to record it for future runs.
   1986 # Also quote any args containing shell meta-characters.
   1987 # Make two passes to allow for proper duplicate-argument suppression.
   1988 ac_configure_args=
   1989 ac_configure_args0=
   1990 ac_configure_args1=
   1991 ac_must_keep_next=false
   1992 for ac_pass in 1 2
   1993 do
   1994   for ac_arg
   1995   do
   1996     case $ac_arg in
   1997     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1998     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1999     | -silent | --silent | --silen | --sile | --sil)
   2000       continue ;;
   2001     *\'*)
   2002       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2003     esac
   2004     case $ac_pass in
   2005     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2006     2)
   2007       as_fn_append ac_configure_args1 " '$ac_arg'"
   2008       if test $ac_must_keep_next = true; then
   2009 	ac_must_keep_next=false # Got value, back to normal.
   2010       else
   2011 	case $ac_arg in
   2012 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2013 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2014 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2015 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2016 	    case "$ac_configure_args0 " in
   2017 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2018 	    esac
   2019 	    ;;
   2020 	  -* ) ac_must_keep_next=true ;;
   2021 	esac
   2022       fi
   2023       as_fn_append ac_configure_args " '$ac_arg'"
   2024       ;;
   2025     esac
   2026   done
   2027 done
   2028 { ac_configure_args0=; unset ac_configure_args0;}
   2029 { ac_configure_args1=; unset ac_configure_args1;}
   2030 
   2031 # When interrupted or exit'd, cleanup temporary files, and complete
   2032 # config.log.  We remove comments because anyway the quotes in there
   2033 # would cause problems or look ugly.
   2034 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2035 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2036 trap 'exit_status=$?
   2037   # Save into config.log some information that might help in debugging.
   2038   {
   2039     echo
   2040 
   2041     $as_echo "## ---------------- ##
   2042 ## Cache variables. ##
   2043 ## ---------------- ##"
   2044     echo
   2045     # The following way of writing the cache mishandles newlines in values,
   2046 (
   2047   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2048     eval ac_val=\$$ac_var
   2049     case $ac_val in #(
   2050     *${as_nl}*)
   2051       case $ac_var in #(
   2052       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2053 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2054       esac
   2055       case $ac_var in #(
   2056       _ | IFS | as_nl) ;; #(
   2057       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2058       *) { eval $ac_var=; unset $ac_var;} ;;
   2059       esac ;;
   2060     esac
   2061   done
   2062   (set) 2>&1 |
   2063     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2064     *${as_nl}ac_space=\ *)
   2065       sed -n \
   2066 	"s/'\''/'\''\\\\'\'''\''/g;
   2067 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2068       ;; #(
   2069     *)
   2070       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2071       ;;
   2072     esac |
   2073     sort
   2074 )
   2075     echo
   2076 
   2077     $as_echo "## ----------------- ##
   2078 ## Output variables. ##
   2079 ## ----------------- ##"
   2080     echo
   2081     for ac_var in $ac_subst_vars
   2082     do
   2083       eval ac_val=\$$ac_var
   2084       case $ac_val in
   2085       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2086       esac
   2087       $as_echo "$ac_var='\''$ac_val'\''"
   2088     done | sort
   2089     echo
   2090 
   2091     if test -n "$ac_subst_files"; then
   2092       $as_echo "## ------------------- ##
   2093 ## File substitutions. ##
   2094 ## ------------------- ##"
   2095       echo
   2096       for ac_var in $ac_subst_files
   2097       do
   2098 	eval ac_val=\$$ac_var
   2099 	case $ac_val in
   2100 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2101 	esac
   2102 	$as_echo "$ac_var='\''$ac_val'\''"
   2103       done | sort
   2104       echo
   2105     fi
   2106 
   2107     if test -s confdefs.h; then
   2108       $as_echo "## ----------- ##
   2109 ## confdefs.h. ##
   2110 ## ----------- ##"
   2111       echo
   2112       cat confdefs.h
   2113       echo
   2114     fi
   2115     test "$ac_signal" != 0 &&
   2116       $as_echo "$as_me: caught signal $ac_signal"
   2117     $as_echo "$as_me: exit $exit_status"
   2118   } >&5
   2119   rm -f core *.core core.conftest.* &&
   2120     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2121     exit $exit_status
   2122 ' 0
   2123 for ac_signal in 1 2 13 15; do
   2124   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2125 done
   2126 ac_signal=0
   2127 
   2128 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2129 rm -f -r conftest* confdefs.h
   2130 
   2131 $as_echo "/* confdefs.h */" > confdefs.h
   2132 
   2133 # Predefined preprocessor variables.
   2134 
   2135 cat >>confdefs.h <<_ACEOF
   2136 #define PACKAGE_NAME "$PACKAGE_NAME"
   2137 _ACEOF
   2138 
   2139 cat >>confdefs.h <<_ACEOF
   2140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2141 _ACEOF
   2142 
   2143 cat >>confdefs.h <<_ACEOF
   2144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2145 _ACEOF
   2146 
   2147 cat >>confdefs.h <<_ACEOF
   2148 #define PACKAGE_STRING "$PACKAGE_STRING"
   2149 _ACEOF
   2150 
   2151 cat >>confdefs.h <<_ACEOF
   2152 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2153 _ACEOF
   2154 
   2155 cat >>confdefs.h <<_ACEOF
   2156 #define PACKAGE_URL "$PACKAGE_URL"
   2157 _ACEOF
   2158 
   2159 
   2160 # Let the site file select an alternate cache file if it wants to.
   2161 # Prefer an explicitly selected file to automatically selected ones.
   2162 ac_site_file1=NONE
   2163 ac_site_file2=NONE
   2164 if test -n "$CONFIG_SITE"; then
   2165   # We do not want a PATH search for config.site.
   2166   case $CONFIG_SITE in #((
   2167     -*)  ac_site_file1=./$CONFIG_SITE;;
   2168     */*) ac_site_file1=$CONFIG_SITE;;
   2169     *)   ac_site_file1=./$CONFIG_SITE;;
   2170   esac
   2171 elif test "x$prefix" != xNONE; then
   2172   ac_site_file1=$prefix/share/config.site
   2173   ac_site_file2=$prefix/etc/config.site
   2174 else
   2175   ac_site_file1=$ac_default_prefix/share/config.site
   2176   ac_site_file2=$ac_default_prefix/etc/config.site
   2177 fi
   2178 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2179 do
   2180   test "x$ac_site_file" = xNONE && continue
   2181   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2182     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2183 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2184     sed 's/^/| /' "$ac_site_file" >&5
   2185     . "$ac_site_file" \
   2186       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2188 as_fn_error $? "failed to load site script $ac_site_file
   2189 See \`config.log' for more details" "$LINENO" 5; }
   2190   fi
   2191 done
   2192 
   2193 if test -r "$cache_file"; then
   2194   # Some versions of bash will fail to source /dev/null (special files
   2195   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2196   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2197     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2198 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2199     case $cache_file in
   2200       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2201       *)                      . "./$cache_file";;
   2202     esac
   2203   fi
   2204 else
   2205   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2206 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2207   >$cache_file
   2208 fi
   2209 
   2210 # Check that the precious variables saved in the cache have kept the same
   2211 # value.
   2212 ac_cache_corrupted=false
   2213 for ac_var in $ac_precious_vars; do
   2214   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2215   eval ac_new_set=\$ac_env_${ac_var}_set
   2216   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2217   eval ac_new_val=\$ac_env_${ac_var}_value
   2218   case $ac_old_set,$ac_new_set in
   2219     set,)
   2220       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2221 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2222       ac_cache_corrupted=: ;;
   2223     ,set)
   2224       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2225 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2226       ac_cache_corrupted=: ;;
   2227     ,);;
   2228     *)
   2229       if test "x$ac_old_val" != "x$ac_new_val"; then
   2230 	# differences in whitespace do not lead to failure.
   2231 	ac_old_val_w=`echo x $ac_old_val`
   2232 	ac_new_val_w=`echo x $ac_new_val`
   2233 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2234 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2235 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2236 	  ac_cache_corrupted=:
   2237 	else
   2238 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2239 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2240 	  eval $ac_var=\$ac_old_val
   2241 	fi
   2242 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2243 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2244 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2245 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2246       fi;;
   2247   esac
   2248   # Pass precious variables to config.status.
   2249   if test "$ac_new_set" = set; then
   2250     case $ac_new_val in
   2251     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2252     *) ac_arg=$ac_var=$ac_new_val ;;
   2253     esac
   2254     case " $ac_configure_args " in
   2255       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2256       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2257     esac
   2258   fi
   2259 done
   2260 if $ac_cache_corrupted; then
   2261   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2263   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2264 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2265   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2266 fi
   2267 ## -------------------- ##
   2268 ## Main body of script. ##
   2269 ## -------------------- ##
   2270 
   2271 ac_ext=c
   2272 ac_cpp='$CPP $CPPFLAGS'
   2273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2276 
   2277 
   2278 
   2279 
   2280 am__api_version='1.11'
   2281 
   2282 ac_aux_dir=
   2283 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2284   if test -f "$ac_dir/install-sh"; then
   2285     ac_aux_dir=$ac_dir
   2286     ac_install_sh="$ac_aux_dir/install-sh -c"
   2287     break
   2288   elif test -f "$ac_dir/install.sh"; then
   2289     ac_aux_dir=$ac_dir
   2290     ac_install_sh="$ac_aux_dir/install.sh -c"
   2291     break
   2292   elif test -f "$ac_dir/shtool"; then
   2293     ac_aux_dir=$ac_dir
   2294     ac_install_sh="$ac_aux_dir/shtool install -c"
   2295     break
   2296   fi
   2297 done
   2298 if test -z "$ac_aux_dir"; then
   2299   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2300 fi
   2301 
   2302 # These three variables are undocumented and unsupported,
   2303 # and are intended to be withdrawn in a future Autoconf release.
   2304 # They can cause serious problems if a builder's source tree is in a directory
   2305 # whose full name contains unusual characters.
   2306 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2307 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2308 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2309 
   2310 
   2311 # Find a good install program.  We prefer a C program (faster),
   2312 # so one script is as good as another.  But avoid the broken or
   2313 # incompatible versions:
   2314 # SysV /etc/install, /usr/sbin/install
   2315 # SunOS /usr/etc/install
   2316 # IRIX /sbin/install
   2317 # AIX /bin/install
   2318 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2322 # OS/2's system install, which has a completely different semantic
   2323 # ./install, which can be erroneously created by make from ./install.sh.
   2324 # Reject install programs that cannot install multiple files.
   2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2326 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2327 if test -z "$INSTALL"; then
   2328 if ${ac_cv_path_install+:} false; then :
   2329   $as_echo_n "(cached) " >&6
   2330 else
   2331   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2332 for as_dir in $PATH
   2333 do
   2334   IFS=$as_save_IFS
   2335   test -z "$as_dir" && as_dir=.
   2336     # Account for people who put trailing slashes in PATH elements.
   2337 case $as_dir/ in #((
   2338   ./ | .// | /[cC]/* | \
   2339   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2340   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2341   /usr/ucb/* ) ;;
   2342   *)
   2343     # OSF1 and SCO ODT 3.0 have their own names for install.
   2344     # Don't use installbsd from OSF since it installs stuff as root
   2345     # by default.
   2346     for ac_prog in ginstall scoinst install; do
   2347       for ac_exec_ext in '' $ac_executable_extensions; do
   2348 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2349 	  if test $ac_prog = install &&
   2350 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2351 	    # AIX install.  It has an incompatible calling convention.
   2352 	    :
   2353 	  elif test $ac_prog = install &&
   2354 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2355 	    # program-specific install script used by HP pwplus--don't use.
   2356 	    :
   2357 	  else
   2358 	    rm -rf conftest.one conftest.two conftest.dir
   2359 	    echo one > conftest.one
   2360 	    echo two > conftest.two
   2361 	    mkdir conftest.dir
   2362 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2363 	      test -s conftest.one && test -s conftest.two &&
   2364 	      test -s conftest.dir/conftest.one &&
   2365 	      test -s conftest.dir/conftest.two
   2366 	    then
   2367 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2368 	      break 3
   2369 	    fi
   2370 	  fi
   2371 	fi
   2372       done
   2373     done
   2374     ;;
   2375 esac
   2376 
   2377   done
   2378 IFS=$as_save_IFS
   2379 
   2380 rm -rf conftest.one conftest.two conftest.dir
   2381 
   2382 fi
   2383   if test "${ac_cv_path_install+set}" = set; then
   2384     INSTALL=$ac_cv_path_install
   2385   else
   2386     # As a last resort, use the slow shell script.  Don't cache a
   2387     # value for INSTALL within a source directory, because that will
   2388     # break other packages using the cache if that directory is
   2389     # removed, or if the value is a relative name.
   2390     INSTALL=$ac_install_sh
   2391   fi
   2392 fi
   2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2394 $as_echo "$INSTALL" >&6; }
   2395 
   2396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2397 # It thinks the first close brace ends the variable substitution.
   2398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2399 
   2400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2401 
   2402 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2403 
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2405 $as_echo_n "checking whether build environment is sane... " >&6; }
   2406 # Just in case
   2407 sleep 1
   2408 echo timestamp > conftest.file
   2409 # Reject unsafe characters in $srcdir or the absolute working directory
   2410 # name.  Accept space and tab only in the latter.
   2411 am_lf='
   2412 '
   2413 case `pwd` in
   2414   *[\\\"\#\$\&\'\`$am_lf]*)
   2415     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2416 esac
   2417 case $srcdir in
   2418   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2419     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2420 esac
   2421 
   2422 # Do `set' in a subshell so we don't clobber the current shell's
   2423 # arguments.  Must try -L first in case configure is actually a
   2424 # symlink; some systems play weird games with the mod time of symlinks
   2425 # (eg FreeBSD returns the mod time of the symlink's containing
   2426 # directory).
   2427 if (
   2428    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2429    if test "$*" = "X"; then
   2430       # -L didn't work.
   2431       set X `ls -t "$srcdir/configure" conftest.file`
   2432    fi
   2433    rm -f conftest.file
   2434    if test "$*" != "X $srcdir/configure conftest.file" \
   2435       && test "$*" != "X conftest.file $srcdir/configure"; then
   2436 
   2437       # If neither matched, then we have a broken ls.  This can happen
   2438       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2439       # broken ls alias from the environment.  This has actually
   2440       # happened.  Such a system could not be considered "sane".
   2441       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2442 alias in your environment" "$LINENO" 5
   2443    fi
   2444 
   2445    test "$2" = conftest.file
   2446    )
   2447 then
   2448    # Ok.
   2449    :
   2450 else
   2451    as_fn_error $? "newly created file is older than distributed files!
   2452 Check your system clock" "$LINENO" 5
   2453 fi
   2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2455 $as_echo "yes" >&6; }
   2456 test "$program_prefix" != NONE &&
   2457   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2458 # Use a double $ so make ignores it.
   2459 test "$program_suffix" != NONE &&
   2460   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2461 # Double any \ or $.
   2462 # By default was `s,x,x', remove it if useless.
   2463 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2464 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2465 
   2466 # expand $ac_aux_dir to an absolute path
   2467 am_aux_dir=`cd $ac_aux_dir && pwd`
   2468 
   2469 if test x"${MISSING+set}" != xset; then
   2470   case $am_aux_dir in
   2471   *\ * | *\	*)
   2472     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2473   *)
   2474     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2475   esac
   2476 fi
   2477 # Use eval to expand $SHELL
   2478 if eval "$MISSING --run true"; then
   2479   am_missing_run="$MISSING --run "
   2480 else
   2481   am_missing_run=
   2482   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2483 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2484 fi
   2485 
   2486 if test x"${install_sh}" != xset; then
   2487   case $am_aux_dir in
   2488   *\ * | *\	*)
   2489     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2490   *)
   2491     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2492   esac
   2493 fi
   2494 
   2495 # Installed binaries are usually stripped using `strip' when the user
   2496 # run `make install-strip'.  However `strip' might not be the right
   2497 # tool to use in cross-compilation environments, therefore Automake
   2498 # will honor the `STRIP' environment variable to overrule this program.
   2499 if test "$cross_compiling" != no; then
   2500   if test -n "$ac_tool_prefix"; then
   2501   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2502 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2504 $as_echo_n "checking for $ac_word... " >&6; }
   2505 if ${ac_cv_prog_STRIP+:} false; then :
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   if test -n "$STRIP"; then
   2509   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2510 else
   2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516     for ac_exec_ext in '' $ac_executable_extensions; do
   2517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2518     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2520     break 2
   2521   fi
   2522 done
   2523   done
   2524 IFS=$as_save_IFS
   2525 
   2526 fi
   2527 fi
   2528 STRIP=$ac_cv_prog_STRIP
   2529 if test -n "$STRIP"; then
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2531 $as_echo "$STRIP" >&6; }
   2532 else
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2534 $as_echo "no" >&6; }
   2535 fi
   2536 
   2537 
   2538 fi
   2539 if test -z "$ac_cv_prog_STRIP"; then
   2540   ac_ct_STRIP=$STRIP
   2541   # Extract the first word of "strip", so it can be a program name with args.
   2542 set dummy strip; ac_word=$2
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2544 $as_echo_n "checking for $ac_word... " >&6; }
   2545 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2546   $as_echo_n "(cached) " >&6
   2547 else
   2548   if test -n "$ac_ct_STRIP"; then
   2549   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2550 else
   2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2552 for as_dir in $PATH
   2553 do
   2554   IFS=$as_save_IFS
   2555   test -z "$as_dir" && as_dir=.
   2556     for ac_exec_ext in '' $ac_executable_extensions; do
   2557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2558     ac_cv_prog_ac_ct_STRIP="strip"
   2559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2560     break 2
   2561   fi
   2562 done
   2563   done
   2564 IFS=$as_save_IFS
   2565 
   2566 fi
   2567 fi
   2568 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2569 if test -n "$ac_ct_STRIP"; then
   2570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2571 $as_echo "$ac_ct_STRIP" >&6; }
   2572 else
   2573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2574 $as_echo "no" >&6; }
   2575 fi
   2576 
   2577   if test "x$ac_ct_STRIP" = x; then
   2578     STRIP=":"
   2579   else
   2580     case $cross_compiling:$ac_tool_warned in
   2581 yes:)
   2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2584 ac_tool_warned=yes ;;
   2585 esac
   2586     STRIP=$ac_ct_STRIP
   2587   fi
   2588 else
   2589   STRIP="$ac_cv_prog_STRIP"
   2590 fi
   2591 
   2592 fi
   2593 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2594 
   2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2596 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2597 if test -z "$MKDIR_P"; then
   2598   if ${ac_cv_path_mkdir+:} false; then :
   2599   $as_echo_n "(cached) " >&6
   2600 else
   2601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2602 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2603 do
   2604   IFS=$as_save_IFS
   2605   test -z "$as_dir" && as_dir=.
   2606     for ac_prog in mkdir gmkdir; do
   2607 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2608 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2609 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2610 	     'mkdir (GNU coreutils) '* | \
   2611 	     'mkdir (coreutils) '* | \
   2612 	     'mkdir (fileutils) '4.1*)
   2613 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2614 	       break 3;;
   2615 	   esac
   2616 	 done
   2617        done
   2618   done
   2619 IFS=$as_save_IFS
   2620 
   2621 fi
   2622 
   2623   test -d ./--version && rmdir ./--version
   2624   if test "${ac_cv_path_mkdir+set}" = set; then
   2625     MKDIR_P="$ac_cv_path_mkdir -p"
   2626   else
   2627     # As a last resort, use the slow shell script.  Don't cache a
   2628     # value for MKDIR_P within a source directory, because that will
   2629     # break other packages using the cache if that directory is
   2630     # removed, or if the value is a relative name.
   2631     MKDIR_P="$ac_install_sh -d"
   2632   fi
   2633 fi
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2635 $as_echo "$MKDIR_P" >&6; }
   2636 
   2637 mkdir_p="$MKDIR_P"
   2638 case $mkdir_p in
   2639   [\\/$]* | ?:[\\/]*) ;;
   2640   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2641 esac
   2642 
   2643 for ac_prog in gawk mawk nawk awk
   2644 do
   2645   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2646 set dummy $ac_prog; ac_word=$2
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if ${ac_cv_prog_AWK+:} false; then :
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$AWK"; then
   2653   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660     for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2662     ac_cv_prog_AWK="$ac_prog"
   2663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667   done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 AWK=$ac_cv_prog_AWK
   2673 if test -n "$AWK"; then
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2675 $as_echo "$AWK" >&6; }
   2676 else
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682   test -n "$AWK" && break
   2683 done
   2684 
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2686 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2687 set x ${MAKE-make}
   2688 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2689 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   cat >conftest.make <<\_ACEOF
   2693 SHELL = /bin/sh
   2694 all:
   2695 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2696 _ACEOF
   2697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2699   *@@@%%%=?*=@@@%%%*)
   2700     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2701   *)
   2702     eval ac_cv_prog_make_${ac_make}_set=no;;
   2703 esac
   2704 rm -f conftest.make
   2705 fi
   2706 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2708 $as_echo "yes" >&6; }
   2709   SET_MAKE=
   2710 else
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2712 $as_echo "no" >&6; }
   2713   SET_MAKE="MAKE=${MAKE-make}"
   2714 fi
   2715 
   2716 rm -rf .tst 2>/dev/null
   2717 mkdir .tst 2>/dev/null
   2718 if test -d .tst; then
   2719   am__leading_dot=.
   2720 else
   2721   am__leading_dot=_
   2722 fi
   2723 rmdir .tst 2>/dev/null
   2724 
   2725 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2726   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2727   # is not polluted with repeated "-I."
   2728   am__isrc=' -I$(srcdir)'
   2729   # test to see if srcdir already configured
   2730   if test -f $srcdir/config.status; then
   2731     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2732   fi
   2733 fi
   2734 
   2735 # test whether we have cygpath
   2736 if test -z "$CYGPATH_W"; then
   2737   if (cygpath --version) >/dev/null 2>/dev/null; then
   2738     CYGPATH_W='cygpath -w'
   2739   else
   2740     CYGPATH_W=echo
   2741   fi
   2742 fi
   2743 
   2744 
   2745 # Define the identity of the package.
   2746  PACKAGE='libXext'
   2747  VERSION='1.2.0'
   2748 
   2749 
   2750 cat >>confdefs.h <<_ACEOF
   2751 #define PACKAGE "$PACKAGE"
   2752 _ACEOF
   2753 
   2754 
   2755 cat >>confdefs.h <<_ACEOF
   2756 #define VERSION "$VERSION"
   2757 _ACEOF
   2758 
   2759 # Some tools Automake needs.
   2760 
   2761 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2762 
   2763 
   2764 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2765 
   2766 
   2767 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2768 
   2769 
   2770 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2771 
   2772 
   2773 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2774 
   2775 # We need awk for the "check" target.  The system "awk" is bad on
   2776 # some platforms.
   2777 # Always define AMTAR for backward compatibility.
   2778 
   2779 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2780 
   2781 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 
   2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2790 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2791     # Check whether --enable-maintainer-mode was given.
   2792 if test "${enable_maintainer_mode+set}" = set; then :
   2793   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2794 else
   2795   USE_MAINTAINER_MODE=no
   2796 fi
   2797 
   2798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2799 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2800    if test $USE_MAINTAINER_MODE = yes; then
   2801   MAINTAINER_MODE_TRUE=
   2802   MAINTAINER_MODE_FALSE='#'
   2803 else
   2804   MAINTAINER_MODE_TRUE='#'
   2805   MAINTAINER_MODE_FALSE=
   2806 fi
   2807 
   2808   MAINT=$MAINTAINER_MODE_TRUE
   2809 
   2810 
   2811 
   2812 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 DEPDIR="${am__leading_dot}deps"
   2825 
   2826 ac_config_commands="$ac_config_commands depfiles"
   2827 
   2828 
   2829 am_make=${MAKE-make}
   2830 cat > confinc << 'END'
   2831 am__doit:
   2832 	@echo this is the am__doit target
   2833 .PHONY: am__doit
   2834 END
   2835 # If we don't find an include directive, just comment out the code.
   2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2837 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2838 am__include="#"
   2839 am__quote=
   2840 _am_result=none
   2841 # First try GNU make style include.
   2842 echo "include confinc" > confmf
   2843 # Ignore all kinds of additional output from `make'.
   2844 case `$am_make -s -f confmf 2> /dev/null` in #(
   2845 *the\ am__doit\ target*)
   2846   am__include=include
   2847   am__quote=
   2848   _am_result=GNU
   2849   ;;
   2850 esac
   2851 # Now try BSD make style include.
   2852 if test "$am__include" = "#"; then
   2853    echo '.include "confinc"' > confmf
   2854    case `$am_make -s -f confmf 2> /dev/null` in #(
   2855    *the\ am__doit\ target*)
   2856      am__include=.include
   2857      am__quote="\""
   2858      _am_result=BSD
   2859      ;;
   2860    esac
   2861 fi
   2862 
   2863 
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2865 $as_echo "$_am_result" >&6; }
   2866 rm -f confinc confmf
   2867 
   2868 # Check whether --enable-dependency-tracking was given.
   2869 if test "${enable_dependency_tracking+set}" = set; then :
   2870   enableval=$enable_dependency_tracking;
   2871 fi
   2872 
   2873 if test "x$enable_dependency_tracking" != xno; then
   2874   am_depcomp="$ac_aux_dir/depcomp"
   2875   AMDEPBACKSLASH='\'
   2876 fi
   2877  if test "x$enable_dependency_tracking" != xno; then
   2878   AMDEP_TRUE=
   2879   AMDEP_FALSE='#'
   2880 else
   2881   AMDEP_TRUE='#'
   2882   AMDEP_FALSE=
   2883 fi
   2884 
   2885 
   2886 ac_ext=c
   2887 ac_cpp='$CPP $CPPFLAGS'
   2888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2891 if test -n "$ac_tool_prefix"; then
   2892   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2893 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if ${ac_cv_prog_CC+:} false; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$CC"; then
   2900   ac_cv_prog_CC="$CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 CC=$ac_cv_prog_CC
   2920 if test -n "$CC"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2922 $as_echo "$CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929 fi
   2930 if test -z "$ac_cv_prog_CC"; then
   2931   ac_ct_CC=$CC
   2932   # Extract the first word of "gcc", so it can be a program name with args.
   2933 set dummy gcc; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$ac_ct_CC"; then
   2940   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2941 else
   2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2943 for as_dir in $PATH
   2944 do
   2945   IFS=$as_save_IFS
   2946   test -z "$as_dir" && as_dir=.
   2947     for ac_exec_ext in '' $ac_executable_extensions; do
   2948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2949     ac_cv_prog_ac_ct_CC="gcc"
   2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2951     break 2
   2952   fi
   2953 done
   2954   done
   2955 IFS=$as_save_IFS
   2956 
   2957 fi
   2958 fi
   2959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2960 if test -n "$ac_ct_CC"; then
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2962 $as_echo "$ac_ct_CC" >&6; }
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966 fi
   2967 
   2968   if test "x$ac_ct_CC" = x; then
   2969     CC=""
   2970   else
   2971     case $cross_compiling:$ac_tool_warned in
   2972 yes:)
   2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2975 ac_tool_warned=yes ;;
   2976 esac
   2977     CC=$ac_ct_CC
   2978   fi
   2979 else
   2980   CC="$ac_cv_prog_CC"
   2981 fi
   2982 
   2983 if test -z "$CC"; then
   2984           if test -n "$ac_tool_prefix"; then
   2985     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2986 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2988 $as_echo_n "checking for $ac_word... " >&6; }
   2989 if ${ac_cv_prog_CC+:} false; then :
   2990   $as_echo_n "(cached) " >&6
   2991 else
   2992   if test -n "$CC"; then
   2993   ac_cv_prog_CC="$CC" # Let the user override the test.
   2994 else
   2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2996 for as_dir in $PATH
   2997 do
   2998   IFS=$as_save_IFS
   2999   test -z "$as_dir" && as_dir=.
   3000     for ac_exec_ext in '' $ac_executable_extensions; do
   3001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3002     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3004     break 2
   3005   fi
   3006 done
   3007   done
   3008 IFS=$as_save_IFS
   3009 
   3010 fi
   3011 fi
   3012 CC=$ac_cv_prog_CC
   3013 if test -n "$CC"; then
   3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3015 $as_echo "$CC" >&6; }
   3016 else
   3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3018 $as_echo "no" >&6; }
   3019 fi
   3020 
   3021 
   3022   fi
   3023 fi
   3024 if test -z "$CC"; then
   3025   # Extract the first word of "cc", so it can be a program name with args.
   3026 set dummy cc; ac_word=$2
   3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3028 $as_echo_n "checking for $ac_word... " >&6; }
   3029 if ${ac_cv_prog_CC+:} false; then :
   3030   $as_echo_n "(cached) " >&6
   3031 else
   3032   if test -n "$CC"; then
   3033   ac_cv_prog_CC="$CC" # Let the user override the test.
   3034 else
   3035   ac_prog_rejected=no
   3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3037 for as_dir in $PATH
   3038 do
   3039   IFS=$as_save_IFS
   3040   test -z "$as_dir" && as_dir=.
   3041     for ac_exec_ext in '' $ac_executable_extensions; do
   3042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3043     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3044        ac_prog_rejected=yes
   3045        continue
   3046      fi
   3047     ac_cv_prog_CC="cc"
   3048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3049     break 2
   3050   fi
   3051 done
   3052   done
   3053 IFS=$as_save_IFS
   3054 
   3055 if test $ac_prog_rejected = yes; then
   3056   # We found a bogon in the path, so make sure we never use it.
   3057   set dummy $ac_cv_prog_CC
   3058   shift
   3059   if test $# != 0; then
   3060     # We chose a different compiler from the bogus one.
   3061     # However, it has the same basename, so the bogon will be chosen
   3062     # first if we set CC to just the basename; use the full file name.
   3063     shift
   3064     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3065   fi
   3066 fi
   3067 fi
   3068 fi
   3069 CC=$ac_cv_prog_CC
   3070 if test -n "$CC"; then
   3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3072 $as_echo "$CC" >&6; }
   3073 else
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3075 $as_echo "no" >&6; }
   3076 fi
   3077 
   3078 
   3079 fi
   3080 if test -z "$CC"; then
   3081   if test -n "$ac_tool_prefix"; then
   3082   for ac_prog in cl.exe
   3083   do
   3084     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3087 $as_echo_n "checking for $ac_word... " >&6; }
   3088 if ${ac_cv_prog_CC+:} false; then :
   3089   $as_echo_n "(cached) " >&6
   3090 else
   3091   if test -n "$CC"; then
   3092   ac_cv_prog_CC="$CC" # Let the user override the test.
   3093 else
   3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3095 for as_dir in $PATH
   3096 do
   3097   IFS=$as_save_IFS
   3098   test -z "$as_dir" && as_dir=.
   3099     for ac_exec_ext in '' $ac_executable_extensions; do
   3100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3101     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3103     break 2
   3104   fi
   3105 done
   3106   done
   3107 IFS=$as_save_IFS
   3108 
   3109 fi
   3110 fi
   3111 CC=$ac_cv_prog_CC
   3112 if test -n "$CC"; then
   3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3114 $as_echo "$CC" >&6; }
   3115 else
   3116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3117 $as_echo "no" >&6; }
   3118 fi
   3119 
   3120 
   3121     test -n "$CC" && break
   3122   done
   3123 fi
   3124 if test -z "$CC"; then
   3125   ac_ct_CC=$CC
   3126   for ac_prog in cl.exe
   3127 do
   3128   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3129 set dummy $ac_prog; ac_word=$2
   3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3131 $as_echo_n "checking for $ac_word... " >&6; }
   3132 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3133   $as_echo_n "(cached) " >&6
   3134 else
   3135   if test -n "$ac_ct_CC"; then
   3136   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3137 else
   3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3139 for as_dir in $PATH
   3140 do
   3141   IFS=$as_save_IFS
   3142   test -z "$as_dir" && as_dir=.
   3143     for ac_exec_ext in '' $ac_executable_extensions; do
   3144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3145     ac_cv_prog_ac_ct_CC="$ac_prog"
   3146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3147     break 2
   3148   fi
   3149 done
   3150   done
   3151 IFS=$as_save_IFS
   3152 
   3153 fi
   3154 fi
   3155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3156 if test -n "$ac_ct_CC"; then
   3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3158 $as_echo "$ac_ct_CC" >&6; }
   3159 else
   3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3161 $as_echo "no" >&6; }
   3162 fi
   3163 
   3164 
   3165   test -n "$ac_ct_CC" && break
   3166 done
   3167 
   3168   if test "x$ac_ct_CC" = x; then
   3169     CC=""
   3170   else
   3171     case $cross_compiling:$ac_tool_warned in
   3172 yes:)
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3175 ac_tool_warned=yes ;;
   3176 esac
   3177     CC=$ac_ct_CC
   3178   fi
   3179 fi
   3180 
   3181 fi
   3182 
   3183 
   3184 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3186 as_fn_error $? "no acceptable C compiler found in \$PATH
   3187 See \`config.log' for more details" "$LINENO" 5; }
   3188 
   3189 # Provide some information about the compiler.
   3190 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3191 set X $ac_compile
   3192 ac_compiler=$2
   3193 for ac_option in --version -v -V -qversion; do
   3194   { { ac_try="$ac_compiler $ac_option >&5"
   3195 case "(($ac_try" in
   3196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3197   *) ac_try_echo=$ac_try;;
   3198 esac
   3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3200 $as_echo "$ac_try_echo"; } >&5
   3201   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3202   ac_status=$?
   3203   if test -s conftest.err; then
   3204     sed '10a\
   3205 ... rest of stderr output deleted ...
   3206          10q' conftest.err >conftest.er1
   3207     cat conftest.er1 >&5
   3208   fi
   3209   rm -f conftest.er1 conftest.err
   3210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3211   test $ac_status = 0; }
   3212 done
   3213 
   3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3215 /* end confdefs.h.  */
   3216 
   3217 int
   3218 main ()
   3219 {
   3220 
   3221   ;
   3222   return 0;
   3223 }
   3224 _ACEOF
   3225 ac_clean_files_save=$ac_clean_files
   3226 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3227 # Try to create an executable without -o first, disregard a.out.
   3228 # It will help us diagnose broken compilers, and finding out an intuition
   3229 # of exeext.
   3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3231 $as_echo_n "checking whether the C compiler works... " >&6; }
   3232 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3233 
   3234 # The possible output files:
   3235 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3236 
   3237 ac_rmfiles=
   3238 for ac_file in $ac_files
   3239 do
   3240   case $ac_file in
   3241     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3242     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3243   esac
   3244 done
   3245 rm -f $ac_rmfiles
   3246 
   3247 if { { ac_try="$ac_link_default"
   3248 case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3253 $as_echo "$ac_try_echo"; } >&5
   3254   (eval "$ac_link_default") 2>&5
   3255   ac_status=$?
   3256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3257   test $ac_status = 0; }; then :
   3258   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3259 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3260 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3261 # so that the user can short-circuit this test for compilers unknown to
   3262 # Autoconf.
   3263 for ac_file in $ac_files ''
   3264 do
   3265   test -f "$ac_file" || continue
   3266   case $ac_file in
   3267     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3268 	;;
   3269     [ab].out )
   3270 	# We found the default executable, but exeext='' is most
   3271 	# certainly right.
   3272 	break;;
   3273     *.* )
   3274 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3275 	then :; else
   3276 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3277 	fi
   3278 	# We set ac_cv_exeext here because the later test for it is not
   3279 	# safe: cross compilers may not add the suffix if given an `-o'
   3280 	# argument, so we may need to know it at that point already.
   3281 	# Even if this section looks crufty: it has the advantage of
   3282 	# actually working.
   3283 	break;;
   3284     * )
   3285 	break;;
   3286   esac
   3287 done
   3288 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3289 
   3290 else
   3291   ac_file=''
   3292 fi
   3293 if test -z "$ac_file"; then :
   3294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3295 $as_echo "no" >&6; }
   3296 $as_echo "$as_me: failed program was:" >&5
   3297 sed 's/^/| /' conftest.$ac_ext >&5
   3298 
   3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3301 as_fn_error 77 "C compiler cannot create executables
   3302 See \`config.log' for more details" "$LINENO" 5; }
   3303 else
   3304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3305 $as_echo "yes" >&6; }
   3306 fi
   3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3308 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3310 $as_echo "$ac_file" >&6; }
   3311 ac_exeext=$ac_cv_exeext
   3312 
   3313 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3314 ac_clean_files=$ac_clean_files_save
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3316 $as_echo_n "checking for suffix of executables... " >&6; }
   3317 if { { ac_try="$ac_link"
   3318 case "(($ac_try" in
   3319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3320   *) ac_try_echo=$ac_try;;
   3321 esac
   3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3323 $as_echo "$ac_try_echo"; } >&5
   3324   (eval "$ac_link") 2>&5
   3325   ac_status=$?
   3326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3327   test $ac_status = 0; }; then :
   3328   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3329 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3330 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3331 # `rm'.
   3332 for ac_file in conftest.exe conftest conftest.*; do
   3333   test -f "$ac_file" || continue
   3334   case $ac_file in
   3335     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3336     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3337 	  break;;
   3338     * ) break;;
   3339   esac
   3340 done
   3341 else
   3342   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3344 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3345 See \`config.log' for more details" "$LINENO" 5; }
   3346 fi
   3347 rm -f conftest conftest$ac_cv_exeext
   3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3349 $as_echo "$ac_cv_exeext" >&6; }
   3350 
   3351 rm -f conftest.$ac_ext
   3352 EXEEXT=$ac_cv_exeext
   3353 ac_exeext=$EXEEXT
   3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3355 /* end confdefs.h.  */
   3356 #include <stdio.h>
   3357 int
   3358 main ()
   3359 {
   3360 FILE *f = fopen ("conftest.out", "w");
   3361  return ferror (f) || fclose (f) != 0;
   3362 
   3363   ;
   3364   return 0;
   3365 }
   3366 _ACEOF
   3367 ac_clean_files="$ac_clean_files conftest.out"
   3368 # Check that the compiler produces executables we can run.  If not, either
   3369 # the compiler is broken, or we cross compile.
   3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3371 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3372 if test "$cross_compiling" != yes; then
   3373   { { ac_try="$ac_link"
   3374 case "(($ac_try" in
   3375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3376   *) ac_try_echo=$ac_try;;
   3377 esac
   3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3379 $as_echo "$ac_try_echo"; } >&5
   3380   (eval "$ac_link") 2>&5
   3381   ac_status=$?
   3382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3383   test $ac_status = 0; }
   3384   if { ac_try='./conftest$ac_cv_exeext'
   3385   { { case "(($ac_try" in
   3386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3387   *) ac_try_echo=$ac_try;;
   3388 esac
   3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3390 $as_echo "$ac_try_echo"; } >&5
   3391   (eval "$ac_try") 2>&5
   3392   ac_status=$?
   3393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3394   test $ac_status = 0; }; }; then
   3395     cross_compiling=no
   3396   else
   3397     if test "$cross_compiling" = maybe; then
   3398 	cross_compiling=yes
   3399     else
   3400 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3402 as_fn_error $? "cannot run C compiled programs.
   3403 If you meant to cross compile, use \`--host'.
   3404 See \`config.log' for more details" "$LINENO" 5; }
   3405     fi
   3406   fi
   3407 fi
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3409 $as_echo "$cross_compiling" >&6; }
   3410 
   3411 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3412 ac_clean_files=$ac_clean_files_save
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3414 $as_echo_n "checking for suffix of object files... " >&6; }
   3415 if ${ac_cv_objext+:} false; then :
   3416   $as_echo_n "(cached) " >&6
   3417 else
   3418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3419 /* end confdefs.h.  */
   3420 
   3421 int
   3422 main ()
   3423 {
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 rm -f conftest.o conftest.obj
   3430 if { { ac_try="$ac_compile"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3436 $as_echo "$ac_try_echo"; } >&5
   3437   (eval "$ac_compile") 2>&5
   3438   ac_status=$?
   3439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3440   test $ac_status = 0; }; then :
   3441   for ac_file in conftest.o conftest.obj conftest.*; do
   3442   test -f "$ac_file" || continue;
   3443   case $ac_file in
   3444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3445     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3446        break;;
   3447   esac
   3448 done
   3449 else
   3450   $as_echo "$as_me: failed program was:" >&5
   3451 sed 's/^/| /' conftest.$ac_ext >&5
   3452 
   3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3455 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3456 See \`config.log' for more details" "$LINENO" 5; }
   3457 fi
   3458 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3459 fi
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3461 $as_echo "$ac_cv_objext" >&6; }
   3462 OBJEXT=$ac_cv_objext
   3463 ac_objext=$OBJEXT
   3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3465 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3466 if ${ac_cv_c_compiler_gnu+:} false; then :
   3467   $as_echo_n "(cached) " >&6
   3468 else
   3469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3470 /* end confdefs.h.  */
   3471 
   3472 int
   3473 main ()
   3474 {
   3475 #ifndef __GNUC__
   3476        choke me
   3477 #endif
   3478 
   3479   ;
   3480   return 0;
   3481 }
   3482 _ACEOF
   3483 if ac_fn_c_try_compile "$LINENO"; then :
   3484   ac_compiler_gnu=yes
   3485 else
   3486   ac_compiler_gnu=no
   3487 fi
   3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3489 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3490 
   3491 fi
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3493 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3494 if test $ac_compiler_gnu = yes; then
   3495   GCC=yes
   3496 else
   3497   GCC=
   3498 fi
   3499 ac_test_CFLAGS=${CFLAGS+set}
   3500 ac_save_CFLAGS=$CFLAGS
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3502 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3503 if ${ac_cv_prog_cc_g+:} false; then :
   3504   $as_echo_n "(cached) " >&6
   3505 else
   3506   ac_save_c_werror_flag=$ac_c_werror_flag
   3507    ac_c_werror_flag=yes
   3508    ac_cv_prog_cc_g=no
   3509    CFLAGS="-g"
   3510    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3511 /* end confdefs.h.  */
   3512 
   3513 int
   3514 main ()
   3515 {
   3516 
   3517   ;
   3518   return 0;
   3519 }
   3520 _ACEOF
   3521 if ac_fn_c_try_compile "$LINENO"; then :
   3522   ac_cv_prog_cc_g=yes
   3523 else
   3524   CFLAGS=""
   3525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 if ac_fn_c_try_compile "$LINENO"; then :
   3537 
   3538 else
   3539   ac_c_werror_flag=$ac_save_c_werror_flag
   3540 	 CFLAGS="-g"
   3541 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3542 /* end confdefs.h.  */
   3543 
   3544 int
   3545 main ()
   3546 {
   3547 
   3548   ;
   3549   return 0;
   3550 }
   3551 _ACEOF
   3552 if ac_fn_c_try_compile "$LINENO"; then :
   3553   ac_cv_prog_cc_g=yes
   3554 fi
   3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3556 fi
   3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3558 fi
   3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3560    ac_c_werror_flag=$ac_save_c_werror_flag
   3561 fi
   3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3563 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3564 if test "$ac_test_CFLAGS" = set; then
   3565   CFLAGS=$ac_save_CFLAGS
   3566 elif test $ac_cv_prog_cc_g = yes; then
   3567   if test "$GCC" = yes; then
   3568     CFLAGS="-g -O2"
   3569   else
   3570     CFLAGS="-g"
   3571   fi
   3572 else
   3573   if test "$GCC" = yes; then
   3574     CFLAGS="-O2"
   3575   else
   3576     CFLAGS=
   3577   fi
   3578 fi
   3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3580 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3581 if ${ac_cv_prog_cc_c89+:} false; then :
   3582   $as_echo_n "(cached) " >&6
   3583 else
   3584   ac_cv_prog_cc_c89=no
   3585 ac_save_CC=$CC
   3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3587 /* end confdefs.h.  */
   3588 #include <stdarg.h>
   3589 #include <stdio.h>
   3590 #include <sys/types.h>
   3591 #include <sys/stat.h>
   3592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3593 struct buf { int x; };
   3594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3595 static char *e (p, i)
   3596      char **p;
   3597      int i;
   3598 {
   3599   return p[i];
   3600 }
   3601 static char *f (char * (*g) (char **, int), char **p, ...)
   3602 {
   3603   char *s;
   3604   va_list v;
   3605   va_start (v,p);
   3606   s = g (p, va_arg (v,int));
   3607   va_end (v);
   3608   return s;
   3609 }
   3610 
   3611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3612    function prototypes and stuff, but not '\xHH' hex character constants.
   3613    These don't provoke an error unfortunately, instead are silently treated
   3614    as 'x'.  The following induces an error, until -std is added to get
   3615    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3616    array size at least.  It's necessary to write '\x00'==0 to get something
   3617    that's true only with -std.  */
   3618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3619 
   3620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3621    inside strings and character constants.  */
   3622 #define FOO(x) 'x'
   3623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3624 
   3625 int test (int i, double x);
   3626 struct s1 {int (*f) (int a);};
   3627 struct s2 {int (*f) (double a);};
   3628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3629 int argc;
   3630 char **argv;
   3631 int
   3632 main ()
   3633 {
   3634 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3635   ;
   3636   return 0;
   3637 }
   3638 _ACEOF
   3639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3640 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3641 do
   3642   CC="$ac_save_CC $ac_arg"
   3643   if ac_fn_c_try_compile "$LINENO"; then :
   3644   ac_cv_prog_cc_c89=$ac_arg
   3645 fi
   3646 rm -f core conftest.err conftest.$ac_objext
   3647   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3648 done
   3649 rm -f conftest.$ac_ext
   3650 CC=$ac_save_CC
   3651 
   3652 fi
   3653 # AC_CACHE_VAL
   3654 case "x$ac_cv_prog_cc_c89" in
   3655   x)
   3656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3657 $as_echo "none needed" >&6; } ;;
   3658   xno)
   3659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3660 $as_echo "unsupported" >&6; } ;;
   3661   *)
   3662     CC="$CC $ac_cv_prog_cc_c89"
   3663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3665 esac
   3666 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3667 
   3668 fi
   3669 
   3670 ac_ext=c
   3671 ac_cpp='$CPP $CPPFLAGS'
   3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3675 
   3676 depcc="$CC"   am_compiler_list=
   3677 
   3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3679 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3680 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3681   $as_echo_n "(cached) " >&6
   3682 else
   3683   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3684   # We make a subdir and do the tests there.  Otherwise we can end up
   3685   # making bogus files that we don't know about and never remove.  For
   3686   # instance it was reported that on HP-UX the gcc test will end up
   3687   # making a dummy file named `D' -- because `-MD' means `put the output
   3688   # in D'.
   3689   mkdir conftest.dir
   3690   # Copy depcomp to subdir because otherwise we won't find it if we're
   3691   # using a relative directory.
   3692   cp "$am_depcomp" conftest.dir
   3693   cd conftest.dir
   3694   # We will build objects and dependencies in a subdirectory because
   3695   # it helps to detect inapplicable dependency modes.  For instance
   3696   # both Tru64's cc and ICC support -MD to output dependencies as a
   3697   # side effect of compilation, but ICC will put the dependencies in
   3698   # the current directory while Tru64 will put them in the object
   3699   # directory.
   3700   mkdir sub
   3701 
   3702   am_cv_CC_dependencies_compiler_type=none
   3703   if test "$am_compiler_list" = ""; then
   3704      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3705   fi
   3706   am__universal=false
   3707   case " $depcc " in #(
   3708      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3709      esac
   3710 
   3711   for depmode in $am_compiler_list; do
   3712     # Setup a source with many dependencies, because some compilers
   3713     # like to wrap large dependency lists on column 80 (with \), and
   3714     # we should not choose a depcomp mode which is confused by this.
   3715     #
   3716     # We need to recreate these files for each test, as the compiler may
   3717     # overwrite some of them when testing with obscure command lines.
   3718     # This happens at least with the AIX C compiler.
   3719     : > sub/conftest.c
   3720     for i in 1 2 3 4 5 6; do
   3721       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3722       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3723       # Solaris 8's {/usr,}/bin/sh.
   3724       touch sub/conftst$i.h
   3725     done
   3726     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3727 
   3728     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3729     # mode.  It turns out that the SunPro C++ compiler does not properly
   3730     # handle `-M -o', and we need to detect this.  Also, some Intel
   3731     # versions had trouble with output in subdirs
   3732     am__obj=sub/conftest.${OBJEXT-o}
   3733     am__minus_obj="-o $am__obj"
   3734     case $depmode in
   3735     gcc)
   3736       # This depmode causes a compiler race in universal mode.
   3737       test "$am__universal" = false || continue
   3738       ;;
   3739     nosideeffect)
   3740       # after this tag, mechanisms are not by side-effect, so they'll
   3741       # only be used when explicitly requested
   3742       if test "x$enable_dependency_tracking" = xyes; then
   3743 	continue
   3744       else
   3745 	break
   3746       fi
   3747       ;;
   3748     msvisualcpp | msvcmsys)
   3749       # This compiler won't grok `-c -o', but also, the minuso test has
   3750       # not run yet.  These depmodes are late enough in the game, and
   3751       # so weak that their functioning should not be impacted.
   3752       am__obj=conftest.${OBJEXT-o}
   3753       am__minus_obj=
   3754       ;;
   3755     none) break ;;
   3756     esac
   3757     if depmode=$depmode \
   3758        source=sub/conftest.c object=$am__obj \
   3759        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3760        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3761          >/dev/null 2>conftest.err &&
   3762        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3763        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3764        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3765        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3766       # icc doesn't choke on unknown options, it will just issue warnings
   3767       # or remarks (even with -Werror).  So we grep stderr for any message
   3768       # that says an option was ignored or not supported.
   3769       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3770       #   icc: Command line warning: ignoring option '-M'; no argument required
   3771       # The diagnosis changed in icc 8.0:
   3772       #   icc: Command line remark: option '-MP' not supported
   3773       if (grep 'ignoring option' conftest.err ||
   3774           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3775         am_cv_CC_dependencies_compiler_type=$depmode
   3776         break
   3777       fi
   3778     fi
   3779   done
   3780 
   3781   cd ..
   3782   rm -rf conftest.dir
   3783 else
   3784   am_cv_CC_dependencies_compiler_type=none
   3785 fi
   3786 
   3787 fi
   3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3789 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3790 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3791 
   3792  if
   3793   test "x$enable_dependency_tracking" != xno \
   3794   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3795   am__fastdepCC_TRUE=
   3796   am__fastdepCC_FALSE='#'
   3797 else
   3798   am__fastdepCC_TRUE='#'
   3799   am__fastdepCC_FALSE=
   3800 fi
   3801 
   3802 
   3803    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3804 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3805 if ${ac_cv_prog_cc_c99+:} false; then :
   3806   $as_echo_n "(cached) " >&6
   3807 else
   3808   ac_cv_prog_cc_c99=no
   3809 ac_save_CC=$CC
   3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3811 /* end confdefs.h.  */
   3812 #include <stdarg.h>
   3813 #include <stdbool.h>
   3814 #include <stdlib.h>
   3815 #include <wchar.h>
   3816 #include <stdio.h>
   3817 
   3818 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3819 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3820 #define showlist(...) puts (#__VA_ARGS__)
   3821 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3822 static void
   3823 test_varargs_macros (void)
   3824 {
   3825   int x = 1234;
   3826   int y = 5678;
   3827   debug ("Flag");
   3828   debug ("X = %d\n", x);
   3829   showlist (The first, second, and third items.);
   3830   report (x>y, "x is %d but y is %d", x, y);
   3831 }
   3832 
   3833 // Check long long types.
   3834 #define BIG64 18446744073709551615ull
   3835 #define BIG32 4294967295ul
   3836 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3837 #if !BIG_OK
   3838   your preprocessor is broken;
   3839 #endif
   3840 #if BIG_OK
   3841 #else
   3842   your preprocessor is broken;
   3843 #endif
   3844 static long long int bignum = -9223372036854775807LL;
   3845 static unsigned long long int ubignum = BIG64;
   3846 
   3847 struct incomplete_array
   3848 {
   3849   int datasize;
   3850   double data[];
   3851 };
   3852 
   3853 struct named_init {
   3854   int number;
   3855   const wchar_t *name;
   3856   double average;
   3857 };
   3858 
   3859 typedef const char *ccp;
   3860 
   3861 static inline int
   3862 test_restrict (ccp restrict text)
   3863 {
   3864   // See if C++-style comments work.
   3865   // Iterate through items via the restricted pointer.
   3866   // Also check for declarations in for loops.
   3867   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3868     continue;
   3869   return 0;
   3870 }
   3871 
   3872 // Check varargs and va_copy.
   3873 static void
   3874 test_varargs (const char *format, ...)
   3875 {
   3876   va_list args;
   3877   va_start (args, format);
   3878   va_list args_copy;
   3879   va_copy (args_copy, args);
   3880 
   3881   const char *str;
   3882   int number;
   3883   float fnumber;
   3884 
   3885   while (*format)
   3886     {
   3887       switch (*format++)
   3888 	{
   3889 	case 's': // string
   3890 	  str = va_arg (args_copy, const char *);
   3891 	  break;
   3892 	case 'd': // int
   3893 	  number = va_arg (args_copy, int);
   3894 	  break;
   3895 	case 'f': // float
   3896 	  fnumber = va_arg (args_copy, double);
   3897 	  break;
   3898 	default:
   3899 	  break;
   3900 	}
   3901     }
   3902   va_end (args_copy);
   3903   va_end (args);
   3904 }
   3905 
   3906 int
   3907 main ()
   3908 {
   3909 
   3910   // Check bool.
   3911   _Bool success = false;
   3912 
   3913   // Check restrict.
   3914   if (test_restrict ("String literal") == 0)
   3915     success = true;
   3916   char *restrict newvar = "Another string";
   3917 
   3918   // Check varargs.
   3919   test_varargs ("s, d' f .", "string", 65, 34.234);
   3920   test_varargs_macros ();
   3921 
   3922   // Check flexible array members.
   3923   struct incomplete_array *ia =
   3924     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3925   ia->datasize = 10;
   3926   for (int i = 0; i < ia->datasize; ++i)
   3927     ia->data[i] = i * 1.234;
   3928 
   3929   // Check named initializers.
   3930   struct named_init ni = {
   3931     .number = 34,
   3932     .name = L"Test wide string",
   3933     .average = 543.34343,
   3934   };
   3935 
   3936   ni.number = 58;
   3937 
   3938   int dynamic_array[ni.number];
   3939   dynamic_array[ni.number - 1] = 543;
   3940 
   3941   // work around unused variable warnings
   3942   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3943 	  || dynamic_array[ni.number - 1] != 543);
   3944 
   3945   ;
   3946   return 0;
   3947 }
   3948 _ACEOF
   3949 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3950 do
   3951   CC="$ac_save_CC $ac_arg"
   3952   if ac_fn_c_try_compile "$LINENO"; then :
   3953   ac_cv_prog_cc_c99=$ac_arg
   3954 fi
   3955 rm -f core conftest.err conftest.$ac_objext
   3956   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3957 done
   3958 rm -f conftest.$ac_ext
   3959 CC=$ac_save_CC
   3960 
   3961 fi
   3962 # AC_CACHE_VAL
   3963 case "x$ac_cv_prog_cc_c99" in
   3964   x)
   3965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3966 $as_echo "none needed" >&6; } ;;
   3967   xno)
   3968     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3969 $as_echo "unsupported" >&6; } ;;
   3970   *)
   3971     CC="$CC $ac_cv_prog_cc_c99"
   3972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3973 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3974 esac
   3975 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3976 
   3977 fi
   3978 
   3979 
   3980 
   3981 ac_ext=c
   3982 ac_cpp='$CPP $CPPFLAGS'
   3983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3987 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3988 # On Suns, sometimes $CPP names a directory.
   3989 if test -n "$CPP" && test -d "$CPP"; then
   3990   CPP=
   3991 fi
   3992 if test -z "$CPP"; then
   3993   if ${ac_cv_prog_CPP+:} false; then :
   3994   $as_echo_n "(cached) " >&6
   3995 else
   3996       # Double quotes because CPP needs to be expanded
   3997     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3998     do
   3999       ac_preproc_ok=false
   4000 for ac_c_preproc_warn_flag in '' yes
   4001 do
   4002   # Use a header file that comes with gcc, so configuring glibc
   4003   # with a fresh cross-compiler works.
   4004   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4005   # <limits.h> exists even on freestanding compilers.
   4006   # On the NeXT, cc -E runs the code through the compiler's parser,
   4007   # not just through cpp. "Syntax error" is here to catch this case.
   4008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4009 /* end confdefs.h.  */
   4010 #ifdef __STDC__
   4011 # include <limits.h>
   4012 #else
   4013 # include <assert.h>
   4014 #endif
   4015 		     Syntax error
   4016 _ACEOF
   4017 if ac_fn_c_try_cpp "$LINENO"; then :
   4018 
   4019 else
   4020   # Broken: fails on valid input.
   4021 continue
   4022 fi
   4023 rm -f conftest.err conftest.i conftest.$ac_ext
   4024 
   4025   # OK, works on sane cases.  Now check whether nonexistent headers
   4026   # can be detected and how.
   4027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4028 /* end confdefs.h.  */
   4029 #include <ac_nonexistent.h>
   4030 _ACEOF
   4031 if ac_fn_c_try_cpp "$LINENO"; then :
   4032   # Broken: success on invalid input.
   4033 continue
   4034 else
   4035   # Passes both tests.
   4036 ac_preproc_ok=:
   4037 break
   4038 fi
   4039 rm -f conftest.err conftest.i conftest.$ac_ext
   4040 
   4041 done
   4042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4043 rm -f conftest.i conftest.err conftest.$ac_ext
   4044 if $ac_preproc_ok; then :
   4045   break
   4046 fi
   4047 
   4048     done
   4049     ac_cv_prog_CPP=$CPP
   4050 
   4051 fi
   4052   CPP=$ac_cv_prog_CPP
   4053 else
   4054   ac_cv_prog_CPP=$CPP
   4055 fi
   4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4057 $as_echo "$CPP" >&6; }
   4058 ac_preproc_ok=false
   4059 for ac_c_preproc_warn_flag in '' yes
   4060 do
   4061   # Use a header file that comes with gcc, so configuring glibc
   4062   # with a fresh cross-compiler works.
   4063   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4064   # <limits.h> exists even on freestanding compilers.
   4065   # On the NeXT, cc -E runs the code through the compiler's parser,
   4066   # not just through cpp. "Syntax error" is here to catch this case.
   4067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4068 /* end confdefs.h.  */
   4069 #ifdef __STDC__
   4070 # include <limits.h>
   4071 #else
   4072 # include <assert.h>
   4073 #endif
   4074 		     Syntax error
   4075 _ACEOF
   4076 if ac_fn_c_try_cpp "$LINENO"; then :
   4077 
   4078 else
   4079   # Broken: fails on valid input.
   4080 continue
   4081 fi
   4082 rm -f conftest.err conftest.i conftest.$ac_ext
   4083 
   4084   # OK, works on sane cases.  Now check whether nonexistent headers
   4085   # can be detected and how.
   4086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4087 /* end confdefs.h.  */
   4088 #include <ac_nonexistent.h>
   4089 _ACEOF
   4090 if ac_fn_c_try_cpp "$LINENO"; then :
   4091   # Broken: success on invalid input.
   4092 continue
   4093 else
   4094   # Passes both tests.
   4095 ac_preproc_ok=:
   4096 break
   4097 fi
   4098 rm -f conftest.err conftest.i conftest.$ac_ext
   4099 
   4100 done
   4101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4102 rm -f conftest.i conftest.err conftest.$ac_ext
   4103 if $ac_preproc_ok; then :
   4104 
   4105 else
   4106   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4108 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4109 See \`config.log' for more details" "$LINENO" 5; }
   4110 fi
   4111 
   4112 ac_ext=c
   4113 ac_cpp='$CPP $CPPFLAGS'
   4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4117 
   4118 
   4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4120 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4121 if ${ac_cv_path_GREP+:} false; then :
   4122   $as_echo_n "(cached) " >&6
   4123 else
   4124   if test -z "$GREP"; then
   4125   ac_path_GREP_found=false
   4126   # Loop through the user's path and test for each of PROGNAME-LIST
   4127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4128 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4129 do
   4130   IFS=$as_save_IFS
   4131   test -z "$as_dir" && as_dir=.
   4132     for ac_prog in grep ggrep; do
   4133     for ac_exec_ext in '' $ac_executable_extensions; do
   4134       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4135       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4136 # Check for GNU ac_path_GREP and select it if it is found.
   4137   # Check for GNU $ac_path_GREP
   4138 case `"$ac_path_GREP" --version 2>&1` in
   4139 *GNU*)
   4140   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4141 *)
   4142   ac_count=0
   4143   $as_echo_n 0123456789 >"conftest.in"
   4144   while :
   4145   do
   4146     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4147     mv "conftest.tmp" "conftest.in"
   4148     cp "conftest.in" "conftest.nl"
   4149     $as_echo 'GREP' >> "conftest.nl"
   4150     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4151     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4152     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4153     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4154       # Best one so far, save it but keep looking for a better one
   4155       ac_cv_path_GREP="$ac_path_GREP"
   4156       ac_path_GREP_max=$ac_count
   4157     fi
   4158     # 10*(2^10) chars as input seems more than enough
   4159     test $ac_count -gt 10 && break
   4160   done
   4161   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4162 esac
   4163 
   4164       $ac_path_GREP_found && break 3
   4165     done
   4166   done
   4167   done
   4168 IFS=$as_save_IFS
   4169   if test -z "$ac_cv_path_GREP"; then
   4170     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4171   fi
   4172 else
   4173   ac_cv_path_GREP=$GREP
   4174 fi
   4175 
   4176 fi
   4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4178 $as_echo "$ac_cv_path_GREP" >&6; }
   4179  GREP="$ac_cv_path_GREP"
   4180 
   4181 
   4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4183 $as_echo_n "checking for egrep... " >&6; }
   4184 if ${ac_cv_path_EGREP+:} false; then :
   4185   $as_echo_n "(cached) " >&6
   4186 else
   4187   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4188    then ac_cv_path_EGREP="$GREP -E"
   4189    else
   4190      if test -z "$EGREP"; then
   4191   ac_path_EGREP_found=false
   4192   # Loop through the user's path and test for each of PROGNAME-LIST
   4193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4195 do
   4196   IFS=$as_save_IFS
   4197   test -z "$as_dir" && as_dir=.
   4198     for ac_prog in egrep; do
   4199     for ac_exec_ext in '' $ac_executable_extensions; do
   4200       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4201       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4202 # Check for GNU ac_path_EGREP and select it if it is found.
   4203   # Check for GNU $ac_path_EGREP
   4204 case `"$ac_path_EGREP" --version 2>&1` in
   4205 *GNU*)
   4206   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4207 *)
   4208   ac_count=0
   4209   $as_echo_n 0123456789 >"conftest.in"
   4210   while :
   4211   do
   4212     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4213     mv "conftest.tmp" "conftest.in"
   4214     cp "conftest.in" "conftest.nl"
   4215     $as_echo 'EGREP' >> "conftest.nl"
   4216     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4217     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4218     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4219     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4220       # Best one so far, save it but keep looking for a better one
   4221       ac_cv_path_EGREP="$ac_path_EGREP"
   4222       ac_path_EGREP_max=$ac_count
   4223     fi
   4224     # 10*(2^10) chars as input seems more than enough
   4225     test $ac_count -gt 10 && break
   4226   done
   4227   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4228 esac
   4229 
   4230       $ac_path_EGREP_found && break 3
   4231     done
   4232   done
   4233   done
   4234 IFS=$as_save_IFS
   4235   if test -z "$ac_cv_path_EGREP"; then
   4236     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4237   fi
   4238 else
   4239   ac_cv_path_EGREP=$EGREP
   4240 fi
   4241 
   4242    fi
   4243 fi
   4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4245 $as_echo "$ac_cv_path_EGREP" >&6; }
   4246  EGREP="$ac_cv_path_EGREP"
   4247 
   4248 
   4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4250 $as_echo_n "checking for ANSI C header files... " >&6; }
   4251 if ${ac_cv_header_stdc+:} false; then :
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4255 /* end confdefs.h.  */
   4256 #include <stdlib.h>
   4257 #include <stdarg.h>
   4258 #include <string.h>
   4259 #include <float.h>
   4260 
   4261 int
   4262 main ()
   4263 {
   4264 
   4265   ;
   4266   return 0;
   4267 }
   4268 _ACEOF
   4269 if ac_fn_c_try_compile "$LINENO"; then :
   4270   ac_cv_header_stdc=yes
   4271 else
   4272   ac_cv_header_stdc=no
   4273 fi
   4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4275 
   4276 if test $ac_cv_header_stdc = yes; then
   4277   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4279 /* end confdefs.h.  */
   4280 #include <string.h>
   4281 
   4282 _ACEOF
   4283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4284   $EGREP "memchr" >/dev/null 2>&1; then :
   4285 
   4286 else
   4287   ac_cv_header_stdc=no
   4288 fi
   4289 rm -f conftest*
   4290 
   4291 fi
   4292 
   4293 if test $ac_cv_header_stdc = yes; then
   4294   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4296 /* end confdefs.h.  */
   4297 #include <stdlib.h>
   4298 
   4299 _ACEOF
   4300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4301   $EGREP "free" >/dev/null 2>&1; then :
   4302 
   4303 else
   4304   ac_cv_header_stdc=no
   4305 fi
   4306 rm -f conftest*
   4307 
   4308 fi
   4309 
   4310 if test $ac_cv_header_stdc = yes; then
   4311   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4312   if test "$cross_compiling" = yes; then :
   4313   :
   4314 else
   4315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4316 /* end confdefs.h.  */
   4317 #include <ctype.h>
   4318 #include <stdlib.h>
   4319 #if ((' ' & 0x0FF) == 0x020)
   4320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4322 #else
   4323 # define ISLOWER(c) \
   4324 		   (('a' <= (c) && (c) <= 'i') \
   4325 		     || ('j' <= (c) && (c) <= 'r') \
   4326 		     || ('s' <= (c) && (c) <= 'z'))
   4327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4328 #endif
   4329 
   4330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4331 int
   4332 main ()
   4333 {
   4334   int i;
   4335   for (i = 0; i < 256; i++)
   4336     if (XOR (islower (i), ISLOWER (i))
   4337 	|| toupper (i) != TOUPPER (i))
   4338       return 2;
   4339   return 0;
   4340 }
   4341 _ACEOF
   4342 if ac_fn_c_try_run "$LINENO"; then :
   4343 
   4344 else
   4345   ac_cv_header_stdc=no
   4346 fi
   4347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4348   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4349 fi
   4350 
   4351 fi
   4352 fi
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4354 $as_echo "$ac_cv_header_stdc" >&6; }
   4355 if test $ac_cv_header_stdc = yes; then
   4356 
   4357 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4358 
   4359 fi
   4360 
   4361 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4362 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4363 		  inttypes.h stdint.h unistd.h
   4364 do :
   4365   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4367 "
   4368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4369   cat >>confdefs.h <<_ACEOF
   4370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4371 _ACEOF
   4372 
   4373 fi
   4374 
   4375 done
   4376 
   4377 
   4378 
   4379 
   4380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4381 	if test -n "$ac_tool_prefix"; then
   4382   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4383 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4385 $as_echo_n "checking for $ac_word... " >&6; }
   4386 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389   case $PKG_CONFIG in
   4390   [\\/]* | ?:[\\/]*)
   4391   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4392   ;;
   4393   *)
   4394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4395 for as_dir in $PATH
   4396 do
   4397   IFS=$as_save_IFS
   4398   test -z "$as_dir" && as_dir=.
   4399     for ac_exec_ext in '' $ac_executable_extensions; do
   4400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4401     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4403     break 2
   4404   fi
   4405 done
   4406   done
   4407 IFS=$as_save_IFS
   4408 
   4409   ;;
   4410 esac
   4411 fi
   4412 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4413 if test -n "$PKG_CONFIG"; then
   4414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4415 $as_echo "$PKG_CONFIG" >&6; }
   4416 else
   4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4418 $as_echo "no" >&6; }
   4419 fi
   4420 
   4421 
   4422 fi
   4423 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4424   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4425   # Extract the first word of "pkg-config", so it can be a program name with args.
   4426 set dummy pkg-config; ac_word=$2
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4428 $as_echo_n "checking for $ac_word... " >&6; }
   4429 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4430   $as_echo_n "(cached) " >&6
   4431 else
   4432   case $ac_pt_PKG_CONFIG in
   4433   [\\/]* | ?:[\\/]*)
   4434   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4435   ;;
   4436   *)
   4437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4438 for as_dir in $PATH
   4439 do
   4440   IFS=$as_save_IFS
   4441   test -z "$as_dir" && as_dir=.
   4442     for ac_exec_ext in '' $ac_executable_extensions; do
   4443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4444     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4446     break 2
   4447   fi
   4448 done
   4449   done
   4450 IFS=$as_save_IFS
   4451 
   4452   ;;
   4453 esac
   4454 fi
   4455 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4456 if test -n "$ac_pt_PKG_CONFIG"; then
   4457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4458 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4459 else
   4460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4461 $as_echo "no" >&6; }
   4462 fi
   4463 
   4464   if test "x$ac_pt_PKG_CONFIG" = x; then
   4465     PKG_CONFIG=""
   4466   else
   4467     case $cross_compiling:$ac_tool_warned in
   4468 yes:)
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4471 ac_tool_warned=yes ;;
   4472 esac
   4473     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4474   fi
   4475 else
   4476   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4477 fi
   4478 
   4479 fi
   4480 if test -n "$PKG_CONFIG"; then
   4481 	_pkg_min_version=0.9.0
   4482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4483 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4484 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4486 $as_echo "yes" >&6; }
   4487 	else
   4488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4489 $as_echo "no" >&6; }
   4490 		PKG_CONFIG=""
   4491 	fi
   4492 
   4493 fi
   4494 # Make sure we can run config.sub.
   4495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4496   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4497 
   4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4499 $as_echo_n "checking build system type... " >&6; }
   4500 if ${ac_cv_build+:} false; then :
   4501   $as_echo_n "(cached) " >&6
   4502 else
   4503   ac_build_alias=$build_alias
   4504 test "x$ac_build_alias" = x &&
   4505   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4506 test "x$ac_build_alias" = x &&
   4507   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4508 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4509   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4510 
   4511 fi
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4513 $as_echo "$ac_cv_build" >&6; }
   4514 case $ac_cv_build in
   4515 *-*-*) ;;
   4516 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4517 esac
   4518 build=$ac_cv_build
   4519 ac_save_IFS=$IFS; IFS='-'
   4520 set x $ac_cv_build
   4521 shift
   4522 build_cpu=$1
   4523 build_vendor=$2
   4524 shift; shift
   4525 # Remember, the first character of IFS is used to create $*,
   4526 # except with old shells:
   4527 build_os=$*
   4528 IFS=$ac_save_IFS
   4529 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4530 
   4531 
   4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4533 $as_echo_n "checking host system type... " >&6; }
   4534 if ${ac_cv_host+:} false; then :
   4535   $as_echo_n "(cached) " >&6
   4536 else
   4537   if test "x$host_alias" = x; then
   4538   ac_cv_host=$ac_cv_build
   4539 else
   4540   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4541     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4542 fi
   4543 
   4544 fi
   4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4546 $as_echo "$ac_cv_host" >&6; }
   4547 case $ac_cv_host in
   4548 *-*-*) ;;
   4549 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4550 esac
   4551 host=$ac_cv_host
   4552 ac_save_IFS=$IFS; IFS='-'
   4553 set x $ac_cv_host
   4554 shift
   4555 host_cpu=$1
   4556 host_vendor=$2
   4557 shift; shift
   4558 # Remember, the first character of IFS is used to create $*,
   4559 # except with old shells:
   4560 host_os=$*
   4561 IFS=$ac_save_IFS
   4562 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4563 
   4564 
   4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4566 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4567 if ${ac_cv_path_SED+:} false; then :
   4568   $as_echo_n "(cached) " >&6
   4569 else
   4570             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4571      for ac_i in 1 2 3 4 5 6 7; do
   4572        ac_script="$ac_script$as_nl$ac_script"
   4573      done
   4574      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4575      { ac_script=; unset ac_script;}
   4576      if test -z "$SED"; then
   4577   ac_path_SED_found=false
   4578   # Loop through the user's path and test for each of PROGNAME-LIST
   4579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4580 for as_dir in $PATH
   4581 do
   4582   IFS=$as_save_IFS
   4583   test -z "$as_dir" && as_dir=.
   4584     for ac_prog in sed gsed; do
   4585     for ac_exec_ext in '' $ac_executable_extensions; do
   4586       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4587       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4588 # Check for GNU ac_path_SED and select it if it is found.
   4589   # Check for GNU $ac_path_SED
   4590 case `"$ac_path_SED" --version 2>&1` in
   4591 *GNU*)
   4592   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4593 *)
   4594   ac_count=0
   4595   $as_echo_n 0123456789 >"conftest.in"
   4596   while :
   4597   do
   4598     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4599     mv "conftest.tmp" "conftest.in"
   4600     cp "conftest.in" "conftest.nl"
   4601     $as_echo '' >> "conftest.nl"
   4602     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4603     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4604     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4605     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4606       # Best one so far, save it but keep looking for a better one
   4607       ac_cv_path_SED="$ac_path_SED"
   4608       ac_path_SED_max=$ac_count
   4609     fi
   4610     # 10*(2^10) chars as input seems more than enough
   4611     test $ac_count -gt 10 && break
   4612   done
   4613   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4614 esac
   4615 
   4616       $ac_path_SED_found && break 3
   4617     done
   4618   done
   4619   done
   4620 IFS=$as_save_IFS
   4621   if test -z "$ac_cv_path_SED"; then
   4622     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4623   fi
   4624 else
   4625   ac_cv_path_SED=$SED
   4626 fi
   4627 
   4628 fi
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4630 $as_echo "$ac_cv_path_SED" >&6; }
   4631  SED="$ac_cv_path_SED"
   4632   rm -f conftest.sed
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 if  test "x$GCC" = xyes ; then
   4639     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4640 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4641 -Wbad-function-cast -Wformat=2"
   4642     case `$CC -dumpversion` in
   4643     3.4.* | 4.*)
   4644 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4645 	;;
   4646     esac
   4647 else
   4648     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4649 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4650   SUNCC="yes"
   4651 else
   4652   SUNCC="no"
   4653 fi
   4654 
   4655     if test "x$SUNCC" = "xyes"; then
   4656 	CWARNFLAGS="-v"
   4657     fi
   4658 fi
   4659 
   4660 
   4661 
   4662 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4663 
   4664 
   4665 
   4666 # Check whether --enable-strict-compilation was given.
   4667 if test "${enable_strict_compilation+set}" = set; then :
   4668   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4669 else
   4670   STRICT_COMPILE=no
   4671 fi
   4672 
   4673 if test "x$STRICT_COMPILE" = "xyes"; then
   4674 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4675 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4676   SUNCC="yes"
   4677 else
   4678   SUNCC="no"
   4679 fi
   4680 
   4681 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4682 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4683   INTELCC="yes"
   4684 else
   4685   INTELCC="no"
   4686 fi
   4687 
   4688 	if test "x$GCC" = xyes ; then
   4689 		STRICT_CFLAGS="-pedantic -Werror"
   4690 	elif test "x$SUNCC" = "xyes"; then
   4691 		STRICT_CFLAGS="-errwarn"
   4692     elif test "x$INTELCC" = "xyes"; then
   4693 		STRICT_CFLAGS="-Werror"
   4694 	fi
   4695 fi
   4696 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4697 
   4698 
   4699 
   4700 
   4701 cat >>confdefs.h <<_ACEOF
   4702 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4703 _ACEOF
   4704 
   4705 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4706 	if test "x$PVM" = "x"; then
   4707 		PVM="0"
   4708 	fi
   4709 
   4710 cat >>confdefs.h <<_ACEOF
   4711 #define PACKAGE_VERSION_MINOR $PVM
   4712 _ACEOF
   4713 
   4714 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4715 	if test "x$PVP" = "x"; then
   4716 		PVP="0"
   4717 	fi
   4718 
   4719 cat >>confdefs.h <<_ACEOF
   4720 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4721 _ACEOF
   4722 
   4723 
   4724 
   4725 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4726 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4727 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4728 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4729 
   4730 
   4731 
   4732 
   4733 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4734 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4735 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4736 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4737 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 
   4744 if test x$APP_MAN_SUFFIX = x    ; then
   4745     APP_MAN_SUFFIX=1
   4746 fi
   4747 if test x$APP_MAN_DIR = x    ; then
   4748     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4749 fi
   4750 
   4751 if test x$LIB_MAN_SUFFIX = x    ; then
   4752     LIB_MAN_SUFFIX=3
   4753 fi
   4754 if test x$LIB_MAN_DIR = x    ; then
   4755     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4756 fi
   4757 
   4758 if test x$FILE_MAN_SUFFIX = x    ; then
   4759     case $host_os in
   4760 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4761 	*)		FILE_MAN_SUFFIX=5  ;;
   4762     esac
   4763 fi
   4764 if test x$FILE_MAN_DIR = x    ; then
   4765     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4766 fi
   4767 
   4768 if test x$MISC_MAN_SUFFIX = x    ; then
   4769     case $host_os in
   4770 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4771 	*)		MISC_MAN_SUFFIX=7  ;;
   4772     esac
   4773 fi
   4774 if test x$MISC_MAN_DIR = x    ; then
   4775     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4776 fi
   4777 
   4778 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4779     case $host_os in
   4780 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4781 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4782     esac
   4783 fi
   4784 if test x$DRIVER_MAN_DIR = x    ; then
   4785     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4786 fi
   4787 
   4788 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4789     case $host_os in
   4790 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4791 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4792     esac
   4793 fi
   4794 if test x$ADMIN_MAN_DIR = x    ; then
   4795     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4796 fi
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 XORG_MAN_PAGE="X Version 11"
   4813 
   4814 MAN_SUBSTS="\
   4815 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4816 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4817 	-e 's|__xservername__|Xorg|g' \
   4818 	-e 's|__xconfigfile__|xorg.conf|g' \
   4819 	-e 's|__projectroot__|\$(prefix)|g' \
   4820 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   4821 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4822 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4823 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4824 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4825 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4826 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4827 
   4828 
   4829 
   4830 # Check whether --enable-silent-rules was given.
   4831 if test "${enable_silent_rules+set}" = set; then :
   4832   enableval=$enable_silent_rules;
   4833 fi
   4834 
   4835 case $enable_silent_rules in
   4836 yes) AM_DEFAULT_VERBOSITY=0;;
   4837 no)  AM_DEFAULT_VERBOSITY=1;;
   4838 *)   AM_DEFAULT_VERBOSITY=0;;
   4839 esac
   4840 AM_BACKSLASH='\'
   4841 
   4842 
   4843 
   4844 spec_default=
   4845 if test "x$spec_default" = x ; then
   4846   spec_default="yes"
   4847 fi
   4848 # Check whether --enable-specs was given.
   4849 if test "${enable_specs+set}" = set; then :
   4850   enableval=$enable_specs; build_specs=$enableval
   4851 else
   4852   build_specs=$spec_default
   4853 fi
   4854 
   4855  if test x$build_specs = xyes; then
   4856   ENABLE_SPECS_TRUE=
   4857   ENABLE_SPECS_FALSE='#'
   4858 else
   4859   ENABLE_SPECS_TRUE='#'
   4860   ENABLE_SPECS_FALSE=
   4861 fi
   4862 
   4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   4864 $as_echo_n "checking whether to build functional specifications... " >&6; }
   4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   4866 $as_echo "$build_specs" >&6; }
   4867 
   4868 
   4869 
   4870 
   4871 # Check whether --with-xmlto was given.
   4872 if test "${with_xmlto+set}" = set; then :
   4873   withval=$with_xmlto; use_xmlto=$withval
   4874 else
   4875   use_xmlto=auto
   4876 fi
   4877 
   4878 
   4879 if test "x$use_xmlto" = x"auto"; then
   4880    # Extract the first word of "xmlto", so it can be a program name with args.
   4881 set dummy xmlto; ac_word=$2
   4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4883 $as_echo_n "checking for $ac_word... " >&6; }
   4884 if ${ac_cv_path_XMLTO+:} false; then :
   4885   $as_echo_n "(cached) " >&6
   4886 else
   4887   case $XMLTO in
   4888   [\\/]* | ?:[\\/]*)
   4889   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   4890   ;;
   4891   *)
   4892   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4893 for as_dir in $PATH
   4894 do
   4895   IFS=$as_save_IFS
   4896   test -z "$as_dir" && as_dir=.
   4897     for ac_exec_ext in '' $ac_executable_extensions; do
   4898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4899     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   4900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4901     break 2
   4902   fi
   4903 done
   4904   done
   4905 IFS=$as_save_IFS
   4906 
   4907   ;;
   4908 esac
   4909 fi
   4910 XMLTO=$ac_cv_path_XMLTO
   4911 if test -n "$XMLTO"; then
   4912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   4913 $as_echo "$XMLTO" >&6; }
   4914 else
   4915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4916 $as_echo "no" >&6; }
   4917 fi
   4918 
   4919 
   4920    if test "x$XMLTO" = "x"; then
   4921         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   4922 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   4923 	have_xmlto=no
   4924    else
   4925         have_xmlto=yes
   4926    fi
   4927 elif test "x$use_xmlto" = x"yes" ; then
   4928    # Extract the first word of "xmlto", so it can be a program name with args.
   4929 set dummy xmlto; ac_word=$2
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4931 $as_echo_n "checking for $ac_word... " >&6; }
   4932 if ${ac_cv_path_XMLTO+:} false; then :
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   case $XMLTO in
   4936   [\\/]* | ?:[\\/]*)
   4937   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   4938   ;;
   4939   *)
   4940   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4941 for as_dir in $PATH
   4942 do
   4943   IFS=$as_save_IFS
   4944   test -z "$as_dir" && as_dir=.
   4945     for ac_exec_ext in '' $ac_executable_extensions; do
   4946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4947     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   4948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4949     break 2
   4950   fi
   4951 done
   4952   done
   4953 IFS=$as_save_IFS
   4954 
   4955   ;;
   4956 esac
   4957 fi
   4958 XMLTO=$ac_cv_path_XMLTO
   4959 if test -n "$XMLTO"; then
   4960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   4961 $as_echo "$XMLTO" >&6; }
   4962 else
   4963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4964 $as_echo "no" >&6; }
   4965 fi
   4966 
   4967 
   4968    if test "x$XMLTO" = "x"; then
   4969         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   4970    fi
   4971    have_xmlto=yes
   4972 elif test "x$use_xmlto" = x"no" ; then
   4973    if test "x$XMLTO" != "x"; then
   4974       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   4975 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   4976    fi
   4977    have_xmlto=no
   4978 else
   4979    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   4980 fi
   4981 
   4982 # Test for a minimum version of xmlto, if provided.
   4983 if test "$have_xmlto" = yes; then
   4984     # scrape the xmlto version
   4985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   4986 $as_echo_n "checking the xmlto version... " >&6; }
   4987     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   4988     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   4989 $as_echo "$xmlto_version" >&6; }
   4990     as_arg_v1=$xmlto_version
   4991 as_arg_v2=0.0.20
   4992 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   4993 case $? in #(
   4994   1) :
   4995     if test "x$use_xmlto" = xauto; then
   4996             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   4997 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   4998             have_xmlto=no
   4999         else
   5000             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   5001         fi ;; #(
   5002   0) :
   5003      ;; #(
   5004   2) :
   5005      ;; #(
   5006   *) :
   5007      ;;
   5008 esac
   5009 fi
   5010 
   5011 # Test for the ability of xmlto to generate a text target
   5012 have_xmlto_text=no
   5013 cat > conftest.xml << "EOF"
   5014 EOF
   5015 if test "$have_xmlto" = yes; then :
   5016   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   5017   have_xmlto_text=yes
   5018 else
   5019   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   5020 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   5021 fi
   5022 fi
   5023 rm -f conftest.xml
   5024  if test $have_xmlto_text = yes; then
   5025   HAVE_XMLTO_TEXT_TRUE=
   5026   HAVE_XMLTO_TEXT_FALSE='#'
   5027 else
   5028   HAVE_XMLTO_TEXT_TRUE='#'
   5029   HAVE_XMLTO_TEXT_FALSE=
   5030 fi
   5031 
   5032  if test "$have_xmlto" = yes; then
   5033   HAVE_XMLTO_TRUE=
   5034   HAVE_XMLTO_FALSE='#'
   5035 else
   5036   HAVE_XMLTO_TRUE='#'
   5037   HAVE_XMLTO_FALSE=
   5038 fi
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 # Check whether --with-fop was given.
   5045 if test "${with_fop+set}" = set; then :
   5046   withval=$with_fop; use_fop=$withval
   5047 else
   5048   use_fop=auto
   5049 fi
   5050 
   5051 
   5052 if test "x$use_fop" = x"auto"; then
   5053    # Extract the first word of "fop", so it can be a program name with args.
   5054 set dummy fop; ac_word=$2
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5056 $as_echo_n "checking for $ac_word... " >&6; }
   5057 if ${ac_cv_path_FOP+:} false; then :
   5058   $as_echo_n "(cached) " >&6
   5059 else
   5060   case $FOP in
   5061   [\\/]* | ?:[\\/]*)
   5062   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   5063   ;;
   5064   *)
   5065   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5066 for as_dir in $PATH
   5067 do
   5068   IFS=$as_save_IFS
   5069   test -z "$as_dir" && as_dir=.
   5070     for ac_exec_ext in '' $ac_executable_extensions; do
   5071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5072     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   5073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5074     break 2
   5075   fi
   5076 done
   5077   done
   5078 IFS=$as_save_IFS
   5079 
   5080   ;;
   5081 esac
   5082 fi
   5083 FOP=$ac_cv_path_FOP
   5084 if test -n "$FOP"; then
   5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   5086 $as_echo "$FOP" >&6; }
   5087 else
   5088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5089 $as_echo "no" >&6; }
   5090 fi
   5091 
   5092 
   5093    if test "x$FOP" = "x"; then
   5094         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   5095 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   5096 	have_fop=no
   5097    else
   5098         have_fop=yes
   5099    fi
   5100 elif test "x$use_fop" = x"yes" ; then
   5101    # Extract the first word of "fop", so it can be a program name with args.
   5102 set dummy fop; ac_word=$2
   5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5104 $as_echo_n "checking for $ac_word... " >&6; }
   5105 if ${ac_cv_path_FOP+:} false; then :
   5106   $as_echo_n "(cached) " >&6
   5107 else
   5108   case $FOP in
   5109   [\\/]* | ?:[\\/]*)
   5110   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   5111   ;;
   5112   *)
   5113   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5114 for as_dir in $PATH
   5115 do
   5116   IFS=$as_save_IFS
   5117   test -z "$as_dir" && as_dir=.
   5118     for ac_exec_ext in '' $ac_executable_extensions; do
   5119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5120     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   5121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5122     break 2
   5123   fi
   5124 done
   5125   done
   5126 IFS=$as_save_IFS
   5127 
   5128   ;;
   5129 esac
   5130 fi
   5131 FOP=$ac_cv_path_FOP
   5132 if test -n "$FOP"; then
   5133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   5134 $as_echo "$FOP" >&6; }
   5135 else
   5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5137 $as_echo "no" >&6; }
   5138 fi
   5139 
   5140 
   5141    if test "x$FOP" = "x"; then
   5142         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   5143    fi
   5144    have_fop=yes
   5145 elif test "x$use_fop" = x"no" ; then
   5146    if test "x$FOP" != "x"; then
   5147       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   5148 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   5149    fi
   5150    have_fop=no
   5151 else
   5152    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   5153 fi
   5154  if test "$have_fop" = yes; then
   5155   HAVE_FOP_TRUE=
   5156   HAVE_FOP_FALSE='#'
   5157 else
   5158   HAVE_FOP_TRUE='#'
   5159   HAVE_FOP_FALSE=
   5160 fi
   5161 
   5162 
   5163 
   5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
   5165 $as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
   5166 XORG_SGML_PATH=
   5167 if test -n "$PKG_CONFIG" && \
   5168     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
   5169   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
   5170   ac_status=$?
   5171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5172   test $ac_status = 0; }; then
   5173   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   5174 else
   5175   :
   5176 
   5177 fi
   5178 
   5179 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   5180 # the path and the name of the doc stylesheet
   5181 if test "x$XORG_SGML_PATH" != "x" ; then
   5182    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   5183 $as_echo "$XORG_SGML_PATH" >&6; }
   5184    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   5185    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   5186 else
   5187    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5188 $as_echo "no" >&6; }
   5189 fi
   5190 
   5191 
   5192 
   5193 
   5194  if test "x$XSL_STYLESHEET" != "x"; then
   5195   HAVE_STYLESHEETS_TRUE=
   5196   HAVE_STYLESHEETS_FALSE='#'
   5197 else
   5198   HAVE_STYLESHEETS_TRUE='#'
   5199   HAVE_STYLESHEETS_FALSE=
   5200 fi
   5201 
   5202 
   5203 ac_config_headers="$ac_config_headers config.h"
   5204 
   5205 
   5206 # Determine .so library version per platform
   5207 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
   5208 
   5209 if test "x$XEXT_SOREV" = "x" ; then
   5210     case $host_os in
   5211 	openbsd*)	XEXT_SOREV=8:0 		;;
   5212 	solaris*)       XEXT_SOREV=0 		;;
   5213 	*)              XEXT_SOREV=6:4:0 	;;
   5214     esac
   5215 fi
   5216 
   5217 
   5218 # Checks for programs.
   5219 case `pwd` in
   5220   *\ * | *\	*)
   5221     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5222 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5223 esac
   5224 
   5225 
   5226 
   5227 macro_version='2.2.10'
   5228 macro_revision='1.3175'
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 ltmain="$ac_aux_dir/ltmain.sh"
   5243 
   5244 # Backslashify metacharacters that are still active within
   5245 # double-quoted strings.
   5246 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5247 
   5248 # Same as above, but do not quote variable references.
   5249 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5250 
   5251 # Sed substitution to delay expansion of an escaped shell variable in a
   5252 # double_quote_subst'ed string.
   5253 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5254 
   5255 # Sed substitution to delay expansion of an escaped single quote.
   5256 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5257 
   5258 # Sed substitution to avoid accidental globbing in evaled expressions
   5259 no_glob_subst='s/\*/\\\*/g'
   5260 
   5261 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5262 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5263 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5264 
   5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5266 $as_echo_n "checking how to print strings... " >&6; }
   5267 # Test print first, because it will be a builtin if present.
   5268 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5269    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5270   ECHO='print -r --'
   5271 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5272   ECHO='printf %s\n'
   5273 else
   5274   # Use this function as a fallback that always works.
   5275   func_fallback_echo ()
   5276   {
   5277     eval 'cat <<_LTECHO_EOF
   5278 $1
   5279 _LTECHO_EOF'
   5280   }
   5281   ECHO='func_fallback_echo'
   5282 fi
   5283 
   5284 # func_echo_all arg...
   5285 # Invoke $ECHO with all args, space-separated.
   5286 func_echo_all ()
   5287 {
   5288     $ECHO ""
   5289 }
   5290 
   5291 case "$ECHO" in
   5292   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5293 $as_echo "printf" >&6; } ;;
   5294   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5295 $as_echo "print -r" >&6; } ;;
   5296   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5297 $as_echo "cat" >&6; } ;;
   5298 esac
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5314 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5315 if ${ac_cv_path_SED+:} false; then :
   5316   $as_echo_n "(cached) " >&6
   5317 else
   5318             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5319      for ac_i in 1 2 3 4 5 6 7; do
   5320        ac_script="$ac_script$as_nl$ac_script"
   5321      done
   5322      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5323      { ac_script=; unset ac_script;}
   5324      if test -z "$SED"; then
   5325   ac_path_SED_found=false
   5326   # Loop through the user's path and test for each of PROGNAME-LIST
   5327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5328 for as_dir in $PATH
   5329 do
   5330   IFS=$as_save_IFS
   5331   test -z "$as_dir" && as_dir=.
   5332     for ac_prog in sed gsed; do
   5333     for ac_exec_ext in '' $ac_executable_extensions; do
   5334       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5335       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5336 # Check for GNU ac_path_SED and select it if it is found.
   5337   # Check for GNU $ac_path_SED
   5338 case `"$ac_path_SED" --version 2>&1` in
   5339 *GNU*)
   5340   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5341 *)
   5342   ac_count=0
   5343   $as_echo_n 0123456789 >"conftest.in"
   5344   while :
   5345   do
   5346     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5347     mv "conftest.tmp" "conftest.in"
   5348     cp "conftest.in" "conftest.nl"
   5349     $as_echo '' >> "conftest.nl"
   5350     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5351     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5352     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5353     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5354       # Best one so far, save it but keep looking for a better one
   5355       ac_cv_path_SED="$ac_path_SED"
   5356       ac_path_SED_max=$ac_count
   5357     fi
   5358     # 10*(2^10) chars as input seems more than enough
   5359     test $ac_count -gt 10 && break
   5360   done
   5361   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5362 esac
   5363 
   5364       $ac_path_SED_found && break 3
   5365     done
   5366   done
   5367   done
   5368 IFS=$as_save_IFS
   5369   if test -z "$ac_cv_path_SED"; then
   5370     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5371   fi
   5372 else
   5373   ac_cv_path_SED=$SED
   5374 fi
   5375 
   5376 fi
   5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5378 $as_echo "$ac_cv_path_SED" >&6; }
   5379  SED="$ac_cv_path_SED"
   5380   rm -f conftest.sed
   5381 
   5382 test -z "$SED" && SED=sed
   5383 Xsed="$SED -e 1s/^X//"
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5396 $as_echo_n "checking for fgrep... " >&6; }
   5397 if ${ac_cv_path_FGREP+:} false; then :
   5398   $as_echo_n "(cached) " >&6
   5399 else
   5400   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5401    then ac_cv_path_FGREP="$GREP -F"
   5402    else
   5403      if test -z "$FGREP"; then
   5404   ac_path_FGREP_found=false
   5405   # Loop through the user's path and test for each of PROGNAME-LIST
   5406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5408 do
   5409   IFS=$as_save_IFS
   5410   test -z "$as_dir" && as_dir=.
   5411     for ac_prog in fgrep; do
   5412     for ac_exec_ext in '' $ac_executable_extensions; do
   5413       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5414       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5415 # Check for GNU ac_path_FGREP and select it if it is found.
   5416   # Check for GNU $ac_path_FGREP
   5417 case `"$ac_path_FGREP" --version 2>&1` in
   5418 *GNU*)
   5419   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5420 *)
   5421   ac_count=0
   5422   $as_echo_n 0123456789 >"conftest.in"
   5423   while :
   5424   do
   5425     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5426     mv "conftest.tmp" "conftest.in"
   5427     cp "conftest.in" "conftest.nl"
   5428     $as_echo 'FGREP' >> "conftest.nl"
   5429     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5430     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5431     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5432     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5433       # Best one so far, save it but keep looking for a better one
   5434       ac_cv_path_FGREP="$ac_path_FGREP"
   5435       ac_path_FGREP_max=$ac_count
   5436     fi
   5437     # 10*(2^10) chars as input seems more than enough
   5438     test $ac_count -gt 10 && break
   5439   done
   5440   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5441 esac
   5442 
   5443       $ac_path_FGREP_found && break 3
   5444     done
   5445   done
   5446   done
   5447 IFS=$as_save_IFS
   5448   if test -z "$ac_cv_path_FGREP"; then
   5449     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5450   fi
   5451 else
   5452   ac_cv_path_FGREP=$FGREP
   5453 fi
   5454 
   5455    fi
   5456 fi
   5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5458 $as_echo "$ac_cv_path_FGREP" >&6; }
   5459  FGREP="$ac_cv_path_FGREP"
   5460 
   5461 
   5462 test -z "$GREP" && GREP=grep
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 # Check whether --with-gnu-ld was given.
   5483 if test "${with_gnu_ld+set}" = set; then :
   5484   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5485 else
   5486   with_gnu_ld=no
   5487 fi
   5488 
   5489 ac_prog=ld
   5490 if test "$GCC" = yes; then
   5491   # Check if gcc -print-prog-name=ld gives a path.
   5492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5493 $as_echo_n "checking for ld used by $CC... " >&6; }
   5494   case $host in
   5495   *-*-mingw*)
   5496     # gcc leaves a trailing carriage return which upsets mingw
   5497     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5498   *)
   5499     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5500   esac
   5501   case $ac_prog in
   5502     # Accept absolute paths.
   5503     [\\/]* | ?:[\\/]*)
   5504       re_direlt='/[^/][^/]*/\.\./'
   5505       # Canonicalize the pathname of ld
   5506       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5507       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5508 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5509       done
   5510       test -z "$LD" && LD="$ac_prog"
   5511       ;;
   5512   "")
   5513     # If it fails, then pretend we aren't using GCC.
   5514     ac_prog=ld
   5515     ;;
   5516   *)
   5517     # If it is relative, then search for the first ld in PATH.
   5518     with_gnu_ld=unknown
   5519     ;;
   5520   esac
   5521 elif test "$with_gnu_ld" = yes; then
   5522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5523 $as_echo_n "checking for GNU ld... " >&6; }
   5524 else
   5525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5526 $as_echo_n "checking for non-GNU ld... " >&6; }
   5527 fi
   5528 if ${lt_cv_path_LD+:} false; then :
   5529   $as_echo_n "(cached) " >&6
   5530 else
   5531   if test -z "$LD"; then
   5532   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5533   for ac_dir in $PATH; do
   5534     IFS="$lt_save_ifs"
   5535     test -z "$ac_dir" && ac_dir=.
   5536     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5537       lt_cv_path_LD="$ac_dir/$ac_prog"
   5538       # Check to see if the program is GNU ld.  I'd rather use --version,
   5539       # but apparently some variants of GNU ld only accept -v.
   5540       # Break only if it was the GNU/non-GNU ld that we prefer.
   5541       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5542       *GNU* | *'with BFD'*)
   5543 	test "$with_gnu_ld" != no && break
   5544 	;;
   5545       *)
   5546 	test "$with_gnu_ld" != yes && break
   5547 	;;
   5548       esac
   5549     fi
   5550   done
   5551   IFS="$lt_save_ifs"
   5552 else
   5553   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5554 fi
   5555 fi
   5556 
   5557 LD="$lt_cv_path_LD"
   5558 if test -n "$LD"; then
   5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5560 $as_echo "$LD" >&6; }
   5561 else
   5562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5563 $as_echo "no" >&6; }
   5564 fi
   5565 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5567 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5568 if ${lt_cv_prog_gnu_ld+:} false; then :
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5572 case `$LD -v 2>&1 </dev/null` in
   5573 *GNU* | *'with BFD'*)
   5574   lt_cv_prog_gnu_ld=yes
   5575   ;;
   5576 *)
   5577   lt_cv_prog_gnu_ld=no
   5578   ;;
   5579 esac
   5580 fi
   5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5582 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5583 with_gnu_ld=$lt_cv_prog_gnu_ld
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5594 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5595 if ${lt_cv_path_NM+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   if test -n "$NM"; then
   5599   # Let the user override the test.
   5600   lt_cv_path_NM="$NM"
   5601 else
   5602   lt_nm_to_check="${ac_tool_prefix}nm"
   5603   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5604     lt_nm_to_check="$lt_nm_to_check nm"
   5605   fi
   5606   for lt_tmp_nm in $lt_nm_to_check; do
   5607     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5608     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5609       IFS="$lt_save_ifs"
   5610       test -z "$ac_dir" && ac_dir=.
   5611       tmp_nm="$ac_dir/$lt_tmp_nm"
   5612       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5613 	# Check to see if the nm accepts a BSD-compat flag.
   5614 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5615 	#   nm: unknown option "B" ignored
   5616 	# Tru64's nm complains that /dev/null is an invalid object file
   5617 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5618 	*/dev/null* | *'Invalid file or object type'*)
   5619 	  lt_cv_path_NM="$tmp_nm -B"
   5620 	  break
   5621 	  ;;
   5622 	*)
   5623 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5624 	  */dev/null*)
   5625 	    lt_cv_path_NM="$tmp_nm -p"
   5626 	    break
   5627 	    ;;
   5628 	  *)
   5629 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5630 	    continue # so that we can try to find one that supports BSD flags
   5631 	    ;;
   5632 	  esac
   5633 	  ;;
   5634 	esac
   5635       fi
   5636     done
   5637     IFS="$lt_save_ifs"
   5638   done
   5639   : ${lt_cv_path_NM=no}
   5640 fi
   5641 fi
   5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5643 $as_echo "$lt_cv_path_NM" >&6; }
   5644 if test "$lt_cv_path_NM" != "no"; then
   5645   NM="$lt_cv_path_NM"
   5646 else
   5647   # Didn't find any BSD compatible name lister, look for dumpbin.
   5648   if test -n "$DUMPBIN"; then :
   5649     # Let the user override the test.
   5650   else
   5651     if test -n "$ac_tool_prefix"; then
   5652   for ac_prog in dumpbin "link -dump"
   5653   do
   5654     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5657 $as_echo_n "checking for $ac_word... " >&6; }
   5658 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5659   $as_echo_n "(cached) " >&6
   5660 else
   5661   if test -n "$DUMPBIN"; then
   5662   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5663 else
   5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5665 for as_dir in $PATH
   5666 do
   5667   IFS=$as_save_IFS
   5668   test -z "$as_dir" && as_dir=.
   5669     for ac_exec_ext in '' $ac_executable_extensions; do
   5670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5671     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5673     break 2
   5674   fi
   5675 done
   5676   done
   5677 IFS=$as_save_IFS
   5678 
   5679 fi
   5680 fi
   5681 DUMPBIN=$ac_cv_prog_DUMPBIN
   5682 if test -n "$DUMPBIN"; then
   5683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5684 $as_echo "$DUMPBIN" >&6; }
   5685 else
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5687 $as_echo "no" >&6; }
   5688 fi
   5689 
   5690 
   5691     test -n "$DUMPBIN" && break
   5692   done
   5693 fi
   5694 if test -z "$DUMPBIN"; then
   5695   ac_ct_DUMPBIN=$DUMPBIN
   5696   for ac_prog in dumpbin "link -dump"
   5697 do
   5698   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5699 set dummy $ac_prog; ac_word=$2
   5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5701 $as_echo_n "checking for $ac_word... " >&6; }
   5702 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5703   $as_echo_n "(cached) " >&6
   5704 else
   5705   if test -n "$ac_ct_DUMPBIN"; then
   5706   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5707 else
   5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5709 for as_dir in $PATH
   5710 do
   5711   IFS=$as_save_IFS
   5712   test -z "$as_dir" && as_dir=.
   5713     for ac_exec_ext in '' $ac_executable_extensions; do
   5714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5715     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5717     break 2
   5718   fi
   5719 done
   5720   done
   5721 IFS=$as_save_IFS
   5722 
   5723 fi
   5724 fi
   5725 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5726 if test -n "$ac_ct_DUMPBIN"; then
   5727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5728 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5729 else
   5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5731 $as_echo "no" >&6; }
   5732 fi
   5733 
   5734 
   5735   test -n "$ac_ct_DUMPBIN" && break
   5736 done
   5737 
   5738   if test "x$ac_ct_DUMPBIN" = x; then
   5739     DUMPBIN=":"
   5740   else
   5741     case $cross_compiling:$ac_tool_warned in
   5742 yes:)
   5743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5745 ac_tool_warned=yes ;;
   5746 esac
   5747     DUMPBIN=$ac_ct_DUMPBIN
   5748   fi
   5749 fi
   5750 
   5751     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5752     *COFF*)
   5753       DUMPBIN="$DUMPBIN -symbols"
   5754       ;;
   5755     *)
   5756       DUMPBIN=:
   5757       ;;
   5758     esac
   5759   fi
   5760 
   5761   if test "$DUMPBIN" != ":"; then
   5762     NM="$DUMPBIN"
   5763   fi
   5764 fi
   5765 test -z "$NM" && NM=nm
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5773 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5774 if ${lt_cv_nm_interface+:} false; then :
   5775   $as_echo_n "(cached) " >&6
   5776 else
   5777   lt_cv_nm_interface="BSD nm"
   5778   echo "int some_variable = 0;" > conftest.$ac_ext
   5779   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5780   (eval "$ac_compile" 2>conftest.err)
   5781   cat conftest.err >&5
   5782   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5783   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5784   cat conftest.err >&5
   5785   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5786   cat conftest.out >&5
   5787   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5788     lt_cv_nm_interface="MS dumpbin"
   5789   fi
   5790   rm -f conftest*
   5791 fi
   5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5793 $as_echo "$lt_cv_nm_interface" >&6; }
   5794 
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5796 $as_echo_n "checking whether ln -s works... " >&6; }
   5797 LN_S=$as_ln_s
   5798 if test "$LN_S" = "ln -s"; then
   5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5800 $as_echo "yes" >&6; }
   5801 else
   5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5803 $as_echo "no, using $LN_S" >&6; }
   5804 fi
   5805 
   5806 # find the maximum length of command line arguments
   5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5808 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5809 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5810   $as_echo_n "(cached) " >&6
   5811 else
   5812     i=0
   5813   teststring="ABCD"
   5814 
   5815   case $build_os in
   5816   msdosdjgpp*)
   5817     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5818     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5819     # during glob expansion).  Even if it were fixed, the result of this
   5820     # check would be larger than it should be.
   5821     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5822     ;;
   5823 
   5824   gnu*)
   5825     # Under GNU Hurd, this test is not required because there is
   5826     # no limit to the length of command line arguments.
   5827     # Libtool will interpret -1 as no limit whatsoever
   5828     lt_cv_sys_max_cmd_len=-1;
   5829     ;;
   5830 
   5831   cygwin* | mingw* | cegcc*)
   5832     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5833     # about 5 minutes as the teststring grows exponentially.
   5834     # Worse, since 9x/ME are not pre-emptively multitasking,
   5835     # you end up with a "frozen" computer, even though with patience
   5836     # the test eventually succeeds (with a max line length of 256k).
   5837     # Instead, let's just punt: use the minimum linelength reported by
   5838     # all of the supported platforms: 8192 (on NT/2K/XP).
   5839     lt_cv_sys_max_cmd_len=8192;
   5840     ;;
   5841 
   5842   mint*)
   5843     # On MiNT this can take a long time and run out of memory.
   5844     lt_cv_sys_max_cmd_len=8192;
   5845     ;;
   5846 
   5847   amigaos*)
   5848     # On AmigaOS with pdksh, this test takes hours, literally.
   5849     # So we just punt and use a minimum line length of 8192.
   5850     lt_cv_sys_max_cmd_len=8192;
   5851     ;;
   5852 
   5853   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5854     # This has been around since 386BSD, at least.  Likely further.
   5855     if test -x /sbin/sysctl; then
   5856       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5857     elif test -x /usr/sbin/sysctl; then
   5858       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5859     else
   5860       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5861     fi
   5862     # And add a safety zone
   5863     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5864     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5865     ;;
   5866 
   5867   interix*)
   5868     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5869     lt_cv_sys_max_cmd_len=196608
   5870     ;;
   5871 
   5872   osf*)
   5873     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5874     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5875     # nice to cause kernel panics so lets avoid the loop below.
   5876     # First set a reasonable default.
   5877     lt_cv_sys_max_cmd_len=16384
   5878     #
   5879     if test -x /sbin/sysconfig; then
   5880       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5881         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5882       esac
   5883     fi
   5884     ;;
   5885   sco3.2v5*)
   5886     lt_cv_sys_max_cmd_len=102400
   5887     ;;
   5888   sysv5* | sco5v6* | sysv4.2uw2*)
   5889     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5890     if test -n "$kargmax"; then
   5891       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5892     else
   5893       lt_cv_sys_max_cmd_len=32768
   5894     fi
   5895     ;;
   5896   *)
   5897     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5898     if test -n "$lt_cv_sys_max_cmd_len"; then
   5899       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5900       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5901     else
   5902       # Make teststring a little bigger before we do anything with it.
   5903       # a 1K string should be a reasonable start.
   5904       for i in 1 2 3 4 5 6 7 8 ; do
   5905         teststring=$teststring$teststring
   5906       done
   5907       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5908       # If test is not a shell built-in, we'll probably end up computing a
   5909       # maximum length that is only half of the actual maximum length, but
   5910       # we can't tell.
   5911       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5912 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5913 	      test $i != 17 # 1/2 MB should be enough
   5914       do
   5915         i=`expr $i + 1`
   5916         teststring=$teststring$teststring
   5917       done
   5918       # Only check the string length outside the loop.
   5919       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5920       teststring=
   5921       # Add a significant safety factor because C++ compilers can tack on
   5922       # massive amounts of additional arguments before passing them to the
   5923       # linker.  It appears as though 1/2 is a usable value.
   5924       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5925     fi
   5926     ;;
   5927   esac
   5928 
   5929 fi
   5930 
   5931 if test -n $lt_cv_sys_max_cmd_len ; then
   5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5933 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5934 else
   5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5936 $as_echo "none" >&6; }
   5937 fi
   5938 max_cmd_len=$lt_cv_sys_max_cmd_len
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 : ${CP="cp -f"}
   5946 : ${MV="mv -f"}
   5947 : ${RM="rm -f"}
   5948 
   5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5950 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5951 # Try some XSI features
   5952 xsi_shell=no
   5953 ( _lt_dummy="a/b/c"
   5954   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5955       = c,a/b,, \
   5956     && eval 'test $(( 1 + 1 )) -eq 2 \
   5957     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5958   && xsi_shell=yes
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5960 $as_echo "$xsi_shell" >&6; }
   5961 
   5962 
   5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5964 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5965 lt_shell_append=no
   5966 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5967     >/dev/null 2>&1 \
   5968   && lt_shell_append=yes
   5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5970 $as_echo "$lt_shell_append" >&6; }
   5971 
   5972 
   5973 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5974   lt_unset=unset
   5975 else
   5976   lt_unset=false
   5977 fi
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 # test EBCDIC or ASCII
   5984 case `echo X|tr X '\101'` in
   5985  A) # ASCII based system
   5986     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5987   lt_SP2NL='tr \040 \012'
   5988   lt_NL2SP='tr \015\012 \040\040'
   5989   ;;
   5990  *) # EBCDIC based system
   5991   lt_SP2NL='tr \100 \n'
   5992   lt_NL2SP='tr \r\n \100\100'
   5993   ;;
   5994 esac
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6005 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6006 if ${lt_cv_ld_reload_flag+:} false; then :
   6007   $as_echo_n "(cached) " >&6
   6008 else
   6009   lt_cv_ld_reload_flag='-r'
   6010 fi
   6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6012 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6013 reload_flag=$lt_cv_ld_reload_flag
   6014 case $reload_flag in
   6015 "" | " "*) ;;
   6016 *) reload_flag=" $reload_flag" ;;
   6017 esac
   6018 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6019 case $host_os in
   6020   darwin*)
   6021     if test "$GCC" = yes; then
   6022       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6023     else
   6024       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6025     fi
   6026     ;;
   6027 esac
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 if test -n "$ac_tool_prefix"; then
   6038   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6039 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6041 $as_echo_n "checking for $ac_word... " >&6; }
   6042 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6043   $as_echo_n "(cached) " >&6
   6044 else
   6045   if test -n "$OBJDUMP"; then
   6046   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6047 else
   6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6049 for as_dir in $PATH
   6050 do
   6051   IFS=$as_save_IFS
   6052   test -z "$as_dir" && as_dir=.
   6053     for ac_exec_ext in '' $ac_executable_extensions; do
   6054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6055     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6057     break 2
   6058   fi
   6059 done
   6060   done
   6061 IFS=$as_save_IFS
   6062 
   6063 fi
   6064 fi
   6065 OBJDUMP=$ac_cv_prog_OBJDUMP
   6066 if test -n "$OBJDUMP"; then
   6067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6068 $as_echo "$OBJDUMP" >&6; }
   6069 else
   6070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6071 $as_echo "no" >&6; }
   6072 fi
   6073 
   6074 
   6075 fi
   6076 if test -z "$ac_cv_prog_OBJDUMP"; then
   6077   ac_ct_OBJDUMP=$OBJDUMP
   6078   # Extract the first word of "objdump", so it can be a program name with args.
   6079 set dummy objdump; ac_word=$2
   6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6081 $as_echo_n "checking for $ac_word... " >&6; }
   6082 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6083   $as_echo_n "(cached) " >&6
   6084 else
   6085   if test -n "$ac_ct_OBJDUMP"; then
   6086   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6087 else
   6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6089 for as_dir in $PATH
   6090 do
   6091   IFS=$as_save_IFS
   6092   test -z "$as_dir" && as_dir=.
   6093     for ac_exec_ext in '' $ac_executable_extensions; do
   6094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6095     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6097     break 2
   6098   fi
   6099 done
   6100   done
   6101 IFS=$as_save_IFS
   6102 
   6103 fi
   6104 fi
   6105 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6106 if test -n "$ac_ct_OBJDUMP"; then
   6107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6108 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6109 else
   6110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6111 $as_echo "no" >&6; }
   6112 fi
   6113 
   6114   if test "x$ac_ct_OBJDUMP" = x; then
   6115     OBJDUMP="false"
   6116   else
   6117     case $cross_compiling:$ac_tool_warned in
   6118 yes:)
   6119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6121 ac_tool_warned=yes ;;
   6122 esac
   6123     OBJDUMP=$ac_ct_OBJDUMP
   6124   fi
   6125 else
   6126   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6127 fi
   6128 
   6129 test -z "$OBJDUMP" && OBJDUMP=objdump
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6140 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6141 if ${lt_cv_deplibs_check_method+:} false; then :
   6142   $as_echo_n "(cached) " >&6
   6143 else
   6144   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6145 lt_cv_file_magic_test_file=
   6146 lt_cv_deplibs_check_method='unknown'
   6147 # Need to set the preceding variable on all platforms that support
   6148 # interlibrary dependencies.
   6149 # 'none' -- dependencies not supported.
   6150 # `unknown' -- same as none, but documents that we really don't know.
   6151 # 'pass_all' -- all dependencies passed with no checks.
   6152 # 'test_compile' -- check by making test program.
   6153 # 'file_magic [[regex]]' -- check by looking for files in library path
   6154 # which responds to the $file_magic_cmd with a given extended regex.
   6155 # If you have `file' or equivalent on your system and you're not sure
   6156 # whether `pass_all' will *always* work, you probably want this one.
   6157 
   6158 case $host_os in
   6159 aix[4-9]*)
   6160   lt_cv_deplibs_check_method=pass_all
   6161   ;;
   6162 
   6163 beos*)
   6164   lt_cv_deplibs_check_method=pass_all
   6165   ;;
   6166 
   6167 bsdi[45]*)
   6168   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6169   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6170   lt_cv_file_magic_test_file=/shlib/libc.so
   6171   ;;
   6172 
   6173 cygwin*)
   6174   # func_win32_libid is a shell function defined in ltmain.sh
   6175   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6176   lt_cv_file_magic_cmd='func_win32_libid'
   6177   ;;
   6178 
   6179 mingw* | pw32*)
   6180   # Base MSYS/MinGW do not provide the 'file' command needed by
   6181   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6182   # unless we find 'file', for example because we are cross-compiling.
   6183   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6184   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6185     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6186     lt_cv_file_magic_cmd='func_win32_libid'
   6187   else
   6188     # Keep this pattern in sync with the one in func_win32_libid.
   6189     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6190     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6191   fi
   6192   ;;
   6193 
   6194 cegcc*)
   6195   # use the weaker test based on 'objdump'. See mingw*.
   6196   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6197   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6198   ;;
   6199 
   6200 darwin* | rhapsody*)
   6201   lt_cv_deplibs_check_method=pass_all
   6202   ;;
   6203 
   6204 freebsd* | dragonfly*)
   6205   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6206     case $host_cpu in
   6207     i*86 )
   6208       # Not sure whether the presence of OpenBSD here was a mistake.
   6209       # Let's accept both of them until this is cleared up.
   6210       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6211       lt_cv_file_magic_cmd=/usr/bin/file
   6212       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6213       ;;
   6214     esac
   6215   else
   6216     lt_cv_deplibs_check_method=pass_all
   6217   fi
   6218   ;;
   6219 
   6220 gnu*)
   6221   lt_cv_deplibs_check_method=pass_all
   6222   ;;
   6223 
   6224 haiku*)
   6225   lt_cv_deplibs_check_method=pass_all
   6226   ;;
   6227 
   6228 hpux10.20* | hpux11*)
   6229   lt_cv_file_magic_cmd=/usr/bin/file
   6230   case $host_cpu in
   6231   ia64*)
   6232     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6233     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6234     ;;
   6235   hppa*64*)
   6236     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   6237     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6238     ;;
   6239   *)
   6240     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6241     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6242     ;;
   6243   esac
   6244   ;;
   6245 
   6246 interix[3-9]*)
   6247   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6248   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6249   ;;
   6250 
   6251 irix5* | irix6* | nonstopux*)
   6252   case $LD in
   6253   *-32|*"-32 ") libmagic=32-bit;;
   6254   *-n32|*"-n32 ") libmagic=N32;;
   6255   *-64|*"-64 ") libmagic=64-bit;;
   6256   *) libmagic=never-match;;
   6257   esac
   6258   lt_cv_deplibs_check_method=pass_all
   6259   ;;
   6260 
   6261 # This must be Linux ELF.
   6262 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6263   lt_cv_deplibs_check_method=pass_all
   6264   ;;
   6265 
   6266 netbsd*)
   6267   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6268     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6269   else
   6270     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6271   fi
   6272   ;;
   6273 
   6274 newos6*)
   6275   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6276   lt_cv_file_magic_cmd=/usr/bin/file
   6277   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6278   ;;
   6279 
   6280 *nto* | *qnx*)
   6281   lt_cv_deplibs_check_method=pass_all
   6282   ;;
   6283 
   6284 openbsd*)
   6285   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6286     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6287   else
   6288     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6289   fi
   6290   ;;
   6291 
   6292 osf3* | osf4* | osf5*)
   6293   lt_cv_deplibs_check_method=pass_all
   6294   ;;
   6295 
   6296 rdos*)
   6297   lt_cv_deplibs_check_method=pass_all
   6298   ;;
   6299 
   6300 solaris*)
   6301   lt_cv_deplibs_check_method=pass_all
   6302   ;;
   6303 
   6304 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6305   lt_cv_deplibs_check_method=pass_all
   6306   ;;
   6307 
   6308 sysv4 | sysv4.3*)
   6309   case $host_vendor in
   6310   motorola)
   6311     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]'
   6312     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6313     ;;
   6314   ncr)
   6315     lt_cv_deplibs_check_method=pass_all
   6316     ;;
   6317   sequent)
   6318     lt_cv_file_magic_cmd='/bin/file'
   6319     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6320     ;;
   6321   sni)
   6322     lt_cv_file_magic_cmd='/bin/file'
   6323     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6324     lt_cv_file_magic_test_file=/lib/libc.so
   6325     ;;
   6326   siemens)
   6327     lt_cv_deplibs_check_method=pass_all
   6328     ;;
   6329   pc)
   6330     lt_cv_deplibs_check_method=pass_all
   6331     ;;
   6332   esac
   6333   ;;
   6334 
   6335 tpf*)
   6336   lt_cv_deplibs_check_method=pass_all
   6337   ;;
   6338 esac
   6339 
   6340 fi
   6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6342 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6343 file_magic_cmd=$lt_cv_file_magic_cmd
   6344 deplibs_check_method=$lt_cv_deplibs_check_method
   6345 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 if test -n "$ac_tool_prefix"; then
   6359   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6360 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6362 $as_echo_n "checking for $ac_word... " >&6; }
   6363 if ${ac_cv_prog_AR+:} false; then :
   6364   $as_echo_n "(cached) " >&6
   6365 else
   6366   if test -n "$AR"; then
   6367   ac_cv_prog_AR="$AR" # Let the user override the test.
   6368 else
   6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6370 for as_dir in $PATH
   6371 do
   6372   IFS=$as_save_IFS
   6373   test -z "$as_dir" && as_dir=.
   6374     for ac_exec_ext in '' $ac_executable_extensions; do
   6375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6376     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6378     break 2
   6379   fi
   6380 done
   6381   done
   6382 IFS=$as_save_IFS
   6383 
   6384 fi
   6385 fi
   6386 AR=$ac_cv_prog_AR
   6387 if test -n "$AR"; then
   6388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6389 $as_echo "$AR" >&6; }
   6390 else
   6391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6392 $as_echo "no" >&6; }
   6393 fi
   6394 
   6395 
   6396 fi
   6397 if test -z "$ac_cv_prog_AR"; then
   6398   ac_ct_AR=$AR
   6399   # Extract the first word of "ar", so it can be a program name with args.
   6400 set dummy ar; ac_word=$2
   6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6402 $as_echo_n "checking for $ac_word... " >&6; }
   6403 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6404   $as_echo_n "(cached) " >&6
   6405 else
   6406   if test -n "$ac_ct_AR"; then
   6407   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6408 else
   6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6410 for as_dir in $PATH
   6411 do
   6412   IFS=$as_save_IFS
   6413   test -z "$as_dir" && as_dir=.
   6414     for ac_exec_ext in '' $ac_executable_extensions; do
   6415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6416     ac_cv_prog_ac_ct_AR="ar"
   6417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6418     break 2
   6419   fi
   6420 done
   6421   done
   6422 IFS=$as_save_IFS
   6423 
   6424 fi
   6425 fi
   6426 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6427 if test -n "$ac_ct_AR"; then
   6428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6429 $as_echo "$ac_ct_AR" >&6; }
   6430 else
   6431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6432 $as_echo "no" >&6; }
   6433 fi
   6434 
   6435   if test "x$ac_ct_AR" = x; then
   6436     AR="false"
   6437   else
   6438     case $cross_compiling:$ac_tool_warned in
   6439 yes:)
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6442 ac_tool_warned=yes ;;
   6443 esac
   6444     AR=$ac_ct_AR
   6445   fi
   6446 else
   6447   AR="$ac_cv_prog_AR"
   6448 fi
   6449 
   6450 test -z "$AR" && AR=ar
   6451 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 if test -n "$ac_tool_prefix"; then
   6464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6465 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6467 $as_echo_n "checking for $ac_word... " >&6; }
   6468 if ${ac_cv_prog_STRIP+:} false; then :
   6469   $as_echo_n "(cached) " >&6
   6470 else
   6471   if test -n "$STRIP"; then
   6472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6473 else
   6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6475 for as_dir in $PATH
   6476 do
   6477   IFS=$as_save_IFS
   6478   test -z "$as_dir" && as_dir=.
   6479     for ac_exec_ext in '' $ac_executable_extensions; do
   6480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6483     break 2
   6484   fi
   6485 done
   6486   done
   6487 IFS=$as_save_IFS
   6488 
   6489 fi
   6490 fi
   6491 STRIP=$ac_cv_prog_STRIP
   6492 if test -n "$STRIP"; then
   6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6494 $as_echo "$STRIP" >&6; }
   6495 else
   6496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6497 $as_echo "no" >&6; }
   6498 fi
   6499 
   6500 
   6501 fi
   6502 if test -z "$ac_cv_prog_STRIP"; then
   6503   ac_ct_STRIP=$STRIP
   6504   # Extract the first word of "strip", so it can be a program name with args.
   6505 set dummy strip; ac_word=$2
   6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6507 $as_echo_n "checking for $ac_word... " >&6; }
   6508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6509   $as_echo_n "(cached) " >&6
   6510 else
   6511   if test -n "$ac_ct_STRIP"; then
   6512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6513 else
   6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6515 for as_dir in $PATH
   6516 do
   6517   IFS=$as_save_IFS
   6518   test -z "$as_dir" && as_dir=.
   6519     for ac_exec_ext in '' $ac_executable_extensions; do
   6520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6521     ac_cv_prog_ac_ct_STRIP="strip"
   6522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6523     break 2
   6524   fi
   6525 done
   6526   done
   6527 IFS=$as_save_IFS
   6528 
   6529 fi
   6530 fi
   6531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6532 if test -n "$ac_ct_STRIP"; then
   6533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6534 $as_echo "$ac_ct_STRIP" >&6; }
   6535 else
   6536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6537 $as_echo "no" >&6; }
   6538 fi
   6539 
   6540   if test "x$ac_ct_STRIP" = x; then
   6541     STRIP=":"
   6542   else
   6543     case $cross_compiling:$ac_tool_warned in
   6544 yes:)
   6545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6547 ac_tool_warned=yes ;;
   6548 esac
   6549     STRIP=$ac_ct_STRIP
   6550   fi
   6551 else
   6552   STRIP="$ac_cv_prog_STRIP"
   6553 fi
   6554 
   6555 test -z "$STRIP" && STRIP=:
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 if test -n "$ac_tool_prefix"; then
   6563   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6566 $as_echo_n "checking for $ac_word... " >&6; }
   6567 if ${ac_cv_prog_RANLIB+:} false; then :
   6568   $as_echo_n "(cached) " >&6
   6569 else
   6570   if test -n "$RANLIB"; then
   6571   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6572 else
   6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6574 for as_dir in $PATH
   6575 do
   6576   IFS=$as_save_IFS
   6577   test -z "$as_dir" && as_dir=.
   6578     for ac_exec_ext in '' $ac_executable_extensions; do
   6579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6580     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6582     break 2
   6583   fi
   6584 done
   6585   done
   6586 IFS=$as_save_IFS
   6587 
   6588 fi
   6589 fi
   6590 RANLIB=$ac_cv_prog_RANLIB
   6591 if test -n "$RANLIB"; then
   6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6593 $as_echo "$RANLIB" >&6; }
   6594 else
   6595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6596 $as_echo "no" >&6; }
   6597 fi
   6598 
   6599 
   6600 fi
   6601 if test -z "$ac_cv_prog_RANLIB"; then
   6602   ac_ct_RANLIB=$RANLIB
   6603   # Extract the first word of "ranlib", so it can be a program name with args.
   6604 set dummy ranlib; ac_word=$2
   6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6606 $as_echo_n "checking for $ac_word... " >&6; }
   6607 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6608   $as_echo_n "(cached) " >&6
   6609 else
   6610   if test -n "$ac_ct_RANLIB"; then
   6611   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6612 else
   6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6614 for as_dir in $PATH
   6615 do
   6616   IFS=$as_save_IFS
   6617   test -z "$as_dir" && as_dir=.
   6618     for ac_exec_ext in '' $ac_executable_extensions; do
   6619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6620     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6622     break 2
   6623   fi
   6624 done
   6625   done
   6626 IFS=$as_save_IFS
   6627 
   6628 fi
   6629 fi
   6630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6631 if test -n "$ac_ct_RANLIB"; then
   6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6633 $as_echo "$ac_ct_RANLIB" >&6; }
   6634 else
   6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6636 $as_echo "no" >&6; }
   6637 fi
   6638 
   6639   if test "x$ac_ct_RANLIB" = x; then
   6640     RANLIB=":"
   6641   else
   6642     case $cross_compiling:$ac_tool_warned in
   6643 yes:)
   6644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6646 ac_tool_warned=yes ;;
   6647 esac
   6648     RANLIB=$ac_ct_RANLIB
   6649   fi
   6650 else
   6651   RANLIB="$ac_cv_prog_RANLIB"
   6652 fi
   6653 
   6654 test -z "$RANLIB" && RANLIB=:
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 # Determine commands to create old-style static archives.
   6662 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6663 old_postinstall_cmds='chmod 644 $oldlib'
   6664 old_postuninstall_cmds=
   6665 
   6666 if test -n "$RANLIB"; then
   6667   case $host_os in
   6668   openbsd*)
   6669     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6670     ;;
   6671   *)
   6672     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6673     ;;
   6674   esac
   6675   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6676 fi
   6677 
   6678 case $host_os in
   6679   darwin*)
   6680     lock_old_archive_extraction=yes ;;
   6681   *)
   6682     lock_old_archive_extraction=no ;;
   6683 esac
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 # If no C compiler was specified, use CC.
   6724 LTCC=${LTCC-"$CC"}
   6725 
   6726 # If no C compiler flags were specified, use CFLAGS.
   6727 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6728 
   6729 # Allow CC to be a program name with arguments.
   6730 compiler=$CC
   6731 
   6732 
   6733 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6735 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6736 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6737   $as_echo_n "(cached) " >&6
   6738 else
   6739 
   6740 # These are sane defaults that work on at least a few old systems.
   6741 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6742 
   6743 # Character class describing NM global symbol codes.
   6744 symcode='[BCDEGRST]'
   6745 
   6746 # Regexp to match symbols that can be accessed directly from C.
   6747 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6748 
   6749 # Define system-specific variables.
   6750 case $host_os in
   6751 aix*)
   6752   symcode='[BCDT]'
   6753   ;;
   6754 cygwin* | mingw* | pw32* | cegcc*)
   6755   symcode='[ABCDGISTW]'
   6756   ;;
   6757 hpux*)
   6758   if test "$host_cpu" = ia64; then
   6759     symcode='[ABCDEGRST]'
   6760   fi
   6761   ;;
   6762 irix* | nonstopux*)
   6763   symcode='[BCDEGRST]'
   6764   ;;
   6765 osf*)
   6766   symcode='[BCDEGQRST]'
   6767   ;;
   6768 solaris*)
   6769   symcode='[BDRT]'
   6770   ;;
   6771 sco3.2v5*)
   6772   symcode='[DT]'
   6773   ;;
   6774 sysv4.2uw2*)
   6775   symcode='[DT]'
   6776   ;;
   6777 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6778   symcode='[ABDT]'
   6779   ;;
   6780 sysv4)
   6781   symcode='[DFNSTU]'
   6782   ;;
   6783 esac
   6784 
   6785 # If we're using GNU nm, then use its standard symbol codes.
   6786 case `$NM -V 2>&1` in
   6787 *GNU* | *'with BFD'*)
   6788   symcode='[ABCDGIRSTW]' ;;
   6789 esac
   6790 
   6791 # Transform an extracted symbol line into a proper C declaration.
   6792 # Some systems (esp. on ia64) link data and code symbols differently,
   6793 # so use this general approach.
   6794 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6795 
   6796 # Transform an extracted symbol line into symbol name and symbol address
   6797 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6798 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'"
   6799 
   6800 # Handle CRLF in mingw tool chain
   6801 opt_cr=
   6802 case $build_os in
   6803 mingw*)
   6804   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6805   ;;
   6806 esac
   6807 
   6808 # Try without a prefix underscore, then with it.
   6809 for ac_symprfx in "" "_"; do
   6810 
   6811   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6812   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6813 
   6814   # Write the raw and C identifiers.
   6815   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6816     # Fake it for dumpbin and say T for any non-static function
   6817     # and D for any global variable.
   6818     # Also find C++ and __fastcall symbols from MSVC++,
   6819     # which start with @ or ?.
   6820     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6821 "     {last_section=section; section=\$ 3};"\
   6822 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6823 "     \$ 0!~/External *\|/{next};"\
   6824 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6825 "     {if(hide[section]) next};"\
   6826 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6827 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6828 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6829 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6830 "     ' prfx=^$ac_symprfx"
   6831   else
   6832     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6833   fi
   6834 
   6835   # Check to see that the pipe works correctly.
   6836   pipe_works=no
   6837 
   6838   rm -f conftest*
   6839   cat > conftest.$ac_ext <<_LT_EOF
   6840 #ifdef __cplusplus
   6841 extern "C" {
   6842 #endif
   6843 char nm_test_var;
   6844 void nm_test_func(void);
   6845 void nm_test_func(void){}
   6846 #ifdef __cplusplus
   6847 }
   6848 #endif
   6849 int main(){nm_test_var='a';nm_test_func();return(0);}
   6850 _LT_EOF
   6851 
   6852   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6853   (eval $ac_compile) 2>&5
   6854   ac_status=$?
   6855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6856   test $ac_status = 0; }; then
   6857     # Now try to grab the symbols.
   6858     nlist=conftest.nm
   6859     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6860   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6861   ac_status=$?
   6862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6863   test $ac_status = 0; } && test -s "$nlist"; then
   6864       # Try sorting and uniquifying the output.
   6865       if sort "$nlist" | uniq > "$nlist"T; then
   6866 	mv -f "$nlist"T "$nlist"
   6867       else
   6868 	rm -f "$nlist"T
   6869       fi
   6870 
   6871       # Make sure that we snagged all the symbols we need.
   6872       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6873 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6874 	  cat <<_LT_EOF > conftest.$ac_ext
   6875 #ifdef __cplusplus
   6876 extern "C" {
   6877 #endif
   6878 
   6879 _LT_EOF
   6880 	  # Now generate the symbol file.
   6881 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6882 
   6883 	  cat <<_LT_EOF >> conftest.$ac_ext
   6884 
   6885 /* The mapping between symbol names and symbols.  */
   6886 const struct {
   6887   const char *name;
   6888   void       *address;
   6889 }
   6890 lt__PROGRAM__LTX_preloaded_symbols[] =
   6891 {
   6892   { "@PROGRAM@", (void *) 0 },
   6893 _LT_EOF
   6894 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6895 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6896   {0, (void *) 0}
   6897 };
   6898 
   6899 /* This works around a problem in FreeBSD linker */
   6900 #ifdef FREEBSD_WORKAROUND
   6901 static const void *lt_preloaded_setup() {
   6902   return lt__PROGRAM__LTX_preloaded_symbols;
   6903 }
   6904 #endif
   6905 
   6906 #ifdef __cplusplus
   6907 }
   6908 #endif
   6909 _LT_EOF
   6910 	  # Now try linking the two files.
   6911 	  mv conftest.$ac_objext conftstm.$ac_objext
   6912 	  lt_save_LIBS="$LIBS"
   6913 	  lt_save_CFLAGS="$CFLAGS"
   6914 	  LIBS="conftstm.$ac_objext"
   6915 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6916 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6917   (eval $ac_link) 2>&5
   6918   ac_status=$?
   6919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6920   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6921 	    pipe_works=yes
   6922 	  fi
   6923 	  LIBS="$lt_save_LIBS"
   6924 	  CFLAGS="$lt_save_CFLAGS"
   6925 	else
   6926 	  echo "cannot find nm_test_func in $nlist" >&5
   6927 	fi
   6928       else
   6929 	echo "cannot find nm_test_var in $nlist" >&5
   6930       fi
   6931     else
   6932       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6933     fi
   6934   else
   6935     echo "$progname: failed program was:" >&5
   6936     cat conftest.$ac_ext >&5
   6937   fi
   6938   rm -rf conftest* conftst*
   6939 
   6940   # Do not use the global_symbol_pipe unless it works.
   6941   if test "$pipe_works" = yes; then
   6942     break
   6943   else
   6944     lt_cv_sys_global_symbol_pipe=
   6945   fi
   6946 done
   6947 
   6948 fi
   6949 
   6950 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6951   lt_cv_sys_global_symbol_to_cdecl=
   6952 fi
   6953 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6955 $as_echo "failed" >&6; }
   6956 else
   6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6958 $as_echo "ok" >&6; }
   6959 fi
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 # Check whether --enable-libtool-lock was given.
   6983 if test "${enable_libtool_lock+set}" = set; then :
   6984   enableval=$enable_libtool_lock;
   6985 fi
   6986 
   6987 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6988 
   6989 # Some flags need to be propagated to the compiler or linker for good
   6990 # libtool support.
   6991 case $host in
   6992 ia64-*-hpux*)
   6993   # Find out which ABI we are using.
   6994   echo 'int i;' > conftest.$ac_ext
   6995   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6996   (eval $ac_compile) 2>&5
   6997   ac_status=$?
   6998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6999   test $ac_status = 0; }; then
   7000     case `/usr/bin/file conftest.$ac_objext` in
   7001       *ELF-32*)
   7002 	HPUX_IA64_MODE="32"
   7003 	;;
   7004       *ELF-64*)
   7005 	HPUX_IA64_MODE="64"
   7006 	;;
   7007     esac
   7008   fi
   7009   rm -rf conftest*
   7010   ;;
   7011 *-*-irix6*)
   7012   # Find out which ABI we are using.
   7013   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7014   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7015   (eval $ac_compile) 2>&5
   7016   ac_status=$?
   7017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7018   test $ac_status = 0; }; then
   7019     if test "$lt_cv_prog_gnu_ld" = yes; then
   7020       case `/usr/bin/file conftest.$ac_objext` in
   7021 	*32-bit*)
   7022 	  LD="${LD-ld} -melf32bsmip"
   7023 	  ;;
   7024 	*N32*)
   7025 	  LD="${LD-ld} -melf32bmipn32"
   7026 	  ;;
   7027 	*64-bit*)
   7028 	  LD="${LD-ld} -melf64bmip"
   7029 	;;
   7030       esac
   7031     else
   7032       case `/usr/bin/file conftest.$ac_objext` in
   7033 	*32-bit*)
   7034 	  LD="${LD-ld} -32"
   7035 	  ;;
   7036 	*N32*)
   7037 	  LD="${LD-ld} -n32"
   7038 	  ;;
   7039 	*64-bit*)
   7040 	  LD="${LD-ld} -64"
   7041 	  ;;
   7042       esac
   7043     fi
   7044   fi
   7045   rm -rf conftest*
   7046   ;;
   7047 
   7048 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7049 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7050   # Find out which ABI we are using.
   7051   echo 'int i;' > conftest.$ac_ext
   7052   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7053   (eval $ac_compile) 2>&5
   7054   ac_status=$?
   7055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7056   test $ac_status = 0; }; then
   7057     case `/usr/bin/file conftest.o` in
   7058       *32-bit*)
   7059 	case $host in
   7060 	  x86_64-*kfreebsd*-gnu)
   7061 	    LD="${LD-ld} -m elf_i386_fbsd"
   7062 	    ;;
   7063 	  x86_64-*linux*)
   7064 	    LD="${LD-ld} -m elf_i386"
   7065 	    ;;
   7066 	  ppc64-*linux*|powerpc64-*linux*)
   7067 	    LD="${LD-ld} -m elf32ppclinux"
   7068 	    ;;
   7069 	  s390x-*linux*)
   7070 	    LD="${LD-ld} -m elf_s390"
   7071 	    ;;
   7072 	  sparc64-*linux*)
   7073 	    LD="${LD-ld} -m elf32_sparc"
   7074 	    ;;
   7075 	esac
   7076 	;;
   7077       *64-bit*)
   7078 	case $host in
   7079 	  x86_64-*kfreebsd*-gnu)
   7080 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7081 	    ;;
   7082 	  x86_64-*linux*)
   7083 	    LD="${LD-ld} -m elf_x86_64"
   7084 	    ;;
   7085 	  ppc*-*linux*|powerpc*-*linux*)
   7086 	    LD="${LD-ld} -m elf64ppc"
   7087 	    ;;
   7088 	  s390*-*linux*|s390*-*tpf*)
   7089 	    LD="${LD-ld} -m elf64_s390"
   7090 	    ;;
   7091 	  sparc*-*linux*)
   7092 	    LD="${LD-ld} -m elf64_sparc"
   7093 	    ;;
   7094 	esac
   7095 	;;
   7096     esac
   7097   fi
   7098   rm -rf conftest*
   7099   ;;
   7100 
   7101 *-*-sco3.2v5*)
   7102   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7103   SAVE_CFLAGS="$CFLAGS"
   7104   CFLAGS="$CFLAGS -belf"
   7105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7106 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7107 if ${lt_cv_cc_needs_belf+:} false; then :
   7108   $as_echo_n "(cached) " >&6
   7109 else
   7110   ac_ext=c
   7111 ac_cpp='$CPP $CPPFLAGS'
   7112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7115 
   7116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7117 /* end confdefs.h.  */
   7118 
   7119 int
   7120 main ()
   7121 {
   7122 
   7123   ;
   7124   return 0;
   7125 }
   7126 _ACEOF
   7127 if ac_fn_c_try_link "$LINENO"; then :
   7128   lt_cv_cc_needs_belf=yes
   7129 else
   7130   lt_cv_cc_needs_belf=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext \
   7133     conftest$ac_exeext conftest.$ac_ext
   7134      ac_ext=c
   7135 ac_cpp='$CPP $CPPFLAGS'
   7136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7139 
   7140 fi
   7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7142 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7143   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7144     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7145     CFLAGS="$SAVE_CFLAGS"
   7146   fi
   7147   ;;
   7148 sparc*-*solaris*)
   7149   # Find out which ABI we are using.
   7150   echo 'int i;' > conftest.$ac_ext
   7151   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7152   (eval $ac_compile) 2>&5
   7153   ac_status=$?
   7154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7155   test $ac_status = 0; }; then
   7156     case `/usr/bin/file conftest.o` in
   7157     *64-bit*)
   7158       case $lt_cv_prog_gnu_ld in
   7159       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7160       *)
   7161 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7162 	  LD="${LD-ld} -64"
   7163 	fi
   7164 	;;
   7165       esac
   7166       ;;
   7167     esac
   7168   fi
   7169   rm -rf conftest*
   7170   ;;
   7171 esac
   7172 
   7173 need_locks="$enable_libtool_lock"
   7174 
   7175 
   7176   case $host_os in
   7177     rhapsody* | darwin*)
   7178     if test -n "$ac_tool_prefix"; then
   7179   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7180 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7182 $as_echo_n "checking for $ac_word... " >&6; }
   7183 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7184   $as_echo_n "(cached) " >&6
   7185 else
   7186   if test -n "$DSYMUTIL"; then
   7187   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7188 else
   7189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7190 for as_dir in $PATH
   7191 do
   7192   IFS=$as_save_IFS
   7193   test -z "$as_dir" && as_dir=.
   7194     for ac_exec_ext in '' $ac_executable_extensions; do
   7195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7196     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7198     break 2
   7199   fi
   7200 done
   7201   done
   7202 IFS=$as_save_IFS
   7203 
   7204 fi
   7205 fi
   7206 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7207 if test -n "$DSYMUTIL"; then
   7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7209 $as_echo "$DSYMUTIL" >&6; }
   7210 else
   7211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7212 $as_echo "no" >&6; }
   7213 fi
   7214 
   7215 
   7216 fi
   7217 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7218   ac_ct_DSYMUTIL=$DSYMUTIL
   7219   # Extract the first word of "dsymutil", so it can be a program name with args.
   7220 set dummy dsymutil; ac_word=$2
   7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7222 $as_echo_n "checking for $ac_word... " >&6; }
   7223 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   if test -n "$ac_ct_DSYMUTIL"; then
   7227   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7228 else
   7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7230 for as_dir in $PATH
   7231 do
   7232   IFS=$as_save_IFS
   7233   test -z "$as_dir" && as_dir=.
   7234     for ac_exec_ext in '' $ac_executable_extensions; do
   7235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7236     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7238     break 2
   7239   fi
   7240 done
   7241   done
   7242 IFS=$as_save_IFS
   7243 
   7244 fi
   7245 fi
   7246 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7247 if test -n "$ac_ct_DSYMUTIL"; then
   7248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7249 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7250 else
   7251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7252 $as_echo "no" >&6; }
   7253 fi
   7254 
   7255   if test "x$ac_ct_DSYMUTIL" = x; then
   7256     DSYMUTIL=":"
   7257   else
   7258     case $cross_compiling:$ac_tool_warned in
   7259 yes:)
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7262 ac_tool_warned=yes ;;
   7263 esac
   7264     DSYMUTIL=$ac_ct_DSYMUTIL
   7265   fi
   7266 else
   7267   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7268 fi
   7269 
   7270     if test -n "$ac_tool_prefix"; then
   7271   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7272 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7274 $as_echo_n "checking for $ac_word... " >&6; }
   7275 if ${ac_cv_prog_NMEDIT+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   if test -n "$NMEDIT"; then
   7279   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7280 else
   7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7282 for as_dir in $PATH
   7283 do
   7284   IFS=$as_save_IFS
   7285   test -z "$as_dir" && as_dir=.
   7286     for ac_exec_ext in '' $ac_executable_extensions; do
   7287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7288     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7290     break 2
   7291   fi
   7292 done
   7293   done
   7294 IFS=$as_save_IFS
   7295 
   7296 fi
   7297 fi
   7298 NMEDIT=$ac_cv_prog_NMEDIT
   7299 if test -n "$NMEDIT"; then
   7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7301 $as_echo "$NMEDIT" >&6; }
   7302 else
   7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7304 $as_echo "no" >&6; }
   7305 fi
   7306 
   7307 
   7308 fi
   7309 if test -z "$ac_cv_prog_NMEDIT"; then
   7310   ac_ct_NMEDIT=$NMEDIT
   7311   # Extract the first word of "nmedit", so it can be a program name with args.
   7312 set dummy nmedit; ac_word=$2
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7314 $as_echo_n "checking for $ac_word... " >&6; }
   7315 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7316   $as_echo_n "(cached) " >&6
   7317 else
   7318   if test -n "$ac_ct_NMEDIT"; then
   7319   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7320 else
   7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7322 for as_dir in $PATH
   7323 do
   7324   IFS=$as_save_IFS
   7325   test -z "$as_dir" && as_dir=.
   7326     for ac_exec_ext in '' $ac_executable_extensions; do
   7327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7328     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7330     break 2
   7331   fi
   7332 done
   7333   done
   7334 IFS=$as_save_IFS
   7335 
   7336 fi
   7337 fi
   7338 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7339 if test -n "$ac_ct_NMEDIT"; then
   7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7341 $as_echo "$ac_ct_NMEDIT" >&6; }
   7342 else
   7343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7344 $as_echo "no" >&6; }
   7345 fi
   7346 
   7347   if test "x$ac_ct_NMEDIT" = x; then
   7348     NMEDIT=":"
   7349   else
   7350     case $cross_compiling:$ac_tool_warned in
   7351 yes:)
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7354 ac_tool_warned=yes ;;
   7355 esac
   7356     NMEDIT=$ac_ct_NMEDIT
   7357   fi
   7358 else
   7359   NMEDIT="$ac_cv_prog_NMEDIT"
   7360 fi
   7361 
   7362     if test -n "$ac_tool_prefix"; then
   7363   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7364 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7366 $as_echo_n "checking for $ac_word... " >&6; }
   7367 if ${ac_cv_prog_LIPO+:} false; then :
   7368   $as_echo_n "(cached) " >&6
   7369 else
   7370   if test -n "$LIPO"; then
   7371   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7372 else
   7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7374 for as_dir in $PATH
   7375 do
   7376   IFS=$as_save_IFS
   7377   test -z "$as_dir" && as_dir=.
   7378     for ac_exec_ext in '' $ac_executable_extensions; do
   7379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7380     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7382     break 2
   7383   fi
   7384 done
   7385   done
   7386 IFS=$as_save_IFS
   7387 
   7388 fi
   7389 fi
   7390 LIPO=$ac_cv_prog_LIPO
   7391 if test -n "$LIPO"; then
   7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7393 $as_echo "$LIPO" >&6; }
   7394 else
   7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7396 $as_echo "no" >&6; }
   7397 fi
   7398 
   7399 
   7400 fi
   7401 if test -z "$ac_cv_prog_LIPO"; then
   7402   ac_ct_LIPO=$LIPO
   7403   # Extract the first word of "lipo", so it can be a program name with args.
   7404 set dummy lipo; ac_word=$2
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7406 $as_echo_n "checking for $ac_word... " >&6; }
   7407 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7408   $as_echo_n "(cached) " >&6
   7409 else
   7410   if test -n "$ac_ct_LIPO"; then
   7411   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7412 else
   7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7414 for as_dir in $PATH
   7415 do
   7416   IFS=$as_save_IFS
   7417   test -z "$as_dir" && as_dir=.
   7418     for ac_exec_ext in '' $ac_executable_extensions; do
   7419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7420     ac_cv_prog_ac_ct_LIPO="lipo"
   7421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7422     break 2
   7423   fi
   7424 done
   7425   done
   7426 IFS=$as_save_IFS
   7427 
   7428 fi
   7429 fi
   7430 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7431 if test -n "$ac_ct_LIPO"; then
   7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7433 $as_echo "$ac_ct_LIPO" >&6; }
   7434 else
   7435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7436 $as_echo "no" >&6; }
   7437 fi
   7438 
   7439   if test "x$ac_ct_LIPO" = x; then
   7440     LIPO=":"
   7441   else
   7442     case $cross_compiling:$ac_tool_warned in
   7443 yes:)
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7446 ac_tool_warned=yes ;;
   7447 esac
   7448     LIPO=$ac_ct_LIPO
   7449   fi
   7450 else
   7451   LIPO="$ac_cv_prog_LIPO"
   7452 fi
   7453 
   7454     if test -n "$ac_tool_prefix"; then
   7455   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7456 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7458 $as_echo_n "checking for $ac_word... " >&6; }
   7459 if ${ac_cv_prog_OTOOL+:} false; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   if test -n "$OTOOL"; then
   7463   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7464 else
   7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7466 for as_dir in $PATH
   7467 do
   7468   IFS=$as_save_IFS
   7469   test -z "$as_dir" && as_dir=.
   7470     for ac_exec_ext in '' $ac_executable_extensions; do
   7471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7472     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7474     break 2
   7475   fi
   7476 done
   7477   done
   7478 IFS=$as_save_IFS
   7479 
   7480 fi
   7481 fi
   7482 OTOOL=$ac_cv_prog_OTOOL
   7483 if test -n "$OTOOL"; then
   7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7485 $as_echo "$OTOOL" >&6; }
   7486 else
   7487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7488 $as_echo "no" >&6; }
   7489 fi
   7490 
   7491 
   7492 fi
   7493 if test -z "$ac_cv_prog_OTOOL"; then
   7494   ac_ct_OTOOL=$OTOOL
   7495   # Extract the first word of "otool", so it can be a program name with args.
   7496 set dummy otool; ac_word=$2
   7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7498 $as_echo_n "checking for $ac_word... " >&6; }
   7499 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7500   $as_echo_n "(cached) " >&6
   7501 else
   7502   if test -n "$ac_ct_OTOOL"; then
   7503   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7504 else
   7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7506 for as_dir in $PATH
   7507 do
   7508   IFS=$as_save_IFS
   7509   test -z "$as_dir" && as_dir=.
   7510     for ac_exec_ext in '' $ac_executable_extensions; do
   7511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7512     ac_cv_prog_ac_ct_OTOOL="otool"
   7513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7514     break 2
   7515   fi
   7516 done
   7517   done
   7518 IFS=$as_save_IFS
   7519 
   7520 fi
   7521 fi
   7522 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7523 if test -n "$ac_ct_OTOOL"; then
   7524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7525 $as_echo "$ac_ct_OTOOL" >&6; }
   7526 else
   7527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7528 $as_echo "no" >&6; }
   7529 fi
   7530 
   7531   if test "x$ac_ct_OTOOL" = x; then
   7532     OTOOL=":"
   7533   else
   7534     case $cross_compiling:$ac_tool_warned in
   7535 yes:)
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7538 ac_tool_warned=yes ;;
   7539 esac
   7540     OTOOL=$ac_ct_OTOOL
   7541   fi
   7542 else
   7543   OTOOL="$ac_cv_prog_OTOOL"
   7544 fi
   7545 
   7546     if test -n "$ac_tool_prefix"; then
   7547   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7548 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7550 $as_echo_n "checking for $ac_word... " >&6; }
   7551 if ${ac_cv_prog_OTOOL64+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   if test -n "$OTOOL64"; then
   7555   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7556 else
   7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7558 for as_dir in $PATH
   7559 do
   7560   IFS=$as_save_IFS
   7561   test -z "$as_dir" && as_dir=.
   7562     for ac_exec_ext in '' $ac_executable_extensions; do
   7563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7564     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7566     break 2
   7567   fi
   7568 done
   7569   done
   7570 IFS=$as_save_IFS
   7571 
   7572 fi
   7573 fi
   7574 OTOOL64=$ac_cv_prog_OTOOL64
   7575 if test -n "$OTOOL64"; then
   7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7577 $as_echo "$OTOOL64" >&6; }
   7578 else
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7580 $as_echo "no" >&6; }
   7581 fi
   7582 
   7583 
   7584 fi
   7585 if test -z "$ac_cv_prog_OTOOL64"; then
   7586   ac_ct_OTOOL64=$OTOOL64
   7587   # Extract the first word of "otool64", so it can be a program name with args.
   7588 set dummy otool64; ac_word=$2
   7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7590 $as_echo_n "checking for $ac_word... " >&6; }
   7591 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7592   $as_echo_n "(cached) " >&6
   7593 else
   7594   if test -n "$ac_ct_OTOOL64"; then
   7595   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7596 else
   7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7598 for as_dir in $PATH
   7599 do
   7600   IFS=$as_save_IFS
   7601   test -z "$as_dir" && as_dir=.
   7602     for ac_exec_ext in '' $ac_executable_extensions; do
   7603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7604     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7606     break 2
   7607   fi
   7608 done
   7609   done
   7610 IFS=$as_save_IFS
   7611 
   7612 fi
   7613 fi
   7614 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7615 if test -n "$ac_ct_OTOOL64"; then
   7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7617 $as_echo "$ac_ct_OTOOL64" >&6; }
   7618 else
   7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7620 $as_echo "no" >&6; }
   7621 fi
   7622 
   7623   if test "x$ac_ct_OTOOL64" = x; then
   7624     OTOOL64=":"
   7625   else
   7626     case $cross_compiling:$ac_tool_warned in
   7627 yes:)
   7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7630 ac_tool_warned=yes ;;
   7631 esac
   7632     OTOOL64=$ac_ct_OTOOL64
   7633   fi
   7634 else
   7635   OTOOL64="$ac_cv_prog_OTOOL64"
   7636 fi
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7665 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7666 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   lt_cv_apple_cc_single_mod=no
   7670       if test -z "${LT_MULTI_MODULE}"; then
   7671 	# By default we will add the -single_module flag. You can override
   7672 	# by either setting the environment variable LT_MULTI_MODULE
   7673 	# non-empty at configure time, or by adding -multi_module to the
   7674 	# link flags.
   7675 	rm -rf libconftest.dylib*
   7676 	echo "int foo(void){return 1;}" > conftest.c
   7677 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7678 -dynamiclib -Wl,-single_module conftest.c" >&5
   7679 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7680 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7681         _lt_result=$?
   7682 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7683 	  lt_cv_apple_cc_single_mod=yes
   7684 	else
   7685 	  cat conftest.err >&5
   7686 	fi
   7687 	rm -rf libconftest.dylib*
   7688 	rm -f conftest.*
   7689       fi
   7690 fi
   7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7692 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7694 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7695 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698   lt_cv_ld_exported_symbols_list=no
   7699       save_LDFLAGS=$LDFLAGS
   7700       echo "_main" > conftest.sym
   7701       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7703 /* end confdefs.h.  */
   7704 
   7705 int
   7706 main ()
   7707 {
   7708 
   7709   ;
   7710   return 0;
   7711 }
   7712 _ACEOF
   7713 if ac_fn_c_try_link "$LINENO"; then :
   7714   lt_cv_ld_exported_symbols_list=yes
   7715 else
   7716   lt_cv_ld_exported_symbols_list=no
   7717 fi
   7718 rm -f core conftest.err conftest.$ac_objext \
   7719     conftest$ac_exeext conftest.$ac_ext
   7720 	LDFLAGS="$save_LDFLAGS"
   7721 
   7722 fi
   7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7724 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7726 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7727 if ${lt_cv_ld_force_load+:} false; then :
   7728   $as_echo_n "(cached) " >&6
   7729 else
   7730   lt_cv_ld_force_load=no
   7731       cat > conftest.c << _LT_EOF
   7732 int forced_loaded() { return 2;}
   7733 _LT_EOF
   7734       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7735       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7736       echo "$AR cru libconftest.a conftest.o" >&5
   7737       $AR cru libconftest.a conftest.o 2>&5
   7738       echo "$RANLIB libconftest.a" >&5
   7739       $RANLIB libconftest.a 2>&5
   7740       cat > conftest.c << _LT_EOF
   7741 int main() { return 0;}
   7742 _LT_EOF
   7743       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7744       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7745       _lt_result=$?
   7746       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7747 	lt_cv_ld_force_load=yes
   7748       else
   7749 	cat conftest.err >&5
   7750       fi
   7751         rm -f conftest.err libconftest.a conftest conftest.c
   7752         rm -rf conftest.dSYM
   7753 
   7754 fi
   7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7756 $as_echo "$lt_cv_ld_force_load" >&6; }
   7757     case $host_os in
   7758     rhapsody* | darwin1.[012])
   7759       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7760     darwin1.*)
   7761       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7762     darwin*) # darwin 5.x on
   7763       # if running on 10.5 or later, the deployment target defaults
   7764       # to the OS version, if on x86, and 10.4, the deployment
   7765       # target defaults to 10.4. Don't you love it?
   7766       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7767 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7768 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7769 	10.[012]*)
   7770 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7771 	10.*)
   7772 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7773       esac
   7774     ;;
   7775   esac
   7776     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7777       _lt_dar_single_mod='$single_module'
   7778     fi
   7779     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7780       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7781     else
   7782       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7783     fi
   7784     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7785       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7786     else
   7787       _lt_dsymutil=
   7788     fi
   7789     ;;
   7790   esac
   7791 
   7792 for ac_header in dlfcn.h
   7793 do :
   7794   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7795 "
   7796 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7797   cat >>confdefs.h <<_ACEOF
   7798 #define HAVE_DLFCN_H 1
   7799 _ACEOF
   7800 
   7801 fi
   7802 
   7803 done
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 # Set options
   7810 
   7811 
   7812 
   7813         enable_dlopen=no
   7814 
   7815 
   7816   enable_win32_dll=no
   7817 
   7818 
   7819             # Check whether --enable-shared was given.
   7820 if test "${enable_shared+set}" = set; then :
   7821   enableval=$enable_shared; p=${PACKAGE-default}
   7822     case $enableval in
   7823     yes) enable_shared=yes ;;
   7824     no) enable_shared=no ;;
   7825     *)
   7826       enable_shared=no
   7827       # Look at the argument we got.  We use all the common list separators.
   7828       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7829       for pkg in $enableval; do
   7830 	IFS="$lt_save_ifs"
   7831 	if test "X$pkg" = "X$p"; then
   7832 	  enable_shared=yes
   7833 	fi
   7834       done
   7835       IFS="$lt_save_ifs"
   7836       ;;
   7837     esac
   7838 else
   7839   enable_shared=yes
   7840 fi
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850   # Check whether --enable-static was given.
   7851 if test "${enable_static+set}" = set; then :
   7852   enableval=$enable_static; p=${PACKAGE-default}
   7853     case $enableval in
   7854     yes) enable_static=yes ;;
   7855     no) enable_static=no ;;
   7856     *)
   7857      enable_static=no
   7858       # Look at the argument we got.  We use all the common list separators.
   7859       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7860       for pkg in $enableval; do
   7861 	IFS="$lt_save_ifs"
   7862 	if test "X$pkg" = "X$p"; then
   7863 	  enable_static=yes
   7864 	fi
   7865       done
   7866       IFS="$lt_save_ifs"
   7867       ;;
   7868     esac
   7869 else
   7870   enable_static=yes
   7871 fi
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 # Check whether --with-pic was given.
   7883 if test "${with_pic+set}" = set; then :
   7884   withval=$with_pic; pic_mode="$withval"
   7885 else
   7886   pic_mode=default
   7887 fi
   7888 
   7889 
   7890 test -z "$pic_mode" && pic_mode=default
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898   # Check whether --enable-fast-install was given.
   7899 if test "${enable_fast_install+set}" = set; then :
   7900   enableval=$enable_fast_install; p=${PACKAGE-default}
   7901     case $enableval in
   7902     yes) enable_fast_install=yes ;;
   7903     no) enable_fast_install=no ;;
   7904     *)
   7905       enable_fast_install=no
   7906       # Look at the argument we got.  We use all the common list separators.
   7907       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7908       for pkg in $enableval; do
   7909 	IFS="$lt_save_ifs"
   7910 	if test "X$pkg" = "X$p"; then
   7911 	  enable_fast_install=yes
   7912 	fi
   7913       done
   7914       IFS="$lt_save_ifs"
   7915       ;;
   7916     esac
   7917 else
   7918   enable_fast_install=yes
   7919 fi
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 # This can be used to rebuild libtool when needed
   7932 LIBTOOL_DEPS="$ltmain"
   7933 
   7934 # Always use our own libtool.
   7935 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 test -z "$LN_S" && LN_S="ln -s"
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 if test -n "${ZSH_VERSION+set}" ; then
   7978    setopt NO_GLOB_SUBST
   7979 fi
   7980 
   7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7982 $as_echo_n "checking for objdir... " >&6; }
   7983 if ${lt_cv_objdir+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   rm -f .libs 2>/dev/null
   7987 mkdir .libs 2>/dev/null
   7988 if test -d .libs; then
   7989   lt_cv_objdir=.libs
   7990 else
   7991   # MS-DOS does not allow filenames that begin with a dot.
   7992   lt_cv_objdir=_libs
   7993 fi
   7994 rmdir .libs 2>/dev/null
   7995 fi
   7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7997 $as_echo "$lt_cv_objdir" >&6; }
   7998 objdir=$lt_cv_objdir
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 cat >>confdefs.h <<_ACEOF
   8005 #define LT_OBJDIR "$lt_cv_objdir/"
   8006 _ACEOF
   8007 
   8008 
   8009 
   8010 
   8011 case $host_os in
   8012 aix3*)
   8013   # AIX sometimes has problems with the GCC collect2 program.  For some
   8014   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8015   # vanish in a puff of smoke.
   8016   if test "X${COLLECT_NAMES+set}" != Xset; then
   8017     COLLECT_NAMES=
   8018     export COLLECT_NAMES
   8019   fi
   8020   ;;
   8021 esac
   8022 
   8023 # Global variables:
   8024 ofile=libtool
   8025 can_build_shared=yes
   8026 
   8027 # All known linkers require a `.a' archive for static linking (except MSVC,
   8028 # which needs '.lib').
   8029 libext=a
   8030 
   8031 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8032 
   8033 old_CC="$CC"
   8034 old_CFLAGS="$CFLAGS"
   8035 
   8036 # Set sane defaults for various variables
   8037 test -z "$CC" && CC=cc
   8038 test -z "$LTCC" && LTCC=$CC
   8039 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8040 test -z "$LD" && LD=ld
   8041 test -z "$ac_objext" && ac_objext=o
   8042 
   8043 for cc_temp in $compiler""; do
   8044   case $cc_temp in
   8045     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8046     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8047     \-*) ;;
   8048     *) break;;
   8049   esac
   8050 done
   8051 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8052 
   8053 
   8054 # Only perform the check for file, if the check method requires it
   8055 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8056 case $deplibs_check_method in
   8057 file_magic*)
   8058   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8059     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8060 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8061 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8062   $as_echo_n "(cached) " >&6
   8063 else
   8064   case $MAGIC_CMD in
   8065 [\\/*] |  ?:[\\/]*)
   8066   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8067   ;;
   8068 *)
   8069   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8070   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8071   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8072   for ac_dir in $ac_dummy; do
   8073     IFS="$lt_save_ifs"
   8074     test -z "$ac_dir" && ac_dir=.
   8075     if test -f $ac_dir/${ac_tool_prefix}file; then
   8076       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8077       if test -n "$file_magic_test_file"; then
   8078 	case $deplibs_check_method in
   8079 	"file_magic "*)
   8080 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8081 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8082 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8083 	    $EGREP "$file_magic_regex" > /dev/null; then
   8084 	    :
   8085 	  else
   8086 	    cat <<_LT_EOF 1>&2
   8087 
   8088 *** Warning: the command libtool uses to detect shared libraries,
   8089 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8090 *** The result is that libtool may fail to recognize shared libraries
   8091 *** as such.  This will affect the creation of libtool libraries that
   8092 *** depend on shared libraries, but programs linked with such libtool
   8093 *** libraries will work regardless of this problem.  Nevertheless, you
   8094 *** may want to report the problem to your system manager and/or to
   8095 *** bug-libtool@gnu.org
   8096 
   8097 _LT_EOF
   8098 	  fi ;;
   8099 	esac
   8100       fi
   8101       break
   8102     fi
   8103   done
   8104   IFS="$lt_save_ifs"
   8105   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8106   ;;
   8107 esac
   8108 fi
   8109 
   8110 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8111 if test -n "$MAGIC_CMD"; then
   8112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8113 $as_echo "$MAGIC_CMD" >&6; }
   8114 else
   8115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8116 $as_echo "no" >&6; }
   8117 fi
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8124   if test -n "$ac_tool_prefix"; then
   8125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8126 $as_echo_n "checking for file... " >&6; }
   8127 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8128   $as_echo_n "(cached) " >&6
   8129 else
   8130   case $MAGIC_CMD in
   8131 [\\/*] |  ?:[\\/]*)
   8132   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8133   ;;
   8134 *)
   8135   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8136   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8137   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8138   for ac_dir in $ac_dummy; do
   8139     IFS="$lt_save_ifs"
   8140     test -z "$ac_dir" && ac_dir=.
   8141     if test -f $ac_dir/file; then
   8142       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8143       if test -n "$file_magic_test_file"; then
   8144 	case $deplibs_check_method in
   8145 	"file_magic "*)
   8146 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8147 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8148 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8149 	    $EGREP "$file_magic_regex" > /dev/null; then
   8150 	    :
   8151 	  else
   8152 	    cat <<_LT_EOF 1>&2
   8153 
   8154 *** Warning: the command libtool uses to detect shared libraries,
   8155 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8156 *** The result is that libtool may fail to recognize shared libraries
   8157 *** as such.  This will affect the creation of libtool libraries that
   8158 *** depend on shared libraries, but programs linked with such libtool
   8159 *** libraries will work regardless of this problem.  Nevertheless, you
   8160 *** may want to report the problem to your system manager and/or to
   8161 *** bug-libtool@gnu.org
   8162 
   8163 _LT_EOF
   8164 	  fi ;;
   8165 	esac
   8166       fi
   8167       break
   8168     fi
   8169   done
   8170   IFS="$lt_save_ifs"
   8171   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8172   ;;
   8173 esac
   8174 fi
   8175 
   8176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8177 if test -n "$MAGIC_CMD"; then
   8178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8179 $as_echo "$MAGIC_CMD" >&6; }
   8180 else
   8181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8182 $as_echo "no" >&6; }
   8183 fi
   8184 
   8185 
   8186   else
   8187     MAGIC_CMD=:
   8188   fi
   8189 fi
   8190 
   8191   fi
   8192   ;;
   8193 esac
   8194 
   8195 # Use C for the default configuration in the libtool script
   8196 
   8197 lt_save_CC="$CC"
   8198 ac_ext=c
   8199 ac_cpp='$CPP $CPPFLAGS'
   8200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8203 
   8204 
   8205 # Source file extension for C test sources.
   8206 ac_ext=c
   8207 
   8208 # Object file extension for compiled C test sources.
   8209 objext=o
   8210 objext=$objext
   8211 
   8212 # Code to be used in simple compile tests
   8213 lt_simple_compile_test_code="int some_variable = 0;"
   8214 
   8215 # Code to be used in simple link tests
   8216 lt_simple_link_test_code='int main(){return(0);}'
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 # If no C compiler was specified, use CC.
   8225 LTCC=${LTCC-"$CC"}
   8226 
   8227 # If no C compiler flags were specified, use CFLAGS.
   8228 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8229 
   8230 # Allow CC to be a program name with arguments.
   8231 compiler=$CC
   8232 
   8233 # Save the default compiler, since it gets overwritten when the other
   8234 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8235 compiler_DEFAULT=$CC
   8236 
   8237 # save warnings/boilerplate of simple test code
   8238 ac_outfile=conftest.$ac_objext
   8239 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8240 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8241 _lt_compiler_boilerplate=`cat conftest.err`
   8242 $RM conftest*
   8243 
   8244 ac_outfile=conftest.$ac_objext
   8245 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8246 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8247 _lt_linker_boilerplate=`cat conftest.err`
   8248 $RM -r conftest*
   8249 
   8250 
   8251 if test -n "$compiler"; then
   8252 
   8253 lt_prog_compiler_no_builtin_flag=
   8254 
   8255 if test "$GCC" = yes; then
   8256   case $cc_basename in
   8257   nvcc*)
   8258     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8259   *)
   8260     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8261   esac
   8262 
   8263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8264 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8265 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8266   $as_echo_n "(cached) " >&6
   8267 else
   8268   lt_cv_prog_compiler_rtti_exceptions=no
   8269    ac_outfile=conftest.$ac_objext
   8270    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8271    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8272    # Insert the option either (1) after the last *FLAGS variable, or
   8273    # (2) before a word containing "conftest.", or (3) at the end.
   8274    # Note that $ac_compile itself does not contain backslashes and begins
   8275    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8276    # The option is referenced via a variable to avoid confusing sed.
   8277    lt_compile=`echo "$ac_compile" | $SED \
   8278    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8279    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8280    -e 's:$: $lt_compiler_flag:'`
   8281    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8282    (eval "$lt_compile" 2>conftest.err)
   8283    ac_status=$?
   8284    cat conftest.err >&5
   8285    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8286    if (exit $ac_status) && test -s "$ac_outfile"; then
   8287      # The compiler can only warn and ignore the option if not recognized
   8288      # So say no if there are warnings other than the usual output.
   8289      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8290      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8291      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8292        lt_cv_prog_compiler_rtti_exceptions=yes
   8293      fi
   8294    fi
   8295    $RM conftest*
   8296 
   8297 fi
   8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8299 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8300 
   8301 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8302     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8303 else
   8304     :
   8305 fi
   8306 
   8307 fi
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314   lt_prog_compiler_wl=
   8315 lt_prog_compiler_pic=
   8316 lt_prog_compiler_static=
   8317 
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8319 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8320 
   8321   if test "$GCC" = yes; then
   8322     lt_prog_compiler_wl='-Wl,'
   8323     lt_prog_compiler_static='-static'
   8324 
   8325     case $host_os in
   8326       aix*)
   8327       # All AIX code is PIC.
   8328       if test "$host_cpu" = ia64; then
   8329 	# AIX 5 now supports IA64 processor
   8330 	lt_prog_compiler_static='-Bstatic'
   8331       fi
   8332       ;;
   8333 
   8334     amigaos*)
   8335       case $host_cpu in
   8336       powerpc)
   8337             # see comment about AmigaOS4 .so support
   8338             lt_prog_compiler_pic='-fPIC'
   8339         ;;
   8340       m68k)
   8341             # FIXME: we need at least 68020 code to build shared libraries, but
   8342             # adding the `-m68020' flag to GCC prevents building anything better,
   8343             # like `-m68040'.
   8344             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8345         ;;
   8346       esac
   8347       ;;
   8348 
   8349     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8350       # PIC is the default for these OSes.
   8351       ;;
   8352 
   8353     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8354       # This hack is so that the source file can tell whether it is being
   8355       # built for inclusion in a dll (and should export symbols for example).
   8356       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8357       # (--disable-auto-import) libraries
   8358       lt_prog_compiler_pic='-DDLL_EXPORT'
   8359       ;;
   8360 
   8361     darwin* | rhapsody*)
   8362       # PIC is the default on this platform
   8363       # Common symbols not allowed in MH_DYLIB files
   8364       lt_prog_compiler_pic='-fno-common'
   8365       ;;
   8366 
   8367     haiku*)
   8368       # PIC is the default for Haiku.
   8369       # The "-static" flag exists, but is broken.
   8370       lt_prog_compiler_static=
   8371       ;;
   8372 
   8373     hpux*)
   8374       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8375       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8376       # sets the default TLS model and affects inlining.
   8377       case $host_cpu in
   8378       hppa*64*)
   8379 	# +Z the default
   8380 	;;
   8381       *)
   8382 	lt_prog_compiler_pic='-fPIC'
   8383 	;;
   8384       esac
   8385       ;;
   8386 
   8387     interix[3-9]*)
   8388       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8389       # Instead, we relocate shared libraries at runtime.
   8390       ;;
   8391 
   8392     msdosdjgpp*)
   8393       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8394       # on systems that don't support them.
   8395       lt_prog_compiler_can_build_shared=no
   8396       enable_shared=no
   8397       ;;
   8398 
   8399     *nto* | *qnx*)
   8400       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8401       # it will coredump.
   8402       lt_prog_compiler_pic='-fPIC -shared'
   8403       ;;
   8404 
   8405     sysv4*MP*)
   8406       if test -d /usr/nec; then
   8407 	lt_prog_compiler_pic=-Kconform_pic
   8408       fi
   8409       ;;
   8410 
   8411     *)
   8412       lt_prog_compiler_pic='-fPIC'
   8413       ;;
   8414     esac
   8415 
   8416     case $cc_basename in
   8417     nvcc*) # Cuda Compiler Driver 2.2
   8418       lt_prog_compiler_wl='-Xlinker '
   8419       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8420       ;;
   8421     esac
   8422   else
   8423     # PORTME Check for flag to pass linker flags through the system compiler.
   8424     case $host_os in
   8425     aix*)
   8426       lt_prog_compiler_wl='-Wl,'
   8427       if test "$host_cpu" = ia64; then
   8428 	# AIX 5 now supports IA64 processor
   8429 	lt_prog_compiler_static='-Bstatic'
   8430       else
   8431 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8432       fi
   8433       ;;
   8434 
   8435     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8436       # This hack is so that the source file can tell whether it is being
   8437       # built for inclusion in a dll (and should export symbols for example).
   8438       lt_prog_compiler_pic='-DDLL_EXPORT'
   8439       ;;
   8440 
   8441     hpux9* | hpux10* | hpux11*)
   8442       lt_prog_compiler_wl='-Wl,'
   8443       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8444       # not for PA HP-UX.
   8445       case $host_cpu in
   8446       hppa*64*|ia64*)
   8447 	# +Z the default
   8448 	;;
   8449       *)
   8450 	lt_prog_compiler_pic='+Z'
   8451 	;;
   8452       esac
   8453       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8454       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8455       ;;
   8456 
   8457     irix5* | irix6* | nonstopux*)
   8458       lt_prog_compiler_wl='-Wl,'
   8459       # PIC (with -KPIC) is the default.
   8460       lt_prog_compiler_static='-non_shared'
   8461       ;;
   8462 
   8463     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8464       case $cc_basename in
   8465       # old Intel for x86_64 which still supported -KPIC.
   8466       ecc*)
   8467 	lt_prog_compiler_wl='-Wl,'
   8468 	lt_prog_compiler_pic='-KPIC'
   8469 	lt_prog_compiler_static='-static'
   8470         ;;
   8471       # icc used to be incompatible with GCC.
   8472       # ICC 10 doesn't accept -KPIC any more.
   8473       icc* | ifort*)
   8474 	lt_prog_compiler_wl='-Wl,'
   8475 	lt_prog_compiler_pic='-fPIC'
   8476 	lt_prog_compiler_static='-static'
   8477         ;;
   8478       # Lahey Fortran 8.1.
   8479       lf95*)
   8480 	lt_prog_compiler_wl='-Wl,'
   8481 	lt_prog_compiler_pic='--shared'
   8482 	lt_prog_compiler_static='--static'
   8483 	;;
   8484       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8485         # Portland Group compilers (*not* the Pentium gcc compiler,
   8486 	# which looks to be a dead project)
   8487 	lt_prog_compiler_wl='-Wl,'
   8488 	lt_prog_compiler_pic='-fpic'
   8489 	lt_prog_compiler_static='-Bstatic'
   8490         ;;
   8491       ccc*)
   8492         lt_prog_compiler_wl='-Wl,'
   8493         # All Alpha code is PIC.
   8494         lt_prog_compiler_static='-non_shared'
   8495         ;;
   8496       xl* | bgxl* | bgf* | mpixl*)
   8497 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8498 	lt_prog_compiler_wl='-Wl,'
   8499 	lt_prog_compiler_pic='-qpic'
   8500 	lt_prog_compiler_static='-qstaticlink'
   8501 	;;
   8502       *)
   8503 	case `$CC -V 2>&1 | sed 5q` in
   8504 	*Sun\ F* | *Sun*Fortran*)
   8505 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8506 	  lt_prog_compiler_pic='-KPIC'
   8507 	  lt_prog_compiler_static='-Bstatic'
   8508 	  lt_prog_compiler_wl=''
   8509 	  ;;
   8510 	*Sun\ C*)
   8511 	  # Sun C 5.9
   8512 	  lt_prog_compiler_pic='-KPIC'
   8513 	  lt_prog_compiler_static='-Bstatic'
   8514 	  lt_prog_compiler_wl='-Wl,'
   8515 	  ;;
   8516 	esac
   8517 	;;
   8518       esac
   8519       ;;
   8520 
   8521     newsos6)
   8522       lt_prog_compiler_pic='-KPIC'
   8523       lt_prog_compiler_static='-Bstatic'
   8524       ;;
   8525 
   8526     *nto* | *qnx*)
   8527       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8528       # it will coredump.
   8529       lt_prog_compiler_pic='-fPIC -shared'
   8530       ;;
   8531 
   8532     osf3* | osf4* | osf5*)
   8533       lt_prog_compiler_wl='-Wl,'
   8534       # All OSF/1 code is PIC.
   8535       lt_prog_compiler_static='-non_shared'
   8536       ;;
   8537 
   8538     rdos*)
   8539       lt_prog_compiler_static='-non_shared'
   8540       ;;
   8541 
   8542     solaris*)
   8543       lt_prog_compiler_pic='-KPIC'
   8544       lt_prog_compiler_static='-Bstatic'
   8545       case $cc_basename in
   8546       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8547 	lt_prog_compiler_wl='-Qoption ld ';;
   8548       *)
   8549 	lt_prog_compiler_wl='-Wl,';;
   8550       esac
   8551       ;;
   8552 
   8553     sunos4*)
   8554       lt_prog_compiler_wl='-Qoption ld '
   8555       lt_prog_compiler_pic='-PIC'
   8556       lt_prog_compiler_static='-Bstatic'
   8557       ;;
   8558 
   8559     sysv4 | sysv4.2uw2* | sysv4.3*)
   8560       lt_prog_compiler_wl='-Wl,'
   8561       lt_prog_compiler_pic='-KPIC'
   8562       lt_prog_compiler_static='-Bstatic'
   8563       ;;
   8564 
   8565     sysv4*MP*)
   8566       if test -d /usr/nec ;then
   8567 	lt_prog_compiler_pic='-Kconform_pic'
   8568 	lt_prog_compiler_static='-Bstatic'
   8569       fi
   8570       ;;
   8571 
   8572     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8573       lt_prog_compiler_wl='-Wl,'
   8574       lt_prog_compiler_pic='-KPIC'
   8575       lt_prog_compiler_static='-Bstatic'
   8576       ;;
   8577 
   8578     unicos*)
   8579       lt_prog_compiler_wl='-Wl,'
   8580       lt_prog_compiler_can_build_shared=no
   8581       ;;
   8582 
   8583     uts4*)
   8584       lt_prog_compiler_pic='-pic'
   8585       lt_prog_compiler_static='-Bstatic'
   8586       ;;
   8587 
   8588     *)
   8589       lt_prog_compiler_can_build_shared=no
   8590       ;;
   8591     esac
   8592   fi
   8593 
   8594 case $host_os in
   8595   # For platforms which do not support PIC, -DPIC is meaningless:
   8596   *djgpp*)
   8597     lt_prog_compiler_pic=
   8598     ;;
   8599   *)
   8600     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8601     ;;
   8602 esac
   8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8604 $as_echo "$lt_prog_compiler_pic" >&6; }
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 #
   8612 # Check to make sure the PIC flag actually works.
   8613 #
   8614 if test -n "$lt_prog_compiler_pic"; then
   8615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8616 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8617 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8618   $as_echo_n "(cached) " >&6
   8619 else
   8620   lt_cv_prog_compiler_pic_works=no
   8621    ac_outfile=conftest.$ac_objext
   8622    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8623    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8624    # Insert the option either (1) after the last *FLAGS variable, or
   8625    # (2) before a word containing "conftest.", or (3) at the end.
   8626    # Note that $ac_compile itself does not contain backslashes and begins
   8627    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8628    # The option is referenced via a variable to avoid confusing sed.
   8629    lt_compile=`echo "$ac_compile" | $SED \
   8630    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8631    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8632    -e 's:$: $lt_compiler_flag:'`
   8633    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8634    (eval "$lt_compile" 2>conftest.err)
   8635    ac_status=$?
   8636    cat conftest.err >&5
   8637    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8638    if (exit $ac_status) && test -s "$ac_outfile"; then
   8639      # The compiler can only warn and ignore the option if not recognized
   8640      # So say no if there are warnings other than the usual output.
   8641      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8642      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8643      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8644        lt_cv_prog_compiler_pic_works=yes
   8645      fi
   8646    fi
   8647    $RM conftest*
   8648 
   8649 fi
   8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8651 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8652 
   8653 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8654     case $lt_prog_compiler_pic in
   8655      "" | " "*) ;;
   8656      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8657      esac
   8658 else
   8659     lt_prog_compiler_pic=
   8660      lt_prog_compiler_can_build_shared=no
   8661 fi
   8662 
   8663 fi
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 #
   8671 # Check to make sure the static flag actually works.
   8672 #
   8673 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8675 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8676 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8677   $as_echo_n "(cached) " >&6
   8678 else
   8679   lt_cv_prog_compiler_static_works=no
   8680    save_LDFLAGS="$LDFLAGS"
   8681    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8682    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8683    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8684      # The linker can only warn and ignore the option if not recognized
   8685      # So say no if there are warnings
   8686      if test -s conftest.err; then
   8687        # Append any errors to the config.log.
   8688        cat conftest.err 1>&5
   8689        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8690        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8691        if diff conftest.exp conftest.er2 >/dev/null; then
   8692          lt_cv_prog_compiler_static_works=yes
   8693        fi
   8694      else
   8695        lt_cv_prog_compiler_static_works=yes
   8696      fi
   8697    fi
   8698    $RM -r conftest*
   8699    LDFLAGS="$save_LDFLAGS"
   8700 
   8701 fi
   8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8703 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8704 
   8705 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8706     :
   8707 else
   8708     lt_prog_compiler_static=
   8709 fi
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8718 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8719 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8720   $as_echo_n "(cached) " >&6
   8721 else
   8722   lt_cv_prog_compiler_c_o=no
   8723    $RM -r conftest 2>/dev/null
   8724    mkdir conftest
   8725    cd conftest
   8726    mkdir out
   8727    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8728 
   8729    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8730    # Insert the option either (1) after the last *FLAGS variable, or
   8731    # (2) before a word containing "conftest.", or (3) at the end.
   8732    # Note that $ac_compile itself does not contain backslashes and begins
   8733    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8734    lt_compile=`echo "$ac_compile" | $SED \
   8735    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8736    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8737    -e 's:$: $lt_compiler_flag:'`
   8738    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8739    (eval "$lt_compile" 2>out/conftest.err)
   8740    ac_status=$?
   8741    cat out/conftest.err >&5
   8742    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8743    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8744    then
   8745      # The compiler can only warn and ignore the option if not recognized
   8746      # So say no if there are warnings
   8747      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8748      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8749      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8750        lt_cv_prog_compiler_c_o=yes
   8751      fi
   8752    fi
   8753    chmod u+w . 2>&5
   8754    $RM conftest*
   8755    # SGI C++ compiler will create directory out/ii_files/ for
   8756    # template instantiation
   8757    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8758    $RM out/* && rmdir out
   8759    cd ..
   8760    $RM -r conftest
   8761    $RM conftest*
   8762 
   8763 fi
   8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8765 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8773 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8774 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   lt_cv_prog_compiler_c_o=no
   8778    $RM -r conftest 2>/dev/null
   8779    mkdir conftest
   8780    cd conftest
   8781    mkdir out
   8782    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8783 
   8784    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8785    # Insert the option either (1) after the last *FLAGS variable, or
   8786    # (2) before a word containing "conftest.", or (3) at the end.
   8787    # Note that $ac_compile itself does not contain backslashes and begins
   8788    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8789    lt_compile=`echo "$ac_compile" | $SED \
   8790    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8791    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8792    -e 's:$: $lt_compiler_flag:'`
   8793    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8794    (eval "$lt_compile" 2>out/conftest.err)
   8795    ac_status=$?
   8796    cat out/conftest.err >&5
   8797    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8798    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8799    then
   8800      # The compiler can only warn and ignore the option if not recognized
   8801      # So say no if there are warnings
   8802      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8803      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8804      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8805        lt_cv_prog_compiler_c_o=yes
   8806      fi
   8807    fi
   8808    chmod u+w . 2>&5
   8809    $RM conftest*
   8810    # SGI C++ compiler will create directory out/ii_files/ for
   8811    # template instantiation
   8812    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8813    $RM out/* && rmdir out
   8814    cd ..
   8815    $RM -r conftest
   8816    $RM conftest*
   8817 
   8818 fi
   8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8820 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8821 
   8822 
   8823 
   8824 
   8825 hard_links="nottested"
   8826 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8827   # do not overwrite the value of need_locks provided by the user
   8828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8829 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8830   hard_links=yes
   8831   $RM conftest*
   8832   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8833   touch conftest.a
   8834   ln conftest.a conftest.b 2>&5 || hard_links=no
   8835   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8837 $as_echo "$hard_links" >&6; }
   8838   if test "$hard_links" = no; then
   8839     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8840 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8841     need_locks=warn
   8842   fi
   8843 else
   8844   need_locks=no
   8845 fi
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8853 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8854 
   8855   runpath_var=
   8856   allow_undefined_flag=
   8857   always_export_symbols=no
   8858   archive_cmds=
   8859   archive_expsym_cmds=
   8860   compiler_needs_object=no
   8861   enable_shared_with_static_runtimes=no
   8862   export_dynamic_flag_spec=
   8863   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8864   hardcode_automatic=no
   8865   hardcode_direct=no
   8866   hardcode_direct_absolute=no
   8867   hardcode_libdir_flag_spec=
   8868   hardcode_libdir_flag_spec_ld=
   8869   hardcode_libdir_separator=
   8870   hardcode_minus_L=no
   8871   hardcode_shlibpath_var=unsupported
   8872   inherit_rpath=no
   8873   link_all_deplibs=unknown
   8874   module_cmds=
   8875   module_expsym_cmds=
   8876   old_archive_from_new_cmds=
   8877   old_archive_from_expsyms_cmds=
   8878   thread_safe_flag_spec=
   8879   whole_archive_flag_spec=
   8880   # include_expsyms should be a list of space-separated symbols to be *always*
   8881   # included in the symbol list
   8882   include_expsyms=
   8883   # exclude_expsyms can be an extended regexp of symbols to exclude
   8884   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8885   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8886   # as well as any symbol that contains `d'.
   8887   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8888   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8889   # platforms (ab)use it in PIC code, but their linkers get confused if
   8890   # the symbol is explicitly referenced.  Since portable code cannot
   8891   # rely on this symbol name, it's probably fine to never include it in
   8892   # preloaded symbol tables.
   8893   # Exclude shared library initialization/finalization symbols.
   8894   extract_expsyms_cmds=
   8895 
   8896   case $host_os in
   8897   cygwin* | mingw* | pw32* | cegcc*)
   8898     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8899     # When not using gcc, we currently assume that we are using
   8900     # Microsoft Visual C++.
   8901     if test "$GCC" != yes; then
   8902       with_gnu_ld=no
   8903     fi
   8904     ;;
   8905   interix*)
   8906     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8907     with_gnu_ld=yes
   8908     ;;
   8909   openbsd*)
   8910     with_gnu_ld=no
   8911     ;;
   8912   esac
   8913 
   8914   ld_shlibs=yes
   8915 
   8916   # On some targets, GNU ld is compatible enough with the native linker
   8917   # that we're better off using the native interface for both.
   8918   lt_use_gnu_ld_interface=no
   8919   if test "$with_gnu_ld" = yes; then
   8920     case $host_os in
   8921       aix*)
   8922 	# The AIX port of GNU ld has always aspired to compatibility
   8923 	# with the native linker.  However, as the warning in the GNU ld
   8924 	# block says, versions before 2.19.5* couldn't really create working
   8925 	# shared libraries, regardless of the interface used.
   8926 	case `$LD -v 2>&1` in
   8927 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8928 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8929 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8930 	  *)
   8931 	    lt_use_gnu_ld_interface=yes
   8932 	    ;;
   8933 	esac
   8934 	;;
   8935       *)
   8936 	lt_use_gnu_ld_interface=yes
   8937 	;;
   8938     esac
   8939   fi
   8940 
   8941   if test "$lt_use_gnu_ld_interface" = yes; then
   8942     # If archive_cmds runs LD, not CC, wlarc should be empty
   8943     wlarc='${wl}'
   8944 
   8945     # Set some defaults for GNU ld with shared library support. These
   8946     # are reset later if shared libraries are not supported. Putting them
   8947     # here allows them to be overridden if necessary.
   8948     runpath_var=LD_RUN_PATH
   8949     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8950     export_dynamic_flag_spec='${wl}--export-dynamic'
   8951     # ancient GNU ld didn't support --whole-archive et. al.
   8952     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8953       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8954     else
   8955       whole_archive_flag_spec=
   8956     fi
   8957     supports_anon_versioning=no
   8958     case `$LD -v 2>&1` in
   8959       *GNU\ gold*) supports_anon_versioning=yes ;;
   8960       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8961       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8962       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8963       *\ 2.11.*) ;; # other 2.11 versions
   8964       *) supports_anon_versioning=yes ;;
   8965     esac
   8966 
   8967     # See if GNU ld supports shared libraries.
   8968     case $host_os in
   8969     aix[3-9]*)
   8970       # On AIX/PPC, the GNU linker is very broken
   8971       if test "$host_cpu" != ia64; then
   8972 	ld_shlibs=no
   8973 	cat <<_LT_EOF 1>&2
   8974 
   8975 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8976 *** to be unable to reliably create shared libraries on AIX.
   8977 *** Therefore, libtool is disabling shared libraries support.  If you
   8978 *** really care for shared libraries, you may want to install binutils
   8979 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8980 *** You will then need to restart the configuration process.
   8981 
   8982 _LT_EOF
   8983       fi
   8984       ;;
   8985 
   8986     amigaos*)
   8987       case $host_cpu in
   8988       powerpc)
   8989             # see comment about AmigaOS4 .so support
   8990             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8991             archive_expsym_cmds=''
   8992         ;;
   8993       m68k)
   8994             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)'
   8995             hardcode_libdir_flag_spec='-L$libdir'
   8996             hardcode_minus_L=yes
   8997         ;;
   8998       esac
   8999       ;;
   9000 
   9001     beos*)
   9002       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9003 	allow_undefined_flag=unsupported
   9004 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9005 	# support --undefined.  This deserves some investigation.  FIXME
   9006 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9007       else
   9008 	ld_shlibs=no
   9009       fi
   9010       ;;
   9011 
   9012     cygwin* | mingw* | pw32* | cegcc*)
   9013       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9014       # as there is no search path for DLLs.
   9015       hardcode_libdir_flag_spec='-L$libdir'
   9016       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9017       allow_undefined_flag=unsupported
   9018       always_export_symbols=no
   9019       enable_shared_with_static_runtimes=yes
   9020       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9021 
   9022       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9023         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9024 	# If the export-symbols file already is a .def file (1st line
   9025 	# is EXPORTS), use it as is; otherwise, prepend...
   9026 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9027 	  cp $export_symbols $output_objdir/$soname.def;
   9028 	else
   9029 	  echo EXPORTS > $output_objdir/$soname.def;
   9030 	  cat $export_symbols >> $output_objdir/$soname.def;
   9031 	fi~
   9032 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9033       else
   9034 	ld_shlibs=no
   9035       fi
   9036       ;;
   9037 
   9038     haiku*)
   9039       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9040       link_all_deplibs=yes
   9041       ;;
   9042 
   9043     interix[3-9]*)
   9044       hardcode_direct=no
   9045       hardcode_shlibpath_var=no
   9046       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9047       export_dynamic_flag_spec='${wl}-E'
   9048       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9049       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9050       # default) and relocated if they conflict, which is a slow very memory
   9051       # consuming and fragmenting process.  To avoid this, we pick a random,
   9052       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9053       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9054       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9055       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'
   9056       ;;
   9057 
   9058     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9059       tmp_diet=no
   9060       if test "$host_os" = linux-dietlibc; then
   9061 	case $cc_basename in
   9062 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9063 	esac
   9064       fi
   9065       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9066 	 && test "$tmp_diet" = no
   9067       then
   9068 	tmp_addflag=
   9069 	tmp_sharedflag='-shared'
   9070 	case $cc_basename,$host_cpu in
   9071         pgcc*)				# Portland Group C compiler
   9072 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9073 	  tmp_addflag=' $pic_flag'
   9074 	  ;;
   9075 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9076 					# Portland Group f77 and f90 compilers
   9077 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9078 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9079 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9080 	  tmp_addflag=' -i_dynamic' ;;
   9081 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9082 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9083 	ifc* | ifort*)			# Intel Fortran compiler
   9084 	  tmp_addflag=' -nofor_main' ;;
   9085 	lf95*)				# Lahey Fortran 8.1
   9086 	  whole_archive_flag_spec=
   9087 	  tmp_sharedflag='--shared' ;;
   9088 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9089 	  tmp_sharedflag='-qmkshrobj'
   9090 	  tmp_addflag= ;;
   9091 	nvcc*)	# Cuda Compiler Driver 2.2
   9092 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9093 	  compiler_needs_object=yes
   9094 	  ;;
   9095 	esac
   9096 	case `$CC -V 2>&1 | sed 5q` in
   9097 	*Sun\ C*)			# Sun C 5.9
   9098 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9099 	  compiler_needs_object=yes
   9100 	  tmp_sharedflag='-G' ;;
   9101 	*Sun\ F*)			# Sun Fortran 8.3
   9102 	  tmp_sharedflag='-G' ;;
   9103 	esac
   9104 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9105 
   9106         if test "x$supports_anon_versioning" = xyes; then
   9107           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9108 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9109 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9110 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9111         fi
   9112 
   9113 	case $cc_basename in
   9114 	xlf* | bgf* | bgxlf* | mpixlf*)
   9115 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9116 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9117 	  hardcode_libdir_flag_spec=
   9118 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9119 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9120 	  if test "x$supports_anon_versioning" = xyes; then
   9121 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9122 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9123 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9124 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9125 	  fi
   9126 	  ;;
   9127 	esac
   9128       else
   9129         ld_shlibs=no
   9130       fi
   9131       ;;
   9132 
   9133     netbsd*)
   9134       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9135 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9136 	wlarc=
   9137       else
   9138 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9139 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9140       fi
   9141       ;;
   9142 
   9143     solaris*)
   9144       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9145 	ld_shlibs=no
   9146 	cat <<_LT_EOF 1>&2
   9147 
   9148 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9149 *** create shared libraries on Solaris systems.  Therefore, libtool
   9150 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9151 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9152 *** your PATH or compiler configuration so that the native linker is
   9153 *** used, and then restart.
   9154 
   9155 _LT_EOF
   9156       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9157 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9158 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9159       else
   9160 	ld_shlibs=no
   9161       fi
   9162       ;;
   9163 
   9164     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9165       case `$LD -v 2>&1` in
   9166         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9167 	ld_shlibs=no
   9168 	cat <<_LT_EOF 1>&2
   9169 
   9170 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9171 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9172 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9173 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9174 *** your PATH or compiler configuration so that the native linker is
   9175 *** used, and then restart.
   9176 
   9177 _LT_EOF
   9178 	;;
   9179 	*)
   9180 	  # For security reasons, it is highly recommended that you always
   9181 	  # use absolute paths for naming shared libraries, and exclude the
   9182 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9183 	  # requires that you compile everything twice, which is a pain.
   9184 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9185 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9186 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9187 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9188 	  else
   9189 	    ld_shlibs=no
   9190 	  fi
   9191 	;;
   9192       esac
   9193       ;;
   9194 
   9195     sunos4*)
   9196       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9197       wlarc=
   9198       hardcode_direct=yes
   9199       hardcode_shlibpath_var=no
   9200       ;;
   9201 
   9202     *)
   9203       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9204 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9205 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9206       else
   9207 	ld_shlibs=no
   9208       fi
   9209       ;;
   9210     esac
   9211 
   9212     if test "$ld_shlibs" = no; then
   9213       runpath_var=
   9214       hardcode_libdir_flag_spec=
   9215       export_dynamic_flag_spec=
   9216       whole_archive_flag_spec=
   9217     fi
   9218   else
   9219     # PORTME fill in a description of your system's linker (not GNU ld)
   9220     case $host_os in
   9221     aix3*)
   9222       allow_undefined_flag=unsupported
   9223       always_export_symbols=yes
   9224       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'
   9225       # Note: this linker hardcodes the directories in LIBPATH if there
   9226       # are no directories specified by -L.
   9227       hardcode_minus_L=yes
   9228       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9229 	# Neither direct hardcoding nor static linking is supported with a
   9230 	# broken collect2.
   9231 	hardcode_direct=unsupported
   9232       fi
   9233       ;;
   9234 
   9235     aix[4-9]*)
   9236       if test "$host_cpu" = ia64; then
   9237 	# On IA64, the linker does run time linking by default, so we don't
   9238 	# have to do anything special.
   9239 	aix_use_runtimelinking=no
   9240 	exp_sym_flag='-Bexport'
   9241 	no_entry_flag=""
   9242       else
   9243 	# If we're using GNU nm, then we don't want the "-C" option.
   9244 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9245 	# Also, AIX nm treats weak defined symbols like other global
   9246 	# defined symbols, whereas GNU nm marks them as "W".
   9247 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9248 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9249 	else
   9250 	  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'
   9251 	fi
   9252 	aix_use_runtimelinking=no
   9253 
   9254 	# Test if we are trying to use run time linking or normal
   9255 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9256 	# need to do runtime linking.
   9257 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9258 	  for ld_flag in $LDFLAGS; do
   9259 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9260 	    aix_use_runtimelinking=yes
   9261 	    break
   9262 	  fi
   9263 	  done
   9264 	  ;;
   9265 	esac
   9266 
   9267 	exp_sym_flag='-bexport'
   9268 	no_entry_flag='-bnoentry'
   9269       fi
   9270 
   9271       # When large executables or shared objects are built, AIX ld can
   9272       # have problems creating the table of contents.  If linking a library
   9273       # or program results in "error TOC overflow" add -mminimal-toc to
   9274       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9275       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9276 
   9277       archive_cmds=''
   9278       hardcode_direct=yes
   9279       hardcode_direct_absolute=yes
   9280       hardcode_libdir_separator=':'
   9281       link_all_deplibs=yes
   9282       file_list_spec='${wl}-f,'
   9283 
   9284       if test "$GCC" = yes; then
   9285 	case $host_os in aix4.[012]|aix4.[012].*)
   9286 	# We only want to do this on AIX 4.2 and lower, the check
   9287 	# below for broken collect2 doesn't work under 4.3+
   9288 	  collect2name=`${CC} -print-prog-name=collect2`
   9289 	  if test -f "$collect2name" &&
   9290 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9291 	  then
   9292 	  # We have reworked collect2
   9293 	  :
   9294 	  else
   9295 	  # We have old collect2
   9296 	  hardcode_direct=unsupported
   9297 	  # It fails to find uninstalled libraries when the uninstalled
   9298 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9299 	  # to unsupported forces relinking
   9300 	  hardcode_minus_L=yes
   9301 	  hardcode_libdir_flag_spec='-L$libdir'
   9302 	  hardcode_libdir_separator=
   9303 	  fi
   9304 	  ;;
   9305 	esac
   9306 	shared_flag='-shared'
   9307 	if test "$aix_use_runtimelinking" = yes; then
   9308 	  shared_flag="$shared_flag "'${wl}-G'
   9309 	fi
   9310       else
   9311 	# not using gcc
   9312 	if test "$host_cpu" = ia64; then
   9313 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9314 	# chokes on -Wl,-G. The following line is correct:
   9315 	  shared_flag='-G'
   9316 	else
   9317 	  if test "$aix_use_runtimelinking" = yes; then
   9318 	    shared_flag='${wl}-G'
   9319 	  else
   9320 	    shared_flag='${wl}-bM:SRE'
   9321 	  fi
   9322 	fi
   9323       fi
   9324 
   9325       export_dynamic_flag_spec='${wl}-bexpall'
   9326       # It seems that -bexpall does not export symbols beginning with
   9327       # underscore (_), so it is better to generate a list of symbols to export.
   9328       always_export_symbols=yes
   9329       if test "$aix_use_runtimelinking" = yes; then
   9330 	# Warning - without using the other runtime loading flags (-brtl),
   9331 	# -berok will link without error, but may produce a broken library.
   9332 	allow_undefined_flag='-berok'
   9333         # Determine the default libpath from the value encoded in an
   9334         # empty executable.
   9335         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9336 /* end confdefs.h.  */
   9337 
   9338 int
   9339 main ()
   9340 {
   9341 
   9342   ;
   9343   return 0;
   9344 }
   9345 _ACEOF
   9346 if ac_fn_c_try_link "$LINENO"; then :
   9347 
   9348 lt_aix_libpath_sed='
   9349     /Import File Strings/,/^$/ {
   9350 	/^0/ {
   9351 	    s/^0  *\(.*\)$/\1/
   9352 	    p
   9353 	}
   9354     }'
   9355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9356 # Check for a 64-bit object if we didn't find anything.
   9357 if test -z "$aix_libpath"; then
   9358   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9359 fi
   9360 fi
   9361 rm -f core conftest.err conftest.$ac_objext \
   9362     conftest$ac_exeext conftest.$ac_ext
   9363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9364 
   9365         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9366         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9367       else
   9368 	if test "$host_cpu" = ia64; then
   9369 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9370 	  allow_undefined_flag="-z nodefs"
   9371 	  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"
   9372 	else
   9373 	 # Determine the default libpath from the value encoded in an
   9374 	 # empty executable.
   9375 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9376 /* end confdefs.h.  */
   9377 
   9378 int
   9379 main ()
   9380 {
   9381 
   9382   ;
   9383   return 0;
   9384 }
   9385 _ACEOF
   9386 if ac_fn_c_try_link "$LINENO"; then :
   9387 
   9388 lt_aix_libpath_sed='
   9389     /Import File Strings/,/^$/ {
   9390 	/^0/ {
   9391 	    s/^0  *\(.*\)$/\1/
   9392 	    p
   9393 	}
   9394     }'
   9395 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9396 # Check for a 64-bit object if we didn't find anything.
   9397 if test -z "$aix_libpath"; then
   9398   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9399 fi
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext \
   9402     conftest$ac_exeext conftest.$ac_ext
   9403 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9404 
   9405 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9406 	  # Warning - without using the other run time loading flags,
   9407 	  # -berok will link without error, but may produce a broken library.
   9408 	  no_undefined_flag=' ${wl}-bernotok'
   9409 	  allow_undefined_flag=' ${wl}-berok'
   9410 	  if test "$with_gnu_ld" = yes; then
   9411 	    # We only use this code for GNU lds that support --whole-archive.
   9412 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9413 	  else
   9414 	    # Exported symbols can be pulled into shared objects from archives
   9415 	    whole_archive_flag_spec='$convenience'
   9416 	  fi
   9417 	  archive_cmds_need_lc=yes
   9418 	  # This is similar to how AIX traditionally builds its shared libraries.
   9419 	  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'
   9420 	fi
   9421       fi
   9422       ;;
   9423 
   9424     amigaos*)
   9425       case $host_cpu in
   9426       powerpc)
   9427             # see comment about AmigaOS4 .so support
   9428             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9429             archive_expsym_cmds=''
   9430         ;;
   9431       m68k)
   9432             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)'
   9433             hardcode_libdir_flag_spec='-L$libdir'
   9434             hardcode_minus_L=yes
   9435         ;;
   9436       esac
   9437       ;;
   9438 
   9439     bsdi[45]*)
   9440       export_dynamic_flag_spec=-rdynamic
   9441       ;;
   9442 
   9443     cygwin* | mingw* | pw32* | cegcc*)
   9444       # When not using gcc, we currently assume that we are using
   9445       # Microsoft Visual C++.
   9446       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9447       # no search path for DLLs.
   9448       hardcode_libdir_flag_spec=' '
   9449       allow_undefined_flag=unsupported
   9450       # Tell ltmain to make .lib files, not .a files.
   9451       libext=lib
   9452       # Tell ltmain to make .dll files, not .so files.
   9453       shrext_cmds=".dll"
   9454       # FIXME: Setting linknames here is a bad hack.
   9455       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9456       # The linker will automatically build a .lib file if we build a DLL.
   9457       old_archive_from_new_cmds='true'
   9458       # FIXME: Should let the user specify the lib program.
   9459       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9460       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9461       enable_shared_with_static_runtimes=yes
   9462       ;;
   9463 
   9464     darwin* | rhapsody*)
   9465 
   9466 
   9467   archive_cmds_need_lc=no
   9468   hardcode_direct=no
   9469   hardcode_automatic=yes
   9470   hardcode_shlibpath_var=unsupported
   9471   if test "$lt_cv_ld_force_load" = "yes"; then
   9472     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9473   else
   9474     whole_archive_flag_spec=''
   9475   fi
   9476   link_all_deplibs=yes
   9477   allow_undefined_flag="$_lt_dar_allow_undefined"
   9478   case $cc_basename in
   9479      ifort*) _lt_dar_can_shared=yes ;;
   9480      *) _lt_dar_can_shared=$GCC ;;
   9481   esac
   9482   if test "$_lt_dar_can_shared" = "yes"; then
   9483     output_verbose_link_cmd=func_echo_all
   9484     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9485     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9486     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}"
   9487     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}"
   9488 
   9489   else
   9490   ld_shlibs=no
   9491   fi
   9492 
   9493       ;;
   9494 
   9495     dgux*)
   9496       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9497       hardcode_libdir_flag_spec='-L$libdir'
   9498       hardcode_shlibpath_var=no
   9499       ;;
   9500 
   9501     freebsd1*)
   9502       ld_shlibs=no
   9503       ;;
   9504 
   9505     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9506     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9507     # does not break anything, and helps significantly (at the cost of a little
   9508     # extra space).
   9509     freebsd2.2*)
   9510       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9511       hardcode_libdir_flag_spec='-R$libdir'
   9512       hardcode_direct=yes
   9513       hardcode_shlibpath_var=no
   9514       ;;
   9515 
   9516     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9517     freebsd2*)
   9518       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9519       hardcode_direct=yes
   9520       hardcode_minus_L=yes
   9521       hardcode_shlibpath_var=no
   9522       ;;
   9523 
   9524     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9525     freebsd* | dragonfly*)
   9526       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9527       hardcode_libdir_flag_spec='-R$libdir'
   9528       hardcode_direct=yes
   9529       hardcode_shlibpath_var=no
   9530       ;;
   9531 
   9532     hpux9*)
   9533       if test "$GCC" = yes; then
   9534 	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'
   9535       else
   9536 	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'
   9537       fi
   9538       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9539       hardcode_libdir_separator=:
   9540       hardcode_direct=yes
   9541 
   9542       # hardcode_minus_L: Not really in the search PATH,
   9543       # but as the default location of the library.
   9544       hardcode_minus_L=yes
   9545       export_dynamic_flag_spec='${wl}-E'
   9546       ;;
   9547 
   9548     hpux10*)
   9549       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9550 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9551       else
   9552 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9553       fi
   9554       if test "$with_gnu_ld" = no; then
   9555 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9556 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9557 	hardcode_libdir_separator=:
   9558 	hardcode_direct=yes
   9559 	hardcode_direct_absolute=yes
   9560 	export_dynamic_flag_spec='${wl}-E'
   9561 	# hardcode_minus_L: Not really in the search PATH,
   9562 	# but as the default location of the library.
   9563 	hardcode_minus_L=yes
   9564       fi
   9565       ;;
   9566 
   9567     hpux11*)
   9568       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9569 	case $host_cpu in
   9570 	hppa*64*)
   9571 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9572 	  ;;
   9573 	ia64*)
   9574 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9575 	  ;;
   9576 	*)
   9577 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9578 	  ;;
   9579 	esac
   9580       else
   9581 	case $host_cpu in
   9582 	hppa*64*)
   9583 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9584 	  ;;
   9585 	ia64*)
   9586 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9587 	  ;;
   9588 	*)
   9589 
   9590 	  # Older versions of the 11.00 compiler do not understand -b yet
   9591 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9592 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9593 $as_echo_n "checking if $CC understands -b... " >&6; }
   9594 if ${lt_cv_prog_compiler__b+:} false; then :
   9595   $as_echo_n "(cached) " >&6
   9596 else
   9597   lt_cv_prog_compiler__b=no
   9598    save_LDFLAGS="$LDFLAGS"
   9599    LDFLAGS="$LDFLAGS -b"
   9600    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9601    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9602      # The linker can only warn and ignore the option if not recognized
   9603      # So say no if there are warnings
   9604      if test -s conftest.err; then
   9605        # Append any errors to the config.log.
   9606        cat conftest.err 1>&5
   9607        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9608        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9609        if diff conftest.exp conftest.er2 >/dev/null; then
   9610          lt_cv_prog_compiler__b=yes
   9611        fi
   9612      else
   9613        lt_cv_prog_compiler__b=yes
   9614      fi
   9615    fi
   9616    $RM -r conftest*
   9617    LDFLAGS="$save_LDFLAGS"
   9618 
   9619 fi
   9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9621 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9622 
   9623 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9624     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9625 else
   9626     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9627 fi
   9628 
   9629 	  ;;
   9630 	esac
   9631       fi
   9632       if test "$with_gnu_ld" = no; then
   9633 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9634 	hardcode_libdir_separator=:
   9635 
   9636 	case $host_cpu in
   9637 	hppa*64*|ia64*)
   9638 	  hardcode_direct=no
   9639 	  hardcode_shlibpath_var=no
   9640 	  ;;
   9641 	*)
   9642 	  hardcode_direct=yes
   9643 	  hardcode_direct_absolute=yes
   9644 	  export_dynamic_flag_spec='${wl}-E'
   9645 
   9646 	  # hardcode_minus_L: Not really in the search PATH,
   9647 	  # but as the default location of the library.
   9648 	  hardcode_minus_L=yes
   9649 	  ;;
   9650 	esac
   9651       fi
   9652       ;;
   9653 
   9654     irix5* | irix6* | nonstopux*)
   9655       if test "$GCC" = yes; then
   9656 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9657 	# Try to use the -exported_symbol ld option, if it does not
   9658 	# work, assume that -exports_file does not work either and
   9659 	# implicitly export all symbols.
   9660         save_LDFLAGS="$LDFLAGS"
   9661         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9662         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9663 /* end confdefs.h.  */
   9664 int foo(void) {}
   9665 _ACEOF
   9666 if ac_fn_c_try_link "$LINENO"; then :
   9667   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9668 
   9669 fi
   9670 rm -f core conftest.err conftest.$ac_objext \
   9671     conftest$ac_exeext conftest.$ac_ext
   9672         LDFLAGS="$save_LDFLAGS"
   9673       else
   9674 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9675 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9676       fi
   9677       archive_cmds_need_lc='no'
   9678       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9679       hardcode_libdir_separator=:
   9680       inherit_rpath=yes
   9681       link_all_deplibs=yes
   9682       ;;
   9683 
   9684     netbsd*)
   9685       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9686 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9687       else
   9688 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9689       fi
   9690       hardcode_libdir_flag_spec='-R$libdir'
   9691       hardcode_direct=yes
   9692       hardcode_shlibpath_var=no
   9693       ;;
   9694 
   9695     newsos6)
   9696       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9697       hardcode_direct=yes
   9698       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9699       hardcode_libdir_separator=:
   9700       hardcode_shlibpath_var=no
   9701       ;;
   9702 
   9703     *nto* | *qnx*)
   9704       ;;
   9705 
   9706     openbsd*)
   9707       if test -f /usr/libexec/ld.so; then
   9708 	hardcode_direct=yes
   9709 	hardcode_shlibpath_var=no
   9710 	hardcode_direct_absolute=yes
   9711 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9712 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9713 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9714 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9715 	  export_dynamic_flag_spec='${wl}-E'
   9716 	else
   9717 	  case $host_os in
   9718 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9719 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9720 	     hardcode_libdir_flag_spec='-R$libdir'
   9721 	     ;;
   9722 	   *)
   9723 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9724 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9725 	     ;;
   9726 	  esac
   9727 	fi
   9728       else
   9729 	ld_shlibs=no
   9730       fi
   9731       ;;
   9732 
   9733     os2*)
   9734       hardcode_libdir_flag_spec='-L$libdir'
   9735       hardcode_minus_L=yes
   9736       allow_undefined_flag=unsupported
   9737       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'
   9738       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9739       ;;
   9740 
   9741     osf3*)
   9742       if test "$GCC" = yes; then
   9743 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9744 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9745       else
   9746 	allow_undefined_flag=' -expect_unresolved \*'
   9747 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9748       fi
   9749       archive_cmds_need_lc='no'
   9750       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9751       hardcode_libdir_separator=:
   9752       ;;
   9753 
   9754     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9755       if test "$GCC" = yes; then
   9756 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9757 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9758 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9759       else
   9760 	allow_undefined_flag=' -expect_unresolved \*'
   9761 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9762 	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~
   9763 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9764 
   9765 	# Both c and cxx compiler support -rpath directly
   9766 	hardcode_libdir_flag_spec='-rpath $libdir'
   9767       fi
   9768       archive_cmds_need_lc='no'
   9769       hardcode_libdir_separator=:
   9770       ;;
   9771 
   9772     solaris*)
   9773       no_undefined_flag=' -z defs'
   9774       if test "$GCC" = yes; then
   9775 	wlarc='${wl}'
   9776 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9777 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9778 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9779       else
   9780 	case `$CC -V 2>&1` in
   9781 	*"Compilers 5.0"*)
   9782 	  wlarc=''
   9783 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9784 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9785 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9786 	  ;;
   9787 	*)
   9788 	  wlarc='${wl}'
   9789 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9790 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9791 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9792 	  ;;
   9793 	esac
   9794       fi
   9795       hardcode_libdir_flag_spec='-R$libdir'
   9796       hardcode_shlibpath_var=no
   9797       case $host_os in
   9798       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9799       *)
   9800 	# The compiler driver will combine and reorder linker options,
   9801 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9802 	# but is careful enough not to reorder.
   9803 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9804 	if test "$GCC" = yes; then
   9805 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9806 	else
   9807 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9808 	fi
   9809 	;;
   9810       esac
   9811       link_all_deplibs=yes
   9812       ;;
   9813 
   9814     sunos4*)
   9815       if test "x$host_vendor" = xsequent; then
   9816 	# Use $CC to link under sequent, because it throws in some extra .o
   9817 	# files that make .init and .fini sections work.
   9818 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9819       else
   9820 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9821       fi
   9822       hardcode_libdir_flag_spec='-L$libdir'
   9823       hardcode_direct=yes
   9824       hardcode_minus_L=yes
   9825       hardcode_shlibpath_var=no
   9826       ;;
   9827 
   9828     sysv4)
   9829       case $host_vendor in
   9830 	sni)
   9831 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9832 	  hardcode_direct=yes # is this really true???
   9833 	;;
   9834 	siemens)
   9835 	  ## LD is ld it makes a PLAMLIB
   9836 	  ## CC just makes a GrossModule.
   9837 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9838 	  reload_cmds='$CC -r -o $output$reload_objs'
   9839 	  hardcode_direct=no
   9840         ;;
   9841 	motorola)
   9842 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9843 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9844 	;;
   9845       esac
   9846       runpath_var='LD_RUN_PATH'
   9847       hardcode_shlibpath_var=no
   9848       ;;
   9849 
   9850     sysv4.3*)
   9851       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9852       hardcode_shlibpath_var=no
   9853       export_dynamic_flag_spec='-Bexport'
   9854       ;;
   9855 
   9856     sysv4*MP*)
   9857       if test -d /usr/nec; then
   9858 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9859 	hardcode_shlibpath_var=no
   9860 	runpath_var=LD_RUN_PATH
   9861 	hardcode_runpath_var=yes
   9862 	ld_shlibs=yes
   9863       fi
   9864       ;;
   9865 
   9866     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9867       no_undefined_flag='${wl}-z,text'
   9868       archive_cmds_need_lc=no
   9869       hardcode_shlibpath_var=no
   9870       runpath_var='LD_RUN_PATH'
   9871 
   9872       if test "$GCC" = yes; then
   9873 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9874 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9875       else
   9876 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9877 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9878       fi
   9879       ;;
   9880 
   9881     sysv5* | sco3.2v5* | sco5v6*)
   9882       # Note: We can NOT use -z defs as we might desire, because we do not
   9883       # link with -lc, and that would cause any symbols used from libc to
   9884       # always be unresolved, which means just about no library would
   9885       # ever link correctly.  If we're not using GNU ld we use -z text
   9886       # though, which does catch some bad symbols but isn't as heavy-handed
   9887       # as -z defs.
   9888       no_undefined_flag='${wl}-z,text'
   9889       allow_undefined_flag='${wl}-z,nodefs'
   9890       archive_cmds_need_lc=no
   9891       hardcode_shlibpath_var=no
   9892       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9893       hardcode_libdir_separator=':'
   9894       link_all_deplibs=yes
   9895       export_dynamic_flag_spec='${wl}-Bexport'
   9896       runpath_var='LD_RUN_PATH'
   9897 
   9898       if test "$GCC" = yes; then
   9899 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9900 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9901       else
   9902 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9903 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9904       fi
   9905       ;;
   9906 
   9907     uts4*)
   9908       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9909       hardcode_libdir_flag_spec='-L$libdir'
   9910       hardcode_shlibpath_var=no
   9911       ;;
   9912 
   9913     *)
   9914       ld_shlibs=no
   9915       ;;
   9916     esac
   9917 
   9918     if test x$host_vendor = xsni; then
   9919       case $host in
   9920       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9921 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9922 	;;
   9923       esac
   9924     fi
   9925   fi
   9926 
   9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9928 $as_echo "$ld_shlibs" >&6; }
   9929 test "$ld_shlibs" = no && can_build_shared=no
   9930 
   9931 with_gnu_ld=$with_gnu_ld
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 #
   9948 # Do we need to explicitly link libc?
   9949 #
   9950 case "x$archive_cmds_need_lc" in
   9951 x|xyes)
   9952   # Assume -lc should be added
   9953   archive_cmds_need_lc=yes
   9954 
   9955   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9956     case $archive_cmds in
   9957     *'~'*)
   9958       # FIXME: we may have to deal with multi-command sequences.
   9959       ;;
   9960     '$CC '*)
   9961       # Test whether the compiler implicitly links with -lc since on some
   9962       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9963       # to ld, don't add -lc before -lgcc.
   9964       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9965 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9966 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9967   $as_echo_n "(cached) " >&6
   9968 else
   9969   $RM conftest*
   9970 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9971 
   9972 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9973   (eval $ac_compile) 2>&5
   9974   ac_status=$?
   9975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9976   test $ac_status = 0; } 2>conftest.err; then
   9977 	  soname=conftest
   9978 	  lib=conftest
   9979 	  libobjs=conftest.$ac_objext
   9980 	  deplibs=
   9981 	  wl=$lt_prog_compiler_wl
   9982 	  pic_flag=$lt_prog_compiler_pic
   9983 	  compiler_flags=-v
   9984 	  linker_flags=-v
   9985 	  verstring=
   9986 	  output_objdir=.
   9987 	  libname=conftest
   9988 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9989 	  allow_undefined_flag=
   9990 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9991   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9992   ac_status=$?
   9993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9994   test $ac_status = 0; }
   9995 	  then
   9996 	    lt_cv_archive_cmds_need_lc=no
   9997 	  else
   9998 	    lt_cv_archive_cmds_need_lc=yes
   9999 	  fi
   10000 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10001 	else
   10002 	  cat conftest.err 1>&5
   10003 	fi
   10004 	$RM conftest*
   10005 
   10006 fi
   10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10008 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10009       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10010       ;;
   10011     esac
   10012   fi
   10013   ;;
   10014 esac
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10173 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10174 
   10175 if test "$GCC" = yes; then
   10176   case $host_os in
   10177     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10178     *) lt_awk_arg="/^libraries:/" ;;
   10179   esac
   10180   case $host_os in
   10181     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10182     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10183   esac
   10184   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10185   case $lt_search_path_spec in
   10186   *\;*)
   10187     # if the path contains ";" then we assume it to be the separator
   10188     # otherwise default to the standard path separator (i.e. ":") - it is
   10189     # assumed that no part of a normal pathname contains ";" but that should
   10190     # okay in the real world where ";" in dirpaths is itself problematic.
   10191     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10192     ;;
   10193   *)
   10194     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10195     ;;
   10196   esac
   10197   # Ok, now we have the path, separated by spaces, we can step through it
   10198   # and add multilib dir if necessary.
   10199   lt_tmp_lt_search_path_spec=
   10200   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10201   for lt_sys_path in $lt_search_path_spec; do
   10202     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10203       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10204     else
   10205       test -d "$lt_sys_path" && \
   10206 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10207     fi
   10208   done
   10209   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10210 BEGIN {RS=" "; FS="/|\n";} {
   10211   lt_foo="";
   10212   lt_count=0;
   10213   for (lt_i = NF; lt_i > 0; lt_i--) {
   10214     if ($lt_i != "" && $lt_i != ".") {
   10215       if ($lt_i == "..") {
   10216         lt_count++;
   10217       } else {
   10218         if (lt_count == 0) {
   10219           lt_foo="/" $lt_i lt_foo;
   10220         } else {
   10221           lt_count--;
   10222         }
   10223       }
   10224     }
   10225   }
   10226   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10227   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10228 }'`
   10229   # AWK program above erroneously prepends '/' to C:/dos/paths
   10230   # for these hosts.
   10231   case $host_os in
   10232     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10233       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10234   esac
   10235   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10236 else
   10237   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10238 fi
   10239 library_names_spec=
   10240 libname_spec='lib$name'
   10241 soname_spec=
   10242 shrext_cmds=".so"
   10243 postinstall_cmds=
   10244 postuninstall_cmds=
   10245 finish_cmds=
   10246 finish_eval=
   10247 shlibpath_var=
   10248 shlibpath_overrides_runpath=unknown
   10249 version_type=none
   10250 dynamic_linker="$host_os ld.so"
   10251 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10252 need_lib_prefix=unknown
   10253 hardcode_into_libs=no
   10254 
   10255 # when you set need_version to no, make sure it does not cause -set_version
   10256 # flags to be left without arguments
   10257 need_version=unknown
   10258 
   10259 case $host_os in
   10260 aix3*)
   10261   version_type=linux
   10262   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10263   shlibpath_var=LIBPATH
   10264 
   10265   # AIX 3 has no versioning support, so we append a major version to the name.
   10266   soname_spec='${libname}${release}${shared_ext}$major'
   10267   ;;
   10268 
   10269 aix[4-9]*)
   10270   version_type=linux
   10271   need_lib_prefix=no
   10272   need_version=no
   10273   hardcode_into_libs=yes
   10274   if test "$host_cpu" = ia64; then
   10275     # AIX 5 supports IA64
   10276     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10277     shlibpath_var=LD_LIBRARY_PATH
   10278   else
   10279     # With GCC up to 2.95.x, collect2 would create an import file
   10280     # for dependence libraries.  The import file would start with
   10281     # the line `#! .'.  This would cause the generated library to
   10282     # depend on `.', always an invalid library.  This was fixed in
   10283     # development snapshots of GCC prior to 3.0.
   10284     case $host_os in
   10285       aix4 | aix4.[01] | aix4.[01].*)
   10286       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10287 	   echo ' yes '
   10288 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10289 	:
   10290       else
   10291 	can_build_shared=no
   10292       fi
   10293       ;;
   10294     esac
   10295     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10296     # soname into executable. Probably we can add versioning support to
   10297     # collect2, so additional links can be useful in future.
   10298     if test "$aix_use_runtimelinking" = yes; then
   10299       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10300       # instead of lib<name>.a to let people know that these are not
   10301       # typical AIX shared libraries.
   10302       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10303     else
   10304       # We preserve .a as extension for shared libraries through AIX4.2
   10305       # and later when we are not doing run time linking.
   10306       library_names_spec='${libname}${release}.a $libname.a'
   10307       soname_spec='${libname}${release}${shared_ext}$major'
   10308     fi
   10309     shlibpath_var=LIBPATH
   10310   fi
   10311   ;;
   10312 
   10313 amigaos*)
   10314   case $host_cpu in
   10315   powerpc)
   10316     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10317     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10318     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10319     ;;
   10320   m68k)
   10321     library_names_spec='$libname.ixlibrary $libname.a'
   10322     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10323     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10324     ;;
   10325   esac
   10326   ;;
   10327 
   10328 beos*)
   10329   library_names_spec='${libname}${shared_ext}'
   10330   dynamic_linker="$host_os ld.so"
   10331   shlibpath_var=LIBRARY_PATH
   10332   ;;
   10333 
   10334 bsdi[45]*)
   10335   version_type=linux
   10336   need_version=no
   10337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10338   soname_spec='${libname}${release}${shared_ext}$major'
   10339   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10340   shlibpath_var=LD_LIBRARY_PATH
   10341   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10342   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10343   # the default ld.so.conf also contains /usr/contrib/lib and
   10344   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10345   # libtool to hard-code these into programs
   10346   ;;
   10347 
   10348 cygwin* | mingw* | pw32* | cegcc*)
   10349   version_type=windows
   10350   shrext_cmds=".dll"
   10351   need_version=no
   10352   need_lib_prefix=no
   10353 
   10354   case $GCC,$host_os in
   10355   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10356     library_names_spec='$libname.dll.a'
   10357     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10358     postinstall_cmds='base_file=`basename \${file}`~
   10359       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10360       dldir=$destdir/`dirname \$dlpath`~
   10361       test -d \$dldir || mkdir -p \$dldir~
   10362       $install_prog $dir/$dlname \$dldir/$dlname~
   10363       chmod a+x \$dldir/$dlname~
   10364       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10365         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10366       fi'
   10367     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10368       dlpath=$dir/\$dldll~
   10369        $RM \$dlpath'
   10370     shlibpath_overrides_runpath=yes
   10371 
   10372     case $host_os in
   10373     cygwin*)
   10374       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10375       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10376 
   10377       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10378       ;;
   10379     mingw* | cegcc*)
   10380       # MinGW DLLs use traditional 'lib' prefix
   10381       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10382       ;;
   10383     pw32*)
   10384       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10385       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10386       ;;
   10387     esac
   10388     ;;
   10389 
   10390   *)
   10391     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10392     ;;
   10393   esac
   10394   dynamic_linker='Win32 ld.exe'
   10395   # FIXME: first we should search . and the directory the executable is in
   10396   shlibpath_var=PATH
   10397   ;;
   10398 
   10399 darwin* | rhapsody*)
   10400   dynamic_linker="$host_os dyld"
   10401   version_type=darwin
   10402   need_lib_prefix=no
   10403   need_version=no
   10404   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10405   soname_spec='${libname}${release}${major}$shared_ext'
   10406   shlibpath_overrides_runpath=yes
   10407   shlibpath_var=DYLD_LIBRARY_PATH
   10408   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10409 
   10410   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10411   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10412   ;;
   10413 
   10414 dgux*)
   10415   version_type=linux
   10416   need_lib_prefix=no
   10417   need_version=no
   10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10419   soname_spec='${libname}${release}${shared_ext}$major'
   10420   shlibpath_var=LD_LIBRARY_PATH
   10421   ;;
   10422 
   10423 freebsd1*)
   10424   dynamic_linker=no
   10425   ;;
   10426 
   10427 freebsd* | dragonfly*)
   10428   # DragonFly does not have aout.  When/if they implement a new
   10429   # versioning mechanism, adjust this.
   10430   if test -x /usr/bin/objformat; then
   10431     objformat=`/usr/bin/objformat`
   10432   else
   10433     case $host_os in
   10434     freebsd[123]*) objformat=aout ;;
   10435     *) objformat=elf ;;
   10436     esac
   10437   fi
   10438   version_type=freebsd-$objformat
   10439   case $version_type in
   10440     freebsd-elf*)
   10441       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10442       need_version=no
   10443       need_lib_prefix=no
   10444       ;;
   10445     freebsd-*)
   10446       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10447       need_version=yes
   10448       ;;
   10449   esac
   10450   shlibpath_var=LD_LIBRARY_PATH
   10451   case $host_os in
   10452   freebsd2*)
   10453     shlibpath_overrides_runpath=yes
   10454     ;;
   10455   freebsd3.[01]* | freebsdelf3.[01]*)
   10456     shlibpath_overrides_runpath=yes
   10457     hardcode_into_libs=yes
   10458     ;;
   10459   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10460   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10461     shlibpath_overrides_runpath=no
   10462     hardcode_into_libs=yes
   10463     ;;
   10464   *) # from 4.6 on, and DragonFly
   10465     shlibpath_overrides_runpath=yes
   10466     hardcode_into_libs=yes
   10467     ;;
   10468   esac
   10469   ;;
   10470 
   10471 gnu*)
   10472   version_type=linux
   10473   need_lib_prefix=no
   10474   need_version=no
   10475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10476   soname_spec='${libname}${release}${shared_ext}$major'
   10477   shlibpath_var=LD_LIBRARY_PATH
   10478   hardcode_into_libs=yes
   10479   ;;
   10480 
   10481 haiku*)
   10482   version_type=linux
   10483   need_lib_prefix=no
   10484   need_version=no
   10485   dynamic_linker="$host_os runtime_loader"
   10486   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10487   soname_spec='${libname}${release}${shared_ext}$major'
   10488   shlibpath_var=LIBRARY_PATH
   10489   shlibpath_overrides_runpath=yes
   10490   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10491   hardcode_into_libs=yes
   10492   ;;
   10493 
   10494 hpux9* | hpux10* | hpux11*)
   10495   # Give a soname corresponding to the major version so that dld.sl refuses to
   10496   # link against other versions.
   10497   version_type=sunos
   10498   need_lib_prefix=no
   10499   need_version=no
   10500   case $host_cpu in
   10501   ia64*)
   10502     shrext_cmds='.so'
   10503     hardcode_into_libs=yes
   10504     dynamic_linker="$host_os dld.so"
   10505     shlibpath_var=LD_LIBRARY_PATH
   10506     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10507     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10508     soname_spec='${libname}${release}${shared_ext}$major'
   10509     if test "X$HPUX_IA64_MODE" = X32; then
   10510       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10511     else
   10512       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10513     fi
   10514     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10515     ;;
   10516   hppa*64*)
   10517     shrext_cmds='.sl'
   10518     hardcode_into_libs=yes
   10519     dynamic_linker="$host_os dld.sl"
   10520     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10521     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10522     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10523     soname_spec='${libname}${release}${shared_ext}$major'
   10524     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10525     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10526     ;;
   10527   *)
   10528     shrext_cmds='.sl'
   10529     dynamic_linker="$host_os dld.sl"
   10530     shlibpath_var=SHLIB_PATH
   10531     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10532     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10533     soname_spec='${libname}${release}${shared_ext}$major'
   10534     ;;
   10535   esac
   10536   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10537   postinstall_cmds='chmod 555 $lib'
   10538   # or fails outright, so override atomically:
   10539   install_override_mode=555
   10540   ;;
   10541 
   10542 interix[3-9]*)
   10543   version_type=linux
   10544   need_lib_prefix=no
   10545   need_version=no
   10546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10547   soname_spec='${libname}${release}${shared_ext}$major'
   10548   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10549   shlibpath_var=LD_LIBRARY_PATH
   10550   shlibpath_overrides_runpath=no
   10551   hardcode_into_libs=yes
   10552   ;;
   10553 
   10554 irix5* | irix6* | nonstopux*)
   10555   case $host_os in
   10556     nonstopux*) version_type=nonstopux ;;
   10557     *)
   10558 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10559 		version_type=linux
   10560 	else
   10561 		version_type=irix
   10562 	fi ;;
   10563   esac
   10564   need_lib_prefix=no
   10565   need_version=no
   10566   soname_spec='${libname}${release}${shared_ext}$major'
   10567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10568   case $host_os in
   10569   irix5* | nonstopux*)
   10570     libsuff= shlibsuff=
   10571     ;;
   10572   *)
   10573     case $LD in # libtool.m4 will add one of these switches to LD
   10574     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10575       libsuff= shlibsuff= libmagic=32-bit;;
   10576     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10577       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10578     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10579       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10580     *) libsuff= shlibsuff= libmagic=never-match;;
   10581     esac
   10582     ;;
   10583   esac
   10584   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10585   shlibpath_overrides_runpath=no
   10586   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10587   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10588   hardcode_into_libs=yes
   10589   ;;
   10590 
   10591 # No shared lib support for Linux oldld, aout, or coff.
   10592 linux*oldld* | linux*aout* | linux*coff*)
   10593   dynamic_linker=no
   10594   ;;
   10595 
   10596 # This must be Linux ELF.
   10597 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10598   version_type=linux
   10599   need_lib_prefix=no
   10600   need_version=no
   10601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10602   soname_spec='${libname}${release}${shared_ext}$major'
   10603   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10604   shlibpath_var=LD_LIBRARY_PATH
   10605   shlibpath_overrides_runpath=no
   10606 
   10607   # Some binutils ld are patched to set DT_RUNPATH
   10608   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10609   $as_echo_n "(cached) " >&6
   10610 else
   10611   lt_cv_shlibpath_overrides_runpath=no
   10612     save_LDFLAGS=$LDFLAGS
   10613     save_libdir=$libdir
   10614     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10615 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10616     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10617 /* end confdefs.h.  */
   10618 
   10619 int
   10620 main ()
   10621 {
   10622 
   10623   ;
   10624   return 0;
   10625 }
   10626 _ACEOF
   10627 if ac_fn_c_try_link "$LINENO"; then :
   10628   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10629   lt_cv_shlibpath_overrides_runpath=yes
   10630 fi
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext \
   10633     conftest$ac_exeext conftest.$ac_ext
   10634     LDFLAGS=$save_LDFLAGS
   10635     libdir=$save_libdir
   10636 
   10637 fi
   10638 
   10639   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10640 
   10641   # This implies no fast_install, which is unacceptable.
   10642   # Some rework will be needed to allow for fast_install
   10643   # before this can be enabled.
   10644   hardcode_into_libs=yes
   10645 
   10646   # Append ld.so.conf contents to the search path
   10647   if test -f /etc/ld.so.conf; then
   10648     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   10649     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10650   fi
   10651 
   10652   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10653   # powerpc, because MkLinux only supported shared libraries with the
   10654   # GNU dynamic linker.  Since this was broken with cross compilers,
   10655   # most powerpc-linux boxes support dynamic linking these days and
   10656   # people can always --disable-shared, the test was removed, and we
   10657   # assume the GNU/Linux dynamic linker is in use.
   10658   dynamic_linker='GNU/Linux ld.so'
   10659   ;;
   10660 
   10661 netbsd*)
   10662   version_type=sunos
   10663   need_lib_prefix=no
   10664   need_version=no
   10665   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10667     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10668     dynamic_linker='NetBSD (a.out) ld.so'
   10669   else
   10670     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10671     soname_spec='${libname}${release}${shared_ext}$major'
   10672     dynamic_linker='NetBSD ld.elf_so'
   10673   fi
   10674   shlibpath_var=LD_LIBRARY_PATH
   10675   shlibpath_overrides_runpath=yes
   10676   hardcode_into_libs=yes
   10677   ;;
   10678 
   10679 newsos6)
   10680   version_type=linux
   10681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10682   shlibpath_var=LD_LIBRARY_PATH
   10683   shlibpath_overrides_runpath=yes
   10684   ;;
   10685 
   10686 *nto* | *qnx*)
   10687   version_type=qnx
   10688   need_lib_prefix=no
   10689   need_version=no
   10690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10691   soname_spec='${libname}${release}${shared_ext}$major'
   10692   shlibpath_var=LD_LIBRARY_PATH
   10693   shlibpath_overrides_runpath=no
   10694   hardcode_into_libs=yes
   10695   dynamic_linker='ldqnx.so'
   10696   ;;
   10697 
   10698 openbsd*)
   10699   version_type=sunos
   10700   sys_lib_dlsearch_path_spec="/usr/lib"
   10701   need_lib_prefix=no
   10702   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10703   case $host_os in
   10704     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10705     *)				need_version=no  ;;
   10706   esac
   10707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10708   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10709   shlibpath_var=LD_LIBRARY_PATH
   10710   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10711     case $host_os in
   10712       openbsd2.[89] | openbsd2.[89].*)
   10713 	shlibpath_overrides_runpath=no
   10714 	;;
   10715       *)
   10716 	shlibpath_overrides_runpath=yes
   10717 	;;
   10718       esac
   10719   else
   10720     shlibpath_overrides_runpath=yes
   10721   fi
   10722   ;;
   10723 
   10724 os2*)
   10725   libname_spec='$name'
   10726   shrext_cmds=".dll"
   10727   need_lib_prefix=no
   10728   library_names_spec='$libname${shared_ext} $libname.a'
   10729   dynamic_linker='OS/2 ld.exe'
   10730   shlibpath_var=LIBPATH
   10731   ;;
   10732 
   10733 osf3* | osf4* | osf5*)
   10734   version_type=osf
   10735   need_lib_prefix=no
   10736   need_version=no
   10737   soname_spec='${libname}${release}${shared_ext}$major'
   10738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10739   shlibpath_var=LD_LIBRARY_PATH
   10740   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10741   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10742   ;;
   10743 
   10744 rdos*)
   10745   dynamic_linker=no
   10746   ;;
   10747 
   10748 solaris*)
   10749   version_type=linux
   10750   need_lib_prefix=no
   10751   need_version=no
   10752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10753   soname_spec='${libname}${release}${shared_ext}$major'
   10754   shlibpath_var=LD_LIBRARY_PATH
   10755   shlibpath_overrides_runpath=yes
   10756   hardcode_into_libs=yes
   10757   # ldd complains unless libraries are executable
   10758   postinstall_cmds='chmod +x $lib'
   10759   ;;
   10760 
   10761 sunos4*)
   10762   version_type=sunos
   10763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10764   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10765   shlibpath_var=LD_LIBRARY_PATH
   10766   shlibpath_overrides_runpath=yes
   10767   if test "$with_gnu_ld" = yes; then
   10768     need_lib_prefix=no
   10769   fi
   10770   need_version=yes
   10771   ;;
   10772 
   10773 sysv4 | sysv4.3*)
   10774   version_type=linux
   10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10776   soname_spec='${libname}${release}${shared_ext}$major'
   10777   shlibpath_var=LD_LIBRARY_PATH
   10778   case $host_vendor in
   10779     sni)
   10780       shlibpath_overrides_runpath=no
   10781       need_lib_prefix=no
   10782       runpath_var=LD_RUN_PATH
   10783       ;;
   10784     siemens)
   10785       need_lib_prefix=no
   10786       ;;
   10787     motorola)
   10788       need_lib_prefix=no
   10789       need_version=no
   10790       shlibpath_overrides_runpath=no
   10791       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10792       ;;
   10793   esac
   10794   ;;
   10795 
   10796 sysv4*MP*)
   10797   if test -d /usr/nec ;then
   10798     version_type=linux
   10799     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10800     soname_spec='$libname${shared_ext}.$major'
   10801     shlibpath_var=LD_LIBRARY_PATH
   10802   fi
   10803   ;;
   10804 
   10805 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10806   version_type=freebsd-elf
   10807   need_lib_prefix=no
   10808   need_version=no
   10809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10810   soname_spec='${libname}${release}${shared_ext}$major'
   10811   shlibpath_var=LD_LIBRARY_PATH
   10812   shlibpath_overrides_runpath=yes
   10813   hardcode_into_libs=yes
   10814   if test "$with_gnu_ld" = yes; then
   10815     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10816   else
   10817     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10818     case $host_os in
   10819       sco3.2v5*)
   10820         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10821 	;;
   10822     esac
   10823   fi
   10824   sys_lib_dlsearch_path_spec='/usr/lib'
   10825   ;;
   10826 
   10827 tpf*)
   10828   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10829   version_type=linux
   10830   need_lib_prefix=no
   10831   need_version=no
   10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10833   shlibpath_var=LD_LIBRARY_PATH
   10834   shlibpath_overrides_runpath=no
   10835   hardcode_into_libs=yes
   10836   ;;
   10837 
   10838 uts4*)
   10839   version_type=linux
   10840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10841   soname_spec='${libname}${release}${shared_ext}$major'
   10842   shlibpath_var=LD_LIBRARY_PATH
   10843   ;;
   10844 
   10845 *)
   10846   dynamic_linker=no
   10847   ;;
   10848 esac
   10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10850 $as_echo "$dynamic_linker" >&6; }
   10851 test "$dynamic_linker" = no && can_build_shared=no
   10852 
   10853 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10854 if test "$GCC" = yes; then
   10855   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10856 fi
   10857 
   10858 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10859   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10860 fi
   10861 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10862   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10863 fi
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10957 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10958 hardcode_action=
   10959 if test -n "$hardcode_libdir_flag_spec" ||
   10960    test -n "$runpath_var" ||
   10961    test "X$hardcode_automatic" = "Xyes" ; then
   10962 
   10963   # We can hardcode non-existent directories.
   10964   if test "$hardcode_direct" != no &&
   10965      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10966      # have to relink, otherwise we might link with an installed library
   10967      # when we should be linking with a yet-to-be-installed one
   10968      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10969      test "$hardcode_minus_L" != no; then
   10970     # Linking always hardcodes the temporary library directory.
   10971     hardcode_action=relink
   10972   else
   10973     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10974     hardcode_action=immediate
   10975   fi
   10976 else
   10977   # We cannot hardcode anything, or else we can only hardcode existing
   10978   # directories.
   10979   hardcode_action=unsupported
   10980 fi
   10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10982 $as_echo "$hardcode_action" >&6; }
   10983 
   10984 if test "$hardcode_action" = relink ||
   10985    test "$inherit_rpath" = yes; then
   10986   # Fast installation is not supported
   10987   enable_fast_install=no
   10988 elif test "$shlibpath_overrides_runpath" = yes ||
   10989      test "$enable_shared" = no; then
   10990   # Fast installation is not necessary
   10991   enable_fast_install=needless
   10992 fi
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999   if test "x$enable_dlopen" != xyes; then
   11000   enable_dlopen=unknown
   11001   enable_dlopen_self=unknown
   11002   enable_dlopen_self_static=unknown
   11003 else
   11004   lt_cv_dlopen=no
   11005   lt_cv_dlopen_libs=
   11006 
   11007   case $host_os in
   11008   beos*)
   11009     lt_cv_dlopen="load_add_on"
   11010     lt_cv_dlopen_libs=
   11011     lt_cv_dlopen_self=yes
   11012     ;;
   11013 
   11014   mingw* | pw32* | cegcc*)
   11015     lt_cv_dlopen="LoadLibrary"
   11016     lt_cv_dlopen_libs=
   11017     ;;
   11018 
   11019   cygwin*)
   11020     lt_cv_dlopen="dlopen"
   11021     lt_cv_dlopen_libs=
   11022     ;;
   11023 
   11024   darwin*)
   11025   # if libdl is installed we need to link against it
   11026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11027 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11028 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11029   $as_echo_n "(cached) " >&6
   11030 else
   11031   ac_check_lib_save_LIBS=$LIBS
   11032 LIBS="-ldl  $LIBS"
   11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11034 /* end confdefs.h.  */
   11035 
   11036 /* Override any GCC internal prototype to avoid an error.
   11037    Use char because int might match the return type of a GCC
   11038    builtin and then its argument prototype would still apply.  */
   11039 #ifdef __cplusplus
   11040 extern "C"
   11041 #endif
   11042 char dlopen ();
   11043 int
   11044 main ()
   11045 {
   11046 return dlopen ();
   11047   ;
   11048   return 0;
   11049 }
   11050 _ACEOF
   11051 if ac_fn_c_try_link "$LINENO"; then :
   11052   ac_cv_lib_dl_dlopen=yes
   11053 else
   11054   ac_cv_lib_dl_dlopen=no
   11055 fi
   11056 rm -f core conftest.err conftest.$ac_objext \
   11057     conftest$ac_exeext conftest.$ac_ext
   11058 LIBS=$ac_check_lib_save_LIBS
   11059 fi
   11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11061 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11062 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11063   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11064 else
   11065 
   11066     lt_cv_dlopen="dyld"
   11067     lt_cv_dlopen_libs=
   11068     lt_cv_dlopen_self=yes
   11069 
   11070 fi
   11071 
   11072     ;;
   11073 
   11074   *)
   11075     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11076 if test "x$ac_cv_func_shl_load" = xyes; then :
   11077   lt_cv_dlopen="shl_load"
   11078 else
   11079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11080 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11081 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11082   $as_echo_n "(cached) " >&6
   11083 else
   11084   ac_check_lib_save_LIBS=$LIBS
   11085 LIBS="-ldld  $LIBS"
   11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11087 /* end confdefs.h.  */
   11088 
   11089 /* Override any GCC internal prototype to avoid an error.
   11090    Use char because int might match the return type of a GCC
   11091    builtin and then its argument prototype would still apply.  */
   11092 #ifdef __cplusplus
   11093 extern "C"
   11094 #endif
   11095 char shl_load ();
   11096 int
   11097 main ()
   11098 {
   11099 return shl_load ();
   11100   ;
   11101   return 0;
   11102 }
   11103 _ACEOF
   11104 if ac_fn_c_try_link "$LINENO"; then :
   11105   ac_cv_lib_dld_shl_load=yes
   11106 else
   11107   ac_cv_lib_dld_shl_load=no
   11108 fi
   11109 rm -f core conftest.err conftest.$ac_objext \
   11110     conftest$ac_exeext conftest.$ac_ext
   11111 LIBS=$ac_check_lib_save_LIBS
   11112 fi
   11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11114 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11115 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11116   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11117 else
   11118   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11119 if test "x$ac_cv_func_dlopen" = xyes; then :
   11120   lt_cv_dlopen="dlopen"
   11121 else
   11122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11123 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11124 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11125   $as_echo_n "(cached) " >&6
   11126 else
   11127   ac_check_lib_save_LIBS=$LIBS
   11128 LIBS="-ldl  $LIBS"
   11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11130 /* end confdefs.h.  */
   11131 
   11132 /* Override any GCC internal prototype to avoid an error.
   11133    Use char because int might match the return type of a GCC
   11134    builtin and then its argument prototype would still apply.  */
   11135 #ifdef __cplusplus
   11136 extern "C"
   11137 #endif
   11138 char dlopen ();
   11139 int
   11140 main ()
   11141 {
   11142 return dlopen ();
   11143   ;
   11144   return 0;
   11145 }
   11146 _ACEOF
   11147 if ac_fn_c_try_link "$LINENO"; then :
   11148   ac_cv_lib_dl_dlopen=yes
   11149 else
   11150   ac_cv_lib_dl_dlopen=no
   11151 fi
   11152 rm -f core conftest.err conftest.$ac_objext \
   11153     conftest$ac_exeext conftest.$ac_ext
   11154 LIBS=$ac_check_lib_save_LIBS
   11155 fi
   11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11157 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11158 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11159   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11160 else
   11161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11162 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11163 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11164   $as_echo_n "(cached) " >&6
   11165 else
   11166   ac_check_lib_save_LIBS=$LIBS
   11167 LIBS="-lsvld  $LIBS"
   11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11169 /* end confdefs.h.  */
   11170 
   11171 /* Override any GCC internal prototype to avoid an error.
   11172    Use char because int might match the return type of a GCC
   11173    builtin and then its argument prototype would still apply.  */
   11174 #ifdef __cplusplus
   11175 extern "C"
   11176 #endif
   11177 char dlopen ();
   11178 int
   11179 main ()
   11180 {
   11181 return dlopen ();
   11182   ;
   11183   return 0;
   11184 }
   11185 _ACEOF
   11186 if ac_fn_c_try_link "$LINENO"; then :
   11187   ac_cv_lib_svld_dlopen=yes
   11188 else
   11189   ac_cv_lib_svld_dlopen=no
   11190 fi
   11191 rm -f core conftest.err conftest.$ac_objext \
   11192     conftest$ac_exeext conftest.$ac_ext
   11193 LIBS=$ac_check_lib_save_LIBS
   11194 fi
   11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11196 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11197 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11198   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11199 else
   11200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11201 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11202 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11203   $as_echo_n "(cached) " >&6
   11204 else
   11205   ac_check_lib_save_LIBS=$LIBS
   11206 LIBS="-ldld  $LIBS"
   11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11208 /* end confdefs.h.  */
   11209 
   11210 /* Override any GCC internal prototype to avoid an error.
   11211    Use char because int might match the return type of a GCC
   11212    builtin and then its argument prototype would still apply.  */
   11213 #ifdef __cplusplus
   11214 extern "C"
   11215 #endif
   11216 char dld_link ();
   11217 int
   11218 main ()
   11219 {
   11220 return dld_link ();
   11221   ;
   11222   return 0;
   11223 }
   11224 _ACEOF
   11225 if ac_fn_c_try_link "$LINENO"; then :
   11226   ac_cv_lib_dld_dld_link=yes
   11227 else
   11228   ac_cv_lib_dld_dld_link=no
   11229 fi
   11230 rm -f core conftest.err conftest.$ac_objext \
   11231     conftest$ac_exeext conftest.$ac_ext
   11232 LIBS=$ac_check_lib_save_LIBS
   11233 fi
   11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11235 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11236 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11237   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11238 fi
   11239 
   11240 
   11241 fi
   11242 
   11243 
   11244 fi
   11245 
   11246 
   11247 fi
   11248 
   11249 
   11250 fi
   11251 
   11252 
   11253 fi
   11254 
   11255     ;;
   11256   esac
   11257 
   11258   if test "x$lt_cv_dlopen" != xno; then
   11259     enable_dlopen=yes
   11260   else
   11261     enable_dlopen=no
   11262   fi
   11263 
   11264   case $lt_cv_dlopen in
   11265   dlopen)
   11266     save_CPPFLAGS="$CPPFLAGS"
   11267     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11268 
   11269     save_LDFLAGS="$LDFLAGS"
   11270     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11271 
   11272     save_LIBS="$LIBS"
   11273     LIBS="$lt_cv_dlopen_libs $LIBS"
   11274 
   11275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11276 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11277 if ${lt_cv_dlopen_self+:} false; then :
   11278   $as_echo_n "(cached) " >&6
   11279 else
   11280   	  if test "$cross_compiling" = yes; then :
   11281   lt_cv_dlopen_self=cross
   11282 else
   11283   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11284   lt_status=$lt_dlunknown
   11285   cat > conftest.$ac_ext <<_LT_EOF
   11286 #line $LINENO "configure"
   11287 #include "confdefs.h"
   11288 
   11289 #if HAVE_DLFCN_H
   11290 #include <dlfcn.h>
   11291 #endif
   11292 
   11293 #include <stdio.h>
   11294 
   11295 #ifdef RTLD_GLOBAL
   11296 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11297 #else
   11298 #  ifdef DL_GLOBAL
   11299 #    define LT_DLGLOBAL		DL_GLOBAL
   11300 #  else
   11301 #    define LT_DLGLOBAL		0
   11302 #  endif
   11303 #endif
   11304 
   11305 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11306    find out it does not work in some platform. */
   11307 #ifndef LT_DLLAZY_OR_NOW
   11308 #  ifdef RTLD_LAZY
   11309 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11310 #  else
   11311 #    ifdef DL_LAZY
   11312 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11313 #    else
   11314 #      ifdef RTLD_NOW
   11315 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11316 #      else
   11317 #        ifdef DL_NOW
   11318 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11319 #        else
   11320 #          define LT_DLLAZY_OR_NOW	0
   11321 #        endif
   11322 #      endif
   11323 #    endif
   11324 #  endif
   11325 #endif
   11326 
   11327 /* When -fvisbility=hidden is used, assume the code has been annotated
   11328    correspondingly for the symbols needed.  */
   11329 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11330 void fnord () __attribute__((visibility("default")));
   11331 #endif
   11332 
   11333 void fnord () { int i=42; }
   11334 int main ()
   11335 {
   11336   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11337   int status = $lt_dlunknown;
   11338 
   11339   if (self)
   11340     {
   11341       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11342       else
   11343         {
   11344 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11345           else puts (dlerror ());
   11346 	}
   11347       /* dlclose (self); */
   11348     }
   11349   else
   11350     puts (dlerror ());
   11351 
   11352   return status;
   11353 }
   11354 _LT_EOF
   11355   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11356   (eval $ac_link) 2>&5
   11357   ac_status=$?
   11358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11359   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11360     (./conftest; exit; ) >&5 2>/dev/null
   11361     lt_status=$?
   11362     case x$lt_status in
   11363       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11364       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11365       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11366     esac
   11367   else :
   11368     # compilation failed
   11369     lt_cv_dlopen_self=no
   11370   fi
   11371 fi
   11372 rm -fr conftest*
   11373 
   11374 
   11375 fi
   11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11377 $as_echo "$lt_cv_dlopen_self" >&6; }
   11378 
   11379     if test "x$lt_cv_dlopen_self" = xyes; then
   11380       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11381       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11382 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11383 if ${lt_cv_dlopen_self_static+:} false; then :
   11384   $as_echo_n "(cached) " >&6
   11385 else
   11386   	  if test "$cross_compiling" = yes; then :
   11387   lt_cv_dlopen_self_static=cross
   11388 else
   11389   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11390   lt_status=$lt_dlunknown
   11391   cat > conftest.$ac_ext <<_LT_EOF
   11392 #line $LINENO "configure"
   11393 #include "confdefs.h"
   11394 
   11395 #if HAVE_DLFCN_H
   11396 #include <dlfcn.h>
   11397 #endif
   11398 
   11399 #include <stdio.h>
   11400 
   11401 #ifdef RTLD_GLOBAL
   11402 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11403 #else
   11404 #  ifdef DL_GLOBAL
   11405 #    define LT_DLGLOBAL		DL_GLOBAL
   11406 #  else
   11407 #    define LT_DLGLOBAL		0
   11408 #  endif
   11409 #endif
   11410 
   11411 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11412    find out it does not work in some platform. */
   11413 #ifndef LT_DLLAZY_OR_NOW
   11414 #  ifdef RTLD_LAZY
   11415 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11416 #  else
   11417 #    ifdef DL_LAZY
   11418 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11419 #    else
   11420 #      ifdef RTLD_NOW
   11421 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11422 #      else
   11423 #        ifdef DL_NOW
   11424 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11425 #        else
   11426 #          define LT_DLLAZY_OR_NOW	0
   11427 #        endif
   11428 #      endif
   11429 #    endif
   11430 #  endif
   11431 #endif
   11432 
   11433 /* When -fvisbility=hidden is used, assume the code has been annotated
   11434    correspondingly for the symbols needed.  */
   11435 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11436 void fnord () __attribute__((visibility("default")));
   11437 #endif
   11438 
   11439 void fnord () { int i=42; }
   11440 int main ()
   11441 {
   11442   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11443   int status = $lt_dlunknown;
   11444 
   11445   if (self)
   11446     {
   11447       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11448       else
   11449         {
   11450 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11451           else puts (dlerror ());
   11452 	}
   11453       /* dlclose (self); */
   11454     }
   11455   else
   11456     puts (dlerror ());
   11457 
   11458   return status;
   11459 }
   11460 _LT_EOF
   11461   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11462   (eval $ac_link) 2>&5
   11463   ac_status=$?
   11464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11465   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11466     (./conftest; exit; ) >&5 2>/dev/null
   11467     lt_status=$?
   11468     case x$lt_status in
   11469       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11470       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11471       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11472     esac
   11473   else :
   11474     # compilation failed
   11475     lt_cv_dlopen_self_static=no
   11476   fi
   11477 fi
   11478 rm -fr conftest*
   11479 
   11480 
   11481 fi
   11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11483 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11484     fi
   11485 
   11486     CPPFLAGS="$save_CPPFLAGS"
   11487     LDFLAGS="$save_LDFLAGS"
   11488     LIBS="$save_LIBS"
   11489     ;;
   11490   esac
   11491 
   11492   case $lt_cv_dlopen_self in
   11493   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11494   *) enable_dlopen_self=unknown ;;
   11495   esac
   11496 
   11497   case $lt_cv_dlopen_self_static in
   11498   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11499   *) enable_dlopen_self_static=unknown ;;
   11500   esac
   11501 fi
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 striplib=
   11520 old_striplib=
   11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11522 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11523 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11524   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11525   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11527 $as_echo "yes" >&6; }
   11528 else
   11529 # FIXME - insert some real tests, host_os isn't really good enough
   11530   case $host_os in
   11531   darwin*)
   11532     if test -n "$STRIP" ; then
   11533       striplib="$STRIP -x"
   11534       old_striplib="$STRIP -S"
   11535       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11536 $as_echo "yes" >&6; }
   11537     else
   11538       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11539 $as_echo "no" >&6; }
   11540     fi
   11541     ;;
   11542   *)
   11543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11544 $as_echo "no" >&6; }
   11545     ;;
   11546   esac
   11547 fi
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560   # Report which library types will actually be built
   11561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11562 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11564 $as_echo "$can_build_shared" >&6; }
   11565 
   11566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11567 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11568   test "$can_build_shared" = "no" && enable_shared=no
   11569 
   11570   # On AIX, shared libraries and static libraries use the same namespace, and
   11571   # are all built from PIC.
   11572   case $host_os in
   11573   aix3*)
   11574     test "$enable_shared" = yes && enable_static=no
   11575     if test -n "$RANLIB"; then
   11576       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11577       postinstall_cmds='$RANLIB $lib'
   11578     fi
   11579     ;;
   11580 
   11581   aix[4-9]*)
   11582     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11583       test "$enable_shared" = yes && enable_static=no
   11584     fi
   11585     ;;
   11586   esac
   11587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11588 $as_echo "$enable_shared" >&6; }
   11589 
   11590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11591 $as_echo_n "checking whether to build static libraries... " >&6; }
   11592   # Make sure either enable_shared or enable_static is yes.
   11593   test "$enable_shared" = yes || enable_static=yes
   11594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11595 $as_echo "$enable_static" >&6; }
   11596 
   11597 
   11598 
   11599 
   11600 fi
   11601 ac_ext=c
   11602 ac_cpp='$CPP $CPPFLAGS'
   11603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11606 
   11607 CC="$lt_save_CC"
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621         ac_config_commands="$ac_config_commands libtool"
   11622 
   11623 
   11624 
   11625 
   11626 # Only expand once:
   11627 
   11628 
   11629 ac_ext=c
   11630 ac_cpp='$CPP $CPPFLAGS'
   11631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11634 if test -n "$ac_tool_prefix"; then
   11635   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11638 $as_echo_n "checking for $ac_word... " >&6; }
   11639 if ${ac_cv_prog_CC+:} false; then :
   11640   $as_echo_n "(cached) " >&6
   11641 else
   11642   if test -n "$CC"; then
   11643   ac_cv_prog_CC="$CC" # Let the user override the test.
   11644 else
   11645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11646 for as_dir in $PATH
   11647 do
   11648   IFS=$as_save_IFS
   11649   test -z "$as_dir" && as_dir=.
   11650     for ac_exec_ext in '' $ac_executable_extensions; do
   11651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11652     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11654     break 2
   11655   fi
   11656 done
   11657   done
   11658 IFS=$as_save_IFS
   11659 
   11660 fi
   11661 fi
   11662 CC=$ac_cv_prog_CC
   11663 if test -n "$CC"; then
   11664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11665 $as_echo "$CC" >&6; }
   11666 else
   11667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11668 $as_echo "no" >&6; }
   11669 fi
   11670 
   11671 
   11672 fi
   11673 if test -z "$ac_cv_prog_CC"; then
   11674   ac_ct_CC=$CC
   11675   # Extract the first word of "gcc", so it can be a program name with args.
   11676 set dummy gcc; ac_word=$2
   11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11678 $as_echo_n "checking for $ac_word... " >&6; }
   11679 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   11680   $as_echo_n "(cached) " >&6
   11681 else
   11682   if test -n "$ac_ct_CC"; then
   11683   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11684 else
   11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11686 for as_dir in $PATH
   11687 do
   11688   IFS=$as_save_IFS
   11689   test -z "$as_dir" && as_dir=.
   11690     for ac_exec_ext in '' $ac_executable_extensions; do
   11691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11692     ac_cv_prog_ac_ct_CC="gcc"
   11693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11694     break 2
   11695   fi
   11696 done
   11697   done
   11698 IFS=$as_save_IFS
   11699 
   11700 fi
   11701 fi
   11702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11703 if test -n "$ac_ct_CC"; then
   11704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11705 $as_echo "$ac_ct_CC" >&6; }
   11706 else
   11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11708 $as_echo "no" >&6; }
   11709 fi
   11710 
   11711   if test "x$ac_ct_CC" = x; then
   11712     CC=""
   11713   else
   11714     case $cross_compiling:$ac_tool_warned in
   11715 yes:)
   11716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11718 ac_tool_warned=yes ;;
   11719 esac
   11720     CC=$ac_ct_CC
   11721   fi
   11722 else
   11723   CC="$ac_cv_prog_CC"
   11724 fi
   11725 
   11726 if test -z "$CC"; then
   11727           if test -n "$ac_tool_prefix"; then
   11728     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11729 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11731 $as_echo_n "checking for $ac_word... " >&6; }
   11732 if ${ac_cv_prog_CC+:} false; then :
   11733   $as_echo_n "(cached) " >&6
   11734 else
   11735   if test -n "$CC"; then
   11736   ac_cv_prog_CC="$CC" # Let the user override the test.
   11737 else
   11738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11739 for as_dir in $PATH
   11740 do
   11741   IFS=$as_save_IFS
   11742   test -z "$as_dir" && as_dir=.
   11743     for ac_exec_ext in '' $ac_executable_extensions; do
   11744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11745     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11747     break 2
   11748   fi
   11749 done
   11750   done
   11751 IFS=$as_save_IFS
   11752 
   11753 fi
   11754 fi
   11755 CC=$ac_cv_prog_CC
   11756 if test -n "$CC"; then
   11757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11758 $as_echo "$CC" >&6; }
   11759 else
   11760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11761 $as_echo "no" >&6; }
   11762 fi
   11763 
   11764 
   11765   fi
   11766 fi
   11767 if test -z "$CC"; then
   11768   # Extract the first word of "cc", so it can be a program name with args.
   11769 set dummy cc; ac_word=$2
   11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11771 $as_echo_n "checking for $ac_word... " >&6; }
   11772 if ${ac_cv_prog_CC+:} false; then :
   11773   $as_echo_n "(cached) " >&6
   11774 else
   11775   if test -n "$CC"; then
   11776   ac_cv_prog_CC="$CC" # Let the user override the test.
   11777 else
   11778   ac_prog_rejected=no
   11779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11780 for as_dir in $PATH
   11781 do
   11782   IFS=$as_save_IFS
   11783   test -z "$as_dir" && as_dir=.
   11784     for ac_exec_ext in '' $ac_executable_extensions; do
   11785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11786     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11787        ac_prog_rejected=yes
   11788        continue
   11789      fi
   11790     ac_cv_prog_CC="cc"
   11791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11792     break 2
   11793   fi
   11794 done
   11795   done
   11796 IFS=$as_save_IFS
   11797 
   11798 if test $ac_prog_rejected = yes; then
   11799   # We found a bogon in the path, so make sure we never use it.
   11800   set dummy $ac_cv_prog_CC
   11801   shift
   11802   if test $# != 0; then
   11803     # We chose a different compiler from the bogus one.
   11804     # However, it has the same basename, so the bogon will be chosen
   11805     # first if we set CC to just the basename; use the full file name.
   11806     shift
   11807     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11808   fi
   11809 fi
   11810 fi
   11811 fi
   11812 CC=$ac_cv_prog_CC
   11813 if test -n "$CC"; then
   11814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11815 $as_echo "$CC" >&6; }
   11816 else
   11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11818 $as_echo "no" >&6; }
   11819 fi
   11820 
   11821 
   11822 fi
   11823 if test -z "$CC"; then
   11824   if test -n "$ac_tool_prefix"; then
   11825   for ac_prog in cl.exe
   11826   do
   11827     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11830 $as_echo_n "checking for $ac_word... " >&6; }
   11831 if ${ac_cv_prog_CC+:} false; then :
   11832   $as_echo_n "(cached) " >&6
   11833 else
   11834   if test -n "$CC"; then
   11835   ac_cv_prog_CC="$CC" # Let the user override the test.
   11836 else
   11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11838 for as_dir in $PATH
   11839 do
   11840   IFS=$as_save_IFS
   11841   test -z "$as_dir" && as_dir=.
   11842     for ac_exec_ext in '' $ac_executable_extensions; do
   11843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11844     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11846     break 2
   11847   fi
   11848 done
   11849   done
   11850 IFS=$as_save_IFS
   11851 
   11852 fi
   11853 fi
   11854 CC=$ac_cv_prog_CC
   11855 if test -n "$CC"; then
   11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11857 $as_echo "$CC" >&6; }
   11858 else
   11859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11860 $as_echo "no" >&6; }
   11861 fi
   11862 
   11863 
   11864     test -n "$CC" && break
   11865   done
   11866 fi
   11867 if test -z "$CC"; then
   11868   ac_ct_CC=$CC
   11869   for ac_prog in cl.exe
   11870 do
   11871   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11872 set dummy $ac_prog; ac_word=$2
   11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11874 $as_echo_n "checking for $ac_word... " >&6; }
   11875 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   11876   $as_echo_n "(cached) " >&6
   11877 else
   11878   if test -n "$ac_ct_CC"; then
   11879   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11880 else
   11881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11882 for as_dir in $PATH
   11883 do
   11884   IFS=$as_save_IFS
   11885   test -z "$as_dir" && as_dir=.
   11886     for ac_exec_ext in '' $ac_executable_extensions; do
   11887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11888     ac_cv_prog_ac_ct_CC="$ac_prog"
   11889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11890     break 2
   11891   fi
   11892 done
   11893   done
   11894 IFS=$as_save_IFS
   11895 
   11896 fi
   11897 fi
   11898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11899 if test -n "$ac_ct_CC"; then
   11900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11901 $as_echo "$ac_ct_CC" >&6; }
   11902 else
   11903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11904 $as_echo "no" >&6; }
   11905 fi
   11906 
   11907 
   11908   test -n "$ac_ct_CC" && break
   11909 done
   11910 
   11911   if test "x$ac_ct_CC" = x; then
   11912     CC=""
   11913   else
   11914     case $cross_compiling:$ac_tool_warned in
   11915 yes:)
   11916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11918 ac_tool_warned=yes ;;
   11919 esac
   11920     CC=$ac_ct_CC
   11921   fi
   11922 fi
   11923 
   11924 fi
   11925 
   11926 
   11927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11929 as_fn_error $? "no acceptable C compiler found in \$PATH
   11930 See \`config.log' for more details" "$LINENO" 5; }
   11931 
   11932 # Provide some information about the compiler.
   11933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   11934 set X $ac_compile
   11935 ac_compiler=$2
   11936 for ac_option in --version -v -V -qversion; do
   11937   { { ac_try="$ac_compiler $ac_option >&5"
   11938 case "(($ac_try" in
   11939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11940   *) ac_try_echo=$ac_try;;
   11941 esac
   11942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11943 $as_echo "$ac_try_echo"; } >&5
   11944   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   11945   ac_status=$?
   11946   if test -s conftest.err; then
   11947     sed '10a\
   11948 ... rest of stderr output deleted ...
   11949          10q' conftest.err >conftest.er1
   11950     cat conftest.er1 >&5
   11951   fi
   11952   rm -f conftest.er1 conftest.err
   11953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11954   test $ac_status = 0; }
   11955 done
   11956 
   11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   11958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11959 if ${ac_cv_c_compiler_gnu+:} false; then :
   11960   $as_echo_n "(cached) " >&6
   11961 else
   11962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11963 /* end confdefs.h.  */
   11964 
   11965 int
   11966 main ()
   11967 {
   11968 #ifndef __GNUC__
   11969        choke me
   11970 #endif
   11971 
   11972   ;
   11973   return 0;
   11974 }
   11975 _ACEOF
   11976 if ac_fn_c_try_compile "$LINENO"; then :
   11977   ac_compiler_gnu=yes
   11978 else
   11979   ac_compiler_gnu=no
   11980 fi
   11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11983 
   11984 fi
   11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   11986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11987 if test $ac_compiler_gnu = yes; then
   11988   GCC=yes
   11989 else
   11990   GCC=
   11991 fi
   11992 ac_test_CFLAGS=${CFLAGS+set}
   11993 ac_save_CFLAGS=$CFLAGS
   11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   11995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11996 if ${ac_cv_prog_cc_g+:} false; then :
   11997   $as_echo_n "(cached) " >&6
   11998 else
   11999   ac_save_c_werror_flag=$ac_c_werror_flag
   12000    ac_c_werror_flag=yes
   12001    ac_cv_prog_cc_g=no
   12002    CFLAGS="-g"
   12003    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12004 /* end confdefs.h.  */
   12005 
   12006 int
   12007 main ()
   12008 {
   12009 
   12010   ;
   12011   return 0;
   12012 }
   12013 _ACEOF
   12014 if ac_fn_c_try_compile "$LINENO"; then :
   12015   ac_cv_prog_cc_g=yes
   12016 else
   12017   CFLAGS=""
   12018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12019 /* end confdefs.h.  */
   12020 
   12021 int
   12022 main ()
   12023 {
   12024 
   12025   ;
   12026   return 0;
   12027 }
   12028 _ACEOF
   12029 if ac_fn_c_try_compile "$LINENO"; then :
   12030 
   12031 else
   12032   ac_c_werror_flag=$ac_save_c_werror_flag
   12033 	 CFLAGS="-g"
   12034 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12035 /* end confdefs.h.  */
   12036 
   12037 int
   12038 main ()
   12039 {
   12040 
   12041   ;
   12042   return 0;
   12043 }
   12044 _ACEOF
   12045 if ac_fn_c_try_compile "$LINENO"; then :
   12046   ac_cv_prog_cc_g=yes
   12047 fi
   12048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12049 fi
   12050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12051 fi
   12052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12053    ac_c_werror_flag=$ac_save_c_werror_flag
   12054 fi
   12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   12056 $as_echo "$ac_cv_prog_cc_g" >&6; }
   12057 if test "$ac_test_CFLAGS" = set; then
   12058   CFLAGS=$ac_save_CFLAGS
   12059 elif test $ac_cv_prog_cc_g = yes; then
   12060   if test "$GCC" = yes; then
   12061     CFLAGS="-g -O2"
   12062   else
   12063     CFLAGS="-g"
   12064   fi
   12065 else
   12066   if test "$GCC" = yes; then
   12067     CFLAGS="-O2"
   12068   else
   12069     CFLAGS=
   12070   fi
   12071 fi
   12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   12073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   12074 if ${ac_cv_prog_cc_c89+:} false; then :
   12075   $as_echo_n "(cached) " >&6
   12076 else
   12077   ac_cv_prog_cc_c89=no
   12078 ac_save_CC=$CC
   12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12080 /* end confdefs.h.  */
   12081 #include <stdarg.h>
   12082 #include <stdio.h>
   12083 #include <sys/types.h>
   12084 #include <sys/stat.h>
   12085 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12086 struct buf { int x; };
   12087 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12088 static char *e (p, i)
   12089      char **p;
   12090      int i;
   12091 {
   12092   return p[i];
   12093 }
   12094 static char *f (char * (*g) (char **, int), char **p, ...)
   12095 {
   12096   char *s;
   12097   va_list v;
   12098   va_start (v,p);
   12099   s = g (p, va_arg (v,int));
   12100   va_end (v);
   12101   return s;
   12102 }
   12103 
   12104 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12105    function prototypes and stuff, but not '\xHH' hex character constants.
   12106    These don't provoke an error unfortunately, instead are silently treated
   12107    as 'x'.  The following induces an error, until -std is added to get
   12108    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12109    array size at least.  It's necessary to write '\x00'==0 to get something
   12110    that's true only with -std.  */
   12111 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12112 
   12113 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12114    inside strings and character constants.  */
   12115 #define FOO(x) 'x'
   12116 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12117 
   12118 int test (int i, double x);
   12119 struct s1 {int (*f) (int a);};
   12120 struct s2 {int (*f) (double a);};
   12121 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12122 int argc;
   12123 char **argv;
   12124 int
   12125 main ()
   12126 {
   12127 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12128   ;
   12129   return 0;
   12130 }
   12131 _ACEOF
   12132 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12133 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12134 do
   12135   CC="$ac_save_CC $ac_arg"
   12136   if ac_fn_c_try_compile "$LINENO"; then :
   12137   ac_cv_prog_cc_c89=$ac_arg
   12138 fi
   12139 rm -f core conftest.err conftest.$ac_objext
   12140   test "x$ac_cv_prog_cc_c89" != "xno" && break
   12141 done
   12142 rm -f conftest.$ac_ext
   12143 CC=$ac_save_CC
   12144 
   12145 fi
   12146 # AC_CACHE_VAL
   12147 case "x$ac_cv_prog_cc_c89" in
   12148   x)
   12149     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12150 $as_echo "none needed" >&6; } ;;
   12151   xno)
   12152     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12153 $as_echo "unsupported" >&6; } ;;
   12154   *)
   12155     CC="$CC $ac_cv_prog_cc_c89"
   12156     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   12157 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   12158 esac
   12159 if test "x$ac_cv_prog_cc_c89" != xno; then :
   12160 
   12161 fi
   12162 
   12163 ac_ext=c
   12164 ac_cpp='$CPP $CPPFLAGS'
   12165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12168 
   12169 depcc="$CC"   am_compiler_list=
   12170 
   12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   12172 $as_echo_n "checking dependency style of $depcc... " >&6; }
   12173 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   12174   $as_echo_n "(cached) " >&6
   12175 else
   12176   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   12177   # We make a subdir and do the tests there.  Otherwise we can end up
   12178   # making bogus files that we don't know about and never remove.  For
   12179   # instance it was reported that on HP-UX the gcc test will end up
   12180   # making a dummy file named `D' -- because `-MD' means `put the output
   12181   # in D'.
   12182   mkdir conftest.dir
   12183   # Copy depcomp to subdir because otherwise we won't find it if we're
   12184   # using a relative directory.
   12185   cp "$am_depcomp" conftest.dir
   12186   cd conftest.dir
   12187   # We will build objects and dependencies in a subdirectory because
   12188   # it helps to detect inapplicable dependency modes.  For instance
   12189   # both Tru64's cc and ICC support -MD to output dependencies as a
   12190   # side effect of compilation, but ICC will put the dependencies in
   12191   # the current directory while Tru64 will put them in the object
   12192   # directory.
   12193   mkdir sub
   12194 
   12195   am_cv_CC_dependencies_compiler_type=none
   12196   if test "$am_compiler_list" = ""; then
   12197      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   12198   fi
   12199   am__universal=false
   12200   case " $depcc " in #(
   12201      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   12202      esac
   12203 
   12204   for depmode in $am_compiler_list; do
   12205     # Setup a source with many dependencies, because some compilers
   12206     # like to wrap large dependency lists on column 80 (with \), and
   12207     # we should not choose a depcomp mode which is confused by this.
   12208     #
   12209     # We need to recreate these files for each test, as the compiler may
   12210     # overwrite some of them when testing with obscure command lines.
   12211     # This happens at least with the AIX C compiler.
   12212     : > sub/conftest.c
   12213     for i in 1 2 3 4 5 6; do
   12214       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   12215       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   12216       # Solaris 8's {/usr,}/bin/sh.
   12217       touch sub/conftst$i.h
   12218     done
   12219     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   12220 
   12221     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   12222     # mode.  It turns out that the SunPro C++ compiler does not properly
   12223     # handle `-M -o', and we need to detect this.  Also, some Intel
   12224     # versions had trouble with output in subdirs
   12225     am__obj=sub/conftest.${OBJEXT-o}
   12226     am__minus_obj="-o $am__obj"
   12227     case $depmode in
   12228     gcc)
   12229       # This depmode causes a compiler race in universal mode.
   12230       test "$am__universal" = false || continue
   12231       ;;
   12232     nosideeffect)
   12233       # after this tag, mechanisms are not by side-effect, so they'll
   12234       # only be used when explicitly requested
   12235       if test "x$enable_dependency_tracking" = xyes; then
   12236 	continue
   12237       else
   12238 	break
   12239       fi
   12240       ;;
   12241     msvisualcpp | msvcmsys)
   12242       # This compiler won't grok `-c -o', but also, the minuso test has
   12243       # not run yet.  These depmodes are late enough in the game, and
   12244       # so weak that their functioning should not be impacted.
   12245       am__obj=conftest.${OBJEXT-o}
   12246       am__minus_obj=
   12247       ;;
   12248     none) break ;;
   12249     esac
   12250     if depmode=$depmode \
   12251        source=sub/conftest.c object=$am__obj \
   12252        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   12253        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   12254          >/dev/null 2>conftest.err &&
   12255        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   12256        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   12257        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   12258        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   12259       # icc doesn't choke on unknown options, it will just issue warnings
   12260       # or remarks (even with -Werror).  So we grep stderr for any message
   12261       # that says an option was ignored or not supported.
   12262       # When given -MP, icc 7.0 and 7.1 complain thusly:
   12263       #   icc: Command line warning: ignoring option '-M'; no argument required
   12264       # The diagnosis changed in icc 8.0:
   12265       #   icc: Command line remark: option '-MP' not supported
   12266       if (grep 'ignoring option' conftest.err ||
   12267           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   12268         am_cv_CC_dependencies_compiler_type=$depmode
   12269         break
   12270       fi
   12271     fi
   12272   done
   12273 
   12274   cd ..
   12275   rm -rf conftest.dir
   12276 else
   12277   am_cv_CC_dependencies_compiler_type=none
   12278 fi
   12279 
   12280 fi
   12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   12282 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   12283 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   12284 
   12285  if
   12286   test "x$enable_dependency_tracking" != xno \
   12287   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   12288   am__fastdepCC_TRUE=
   12289   am__fastdepCC_FALSE='#'
   12290 else
   12291   am__fastdepCC_TRUE='#'
   12292   am__fastdepCC_FALSE=
   12293 fi
   12294 
   12295 
   12296 
   12297 # Checks for pkg-config packages
   12298 
   12299 pkg_failed=no
   12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   12301 $as_echo_n "checking for XEXT... " >&6; }
   12302 
   12303 if test -n "$XEXT_CFLAGS"; then
   12304     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   12305  elif test -n "$PKG_CONFIG"; then
   12306     if test -n "$PKG_CONFIG" && \
   12307     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2\""; } >&5
   12308   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2") 2>&5
   12309   ac_status=$?
   12310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12311   test $ac_status = 0; }; then
   12312   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>/dev/null`
   12313 else
   12314   pkg_failed=yes
   12315 fi
   12316  else
   12317     pkg_failed=untried
   12318 fi
   12319 if test -n "$XEXT_LIBS"; then
   12320     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   12321  elif test -n "$PKG_CONFIG"; then
   12322     if test -n "$PKG_CONFIG" && \
   12323     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2\""; } >&5
   12324   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2") 2>&5
   12325   ac_status=$?
   12326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12327   test $ac_status = 0; }; then
   12328   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>/dev/null`
   12329 else
   12330   pkg_failed=yes
   12331 fi
   12332  else
   12333     pkg_failed=untried
   12334 fi
   12335 
   12336 
   12337 
   12338 if test $pkg_failed = yes; then
   12339 
   12340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12341         _pkg_short_errors_supported=yes
   12342 else
   12343         _pkg_short_errors_supported=no
   12344 fi
   12345         if test $_pkg_short_errors_supported = yes; then
   12346 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>&1`
   12347         else
   12348 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>&1`
   12349         fi
   12350 	# Put the nasty error message in config.log where it belongs
   12351 	echo "$XEXT_PKG_ERRORS" >&5
   12352 
   12353 	as_fn_error $? "Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2) were not met:
   12354 
   12355 $XEXT_PKG_ERRORS
   12356 
   12357 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12358 installed software in a non-standard prefix.
   12359 
   12360 Alternatively, you may set the environment variables XEXT_CFLAGS
   12361 and XEXT_LIBS to avoid the need to call pkg-config.
   12362 See the pkg-config man page for more details.
   12363 " "$LINENO" 5
   12364 elif test $pkg_failed = untried; then
   12365 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12367 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12368 is in your PATH or set the PKG_CONFIG environment variable to the full
   12369 path to pkg-config.
   12370 
   12371 Alternatively, you may set the environment variables XEXT_CFLAGS
   12372 and XEXT_LIBS to avoid the need to call pkg-config.
   12373 See the pkg-config man page for more details.
   12374 
   12375 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12376 See \`config.log' for more details" "$LINENO" 5; }
   12377 else
   12378 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   12379 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   12380         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12381 $as_echo "yes" >&6; }
   12382 	:
   12383 fi
   12384 
   12385 
   12386 
   12387 # Checks for libraries.
   12388 
   12389 # Checks for header files.
   12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   12391 $as_echo_n "checking for ANSI C header files... " >&6; }
   12392 if ${ac_cv_header_stdc+:} false; then :
   12393   $as_echo_n "(cached) " >&6
   12394 else
   12395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12396 /* end confdefs.h.  */
   12397 #include <stdlib.h>
   12398 #include <stdarg.h>
   12399 #include <string.h>
   12400 #include <float.h>
   12401 
   12402 int
   12403 main ()
   12404 {
   12405 
   12406   ;
   12407   return 0;
   12408 }
   12409 _ACEOF
   12410 if ac_fn_c_try_compile "$LINENO"; then :
   12411   ac_cv_header_stdc=yes
   12412 else
   12413   ac_cv_header_stdc=no
   12414 fi
   12415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12416 
   12417 if test $ac_cv_header_stdc = yes; then
   12418   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12420 /* end confdefs.h.  */
   12421 #include <string.h>
   12422 
   12423 _ACEOF
   12424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12425   $EGREP "memchr" >/dev/null 2>&1; then :
   12426 
   12427 else
   12428   ac_cv_header_stdc=no
   12429 fi
   12430 rm -f conftest*
   12431 
   12432 fi
   12433 
   12434 if test $ac_cv_header_stdc = yes; then
   12435   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12437 /* end confdefs.h.  */
   12438 #include <stdlib.h>
   12439 
   12440 _ACEOF
   12441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12442   $EGREP "free" >/dev/null 2>&1; then :
   12443 
   12444 else
   12445   ac_cv_header_stdc=no
   12446 fi
   12447 rm -f conftest*
   12448 
   12449 fi
   12450 
   12451 if test $ac_cv_header_stdc = yes; then
   12452   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12453   if test "$cross_compiling" = yes; then :
   12454   :
   12455 else
   12456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12457 /* end confdefs.h.  */
   12458 #include <ctype.h>
   12459 #include <stdlib.h>
   12460 #if ((' ' & 0x0FF) == 0x020)
   12461 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12462 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12463 #else
   12464 # define ISLOWER(c) \
   12465 		   (('a' <= (c) && (c) <= 'i') \
   12466 		     || ('j' <= (c) && (c) <= 'r') \
   12467 		     || ('s' <= (c) && (c) <= 'z'))
   12468 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12469 #endif
   12470 
   12471 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12472 int
   12473 main ()
   12474 {
   12475   int i;
   12476   for (i = 0; i < 256; i++)
   12477     if (XOR (islower (i), ISLOWER (i))
   12478 	|| toupper (i) != TOUPPER (i))
   12479       return 2;
   12480   return 0;
   12481 }
   12482 _ACEOF
   12483 if ac_fn_c_try_run "$LINENO"; then :
   12484 
   12485 else
   12486   ac_cv_header_stdc=no
   12487 fi
   12488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12489   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12490 fi
   12491 
   12492 fi
   12493 fi
   12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   12495 $as_echo "$ac_cv_header_stdc" >&6; }
   12496 if test $ac_cv_header_stdc = yes; then
   12497 
   12498 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   12499 
   12500 fi
   12501 
   12502 
   12503 
   12504 # Check whether --enable-malloc0returnsnull was given.
   12505 if test "${enable_malloc0returnsnull+set}" = set; then :
   12506   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   12507 else
   12508   MALLOC_ZERO_RETURNS_NULL=auto
   12509 fi
   12510 
   12511 
   12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   12513 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   12514 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   12515 	if test "$cross_compiling" = yes; then :
   12516   MALLOC_ZERO_RETURNS_NULL=yes
   12517 else
   12518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12519 /* end confdefs.h.  */
   12520 
   12521 char *malloc();
   12522 char *realloc();
   12523 char *calloc();
   12524 main() {
   12525     char *m0, *r0, *c0, *p;
   12526     m0 = malloc(0);
   12527     p = malloc(10);
   12528     r0 = realloc(p,0);
   12529     c0 = calloc(0);
   12530     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   12531 }
   12532 _ACEOF
   12533 if ac_fn_c_try_run "$LINENO"; then :
   12534   MALLOC_ZERO_RETURNS_NULL=yes
   12535 else
   12536   MALLOC_ZERO_RETURNS_NULL=no
   12537 fi
   12538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12539   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12540 fi
   12541 
   12542 fi
   12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   12544 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   12545 
   12546 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   12547 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   12548 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   12549 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   12550 else
   12551 	MALLOC_ZERO_CFLAGS=""
   12552 	XMALLOC_ZERO_CFLAGS=""
   12553 	XTMALLOC_ZERO_CFLAGS=""
   12554 fi
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 # Check whether --with-lint was given.
   12567 if test "${with_lint+set}" = set; then :
   12568   withval=$with_lint; use_lint=$withval
   12569 else
   12570   use_lint=no
   12571 fi
   12572 
   12573 
   12574 # Obtain platform specific info like program name and options
   12575 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   12576 case $host_os in
   12577   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   12578 	lint_name=splint
   12579 	lint_options="-badflag"
   12580 	;;
   12581   *freebsd* | *netbsd*)
   12582 	lint_name=lint
   12583 	lint_options="-u -b"
   12584 	;;
   12585   *solaris*)
   12586 	lint_name=lint
   12587 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   12588 	;;
   12589 esac
   12590 
   12591 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   12592 if test "x$use_lint" = x"yes" ; then
   12593    # Extract the first word of "$lint_name", so it can be a program name with args.
   12594 set dummy $lint_name; ac_word=$2
   12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12596 $as_echo_n "checking for $ac_word... " >&6; }
   12597 if ${ac_cv_path_LINT+:} false; then :
   12598   $as_echo_n "(cached) " >&6
   12599 else
   12600   case $LINT in
   12601   [\\/]* | ?:[\\/]*)
   12602   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   12603   ;;
   12604   *)
   12605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12606 for as_dir in $PATH
   12607 do
   12608   IFS=$as_save_IFS
   12609   test -z "$as_dir" && as_dir=.
   12610     for ac_exec_ext in '' $ac_executable_extensions; do
   12611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12612     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   12613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12614     break 2
   12615   fi
   12616 done
   12617   done
   12618 IFS=$as_save_IFS
   12619 
   12620   ;;
   12621 esac
   12622 fi
   12623 LINT=$ac_cv_path_LINT
   12624 if test -n "$LINT"; then
   12625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   12626 $as_echo "$LINT" >&6; }
   12627 else
   12628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12629 $as_echo "no" >&6; }
   12630 fi
   12631 
   12632 
   12633    if test "x$LINT" = "x"; then
   12634         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   12635    fi
   12636 elif test "x$use_lint" = x"no" ; then
   12637    if test "x$LINT" != "x"; then
   12638       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   12639 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   12640    fi
   12641 else
   12642    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   12643 fi
   12644 
   12645 # User supplied flags override default flags
   12646 if test "x$LINT_FLAGS" != "x"; then
   12647    lint_options=$LINT_FLAGS
   12648 fi
   12649 
   12650 LINT_FLAGS=$lint_options
   12651 
   12652  if test "x$LINT" != x; then
   12653   LINT_TRUE=
   12654   LINT_FALSE='#'
   12655 else
   12656   LINT_TRUE='#'
   12657   LINT_FALSE=
   12658 fi
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 # Check whether --enable-lint-library was given.
   12665 if test "${enable_lint_library+set}" = set; then :
   12666   enableval=$enable_lint_library; make_lint_lib=$enableval
   12667 else
   12668   make_lint_lib=no
   12669 fi
   12670 
   12671 
   12672 if test "x$make_lint_lib" = x"yes" ; then
   12673    LINTLIB=llib-lXext.ln
   12674    if test "x$LINT" = "x"; then
   12675         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   12676    fi
   12677 elif test "x$make_lint_lib" != x"no" ; then
   12678    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   12679 fi
   12680 
   12681 
   12682  if test x$make_lint_lib != xno; then
   12683   MAKE_LINT_LIB_TRUE=
   12684   MAKE_LINT_LIB_FALSE='#'
   12685 else
   12686   MAKE_LINT_LIB_TRUE='#'
   12687   MAKE_LINT_LIB_FALSE=
   12688 fi
   12689 
   12690 
   12691 
   12692 
   12693 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile specs/Makefile xext.pc"
   12694 
   12695 cat >confcache <<\_ACEOF
   12696 # This file is a shell script that caches the results of configure
   12697 # tests run on this system so they can be shared between configure
   12698 # scripts and configure runs, see configure's option --config-cache.
   12699 # It is not useful on other systems.  If it contains results you don't
   12700 # want to keep, you may remove or edit it.
   12701 #
   12702 # config.status only pays attention to the cache file if you give it
   12703 # the --recheck option to rerun configure.
   12704 #
   12705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12707 # following values.
   12708 
   12709 _ACEOF
   12710 
   12711 # The following way of writing the cache mishandles newlines in values,
   12712 # but we know of no workaround that is simple, portable, and efficient.
   12713 # So, we kill variables containing newlines.
   12714 # Ultrix sh set writes to stderr and can't be redirected directly,
   12715 # and sets the high bit in the cache file unless we assign to the vars.
   12716 (
   12717   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12718     eval ac_val=\$$ac_var
   12719     case $ac_val in #(
   12720     *${as_nl}*)
   12721       case $ac_var in #(
   12722       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12723 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12724       esac
   12725       case $ac_var in #(
   12726       _ | IFS | as_nl) ;; #(
   12727       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12728       *) { eval $ac_var=; unset $ac_var;} ;;
   12729       esac ;;
   12730     esac
   12731   done
   12732 
   12733   (set) 2>&1 |
   12734     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12735     *${as_nl}ac_space=\ *)
   12736       # `set' does not quote correctly, so add quotes: double-quote
   12737       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12738       sed -n \
   12739 	"s/'/'\\\\''/g;
   12740 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12741       ;; #(
   12742     *)
   12743       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12744       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12745       ;;
   12746     esac |
   12747     sort
   12748 ) |
   12749   sed '
   12750      /^ac_cv_env_/b end
   12751      t clear
   12752      :clear
   12753      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12754      t end
   12755      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12756      :end' >>confcache
   12757 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12758   if test -w "$cache_file"; then
   12759     if test "x$cache_file" != "x/dev/null"; then
   12760       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12761 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12762       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12763 	cat confcache >"$cache_file"
   12764       else
   12765         case $cache_file in #(
   12766         */* | ?:*)
   12767 	  mv -f confcache "$cache_file"$$ &&
   12768 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12769         *)
   12770 	  mv -f confcache "$cache_file" ;;
   12771 	esac
   12772       fi
   12773     fi
   12774   else
   12775     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12777   fi
   12778 fi
   12779 rm -f confcache
   12780 
   12781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12782 # Let make expand exec_prefix.
   12783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12784 
   12785 DEFS=-DHAVE_CONFIG_H
   12786 
   12787 ac_libobjs=
   12788 ac_ltlibobjs=
   12789 U=
   12790 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12791   # 1. Remove the extension, and $U if already installed.
   12792   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12793   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12794   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12795   #    will be set to the directory where LIBOBJS objects are built.
   12796   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12797   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12798 done
   12799 LIBOBJS=$ac_libobjs
   12800 
   12801 LTLIBOBJS=$ac_ltlibobjs
   12802 
   12803 
   12804  if test -n "$EXEEXT"; then
   12805   am__EXEEXT_TRUE=
   12806   am__EXEEXT_FALSE='#'
   12807 else
   12808   am__EXEEXT_TRUE='#'
   12809   am__EXEEXT_FALSE=
   12810 fi
   12811 
   12812 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12813   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   12814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12815 fi
   12816 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12817   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12819 fi
   12820 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12821   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12823 fi
   12824 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   12825   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   12826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12827 fi
   12828 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12829   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12831 fi
   12832 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12833   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12835 fi
   12836 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12837   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12839 fi
   12840 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12841   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12843 fi
   12844 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12845   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12847 fi
   12848 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12849   as_fn_error $? "conditional \"LINT\" was never defined.
   12850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12851 fi
   12852 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   12853   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   12854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12855 fi
   12856 
   12857 : "${CONFIG_STATUS=./config.status}"
   12858 ac_write_fail=0
   12859 ac_clean_files_save=$ac_clean_files
   12860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12862 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12863 as_write_fail=0
   12864 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12865 #! $SHELL
   12866 # Generated by $as_me.
   12867 # Run this file to recreate the current configuration.
   12868 # Compiler output produced by configure, useful for debugging
   12869 # configure, is in config.log if it exists.
   12870 
   12871 debug=false
   12872 ac_cs_recheck=false
   12873 ac_cs_silent=false
   12874 
   12875 SHELL=\${CONFIG_SHELL-$SHELL}
   12876 export SHELL
   12877 _ASEOF
   12878 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12879 ## -------------------- ##
   12880 ## M4sh Initialization. ##
   12881 ## -------------------- ##
   12882 
   12883 # Be more Bourne compatible
   12884 DUALCASE=1; export DUALCASE # for MKS sh
   12885 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12886   emulate sh
   12887   NULLCMD=:
   12888   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12889   # is contrary to our usage.  Disable this feature.
   12890   alias -g '${1+"$@"}'='"$@"'
   12891   setopt NO_GLOB_SUBST
   12892 else
   12893   case `(set -o) 2>/dev/null` in #(
   12894   *posix*) :
   12895     set -o posix ;; #(
   12896   *) :
   12897      ;;
   12898 esac
   12899 fi
   12900 
   12901 
   12902 as_nl='
   12903 '
   12904 export as_nl
   12905 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12906 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12908 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12909 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12910 # but without wasting forks for bash or zsh.
   12911 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12912     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12913   as_echo='print -r --'
   12914   as_echo_n='print -rn --'
   12915 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12916   as_echo='printf %s\n'
   12917   as_echo_n='printf %s'
   12918 else
   12919   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12920     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12921     as_echo_n='/usr/ucb/echo -n'
   12922   else
   12923     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12924     as_echo_n_body='eval
   12925       arg=$1;
   12926       case $arg in #(
   12927       *"$as_nl"*)
   12928 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12929 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12930       esac;
   12931       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12932     '
   12933     export as_echo_n_body
   12934     as_echo_n='sh -c $as_echo_n_body as_echo'
   12935   fi
   12936   export as_echo_body
   12937   as_echo='sh -c $as_echo_body as_echo'
   12938 fi
   12939 
   12940 # The user is always right.
   12941 if test "${PATH_SEPARATOR+set}" != set; then
   12942   PATH_SEPARATOR=:
   12943   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12944     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12945       PATH_SEPARATOR=';'
   12946   }
   12947 fi
   12948 
   12949 
   12950 # IFS
   12951 # We need space, tab and new line, in precisely that order.  Quoting is
   12952 # there to prevent editors from complaining about space-tab.
   12953 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12954 # splitting by setting IFS to empty value.)
   12955 IFS=" ""	$as_nl"
   12956 
   12957 # Find who we are.  Look in the path if we contain no directory separator.
   12958 as_myself=
   12959 case $0 in #((
   12960   *[\\/]* ) as_myself=$0 ;;
   12961   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12962 for as_dir in $PATH
   12963 do
   12964   IFS=$as_save_IFS
   12965   test -z "$as_dir" && as_dir=.
   12966     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12967   done
   12968 IFS=$as_save_IFS
   12969 
   12970      ;;
   12971 esac
   12972 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12973 # in which case we are not to be found in the path.
   12974 if test "x$as_myself" = x; then
   12975   as_myself=$0
   12976 fi
   12977 if test ! -f "$as_myself"; then
   12978   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12979   exit 1
   12980 fi
   12981 
   12982 # Unset variables that we do not need and which cause bugs (e.g. in
   12983 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12984 # suppresses any "Segmentation fault" message there.  '((' could
   12985 # trigger a bug in pdksh 5.2.14.
   12986 for as_var in BASH_ENV ENV MAIL MAILPATH
   12987 do eval test x\${$as_var+set} = xset \
   12988   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12989 done
   12990 PS1='$ '
   12991 PS2='> '
   12992 PS4='+ '
   12993 
   12994 # NLS nuisances.
   12995 LC_ALL=C
   12996 export LC_ALL
   12997 LANGUAGE=C
   12998 export LANGUAGE
   12999 
   13000 # CDPATH.
   13001 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13002 
   13003 
   13004 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   13005 # ----------------------------------------
   13006 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   13007 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   13008 # script with STATUS, using 1 if that was 0.
   13009 as_fn_error ()
   13010 {
   13011   as_status=$1; test $as_status -eq 0 && as_status=1
   13012   if test "$4"; then
   13013     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   13014     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   13015   fi
   13016   $as_echo "$as_me: error: $2" >&2
   13017   as_fn_exit $as_status
   13018 } # as_fn_error
   13019 
   13020 
   13021 # as_fn_set_status STATUS
   13022 # -----------------------
   13023 # Set $? to STATUS, without forking.
   13024 as_fn_set_status ()
   13025 {
   13026   return $1
   13027 } # as_fn_set_status
   13028 
   13029 # as_fn_exit STATUS
   13030 # -----------------
   13031 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   13032 as_fn_exit ()
   13033 {
   13034   set +e
   13035   as_fn_set_status $1
   13036   exit $1
   13037 } # as_fn_exit
   13038 
   13039 # as_fn_unset VAR
   13040 # ---------------
   13041 # Portably unset VAR.
   13042 as_fn_unset ()
   13043 {
   13044   { eval $1=; unset $1;}
   13045 }
   13046 as_unset=as_fn_unset
   13047 # as_fn_append VAR VALUE
   13048 # ----------------------
   13049 # Append the text in VALUE to the end of the definition contained in VAR. Take
   13050 # advantage of any shell optimizations that allow amortized linear growth over
   13051 # repeated appends, instead of the typical quadratic growth present in naive
   13052 # implementations.
   13053 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   13054   eval 'as_fn_append ()
   13055   {
   13056     eval $1+=\$2
   13057   }'
   13058 else
   13059   as_fn_append ()
   13060   {
   13061     eval $1=\$$1\$2
   13062   }
   13063 fi # as_fn_append
   13064 
   13065 # as_fn_arith ARG...
   13066 # ------------------
   13067 # Perform arithmetic evaluation on the ARGs, and store the result in the
   13068 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   13069 # must be portable across $(()) and expr.
   13070 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   13071   eval 'as_fn_arith ()
   13072   {
   13073     as_val=$(( $* ))
   13074   }'
   13075 else
   13076   as_fn_arith ()
   13077   {
   13078     as_val=`expr "$@" || test $? -eq 1`
   13079   }
   13080 fi # as_fn_arith
   13081 
   13082 
   13083 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13084    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13085   as_expr=expr
   13086 else
   13087   as_expr=false
   13088 fi
   13089 
   13090 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13091   as_basename=basename
   13092 else
   13093   as_basename=false
   13094 fi
   13095 
   13096 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13097   as_dirname=dirname
   13098 else
   13099   as_dirname=false
   13100 fi
   13101 
   13102 as_me=`$as_basename -- "$0" ||
   13103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13104 	 X"$0" : 'X\(//\)$' \| \
   13105 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13106 $as_echo X/"$0" |
   13107     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13108 	    s//\1/
   13109 	    q
   13110 	  }
   13111 	  /^X\/\(\/\/\)$/{
   13112 	    s//\1/
   13113 	    q
   13114 	  }
   13115 	  /^X\/\(\/\).*/{
   13116 	    s//\1/
   13117 	    q
   13118 	  }
   13119 	  s/.*/./; q'`
   13120 
   13121 # Avoid depending upon Character Ranges.
   13122 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13123 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13124 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13125 as_cr_digits='0123456789'
   13126 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13127 
   13128 ECHO_C= ECHO_N= ECHO_T=
   13129 case `echo -n x` in #(((((
   13130 -n*)
   13131   case `echo 'xy\c'` in
   13132   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13133   xy)  ECHO_C='\c';;
   13134   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   13135        ECHO_T='	';;
   13136   esac;;
   13137 *)
   13138   ECHO_N='-n';;
   13139 esac
   13140 
   13141 rm -f conf$$ conf$$.exe conf$$.file
   13142 if test -d conf$$.dir; then
   13143   rm -f conf$$.dir/conf$$.file
   13144 else
   13145   rm -f conf$$.dir
   13146   mkdir conf$$.dir 2>/dev/null
   13147 fi
   13148 if (echo >conf$$.file) 2>/dev/null; then
   13149   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13150     as_ln_s='ln -s'
   13151     # ... but there are two gotchas:
   13152     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13153     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13154     # In both cases, we have to default to `cp -p'.
   13155     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13156       as_ln_s='cp -p'
   13157   elif ln conf$$.file conf$$ 2>/dev/null; then
   13158     as_ln_s=ln
   13159   else
   13160     as_ln_s='cp -p'
   13161   fi
   13162 else
   13163   as_ln_s='cp -p'
   13164 fi
   13165 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13166 rmdir conf$$.dir 2>/dev/null
   13167 
   13168 
   13169 # as_fn_mkdir_p
   13170 # -------------
   13171 # Create "$as_dir" as a directory, including parents if necessary.
   13172 as_fn_mkdir_p ()
   13173 {
   13174 
   13175   case $as_dir in #(
   13176   -*) as_dir=./$as_dir;;
   13177   esac
   13178   test -d "$as_dir" || eval $as_mkdir_p || {
   13179     as_dirs=
   13180     while :; do
   13181       case $as_dir in #(
   13182       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13183       *) as_qdir=$as_dir;;
   13184       esac
   13185       as_dirs="'$as_qdir' $as_dirs"
   13186       as_dir=`$as_dirname -- "$as_dir" ||
   13187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13188 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13189 	 X"$as_dir" : 'X\(//\)$' \| \
   13190 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13191 $as_echo X"$as_dir" |
   13192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13193 	    s//\1/
   13194 	    q
   13195 	  }
   13196 	  /^X\(\/\/\)[^/].*/{
   13197 	    s//\1/
   13198 	    q
   13199 	  }
   13200 	  /^X\(\/\/\)$/{
   13201 	    s//\1/
   13202 	    q
   13203 	  }
   13204 	  /^X\(\/\).*/{
   13205 	    s//\1/
   13206 	    q
   13207 	  }
   13208 	  s/.*/./; q'`
   13209       test -d "$as_dir" && break
   13210     done
   13211     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13212   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13213 
   13214 
   13215 } # as_fn_mkdir_p
   13216 if mkdir -p . 2>/dev/null; then
   13217   as_mkdir_p='mkdir -p "$as_dir"'
   13218 else
   13219   test -d ./-p && rmdir ./-p
   13220   as_mkdir_p=false
   13221 fi
   13222 
   13223 if test -x / >/dev/null 2>&1; then
   13224   as_test_x='test -x'
   13225 else
   13226   if ls -dL / >/dev/null 2>&1; then
   13227     as_ls_L_option=L
   13228   else
   13229     as_ls_L_option=
   13230   fi
   13231   as_test_x='
   13232     eval sh -c '\''
   13233       if test -d "$1"; then
   13234 	test -d "$1/.";
   13235       else
   13236 	case $1 in #(
   13237 	-*)set "./$1";;
   13238 	esac;
   13239 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   13240 	???[sx]*):;;*)false;;esac;fi
   13241     '\'' sh
   13242   '
   13243 fi
   13244 as_executable_p=$as_test_x
   13245 
   13246 # Sed expression to map a string onto a valid CPP name.
   13247 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13248 
   13249 # Sed expression to map a string onto a valid variable name.
   13250 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13251 
   13252 
   13253 exec 6>&1
   13254 ## ----------------------------------- ##
   13255 ## Main body of $CONFIG_STATUS script. ##
   13256 ## ----------------------------------- ##
   13257 _ASEOF
   13258 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13259 
   13260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13261 # Save the log message, to keep $0 and so on meaningful, and to
   13262 # report actual input values of CONFIG_FILES etc. instead of their
   13263 # values after options handling.
   13264 ac_log="
   13265 This file was extended by libXext $as_me 1.2.0, which was
   13266 generated by GNU Autoconf 2.68.  Invocation command line was
   13267 
   13268   CONFIG_FILES    = $CONFIG_FILES
   13269   CONFIG_HEADERS  = $CONFIG_HEADERS
   13270   CONFIG_LINKS    = $CONFIG_LINKS
   13271   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13272   $ $0 $@
   13273 
   13274 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13275 "
   13276 
   13277 _ACEOF
   13278 
   13279 case $ac_config_files in *"
   13280 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13281 esac
   13282 
   13283 case $ac_config_headers in *"
   13284 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13285 esac
   13286 
   13287 
   13288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13289 # Files that config.status was made for.
   13290 config_files="$ac_config_files"
   13291 config_headers="$ac_config_headers"
   13292 config_commands="$ac_config_commands"
   13293 
   13294 _ACEOF
   13295 
   13296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13297 ac_cs_usage="\
   13298 \`$as_me' instantiates files and other configuration actions
   13299 from templates according to the current configuration.  Unless the files
   13300 and actions are specified as TAGs, all are instantiated by default.
   13301 
   13302 Usage: $0 [OPTION]... [TAG]...
   13303 
   13304   -h, --help       print this help, then exit
   13305   -V, --version    print version number and configuration settings, then exit
   13306       --config     print configuration, then exit
   13307   -q, --quiet, --silent
   13308                    do not print progress messages
   13309   -d, --debug      don't remove temporary files
   13310       --recheck    update $as_me by reconfiguring in the same conditions
   13311       --file=FILE[:TEMPLATE]
   13312                    instantiate the configuration file FILE
   13313       --header=FILE[:TEMPLATE]
   13314                    instantiate the configuration header FILE
   13315 
   13316 Configuration files:
   13317 $config_files
   13318 
   13319 Configuration headers:
   13320 $config_headers
   13321 
   13322 Configuration commands:
   13323 $config_commands
   13324 
   13325 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   13326 
   13327 _ACEOF
   13328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13329 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   13330 ac_cs_version="\\
   13331 libXext config.status 1.2.0
   13332 configured by $0, generated by GNU Autoconf 2.68,
   13333   with options \\"\$ac_cs_config\\"
   13334 
   13335 Copyright (C) 2010 Free Software Foundation, Inc.
   13336 This config.status script is free software; the Free Software Foundation
   13337 gives unlimited permission to copy, distribute and modify it."
   13338 
   13339 ac_pwd='$ac_pwd'
   13340 srcdir='$srcdir'
   13341 INSTALL='$INSTALL'
   13342 MKDIR_P='$MKDIR_P'
   13343 AWK='$AWK'
   13344 test -n "\$AWK" || AWK=awk
   13345 _ACEOF
   13346 
   13347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13348 # The default lists apply if the user does not specify any file.
   13349 ac_need_defaults=:
   13350 while test $# != 0
   13351 do
   13352   case $1 in
   13353   --*=?*)
   13354     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13355     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13356     ac_shift=:
   13357     ;;
   13358   --*=)
   13359     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13360     ac_optarg=
   13361     ac_shift=:
   13362     ;;
   13363   *)
   13364     ac_option=$1
   13365     ac_optarg=$2
   13366     ac_shift=shift
   13367     ;;
   13368   esac
   13369 
   13370   case $ac_option in
   13371   # Handling of the options.
   13372   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13373     ac_cs_recheck=: ;;
   13374   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13375     $as_echo "$ac_cs_version"; exit ;;
   13376   --config | --confi | --conf | --con | --co | --c )
   13377     $as_echo "$ac_cs_config"; exit ;;
   13378   --debug | --debu | --deb | --de | --d | -d )
   13379     debug=: ;;
   13380   --file | --fil | --fi | --f )
   13381     $ac_shift
   13382     case $ac_optarg in
   13383     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13384     '') as_fn_error $? "missing file argument" ;;
   13385     esac
   13386     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13387     ac_need_defaults=false;;
   13388   --header | --heade | --head | --hea )
   13389     $ac_shift
   13390     case $ac_optarg in
   13391     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13392     esac
   13393     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13394     ac_need_defaults=false;;
   13395   --he | --h)
   13396     # Conflict between --help and --header
   13397     as_fn_error $? "ambiguous option: \`$1'
   13398 Try \`$0 --help' for more information.";;
   13399   --help | --hel | -h )
   13400     $as_echo "$ac_cs_usage"; exit ;;
   13401   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13402   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13403     ac_cs_silent=: ;;
   13404 
   13405   # This is an error.
   13406   -*) as_fn_error $? "unrecognized option: \`$1'
   13407 Try \`$0 --help' for more information." ;;
   13408 
   13409   *) as_fn_append ac_config_targets " $1"
   13410      ac_need_defaults=false ;;
   13411 
   13412   esac
   13413   shift
   13414 done
   13415 
   13416 ac_configure_extra_args=
   13417 
   13418 if $ac_cs_silent; then
   13419   exec 6>/dev/null
   13420   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13421 fi
   13422 
   13423 _ACEOF
   13424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13425 if \$ac_cs_recheck; then
   13426   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13427   shift
   13428   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13429   CONFIG_SHELL='$SHELL'
   13430   export CONFIG_SHELL
   13431   exec "\$@"
   13432 fi
   13433 
   13434 _ACEOF
   13435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13436 exec 5>>config.log
   13437 {
   13438   echo
   13439   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13440 ## Running $as_me. ##
   13441 _ASBOX
   13442   $as_echo "$ac_log"
   13443 } >&5
   13444 
   13445 _ACEOF
   13446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13447 #
   13448 # INIT-COMMANDS
   13449 #
   13450 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13451 
   13452 
   13453 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13454 # if CDPATH is set.
   13455 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13456 
   13457 sed_quote_subst='$sed_quote_subst'
   13458 double_quote_subst='$double_quote_subst'
   13459 delay_variable_subst='$delay_variable_subst'
   13460 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   13461 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   13462 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   13463 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   13464 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   13465 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   13466 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   13467 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   13468 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   13469 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   13470 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   13471 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   13472 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   13473 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   13474 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   13475 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   13476 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   13477 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   13478 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   13479 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   13480 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   13481 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   13482 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   13483 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   13484 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   13485 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   13486 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   13487 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   13488 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   13489 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   13490 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   13491 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   13492 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   13493 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   13494 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   13495 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   13496 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   13497 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13498 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13499 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   13500 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   13501 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   13502 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   13503 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   13504 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   13505 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   13506 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   13507 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   13508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   13509 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   13510 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   13511 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   13512 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   13513 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   13514 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   13515 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   13516 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   13517 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   13518 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   13519 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   13520 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   13521 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   13522 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   13523 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   13524 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13525 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   13526 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   13527 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   13528 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   13529 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   13530 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   13531 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13532 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   13533 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13534 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   13535 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13536 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   13537 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13538 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13539 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   13540 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   13541 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   13542 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   13543 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   13544 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   13545 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13546 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   13547 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   13548 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   13549 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   13550 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   13551 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   13552 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   13553 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   13554 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   13555 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   13556 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   13557 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   13558 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   13559 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   13560 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   13561 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13562 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   13563 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   13564 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   13565 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   13566 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   13567 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13568 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13569 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   13570 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   13571 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   13572 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   13573 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   13574 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   13575 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   13576 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   13577 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   13578 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   13579 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   13580 
   13581 LTCC='$LTCC'
   13582 LTCFLAGS='$LTCFLAGS'
   13583 compiler='$compiler_DEFAULT'
   13584 
   13585 # A function that is used when there is no print builtin or printf.
   13586 func_fallback_echo ()
   13587 {
   13588   eval 'cat <<_LTECHO_EOF
   13589 \$1
   13590 _LTECHO_EOF'
   13591 }
   13592 
   13593 # Quote evaled strings.
   13594 for var in SHELL \
   13595 ECHO \
   13596 SED \
   13597 GREP \
   13598 EGREP \
   13599 FGREP \
   13600 LD \
   13601 NM \
   13602 LN_S \
   13603 lt_SP2NL \
   13604 lt_NL2SP \
   13605 reload_flag \
   13606 OBJDUMP \
   13607 deplibs_check_method \
   13608 file_magic_cmd \
   13609 AR \
   13610 AR_FLAGS \
   13611 STRIP \
   13612 RANLIB \
   13613 CC \
   13614 CFLAGS \
   13615 compiler \
   13616 lt_cv_sys_global_symbol_pipe \
   13617 lt_cv_sys_global_symbol_to_cdecl \
   13618 lt_cv_sys_global_symbol_to_c_name_address \
   13619 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13620 lt_prog_compiler_no_builtin_flag \
   13621 lt_prog_compiler_wl \
   13622 lt_prog_compiler_pic \
   13623 lt_prog_compiler_static \
   13624 lt_cv_prog_compiler_c_o \
   13625 need_locks \
   13626 DSYMUTIL \
   13627 NMEDIT \
   13628 LIPO \
   13629 OTOOL \
   13630 OTOOL64 \
   13631 shrext_cmds \
   13632 export_dynamic_flag_spec \
   13633 whole_archive_flag_spec \
   13634 compiler_needs_object \
   13635 with_gnu_ld \
   13636 allow_undefined_flag \
   13637 no_undefined_flag \
   13638 hardcode_libdir_flag_spec \
   13639 hardcode_libdir_flag_spec_ld \
   13640 hardcode_libdir_separator \
   13641 fix_srcfile_path \
   13642 exclude_expsyms \
   13643 include_expsyms \
   13644 file_list_spec \
   13645 variables_saved_for_relink \
   13646 libname_spec \
   13647 library_names_spec \
   13648 soname_spec \
   13649 install_override_mode \
   13650 finish_eval \
   13651 old_striplib \
   13652 striplib; do
   13653     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13654     *[\\\\\\\`\\"\\\$]*)
   13655       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13656       ;;
   13657     *)
   13658       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13659       ;;
   13660     esac
   13661 done
   13662 
   13663 # Double-quote double-evaled strings.
   13664 for var in reload_cmds \
   13665 old_postinstall_cmds \
   13666 old_postuninstall_cmds \
   13667 old_archive_cmds \
   13668 extract_expsyms_cmds \
   13669 old_archive_from_new_cmds \
   13670 old_archive_from_expsyms_cmds \
   13671 archive_cmds \
   13672 archive_expsym_cmds \
   13673 module_cmds \
   13674 module_expsym_cmds \
   13675 export_symbols_cmds \
   13676 prelink_cmds \
   13677 postinstall_cmds \
   13678 postuninstall_cmds \
   13679 finish_cmds \
   13680 sys_lib_search_path_spec \
   13681 sys_lib_dlsearch_path_spec; do
   13682     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13683     *[\\\\\\\`\\"\\\$]*)
   13684       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13685       ;;
   13686     *)
   13687       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13688       ;;
   13689     esac
   13690 done
   13691 
   13692 ac_aux_dir='$ac_aux_dir'
   13693 xsi_shell='$xsi_shell'
   13694 lt_shell_append='$lt_shell_append'
   13695 
   13696 # See if we are running on zsh, and set the options which allow our
   13697 # commands through without removal of \ escapes INIT.
   13698 if test -n "\${ZSH_VERSION+set}" ; then
   13699    setopt NO_GLOB_SUBST
   13700 fi
   13701 
   13702 
   13703     PACKAGE='$PACKAGE'
   13704     VERSION='$VERSION'
   13705     TIMESTAMP='$TIMESTAMP'
   13706     RM='$RM'
   13707     ofile='$ofile'
   13708 
   13709 
   13710 
   13711 
   13712 _ACEOF
   13713 
   13714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13715 
   13716 # Handling of arguments.
   13717 for ac_config_target in $ac_config_targets
   13718 do
   13719   case $ac_config_target in
   13720     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13721     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13722     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13723     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13724     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13725     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13726     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   13727     "xext.pc") CONFIG_FILES="$CONFIG_FILES xext.pc" ;;
   13728 
   13729   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13730   esac
   13731 done
   13732 
   13733 
   13734 # If the user did not use the arguments to specify the items to instantiate,
   13735 # then the envvar interface is used.  Set only those that are not.
   13736 # We use the long form for the default assignment because of an extremely
   13737 # bizarre bug on SunOS 4.1.3.
   13738 if $ac_need_defaults; then
   13739   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13740   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13741   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13742 fi
   13743 
   13744 # Have a temporary directory for convenience.  Make it in the build tree
   13745 # simply because there is no reason against having it here, and in addition,
   13746 # creating and moving files from /tmp can sometimes cause problems.
   13747 # Hook for its removal unless debugging.
   13748 # Note that there is a small window in which the directory will not be cleaned:
   13749 # after its creation but before its name has been assigned to `$tmp'.
   13750 $debug ||
   13751 {
   13752   tmp= ac_tmp=
   13753   trap 'exit_status=$?
   13754   : "${ac_tmp:=$tmp}"
   13755   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13756 ' 0
   13757   trap 'as_fn_exit 1' 1 2 13 15
   13758 }
   13759 # Create a (secure) tmp directory for tmp files.
   13760 
   13761 {
   13762   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13763   test -d "$tmp"
   13764 }  ||
   13765 {
   13766   tmp=./conf$$-$RANDOM
   13767   (umask 077 && mkdir "$tmp")
   13768 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13769 ac_tmp=$tmp
   13770 
   13771 # Set up the scripts for CONFIG_FILES section.
   13772 # No need to generate them if there are no CONFIG_FILES.
   13773 # This happens for instance with `./config.status config.h'.
   13774 if test -n "$CONFIG_FILES"; then
   13775 
   13776 
   13777 ac_cr=`echo X | tr X '\015'`
   13778 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13779 # But we know of no other shell where ac_cr would be empty at this
   13780 # point, so we can use a bashism as a fallback.
   13781 if test "x$ac_cr" = x; then
   13782   eval ac_cr=\$\'\\r\'
   13783 fi
   13784 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13785 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13786   ac_cs_awk_cr='\\r'
   13787 else
   13788   ac_cs_awk_cr=$ac_cr
   13789 fi
   13790 
   13791 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13792 _ACEOF
   13793 
   13794 
   13795 {
   13796   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13797   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13798   echo "_ACEOF"
   13799 } >conf$$subs.sh ||
   13800   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13801 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13802 ac_delim='%!_!# '
   13803 for ac_last_try in false false false false false :; do
   13804   . ./conf$$subs.sh ||
   13805     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13806 
   13807   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13808   if test $ac_delim_n = $ac_delim_num; then
   13809     break
   13810   elif $ac_last_try; then
   13811     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13812   else
   13813     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13814   fi
   13815 done
   13816 rm -f conf$$subs.sh
   13817 
   13818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13819 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13820 _ACEOF
   13821 sed -n '
   13822 h
   13823 s/^/S["/; s/!.*/"]=/
   13824 p
   13825 g
   13826 s/^[^!]*!//
   13827 :repl
   13828 t repl
   13829 s/'"$ac_delim"'$//
   13830 t delim
   13831 :nl
   13832 h
   13833 s/\(.\{148\}\)..*/\1/
   13834 t more1
   13835 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13836 p
   13837 n
   13838 b repl
   13839 :more1
   13840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13841 p
   13842 g
   13843 s/.\{148\}//
   13844 t nl
   13845 :delim
   13846 h
   13847 s/\(.\{148\}\)..*/\1/
   13848 t more2
   13849 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13850 p
   13851 b
   13852 :more2
   13853 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13854 p
   13855 g
   13856 s/.\{148\}//
   13857 t delim
   13858 ' <conf$$subs.awk | sed '
   13859 /^[^""]/{
   13860   N
   13861   s/\n//
   13862 }
   13863 ' >>$CONFIG_STATUS || ac_write_fail=1
   13864 rm -f conf$$subs.awk
   13865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13866 _ACAWK
   13867 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13868   for (key in S) S_is_set[key] = 1
   13869   FS = ""
   13870 
   13871 }
   13872 {
   13873   line = $ 0
   13874   nfields = split(line, field, "@")
   13875   substed = 0
   13876   len = length(field[1])
   13877   for (i = 2; i < nfields; i++) {
   13878     key = field[i]
   13879     keylen = length(key)
   13880     if (S_is_set[key]) {
   13881       value = S[key]
   13882       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13883       len += length(value) + length(field[++i])
   13884       substed = 1
   13885     } else
   13886       len += 1 + keylen
   13887   }
   13888 
   13889   print line
   13890 }
   13891 
   13892 _ACAWK
   13893 _ACEOF
   13894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13895 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13896   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13897 else
   13898   cat
   13899 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13900   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13901 _ACEOF
   13902 
   13903 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13904 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13905 # trailing colons and then remove the whole line if VPATH becomes empty
   13906 # (actually we leave an empty line to preserve line numbers).
   13907 if test "x$srcdir" = x.; then
   13908   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13909 h
   13910 s///
   13911 s/^/:/
   13912 s/[	 ]*$/:/
   13913 s/:\$(srcdir):/:/g
   13914 s/:\${srcdir}:/:/g
   13915 s/:@srcdir@:/:/g
   13916 s/^:*//
   13917 s/:*$//
   13918 x
   13919 s/\(=[	 ]*\).*/\1/
   13920 G
   13921 s/\n//
   13922 s/^[^=]*=[	 ]*$//
   13923 }'
   13924 fi
   13925 
   13926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13927 fi # test -n "$CONFIG_FILES"
   13928 
   13929 # Set up the scripts for CONFIG_HEADERS section.
   13930 # No need to generate them if there are no CONFIG_HEADERS.
   13931 # This happens for instance with `./config.status Makefile'.
   13932 if test -n "$CONFIG_HEADERS"; then
   13933 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13934 BEGIN {
   13935 _ACEOF
   13936 
   13937 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13938 # here-document in config.status, that substitutes the proper values into
   13939 # config.h.in to produce config.h.
   13940 
   13941 # Create a delimiter string that does not exist in confdefs.h, to ease
   13942 # handling of long lines.
   13943 ac_delim='%!_!# '
   13944 for ac_last_try in false false :; do
   13945   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13946   if test -z "$ac_tt"; then
   13947     break
   13948   elif $ac_last_try; then
   13949     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13950   else
   13951     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13952   fi
   13953 done
   13954 
   13955 # For the awk script, D is an array of macro values keyed by name,
   13956 # likewise P contains macro parameters if any.  Preserve backslash
   13957 # newline sequences.
   13958 
   13959 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13960 sed -n '
   13961 s/.\{148\}/&'"$ac_delim"'/g
   13962 t rset
   13963 :rset
   13964 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13965 t def
   13966 d
   13967 :def
   13968 s/\\$//
   13969 t bsnl
   13970 s/["\\]/\\&/g
   13971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13972 D["\1"]=" \3"/p
   13973 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13974 d
   13975 :bsnl
   13976 s/["\\]/\\&/g
   13977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13978 D["\1"]=" \3\\\\\\n"\\/p
   13979 t cont
   13980 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13981 t cont
   13982 d
   13983 :cont
   13984 n
   13985 s/.\{148\}/&'"$ac_delim"'/g
   13986 t clear
   13987 :clear
   13988 s/\\$//
   13989 t bsnlc
   13990 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13991 d
   13992 :bsnlc
   13993 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13994 b cont
   13995 ' <confdefs.h | sed '
   13996 s/'"$ac_delim"'/"\\\
   13997 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13998 
   13999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14000   for (key in D) D_is_set[key] = 1
   14001   FS = ""
   14002 }
   14003 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14004   line = \$ 0
   14005   split(line, arg, " ")
   14006   if (arg[1] == "#") {
   14007     defundef = arg[2]
   14008     mac1 = arg[3]
   14009   } else {
   14010     defundef = substr(arg[1], 2)
   14011     mac1 = arg[2]
   14012   }
   14013   split(mac1, mac2, "(") #)
   14014   macro = mac2[1]
   14015   prefix = substr(line, 1, index(line, defundef) - 1)
   14016   if (D_is_set[macro]) {
   14017     # Preserve the white space surrounding the "#".
   14018     print prefix "define", macro P[macro] D[macro]
   14019     next
   14020   } else {
   14021     # Replace #undef with comments.  This is necessary, for example,
   14022     # in the case of _POSIX_SOURCE, which is predefined and required
   14023     # on some systems where configure will not decide to define it.
   14024     if (defundef == "undef") {
   14025       print "/*", prefix defundef, macro, "*/"
   14026       next
   14027     }
   14028   }
   14029 }
   14030 { print }
   14031 _ACAWK
   14032 _ACEOF
   14033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14034   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   14035 fi # test -n "$CONFIG_HEADERS"
   14036 
   14037 
   14038 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14039 shift
   14040 for ac_tag
   14041 do
   14042   case $ac_tag in
   14043   :[FHLC]) ac_mode=$ac_tag; continue;;
   14044   esac
   14045   case $ac_mode$ac_tag in
   14046   :[FHL]*:*);;
   14047   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   14048   :[FH]-) ac_tag=-:-;;
   14049   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14050   esac
   14051   ac_save_IFS=$IFS
   14052   IFS=:
   14053   set x $ac_tag
   14054   IFS=$ac_save_IFS
   14055   shift
   14056   ac_file=$1
   14057   shift
   14058 
   14059   case $ac_mode in
   14060   :L) ac_source=$1;;
   14061   :[FH])
   14062     ac_file_inputs=
   14063     for ac_f
   14064     do
   14065       case $ac_f in
   14066       -) ac_f="$ac_tmp/stdin";;
   14067       *) # Look for the file first in the build tree, then in the source tree
   14068 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14069 	 # because $ac_f cannot contain `:'.
   14070 	 test -f "$ac_f" ||
   14071 	   case $ac_f in
   14072 	   [\\/$]*) false;;
   14073 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14074 	   esac ||
   14075 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   14076       esac
   14077       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14078       as_fn_append ac_file_inputs " '$ac_f'"
   14079     done
   14080 
   14081     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14082     # use $as_me), people would be surprised to read:
   14083     #    /* config.h.  Generated by config.status.  */
   14084     configure_input='Generated from '`
   14085 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14086 	`' by configure.'
   14087     if test x"$ac_file" != x-; then
   14088       configure_input="$ac_file.  $configure_input"
   14089       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   14090 $as_echo "$as_me: creating $ac_file" >&6;}
   14091     fi
   14092     # Neutralize special characters interpreted by sed in replacement strings.
   14093     case $configure_input in #(
   14094     *\&* | *\|* | *\\* )
   14095        ac_sed_conf_input=`$as_echo "$configure_input" |
   14096        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14097     *) ac_sed_conf_input=$configure_input;;
   14098     esac
   14099 
   14100     case $ac_tag in
   14101     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   14102       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   14103     esac
   14104     ;;
   14105   esac
   14106 
   14107   ac_dir=`$as_dirname -- "$ac_file" ||
   14108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14109 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14110 	 X"$ac_file" : 'X\(//\)$' \| \
   14111 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14112 $as_echo X"$ac_file" |
   14113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14114 	    s//\1/
   14115 	    q
   14116 	  }
   14117 	  /^X\(\/\/\)[^/].*/{
   14118 	    s//\1/
   14119 	    q
   14120 	  }
   14121 	  /^X\(\/\/\)$/{
   14122 	    s//\1/
   14123 	    q
   14124 	  }
   14125 	  /^X\(\/\).*/{
   14126 	    s//\1/
   14127 	    q
   14128 	  }
   14129 	  s/.*/./; q'`
   14130   as_dir="$ac_dir"; as_fn_mkdir_p
   14131   ac_builddir=.
   14132 
   14133 case "$ac_dir" in
   14134 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14135 *)
   14136   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14137   # A ".." for each directory in $ac_dir_suffix.
   14138   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14139   case $ac_top_builddir_sub in
   14140   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14141   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14142   esac ;;
   14143 esac
   14144 ac_abs_top_builddir=$ac_pwd
   14145 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14146 # for backward compatibility:
   14147 ac_top_builddir=$ac_top_build_prefix
   14148 
   14149 case $srcdir in
   14150   .)  # We are building in place.
   14151     ac_srcdir=.
   14152     ac_top_srcdir=$ac_top_builddir_sub
   14153     ac_abs_top_srcdir=$ac_pwd ;;
   14154   [\\/]* | ?:[\\/]* )  # Absolute name.
   14155     ac_srcdir=$srcdir$ac_dir_suffix;
   14156     ac_top_srcdir=$srcdir
   14157     ac_abs_top_srcdir=$srcdir ;;
   14158   *) # Relative name.
   14159     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14160     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14161     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14162 esac
   14163 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14164 
   14165 
   14166   case $ac_mode in
   14167   :F)
   14168   #
   14169   # CONFIG_FILE
   14170   #
   14171 
   14172   case $INSTALL in
   14173   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14174   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14175   esac
   14176   ac_MKDIR_P=$MKDIR_P
   14177   case $MKDIR_P in
   14178   [\\/$]* | ?:[\\/]* ) ;;
   14179   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14180   esac
   14181 _ACEOF
   14182 
   14183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14184 # If the template does not know about datarootdir, expand it.
   14185 # FIXME: This hack should be removed a few years after 2.60.
   14186 ac_datarootdir_hack=; ac_datarootdir_seen=
   14187 ac_sed_dataroot='
   14188 /datarootdir/ {
   14189   p
   14190   q
   14191 }
   14192 /@datadir@/p
   14193 /@docdir@/p
   14194 /@infodir@/p
   14195 /@localedir@/p
   14196 /@mandir@/p'
   14197 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14198 *datarootdir*) ac_datarootdir_seen=yes;;
   14199 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14200   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14201 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14202 _ACEOF
   14203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14204   ac_datarootdir_hack='
   14205   s&@datadir@&$datadir&g
   14206   s&@docdir@&$docdir&g
   14207   s&@infodir@&$infodir&g
   14208   s&@localedir@&$localedir&g
   14209   s&@mandir@&$mandir&g
   14210   s&\\\${datarootdir}&$datarootdir&g' ;;
   14211 esac
   14212 _ACEOF
   14213 
   14214 # Neutralize VPATH when `$srcdir' = `.'.
   14215 # Shell code in configure.ac might set extrasub.
   14216 # FIXME: do we really want to maintain this feature?
   14217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14218 ac_sed_extra="$ac_vpsub
   14219 $extrasub
   14220 _ACEOF
   14221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14222 :t
   14223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14224 s|@configure_input@|$ac_sed_conf_input|;t t
   14225 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14226 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14227 s&@srcdir@&$ac_srcdir&;t t
   14228 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14229 s&@top_srcdir@&$ac_top_srcdir&;t t
   14230 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14231 s&@builddir@&$ac_builddir&;t t
   14232 s&@abs_builddir@&$ac_abs_builddir&;t t
   14233 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14234 s&@INSTALL@&$ac_INSTALL&;t t
   14235 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14236 $ac_datarootdir_hack
   14237 "
   14238 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   14239   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14240 
   14241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14242   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   14243   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   14244       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   14245   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14246 which seems to be undefined.  Please make sure it is defined" >&5
   14247 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14248 which seems to be undefined.  Please make sure it is defined" >&2;}
   14249 
   14250   rm -f "$ac_tmp/stdin"
   14251   case $ac_file in
   14252   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   14253   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   14254   esac \
   14255   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14256  ;;
   14257   :H)
   14258   #
   14259   # CONFIG_HEADER
   14260   #
   14261   if test x"$ac_file" != x-; then
   14262     {
   14263       $as_echo "/* $configure_input  */" \
   14264       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   14265     } >"$ac_tmp/config.h" \
   14266       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14267     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   14268       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   14269 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14270     else
   14271       rm -f "$ac_file"
   14272       mv "$ac_tmp/config.h" "$ac_file" \
   14273 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14274     fi
   14275   else
   14276     $as_echo "/* $configure_input  */" \
   14277       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   14278       || as_fn_error $? "could not create -" "$LINENO" 5
   14279   fi
   14280 # Compute "$ac_file"'s index in $config_headers.
   14281 _am_arg="$ac_file"
   14282 _am_stamp_count=1
   14283 for _am_header in $config_headers :; do
   14284   case $_am_header in
   14285     $_am_arg | $_am_arg:* )
   14286       break ;;
   14287     * )
   14288       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14289   esac
   14290 done
   14291 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14292 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14293 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14294 	 X"$_am_arg" : 'X\(//\)$' \| \
   14295 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14296 $as_echo X"$_am_arg" |
   14297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14298 	    s//\1/
   14299 	    q
   14300 	  }
   14301 	  /^X\(\/\/\)[^/].*/{
   14302 	    s//\1/
   14303 	    q
   14304 	  }
   14305 	  /^X\(\/\/\)$/{
   14306 	    s//\1/
   14307 	    q
   14308 	  }
   14309 	  /^X\(\/\).*/{
   14310 	    s//\1/
   14311 	    q
   14312 	  }
   14313 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14314  ;;
   14315 
   14316   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   14317 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14318  ;;
   14319   esac
   14320 
   14321 
   14322   case $ac_file$ac_mode in
   14323     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   14324   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14325   # are listed without --file.  Let's play safe and only enable the eval
   14326   # if we detect the quoting.
   14327   case $CONFIG_FILES in
   14328   *\'*) eval set x "$CONFIG_FILES" ;;
   14329   *)   set x $CONFIG_FILES ;;
   14330   esac
   14331   shift
   14332   for mf
   14333   do
   14334     # Strip MF so we end up with the name of the file.
   14335     mf=`echo "$mf" | sed -e 's/:.*$//'`
   14336     # Check whether this is an Automake generated Makefile or not.
   14337     # We used to match only the files named `Makefile.in', but
   14338     # some people rename them; so instead we look at the file content.
   14339     # Grep'ing the first line is not enough: some people post-process
   14340     # each Makefile.in and add a new line on top of each file to say so.
   14341     # Grep'ing the whole file is not good either: AIX grep has a line
   14342     # limit of 2048, but all sed's we know have understand at least 4000.
   14343     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14344       dirpart=`$as_dirname -- "$mf" ||
   14345 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14346 	 X"$mf" : 'X\(//\)[^/]' \| \
   14347 	 X"$mf" : 'X\(//\)$' \| \
   14348 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14349 $as_echo X"$mf" |
   14350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14351 	    s//\1/
   14352 	    q
   14353 	  }
   14354 	  /^X\(\/\/\)[^/].*/{
   14355 	    s//\1/
   14356 	    q
   14357 	  }
   14358 	  /^X\(\/\/\)$/{
   14359 	    s//\1/
   14360 	    q
   14361 	  }
   14362 	  /^X\(\/\).*/{
   14363 	    s//\1/
   14364 	    q
   14365 	  }
   14366 	  s/.*/./; q'`
   14367     else
   14368       continue
   14369     fi
   14370     # Extract the definition of DEPDIR, am__include, and am__quote
   14371     # from the Makefile without running `make'.
   14372     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14373     test -z "$DEPDIR" && continue
   14374     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14375     test -z "am__include" && continue
   14376     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14377     # When using ansi2knr, U may be empty or an underscore; expand it
   14378     U=`sed -n 's/^U = //p' < "$mf"`
   14379     # Find all dependency output files, they are included files with
   14380     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14381     # simplest approach to changing $(DEPDIR) to its actual value in the
   14382     # expansion.
   14383     for file in `sed -n "
   14384       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14385 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14386       # Make sure the directory exists.
   14387       test -f "$dirpart/$file" && continue
   14388       fdir=`$as_dirname -- "$file" ||
   14389 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14390 	 X"$file" : 'X\(//\)[^/]' \| \
   14391 	 X"$file" : 'X\(//\)$' \| \
   14392 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14393 $as_echo X"$file" |
   14394     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14395 	    s//\1/
   14396 	    q
   14397 	  }
   14398 	  /^X\(\/\/\)[^/].*/{
   14399 	    s//\1/
   14400 	    q
   14401 	  }
   14402 	  /^X\(\/\/\)$/{
   14403 	    s//\1/
   14404 	    q
   14405 	  }
   14406 	  /^X\(\/\).*/{
   14407 	    s//\1/
   14408 	    q
   14409 	  }
   14410 	  s/.*/./; q'`
   14411       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   14412       # echo "creating $dirpart/$file"
   14413       echo '# dummy' > "$dirpart/$file"
   14414     done
   14415   done
   14416 }
   14417  ;;
   14418     "libtool":C)
   14419 
   14420     # See if we are running on zsh, and set the options which allow our
   14421     # commands through without removal of \ escapes.
   14422     if test -n "${ZSH_VERSION+set}" ; then
   14423       setopt NO_GLOB_SUBST
   14424     fi
   14425 
   14426     cfgfile="${ofile}T"
   14427     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14428     $RM "$cfgfile"
   14429 
   14430     cat <<_LT_EOF >> "$cfgfile"
   14431 #! $SHELL
   14432 
   14433 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14434 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14435 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14436 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14437 #
   14438 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14439 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   14440 #                 Inc.
   14441 #   Written by Gordon Matzigkeit, 1996
   14442 #
   14443 #   This file is part of GNU Libtool.
   14444 #
   14445 # GNU Libtool is free software; you can redistribute it and/or
   14446 # modify it under the terms of the GNU General Public License as
   14447 # published by the Free Software Foundation; either version 2 of
   14448 # the License, or (at your option) any later version.
   14449 #
   14450 # As a special exception to the GNU General Public License,
   14451 # if you distribute this file as part of a program or library that
   14452 # is built using GNU Libtool, you may include this file under the
   14453 # same distribution terms that you use for the rest of that program.
   14454 #
   14455 # GNU Libtool is distributed in the hope that it will be useful,
   14456 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14457 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14458 # GNU General Public License for more details.
   14459 #
   14460 # You should have received a copy of the GNU General Public License
   14461 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14462 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14463 # obtained by writing to the Free Software Foundation, Inc.,
   14464 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14465 
   14466 
   14467 # The names of the tagged configurations supported by this script.
   14468 available_tags=""
   14469 
   14470 # ### BEGIN LIBTOOL CONFIG
   14471 
   14472 # Which release of libtool.m4 was used?
   14473 macro_version=$macro_version
   14474 macro_revision=$macro_revision
   14475 
   14476 # Whether or not to build shared libraries.
   14477 build_libtool_libs=$enable_shared
   14478 
   14479 # Whether or not to build static libraries.
   14480 build_old_libs=$enable_static
   14481 
   14482 # What type of objects to build.
   14483 pic_mode=$pic_mode
   14484 
   14485 # Whether or not to optimize for fast installation.
   14486 fast_install=$enable_fast_install
   14487 
   14488 # Shell to use when invoking shell scripts.
   14489 SHELL=$lt_SHELL
   14490 
   14491 # An echo program that protects backslashes.
   14492 ECHO=$lt_ECHO
   14493 
   14494 # The host system.
   14495 host_alias=$host_alias
   14496 host=$host
   14497 host_os=$host_os
   14498 
   14499 # The build system.
   14500 build_alias=$build_alias
   14501 build=$build
   14502 build_os=$build_os
   14503 
   14504 # A sed program that does not truncate output.
   14505 SED=$lt_SED
   14506 
   14507 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14508 Xsed="\$SED -e 1s/^X//"
   14509 
   14510 # A grep program that handles long lines.
   14511 GREP=$lt_GREP
   14512 
   14513 # An ERE matcher.
   14514 EGREP=$lt_EGREP
   14515 
   14516 # A literal string matcher.
   14517 FGREP=$lt_FGREP
   14518 
   14519 # A BSD- or MS-compatible name lister.
   14520 NM=$lt_NM
   14521 
   14522 # Whether we need soft or hard links.
   14523 LN_S=$lt_LN_S
   14524 
   14525 # What is the maximum length of a command?
   14526 max_cmd_len=$max_cmd_len
   14527 
   14528 # Object file suffix (normally "o").
   14529 objext=$ac_objext
   14530 
   14531 # Executable file suffix (normally "").
   14532 exeext=$exeext
   14533 
   14534 # whether the shell understands "unset".
   14535 lt_unset=$lt_unset
   14536 
   14537 # turn spaces into newlines.
   14538 SP2NL=$lt_lt_SP2NL
   14539 
   14540 # turn newlines into spaces.
   14541 NL2SP=$lt_lt_NL2SP
   14542 
   14543 # An object symbol dumper.
   14544 OBJDUMP=$lt_OBJDUMP
   14545 
   14546 # Method to check whether dependent libraries are shared objects.
   14547 deplibs_check_method=$lt_deplibs_check_method
   14548 
   14549 # Command to use when deplibs_check_method == "file_magic".
   14550 file_magic_cmd=$lt_file_magic_cmd
   14551 
   14552 # The archiver.
   14553 AR=$lt_AR
   14554 AR_FLAGS=$lt_AR_FLAGS
   14555 
   14556 # A symbol stripping program.
   14557 STRIP=$lt_STRIP
   14558 
   14559 # Commands used to install an old-style archive.
   14560 RANLIB=$lt_RANLIB
   14561 old_postinstall_cmds=$lt_old_postinstall_cmds
   14562 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14563 
   14564 # Whether to use a lock for old archive extraction.
   14565 lock_old_archive_extraction=$lock_old_archive_extraction
   14566 
   14567 # A C compiler.
   14568 LTCC=$lt_CC
   14569 
   14570 # LTCC compiler flags.
   14571 LTCFLAGS=$lt_CFLAGS
   14572 
   14573 # Take the output of nm and produce a listing of raw symbols and C names.
   14574 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14575 
   14576 # Transform the output of nm in a proper C declaration.
   14577 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14578 
   14579 # Transform the output of nm in a C name address pair.
   14580 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14581 
   14582 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14583 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14584 
   14585 # The name of the directory that contains temporary libtool files.
   14586 objdir=$objdir
   14587 
   14588 # Used to examine libraries when file_magic_cmd begins with "file".
   14589 MAGIC_CMD=$MAGIC_CMD
   14590 
   14591 # Must we lock files when doing compilation?
   14592 need_locks=$lt_need_locks
   14593 
   14594 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14595 DSYMUTIL=$lt_DSYMUTIL
   14596 
   14597 # Tool to change global to local symbols on Mac OS X.
   14598 NMEDIT=$lt_NMEDIT
   14599 
   14600 # Tool to manipulate fat objects and archives on Mac OS X.
   14601 LIPO=$lt_LIPO
   14602 
   14603 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14604 OTOOL=$lt_OTOOL
   14605 
   14606 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14607 OTOOL64=$lt_OTOOL64
   14608 
   14609 # Old archive suffix (normally "a").
   14610 libext=$libext
   14611 
   14612 # Shared library suffix (normally ".so").
   14613 shrext_cmds=$lt_shrext_cmds
   14614 
   14615 # The commands to extract the exported symbol list from a shared archive.
   14616 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14617 
   14618 # Variables whose values should be saved in libtool wrapper scripts and
   14619 # restored at link time.
   14620 variables_saved_for_relink=$lt_variables_saved_for_relink
   14621 
   14622 # Do we need the "lib" prefix for modules?
   14623 need_lib_prefix=$need_lib_prefix
   14624 
   14625 # Do we need a version for libraries?
   14626 need_version=$need_version
   14627 
   14628 # Library versioning type.
   14629 version_type=$version_type
   14630 
   14631 # Shared library runtime path variable.
   14632 runpath_var=$runpath_var
   14633 
   14634 # Shared library path variable.
   14635 shlibpath_var=$shlibpath_var
   14636 
   14637 # Is shlibpath searched before the hard-coded library search path?
   14638 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14639 
   14640 # Format of library name prefix.
   14641 libname_spec=$lt_libname_spec
   14642 
   14643 # List of archive names.  First name is the real one, the rest are links.
   14644 # The last name is the one that the linker finds with -lNAME
   14645 library_names_spec=$lt_library_names_spec
   14646 
   14647 # The coded name of the library, if different from the real name.
   14648 soname_spec=$lt_soname_spec
   14649 
   14650 # Permission mode override for installation of shared libraries.
   14651 install_override_mode=$lt_install_override_mode
   14652 
   14653 # Command to use after installation of a shared archive.
   14654 postinstall_cmds=$lt_postinstall_cmds
   14655 
   14656 # Command to use after uninstallation of a shared archive.
   14657 postuninstall_cmds=$lt_postuninstall_cmds
   14658 
   14659 # Commands used to finish a libtool library installation in a directory.
   14660 finish_cmds=$lt_finish_cmds
   14661 
   14662 # As "finish_cmds", except a single script fragment to be evaled but
   14663 # not shown.
   14664 finish_eval=$lt_finish_eval
   14665 
   14666 # Whether we should hardcode library paths into libraries.
   14667 hardcode_into_libs=$hardcode_into_libs
   14668 
   14669 # Compile-time system search path for libraries.
   14670 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14671 
   14672 # Run-time system search path for libraries.
   14673 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14674 
   14675 # Whether dlopen is supported.
   14676 dlopen_support=$enable_dlopen
   14677 
   14678 # Whether dlopen of programs is supported.
   14679 dlopen_self=$enable_dlopen_self
   14680 
   14681 # Whether dlopen of statically linked programs is supported.
   14682 dlopen_self_static=$enable_dlopen_self_static
   14683 
   14684 # Commands to strip libraries.
   14685 old_striplib=$lt_old_striplib
   14686 striplib=$lt_striplib
   14687 
   14688 
   14689 # The linker used to build libraries.
   14690 LD=$lt_LD
   14691 
   14692 # How to create reloadable object files.
   14693 reload_flag=$lt_reload_flag
   14694 reload_cmds=$lt_reload_cmds
   14695 
   14696 # Commands used to build an old-style archive.
   14697 old_archive_cmds=$lt_old_archive_cmds
   14698 
   14699 # A language specific compiler.
   14700 CC=$lt_compiler
   14701 
   14702 # Is the compiler the GNU compiler?
   14703 with_gcc=$GCC
   14704 
   14705 # Compiler flag to turn off builtin functions.
   14706 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14707 
   14708 # How to pass a linker flag through the compiler.
   14709 wl=$lt_lt_prog_compiler_wl
   14710 
   14711 # Additional compiler flags for building library objects.
   14712 pic_flag=$lt_lt_prog_compiler_pic
   14713 
   14714 # Compiler flag to prevent dynamic linking.
   14715 link_static_flag=$lt_lt_prog_compiler_static
   14716 
   14717 # Does compiler simultaneously support -c and -o options?
   14718 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14719 
   14720 # Whether or not to add -lc for building shared libraries.
   14721 build_libtool_need_lc=$archive_cmds_need_lc
   14722 
   14723 # Whether or not to disallow shared libs when runtime libs are static.
   14724 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14725 
   14726 # Compiler flag to allow reflexive dlopens.
   14727 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14728 
   14729 # Compiler flag to generate shared objects directly from archives.
   14730 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14731 
   14732 # Whether the compiler copes with passing no objects directly.
   14733 compiler_needs_object=$lt_compiler_needs_object
   14734 
   14735 # Create an old-style archive from a shared archive.
   14736 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14737 
   14738 # Create a temporary old-style archive to link instead of a shared archive.
   14739 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14740 
   14741 # Commands used to build a shared archive.
   14742 archive_cmds=$lt_archive_cmds
   14743 archive_expsym_cmds=$lt_archive_expsym_cmds
   14744 
   14745 # Commands used to build a loadable module if different from building
   14746 # a shared archive.
   14747 module_cmds=$lt_module_cmds
   14748 module_expsym_cmds=$lt_module_expsym_cmds
   14749 
   14750 # Whether we are building with GNU ld or not.
   14751 with_gnu_ld=$lt_with_gnu_ld
   14752 
   14753 # Flag that allows shared libraries with undefined symbols to be built.
   14754 allow_undefined_flag=$lt_allow_undefined_flag
   14755 
   14756 # Flag that enforces no undefined symbols.
   14757 no_undefined_flag=$lt_no_undefined_flag
   14758 
   14759 # Flag to hardcode \$libdir into a binary during linking.
   14760 # This must work even if \$libdir does not exist
   14761 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14762 
   14763 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14764 # during linking.  This must work even if \$libdir does not exist.
   14765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14766 
   14767 # Whether we need a single "-rpath" flag with a separated argument.
   14768 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14769 
   14770 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14771 # DIR into the resulting binary.
   14772 hardcode_direct=$hardcode_direct
   14773 
   14774 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14775 # DIR into the resulting binary and the resulting library dependency is
   14776 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14777 # library is relocated.
   14778 hardcode_direct_absolute=$hardcode_direct_absolute
   14779 
   14780 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14781 # into the resulting binary.
   14782 hardcode_minus_L=$hardcode_minus_L
   14783 
   14784 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14785 # into the resulting binary.
   14786 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14787 
   14788 # Set to "yes" if building a shared library automatically hardcodes DIR
   14789 # into the library and all subsequent libraries and executables linked
   14790 # against it.
   14791 hardcode_automatic=$hardcode_automatic
   14792 
   14793 # Set to yes if linker adds runtime paths of dependent libraries
   14794 # to runtime path list.
   14795 inherit_rpath=$inherit_rpath
   14796 
   14797 # Whether libtool must link a program against all its dependency libraries.
   14798 link_all_deplibs=$link_all_deplibs
   14799 
   14800 # Fix the shell variable \$srcfile for the compiler.
   14801 fix_srcfile_path=$lt_fix_srcfile_path
   14802 
   14803 # Set to "yes" if exported symbols are required.
   14804 always_export_symbols=$always_export_symbols
   14805 
   14806 # The commands to list exported symbols.
   14807 export_symbols_cmds=$lt_export_symbols_cmds
   14808 
   14809 # Symbols that should not be listed in the preloaded symbols.
   14810 exclude_expsyms=$lt_exclude_expsyms
   14811 
   14812 # Symbols that must always be exported.
   14813 include_expsyms=$lt_include_expsyms
   14814 
   14815 # Commands necessary for linking programs (against libraries) with templates.
   14816 prelink_cmds=$lt_prelink_cmds
   14817 
   14818 # Specify filename containing input files.
   14819 file_list_spec=$lt_file_list_spec
   14820 
   14821 # How to hardcode a shared library path into an executable.
   14822 hardcode_action=$hardcode_action
   14823 
   14824 # ### END LIBTOOL CONFIG
   14825 
   14826 _LT_EOF
   14827 
   14828   case $host_os in
   14829   aix3*)
   14830     cat <<\_LT_EOF >> "$cfgfile"
   14831 # AIX sometimes has problems with the GCC collect2 program.  For some
   14832 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14833 # vanish in a puff of smoke.
   14834 if test "X${COLLECT_NAMES+set}" != Xset; then
   14835   COLLECT_NAMES=
   14836   export COLLECT_NAMES
   14837 fi
   14838 _LT_EOF
   14839     ;;
   14840   esac
   14841 
   14842 
   14843 ltmain="$ac_aux_dir/ltmain.sh"
   14844 
   14845 
   14846   # We use sed instead of cat because bash on DJGPP gets confused if
   14847   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14848   # text mode, it properly converts lines to CR/LF.  This bash problem
   14849   # is reportedly fixed, but why not run on old versions too?
   14850   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14851     || (rm -f "$cfgfile"; exit 1)
   14852 
   14853   case $xsi_shell in
   14854   yes)
   14855     cat << \_LT_EOF >> "$cfgfile"
   14856 
   14857 # func_dirname file append nondir_replacement
   14858 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14859 # otherwise set result to NONDIR_REPLACEMENT.
   14860 func_dirname ()
   14861 {
   14862   case ${1} in
   14863     */*) func_dirname_result="${1%/*}${2}" ;;
   14864     *  ) func_dirname_result="${3}" ;;
   14865   esac
   14866 }
   14867 
   14868 # func_basename file
   14869 func_basename ()
   14870 {
   14871   func_basename_result="${1##*/}"
   14872 }
   14873 
   14874 # func_dirname_and_basename file append nondir_replacement
   14875 # perform func_basename and func_dirname in a single function
   14876 # call:
   14877 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14878 #             add APPEND to the result, otherwise set result
   14879 #             to NONDIR_REPLACEMENT.
   14880 #             value returned in "$func_dirname_result"
   14881 #   basename: Compute filename of FILE.
   14882 #             value retuned in "$func_basename_result"
   14883 # Implementation must be kept synchronized with func_dirname
   14884 # and func_basename. For efficiency, we do not delegate to
   14885 # those functions but instead duplicate the functionality here.
   14886 func_dirname_and_basename ()
   14887 {
   14888   case ${1} in
   14889     */*) func_dirname_result="${1%/*}${2}" ;;
   14890     *  ) func_dirname_result="${3}" ;;
   14891   esac
   14892   func_basename_result="${1##*/}"
   14893 }
   14894 
   14895 # func_stripname prefix suffix name
   14896 # strip PREFIX and SUFFIX off of NAME.
   14897 # PREFIX and SUFFIX must not contain globbing or regex special
   14898 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14899 # dot (in which case that matches only a dot).
   14900 func_stripname ()
   14901 {
   14902   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14903   # positional parameters, so assign one to ordinary parameter first.
   14904   func_stripname_result=${3}
   14905   func_stripname_result=${func_stripname_result#"${1}"}
   14906   func_stripname_result=${func_stripname_result%"${2}"}
   14907 }
   14908 
   14909 # func_opt_split
   14910 func_opt_split ()
   14911 {
   14912   func_opt_split_opt=${1%%=*}
   14913   func_opt_split_arg=${1#*=}
   14914 }
   14915 
   14916 # func_lo2o object
   14917 func_lo2o ()
   14918 {
   14919   case ${1} in
   14920     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14921     *)    func_lo2o_result=${1} ;;
   14922   esac
   14923 }
   14924 
   14925 # func_xform libobj-or-source
   14926 func_xform ()
   14927 {
   14928   func_xform_result=${1%.*}.lo
   14929 }
   14930 
   14931 # func_arith arithmetic-term...
   14932 func_arith ()
   14933 {
   14934   func_arith_result=$(( $* ))
   14935 }
   14936 
   14937 # func_len string
   14938 # STRING may not start with a hyphen.
   14939 func_len ()
   14940 {
   14941   func_len_result=${#1}
   14942 }
   14943 
   14944 _LT_EOF
   14945     ;;
   14946   *) # Bourne compatible functions.
   14947     cat << \_LT_EOF >> "$cfgfile"
   14948 
   14949 # func_dirname file append nondir_replacement
   14950 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14951 # otherwise set result to NONDIR_REPLACEMENT.
   14952 func_dirname ()
   14953 {
   14954   # Extract subdirectory from the argument.
   14955   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   14956   if test "X$func_dirname_result" = "X${1}"; then
   14957     func_dirname_result="${3}"
   14958   else
   14959     func_dirname_result="$func_dirname_result${2}"
   14960   fi
   14961 }
   14962 
   14963 # func_basename file
   14964 func_basename ()
   14965 {
   14966   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   14967 }
   14968 
   14969 
   14970 # func_stripname prefix suffix name
   14971 # strip PREFIX and SUFFIX off of NAME.
   14972 # PREFIX and SUFFIX must not contain globbing or regex special
   14973 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14974 # dot (in which case that matches only a dot).
   14975 # func_strip_suffix prefix name
   14976 func_stripname ()
   14977 {
   14978   case ${2} in
   14979     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   14980     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   14981   esac
   14982 }
   14983 
   14984 # sed scripts:
   14985 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14986 my_sed_long_arg='1s/^-[^=]*=//'
   14987 
   14988 # func_opt_split
   14989 func_opt_split ()
   14990 {
   14991   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   14992   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   14993 }
   14994 
   14995 # func_lo2o object
   14996 func_lo2o ()
   14997 {
   14998   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   14999 }
   15000 
   15001 # func_xform libobj-or-source
   15002 func_xform ()
   15003 {
   15004   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   15005 }
   15006 
   15007 # func_arith arithmetic-term...
   15008 func_arith ()
   15009 {
   15010   func_arith_result=`expr "$@"`
   15011 }
   15012 
   15013 # func_len string
   15014 # STRING may not start with a hyphen.
   15015 func_len ()
   15016 {
   15017   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15018 }
   15019 
   15020 _LT_EOF
   15021 esac
   15022 
   15023 case $lt_shell_append in
   15024   yes)
   15025     cat << \_LT_EOF >> "$cfgfile"
   15026 
   15027 # func_append var value
   15028 # Append VALUE to the end of shell variable VAR.
   15029 func_append ()
   15030 {
   15031   eval "$1+=\$2"
   15032 }
   15033 _LT_EOF
   15034     ;;
   15035   *)
   15036     cat << \_LT_EOF >> "$cfgfile"
   15037 
   15038 # func_append var value
   15039 # Append VALUE to the end of shell variable VAR.
   15040 func_append ()
   15041 {
   15042   eval "$1=\$$1\$2"
   15043 }
   15044 
   15045 _LT_EOF
   15046     ;;
   15047   esac
   15048 
   15049 
   15050   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15051     || (rm -f "$cfgfile"; exit 1)
   15052 
   15053   mv -f "$cfgfile" "$ofile" ||
   15054     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15055   chmod +x "$ofile"
   15056 
   15057  ;;
   15058 
   15059   esac
   15060 done # for ac_tag
   15061 
   15062 
   15063 as_fn_exit 0
   15064 _ACEOF
   15065 ac_clean_files=$ac_clean_files_save
   15066 
   15067 test $ac_write_fail = 0 ||
   15068   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15069 
   15070 
   15071 # configure is writing to config.log, and then calls config.status.
   15072 # config.status does its own redirection, appending to config.log.
   15073 # Unfortunately, on DOS this fails, as config.log is still kept open
   15074 # by configure, so config.status won't be able to write to it; its
   15075 # output is simply discarded.  So we exec the FD to /dev/null,
   15076 # effectively closing config.log, so it can be properly (re)opened and
   15077 # appended to by config.status.  When coming back to configure, we
   15078 # need to make the FD available again.
   15079 if test "$no_create" != yes; then
   15080   ac_cs_success=:
   15081   ac_config_status_args=
   15082   test "$silent" = yes &&
   15083     ac_config_status_args="$ac_config_status_args --quiet"
   15084   exec 5>/dev/null
   15085   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15086   exec 5>>config.log
   15087   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15088   # would make configure fail if this is the last instruction.
   15089   $ac_cs_success || as_fn_exit 1
   15090 fi
   15091 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15092   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15093 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15094 fi
   15095 
   15096