Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.66 for xf86-video-savage 2.3.2.
      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 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    185   if (eval "$as_required") 2>/dev/null; then :
    186   as_have_required=yes
    187 else
    188   as_have_required=no
    189 fi
    190   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    191 
    192 else
    193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    194 as_found=false
    195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    196 do
    197   IFS=$as_save_IFS
    198   test -z "$as_dir" && as_dir=.
    199   as_found=:
    200   case $as_dir in #(
    201 	 /*)
    202 	   for as_base in sh bash ksh sh5; do
    203 	     # Try only shells that exist, to save several forks.
    204 	     as_shell=$as_dir/$as_base
    205 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    206 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    207   CONFIG_SHELL=$as_shell as_have_required=yes
    208 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    209   break 2
    210 fi
    211 fi
    212 	   done;;
    213        esac
    214   as_found=false
    215 done
    216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    217 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    218   CONFIG_SHELL=$SHELL as_have_required=yes
    219 fi; }
    220 IFS=$as_save_IFS
    221 
    222 
    223       if test "x$CONFIG_SHELL" != x; then :
    224   # We cannot yet assume a decent shell, so we have to provide a
    225 	# neutralization value for shells without unset; and this also
    226 	# works around shells that cannot unset nonexistent variables.
    227 	BASH_ENV=/dev/null
    228 	ENV=/dev/null
    229 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    230 	export CONFIG_SHELL
    231 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 SHELL=${CONFIG_SHELL-/bin/sh}
    541 
    542 
    543 test -n "$DJDIR" || exec 7<&0 </dev/null
    544 exec 6>&1
    545 
    546 # Name of the host.
    547 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    548 # so uname gets run too.
    549 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    550 
    551 #
    552 # Initializations.
    553 #
    554 ac_default_prefix=/usr/local
    555 ac_clean_files=
    556 ac_config_libobj_dir=.
    557 LIBOBJS=
    558 cross_compiling=no
    559 subdirs=
    560 MFLAGS=
    561 MAKEFLAGS=
    562 
    563 # Identity of this package.
    564 PACKAGE_NAME='xf86-video-savage'
    565 PACKAGE_TARNAME='xf86-video-savage'
    566 PACKAGE_VERSION='2.3.2'
    567 PACKAGE_STRING='xf86-video-savage 2.3.2'
    568 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    569 PACKAGE_URL=''
    570 
    571 ac_unique_file="Makefile.am"
    572 # Factoring default headers for most tests.
    573 ac_includes_default="\
    574 #include <stdio.h>
    575 #ifdef HAVE_SYS_TYPES_H
    576 # include <sys/types.h>
    577 #endif
    578 #ifdef HAVE_SYS_STAT_H
    579 # include <sys/stat.h>
    580 #endif
    581 #ifdef STDC_HEADERS
    582 # include <stdlib.h>
    583 # include <stddef.h>
    584 #else
    585 # ifdef HAVE_STDLIB_H
    586 #  include <stdlib.h>
    587 # endif
    588 #endif
    589 #ifdef HAVE_STRING_H
    590 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    591 #  include <memory.h>
    592 # endif
    593 # include <string.h>
    594 #endif
    595 #ifdef HAVE_STRINGS_H
    596 # include <strings.h>
    597 #endif
    598 #ifdef HAVE_INTTYPES_H
    599 # include <inttypes.h>
    600 #endif
    601 #ifdef HAVE_STDINT_H
    602 # include <stdint.h>
    603 #endif
    604 #ifdef HAVE_UNISTD_H
    605 # include <unistd.h>
    606 #endif"
    607 
    608 ac_subst_vars='am__EXEEXT_FALSE
    609 am__EXEEXT_TRUE
    610 LTLIBOBJS
    611 LIBOBJS
    612 DRIVER_NAME
    613 moduledir
    614 XSERVER_LIBPCIACCESS_FALSE
    615 XSERVER_LIBPCIACCESS_TRUE
    616 PCIACCESS_LIBS
    617 PCIACCESS_CFLAGS
    618 DRI_LIBS
    619 DRI_CFLAGS
    620 DRI_FALSE
    621 DRI_TRUE
    622 HAVE_XEXTPROTO_71_FALSE
    623 HAVE_XEXTPROTO_71_TRUE
    624 XEXT_LIBS
    625 XEXT_CFLAGS
    626 XORG_LIBS
    627 XORG_CFLAGS
    628 OTOOL64
    629 OTOOL
    630 LIPO
    631 NMEDIT
    632 DSYMUTIL
    633 RANLIB
    634 AR
    635 OBJDUMP
    636 LN_S
    637 NM
    638 ac_ct_DUMPBIN
    639 DUMPBIN
    640 LD
    641 FGREP
    642 LIBTOOL
    643 AM_BACKSLASH
    644 AM_DEFAULT_VERBOSITY
    645 MAN_SUBSTS
    646 XORG_MAN_PAGE
    647 ADMIN_MAN_DIR
    648 DRIVER_MAN_DIR
    649 MISC_MAN_DIR
    650 FILE_MAN_DIR
    651 LIB_MAN_DIR
    652 APP_MAN_DIR
    653 ADMIN_MAN_SUFFIX
    654 DRIVER_MAN_SUFFIX
    655 MISC_MAN_SUFFIX
    656 FILE_MAN_SUFFIX
    657 LIB_MAN_SUFFIX
    658 APP_MAN_SUFFIX
    659 SED
    660 host_os
    661 host_vendor
    662 host_cpu
    663 host
    664 build_os
    665 build_vendor
    666 build_cpu
    667 build
    668 INSTALL_CMD
    669 PKG_CONFIG_LIBDIR
    670 PKG_CONFIG_PATH
    671 PKG_CONFIG
    672 CHANGELOG_CMD
    673 CWARNFLAGS
    674 EGREP
    675 GREP
    676 CPP
    677 am__fastdepCC_FALSE
    678 am__fastdepCC_TRUE
    679 CCDEPMODE
    680 AMDEPBACKSLASH
    681 AMDEP_FALSE
    682 AMDEP_TRUE
    683 am__quote
    684 am__include
    685 DEPDIR
    686 OBJEXT
    687 EXEEXT
    688 ac_ct_CC
    689 CPPFLAGS
    690 LDFLAGS
    691 CFLAGS
    692 CC
    693 MAINT
    694 MAINTAINER_MODE_FALSE
    695 MAINTAINER_MODE_TRUE
    696 am__untar
    697 am__tar
    698 AMTAR
    699 am__leading_dot
    700 SET_MAKE
    701 AWK
    702 mkdir_p
    703 MKDIR_P
    704 INSTALL_STRIP_PROGRAM
    705 STRIP
    706 install_sh
    707 MAKEINFO
    708 AUTOHEADER
    709 AUTOMAKE
    710 AUTOCONF
    711 ACLOCAL
    712 VERSION
    713 PACKAGE
    714 CYGPATH_W
    715 am__isrc
    716 INSTALL_DATA
    717 INSTALL_SCRIPT
    718 INSTALL_PROGRAM
    719 target_alias
    720 host_alias
    721 build_alias
    722 LIBS
    723 ECHO_T
    724 ECHO_N
    725 ECHO_C
    726 DEFS
    727 mandir
    728 localedir
    729 libdir
    730 psdir
    731 pdfdir
    732 dvidir
    733 htmldir
    734 infodir
    735 docdir
    736 oldincludedir
    737 includedir
    738 localstatedir
    739 sharedstatedir
    740 sysconfdir
    741 datadir
    742 datarootdir
    743 libexecdir
    744 sbindir
    745 bindir
    746 program_transform_name
    747 prefix
    748 exec_prefix
    749 PACKAGE_URL
    750 PACKAGE_BUGREPORT
    751 PACKAGE_STRING
    752 PACKAGE_VERSION
    753 PACKAGE_TARNAME
    754 PACKAGE_NAME
    755 PATH_SEPARATOR
    756 SHELL'
    757 ac_subst_files=''
    758 ac_user_opts='
    759 enable_option_checking
    760 enable_maintainer_mode
    761 enable_dependency_tracking
    762 enable_strict_compilation
    763 enable_silent_rules
    764 enable_static
    765 enable_shared
    766 with_pic
    767 enable_fast_install
    768 with_gnu_ld
    769 enable_libtool_lock
    770 with_xorg_module_dir
    771 enable_dri
    772 '
    773       ac_precious_vars='build_alias
    774 host_alias
    775 target_alias
    776 CC
    777 CFLAGS
    778 LDFLAGS
    779 LIBS
    780 CPPFLAGS
    781 CPP
    782 CPPFLAGS
    783 PKG_CONFIG
    784 PKG_CONFIG_PATH
    785 PKG_CONFIG_LIBDIR
    786 XORG_CFLAGS
    787 XORG_LIBS
    788 XEXT_CFLAGS
    789 XEXT_LIBS
    790 DRI_CFLAGS
    791 DRI_LIBS
    792 PCIACCESS_CFLAGS
    793 PCIACCESS_LIBS'
    794 
    795 
    796 # Initialize some variables set by options.
    797 ac_init_help=
    798 ac_init_version=false
    799 ac_unrecognized_opts=
    800 ac_unrecognized_sep=
    801 # The variables have the same names as the options, with
    802 # dashes changed to underlines.
    803 cache_file=/dev/null
    804 exec_prefix=NONE
    805 no_create=
    806 no_recursion=
    807 prefix=NONE
    808 program_prefix=NONE
    809 program_suffix=NONE
    810 program_transform_name=s,x,x,
    811 silent=
    812 site=
    813 srcdir=
    814 verbose=
    815 x_includes=NONE
    816 x_libraries=NONE
    817 
    818 # Installation directory options.
    819 # These are left unexpanded so users can "make install exec_prefix=/foo"
    820 # and all the variables that are supposed to be based on exec_prefix
    821 # by default will actually change.
    822 # Use braces instead of parens because sh, perl, etc. also accept them.
    823 # (The list follows the same order as the GNU Coding Standards.)
    824 bindir='${exec_prefix}/bin'
    825 sbindir='${exec_prefix}/sbin'
    826 libexecdir='${exec_prefix}/libexec'
    827 datarootdir='${prefix}/share'
    828 datadir='${datarootdir}'
    829 sysconfdir='${prefix}/etc'
    830 sharedstatedir='${prefix}/com'
    831 localstatedir='${prefix}/var'
    832 includedir='${prefix}/include'
    833 oldincludedir='/usr/include'
    834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    835 infodir='${datarootdir}/info'
    836 htmldir='${docdir}'
    837 dvidir='${docdir}'
    838 pdfdir='${docdir}'
    839 psdir='${docdir}'
    840 libdir='${exec_prefix}/lib'
    841 localedir='${datarootdir}/locale'
    842 mandir='${datarootdir}/man'
    843 
    844 ac_prev=
    845 ac_dashdash=
    846 for ac_option
    847 do
    848   # If the previous option needs an argument, assign it.
    849   if test -n "$ac_prev"; then
    850     eval $ac_prev=\$ac_option
    851     ac_prev=
    852     continue
    853   fi
    854 
    855   case $ac_option in
    856   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    857   *)	ac_optarg=yes ;;
    858   esac
    859 
    860   # Accept the important Cygnus configure options, so we can diagnose typos.
    861 
    862   case $ac_dashdash$ac_option in
    863   --)
    864     ac_dashdash=yes ;;
    865 
    866   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    867     ac_prev=bindir ;;
    868   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    869     bindir=$ac_optarg ;;
    870 
    871   -build | --build | --buil | --bui | --bu)
    872     ac_prev=build_alias ;;
    873   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    874     build_alias=$ac_optarg ;;
    875 
    876   -cache-file | --cache-file | --cache-fil | --cache-fi \
    877   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    878     ac_prev=cache_file ;;
    879   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    880   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    881     cache_file=$ac_optarg ;;
    882 
    883   --config-cache | -C)
    884     cache_file=config.cache ;;
    885 
    886   -datadir | --datadir | --datadi | --datad)
    887     ac_prev=datadir ;;
    888   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    889     datadir=$ac_optarg ;;
    890 
    891   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    892   | --dataroo | --dataro | --datar)
    893     ac_prev=datarootdir ;;
    894   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    895   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    896     datarootdir=$ac_optarg ;;
    897 
    898   -disable-* | --disable-*)
    899     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    900     # Reject names that are not valid shell variable names.
    901     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    902       as_fn_error $? "invalid feature name: $ac_useropt"
    903     ac_useropt_orig=$ac_useropt
    904     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    905     case $ac_user_opts in
    906       *"
    907 "enable_$ac_useropt"
    908 "*) ;;
    909       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    910 	 ac_unrecognized_sep=', ';;
    911     esac
    912     eval enable_$ac_useropt=no ;;
    913 
    914   -docdir | --docdir | --docdi | --doc | --do)
    915     ac_prev=docdir ;;
    916   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    917     docdir=$ac_optarg ;;
    918 
    919   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    920     ac_prev=dvidir ;;
    921   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    922     dvidir=$ac_optarg ;;
    923 
    924   -enable-* | --enable-*)
    925     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    926     # Reject names that are not valid shell variable names.
    927     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    928       as_fn_error $? "invalid feature name: $ac_useropt"
    929     ac_useropt_orig=$ac_useropt
    930     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    931     case $ac_user_opts in
    932       *"
    933 "enable_$ac_useropt"
    934 "*) ;;
    935       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    936 	 ac_unrecognized_sep=', ';;
    937     esac
    938     eval enable_$ac_useropt=\$ac_optarg ;;
    939 
    940   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    941   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    942   | --exec | --exe | --ex)
    943     ac_prev=exec_prefix ;;
    944   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    945   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    946   | --exec=* | --exe=* | --ex=*)
    947     exec_prefix=$ac_optarg ;;
    948 
    949   -gas | --gas | --ga | --g)
    950     # Obsolete; use --with-gas.
    951     with_gas=yes ;;
    952 
    953   -help | --help | --hel | --he | -h)
    954     ac_init_help=long ;;
    955   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    956     ac_init_help=recursive ;;
    957   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    958     ac_init_help=short ;;
    959 
    960   -host | --host | --hos | --ho)
    961     ac_prev=host_alias ;;
    962   -host=* | --host=* | --hos=* | --ho=*)
    963     host_alias=$ac_optarg ;;
    964 
    965   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    966     ac_prev=htmldir ;;
    967   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    968   | --ht=*)
    969     htmldir=$ac_optarg ;;
    970 
    971   -includedir | --includedir | --includedi | --included | --include \
    972   | --includ | --inclu | --incl | --inc)
    973     ac_prev=includedir ;;
    974   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    975   | --includ=* | --inclu=* | --incl=* | --inc=*)
    976     includedir=$ac_optarg ;;
    977 
    978   -infodir | --infodir | --infodi | --infod | --info | --inf)
    979     ac_prev=infodir ;;
    980   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    981     infodir=$ac_optarg ;;
    982 
    983   -libdir | --libdir | --libdi | --libd)
    984     ac_prev=libdir ;;
    985   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    986     libdir=$ac_optarg ;;
    987 
    988   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    989   | --libexe | --libex | --libe)
    990     ac_prev=libexecdir ;;
    991   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    992   | --libexe=* | --libex=* | --libe=*)
    993     libexecdir=$ac_optarg ;;
    994 
    995   -localedir | --localedir | --localedi | --localed | --locale)
    996     ac_prev=localedir ;;
    997   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    998     localedir=$ac_optarg ;;
    999 
   1000   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1001   | --localstate | --localstat | --localsta | --localst | --locals)
   1002     ac_prev=localstatedir ;;
   1003   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1004   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1005     localstatedir=$ac_optarg ;;
   1006 
   1007   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1008     ac_prev=mandir ;;
   1009   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1010     mandir=$ac_optarg ;;
   1011 
   1012   -nfp | --nfp | --nf)
   1013     # Obsolete; use --without-fp.
   1014     with_fp=no ;;
   1015 
   1016   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1017   | --no-cr | --no-c | -n)
   1018     no_create=yes ;;
   1019 
   1020   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1021   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1022     no_recursion=yes ;;
   1023 
   1024   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1025   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1026   | --oldin | --oldi | --old | --ol | --o)
   1027     ac_prev=oldincludedir ;;
   1028   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1029   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1030   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1031     oldincludedir=$ac_optarg ;;
   1032 
   1033   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1034     ac_prev=prefix ;;
   1035   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1036     prefix=$ac_optarg ;;
   1037 
   1038   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1039   | --program-pre | --program-pr | --program-p)
   1040     ac_prev=program_prefix ;;
   1041   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1042   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1043     program_prefix=$ac_optarg ;;
   1044 
   1045   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1046   | --program-suf | --program-su | --program-s)
   1047     ac_prev=program_suffix ;;
   1048   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1049   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1050     program_suffix=$ac_optarg ;;
   1051 
   1052   -program-transform-name | --program-transform-name \
   1053   | --program-transform-nam | --program-transform-na \
   1054   | --program-transform-n | --program-transform- \
   1055   | --program-transform | --program-transfor \
   1056   | --program-transfo | --program-transf \
   1057   | --program-trans | --program-tran \
   1058   | --progr-tra | --program-tr | --program-t)
   1059     ac_prev=program_transform_name ;;
   1060   -program-transform-name=* | --program-transform-name=* \
   1061   | --program-transform-nam=* | --program-transform-na=* \
   1062   | --program-transform-n=* | --program-transform-=* \
   1063   | --program-transform=* | --program-transfor=* \
   1064   | --program-transfo=* | --program-transf=* \
   1065   | --program-trans=* | --program-tran=* \
   1066   | --progr-tra=* | --program-tr=* | --program-t=*)
   1067     program_transform_name=$ac_optarg ;;
   1068 
   1069   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1070     ac_prev=pdfdir ;;
   1071   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1072     pdfdir=$ac_optarg ;;
   1073 
   1074   -psdir | --psdir | --psdi | --psd | --ps)
   1075     ac_prev=psdir ;;
   1076   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1077     psdir=$ac_optarg ;;
   1078 
   1079   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1080   | -silent | --silent | --silen | --sile | --sil)
   1081     silent=yes ;;
   1082 
   1083   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1084     ac_prev=sbindir ;;
   1085   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1086   | --sbi=* | --sb=*)
   1087     sbindir=$ac_optarg ;;
   1088 
   1089   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1090   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1091   | --sharedst | --shareds | --shared | --share | --shar \
   1092   | --sha | --sh)
   1093     ac_prev=sharedstatedir ;;
   1094   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1095   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1096   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1097   | --sha=* | --sh=*)
   1098     sharedstatedir=$ac_optarg ;;
   1099 
   1100   -site | --site | --sit)
   1101     ac_prev=site ;;
   1102   -site=* | --site=* | --sit=*)
   1103     site=$ac_optarg ;;
   1104 
   1105   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1106     ac_prev=srcdir ;;
   1107   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1108     srcdir=$ac_optarg ;;
   1109 
   1110   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1111   | --syscon | --sysco | --sysc | --sys | --sy)
   1112     ac_prev=sysconfdir ;;
   1113   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1114   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1115     sysconfdir=$ac_optarg ;;
   1116 
   1117   -target | --target | --targe | --targ | --tar | --ta | --t)
   1118     ac_prev=target_alias ;;
   1119   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1120     target_alias=$ac_optarg ;;
   1121 
   1122   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1123     verbose=yes ;;
   1124 
   1125   -version | --version | --versio | --versi | --vers | -V)
   1126     ac_init_version=: ;;
   1127 
   1128   -with-* | --with-*)
   1129     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1132       as_fn_error $? "invalid package name: $ac_useropt"
   1133     ac_useropt_orig=$ac_useropt
   1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1135     case $ac_user_opts in
   1136       *"
   1137 "with_$ac_useropt"
   1138 "*) ;;
   1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1140 	 ac_unrecognized_sep=', ';;
   1141     esac
   1142     eval with_$ac_useropt=\$ac_optarg ;;
   1143 
   1144   -without-* | --without-*)
   1145     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1146     # Reject names that are not valid shell variable names.
   1147     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1148       as_fn_error $? "invalid package name: $ac_useropt"
   1149     ac_useropt_orig=$ac_useropt
   1150     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1151     case $ac_user_opts in
   1152       *"
   1153 "with_$ac_useropt"
   1154 "*) ;;
   1155       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1156 	 ac_unrecognized_sep=', ';;
   1157     esac
   1158     eval with_$ac_useropt=no ;;
   1159 
   1160   --x)
   1161     # Obsolete; use --with-x.
   1162     with_x=yes ;;
   1163 
   1164   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1165   | --x-incl | --x-inc | --x-in | --x-i)
   1166     ac_prev=x_includes ;;
   1167   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1168   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1169     x_includes=$ac_optarg ;;
   1170 
   1171   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1172   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1173     ac_prev=x_libraries ;;
   1174   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1175   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1176     x_libraries=$ac_optarg ;;
   1177 
   1178   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1179 Try \`$0 --help' for more information"
   1180     ;;
   1181 
   1182   *=*)
   1183     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1184     # Reject names that are not valid shell variable names.
   1185     case $ac_envvar in #(
   1186       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1187       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1188     esac
   1189     eval $ac_envvar=\$ac_optarg
   1190     export $ac_envvar ;;
   1191 
   1192   *)
   1193     # FIXME: should be removed in autoconf 3.0.
   1194     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1195     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1196       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1197     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1198     ;;
   1199 
   1200   esac
   1201 done
   1202 
   1203 if test -n "$ac_prev"; then
   1204   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1205   as_fn_error $? "missing argument to $ac_option"
   1206 fi
   1207 
   1208 if test -n "$ac_unrecognized_opts"; then
   1209   case $enable_option_checking in
   1210     no) ;;
   1211     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1212     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1213   esac
   1214 fi
   1215 
   1216 # Check all directory arguments for consistency.
   1217 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1218 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1219 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1220 		libdir localedir mandir
   1221 do
   1222   eval ac_val=\$$ac_var
   1223   # Remove trailing slashes.
   1224   case $ac_val in
   1225     */ )
   1226       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1227       eval $ac_var=\$ac_val;;
   1228   esac
   1229   # Be sure to have absolute directory names.
   1230   case $ac_val in
   1231     [\\/$]* | ?:[\\/]* )  continue;;
   1232     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1233   esac
   1234   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1235 done
   1236 
   1237 # There might be people who depend on the old broken behavior: `$host'
   1238 # used to hold the argument of --host etc.
   1239 # FIXME: To remove some day.
   1240 build=$build_alias
   1241 host=$host_alias
   1242 target=$target_alias
   1243 
   1244 # FIXME: To remove some day.
   1245 if test "x$host_alias" != x; then
   1246   if test "x$build_alias" = x; then
   1247     cross_compiling=maybe
   1248     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1249     If a cross compiler is detected then cross compile mode will be used" >&2
   1250   elif test "x$build_alias" != "x$host_alias"; then
   1251     cross_compiling=yes
   1252   fi
   1253 fi
   1254 
   1255 ac_tool_prefix=
   1256 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1257 
   1258 test "$silent" = yes && exec 6>/dev/null
   1259 
   1260 
   1261 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1262 ac_ls_di=`ls -di .` &&
   1263 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1264   as_fn_error $? "working directory cannot be determined"
   1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1266   as_fn_error $? "pwd does not report name of working directory"
   1267 
   1268 
   1269 # Find the source files, if location was not specified.
   1270 if test -z "$srcdir"; then
   1271   ac_srcdir_defaulted=yes
   1272   # Try the directory containing this script, then the parent directory.
   1273   ac_confdir=`$as_dirname -- "$as_myself" ||
   1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1275 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1276 	 X"$as_myself" : 'X\(//\)$' \| \
   1277 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1278 $as_echo X"$as_myself" |
   1279     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)[^/].*/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\/\)$/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  /^X\(\/\).*/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  s/.*/./; q'`
   1296   srcdir=$ac_confdir
   1297   if test ! -r "$srcdir/$ac_unique_file"; then
   1298     srcdir=..
   1299   fi
   1300 else
   1301   ac_srcdir_defaulted=no
   1302 fi
   1303 if test ! -r "$srcdir/$ac_unique_file"; then
   1304   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1305   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1306 fi
   1307 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1308 ac_abs_confdir=`(
   1309 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1310 	pwd)`
   1311 # When building in place, set srcdir=.
   1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1313   srcdir=.
   1314 fi
   1315 # Remove unnecessary trailing slashes from srcdir.
   1316 # Double slashes in file names in object file debugging info
   1317 # mess up M-x gdb in Emacs.
   1318 case $srcdir in
   1319 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1320 esac
   1321 for ac_var in $ac_precious_vars; do
   1322   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1323   eval ac_env_${ac_var}_value=\$${ac_var}
   1324   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1325   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1326 done
   1327 
   1328 #
   1329 # Report the --help message.
   1330 #
   1331 if test "$ac_init_help" = "long"; then
   1332   # Omit some internal or obsolete options to make the list less imposing.
   1333   # This message is too long to be a string in the A/UX 3.1 sh.
   1334   cat <<_ACEOF
   1335 \`configure' configures xf86-video-savage 2.3.2 to adapt to many kinds of systems.
   1336 
   1337 Usage: $0 [OPTION]... [VAR=VALUE]...
   1338 
   1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1340 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1341 
   1342 Defaults for the options are specified in brackets.
   1343 
   1344 Configuration:
   1345   -h, --help              display this help and exit
   1346       --help=short        display options specific to this package
   1347       --help=recursive    display the short help of all the included packages
   1348   -V, --version           display version information and exit
   1349   -q, --quiet, --silent   do not print \`checking ...' messages
   1350       --cache-file=FILE   cache test results in FILE [disabled]
   1351   -C, --config-cache      alias for \`--cache-file=config.cache'
   1352   -n, --no-create         do not create output files
   1353       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1354 
   1355 Installation directories:
   1356   --prefix=PREFIX         install architecture-independent files in PREFIX
   1357                           [$ac_default_prefix]
   1358   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1359                           [PREFIX]
   1360 
   1361 By default, \`make install' will install all the files in
   1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1364 for instance \`--prefix=\$HOME'.
   1365 
   1366 For better control, use the options below.
   1367 
   1368 Fine tuning of the installation directories:
   1369   --bindir=DIR            user executables [EPREFIX/bin]
   1370   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1371   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1372   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1373   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1374   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1375   --libdir=DIR            object code libraries [EPREFIX/lib]
   1376   --includedir=DIR        C header files [PREFIX/include]
   1377   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1378   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1379   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1380   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1381   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1382   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1383   --docdir=DIR            documentation root
   1384                           [DATAROOTDIR/doc/xf86-video-savage]
   1385   --htmldir=DIR           html documentation [DOCDIR]
   1386   --dvidir=DIR            dvi documentation [DOCDIR]
   1387   --pdfdir=DIR            pdf documentation [DOCDIR]
   1388   --psdir=DIR             ps documentation [DOCDIR]
   1389 _ACEOF
   1390 
   1391   cat <<\_ACEOF
   1392 
   1393 Program names:
   1394   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1395   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1396   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1397 
   1398 System types:
   1399   --build=BUILD     configure for building on BUILD [guessed]
   1400   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1401 _ACEOF
   1402 fi
   1403 
   1404 if test -n "$ac_init_help"; then
   1405   case $ac_init_help in
   1406      short | recursive ) echo "Configuration of xf86-video-savage 2.3.2:";;
   1407    esac
   1408   cat <<\_ACEOF
   1409 
   1410 Optional Features:
   1411   --disable-option-checking  ignore unrecognized --enable/--with options
   1412   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1413   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1414   --enable-maintainer-mode  enable make rules and dependencies not useful
   1415 			  (and sometimes confusing) to the casual installer
   1416   --disable-dependency-tracking  speeds up one-time build
   1417   --enable-dependency-tracking   do not reject slow dependency extractors
   1418   --enable-strict-compilation
   1419                           Enable all warnings from compiler and make them
   1420                           errors (default: disabled)
   1421   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1422   --disable-silent-rules         verbose build output (undo: `make V=0')
   1423   --enable-static[=PKGS]  build static libraries [default=no]
   1424   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1425   --enable-fast-install[=PKGS]
   1426                           optimize for fast installation [default=yes]
   1427   --disable-libtool-lock  avoid locking (might break parallel builds)
   1428   --disable-dri           Disable DRI support [[default=auto]]
   1429 
   1430 Optional Packages:
   1431   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1432   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1433   --with-pic              try to use only PIC/non-PIC objects [default=use
   1434                           both]
   1435   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1436   --with-xorg-module-dir=DIR
   1437                           Default xorg module directory
   1438                           [[default=$libdir/xorg/modules]]
   1439 
   1440 Some influential environment variables:
   1441   CC          C compiler command
   1442   CFLAGS      C compiler flags
   1443   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1444               nonstandard directory <lib dir>
   1445   LIBS        libraries to pass to the linker, e.g. -l<library>
   1446   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1447               you have headers in a nonstandard directory <include dir>
   1448   CPP         C preprocessor
   1449   PKG_CONFIG  path to pkg-config utility
   1450   PKG_CONFIG_PATH
   1451               directories to add to pkg-config's search path
   1452   PKG_CONFIG_LIBDIR
   1453               path overriding pkg-config's built-in search path
   1454   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1455   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1456   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1457   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1458   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1459   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1460   PCIACCESS_CFLAGS
   1461               C compiler flags for PCIACCESS, overriding pkg-config
   1462   PCIACCESS_LIBS
   1463               linker flags for PCIACCESS, overriding pkg-config
   1464 
   1465 Use these variables to override the choices made by `configure' or to help
   1466 it to find libraries and programs with nonstandard names/locations.
   1467 
   1468 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1469 _ACEOF
   1470 ac_status=$?
   1471 fi
   1472 
   1473 if test "$ac_init_help" = "recursive"; then
   1474   # If there are subdirs, report their specific --help.
   1475   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1476     test -d "$ac_dir" ||
   1477       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1478       continue
   1479     ac_builddir=.
   1480 
   1481 case "$ac_dir" in
   1482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1483 *)
   1484   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1485   # A ".." for each directory in $ac_dir_suffix.
   1486   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1487   case $ac_top_builddir_sub in
   1488   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1489   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1490   esac ;;
   1491 esac
   1492 ac_abs_top_builddir=$ac_pwd
   1493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1494 # for backward compatibility:
   1495 ac_top_builddir=$ac_top_build_prefix
   1496 
   1497 case $srcdir in
   1498   .)  # We are building in place.
   1499     ac_srcdir=.
   1500     ac_top_srcdir=$ac_top_builddir_sub
   1501     ac_abs_top_srcdir=$ac_pwd ;;
   1502   [\\/]* | ?:[\\/]* )  # Absolute name.
   1503     ac_srcdir=$srcdir$ac_dir_suffix;
   1504     ac_top_srcdir=$srcdir
   1505     ac_abs_top_srcdir=$srcdir ;;
   1506   *) # Relative name.
   1507     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1508     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1509     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1510 esac
   1511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1512 
   1513     cd "$ac_dir" || { ac_status=$?; continue; }
   1514     # Check for guested configure.
   1515     if test -f "$ac_srcdir/configure.gnu"; then
   1516       echo &&
   1517       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1518     elif test -f "$ac_srcdir/configure"; then
   1519       echo &&
   1520       $SHELL "$ac_srcdir/configure" --help=recursive
   1521     else
   1522       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1523     fi || ac_status=$?
   1524     cd "$ac_pwd" || { ac_status=$?; break; }
   1525   done
   1526 fi
   1527 
   1528 test -n "$ac_init_help" && exit $ac_status
   1529 if $ac_init_version; then
   1530   cat <<\_ACEOF
   1531 xf86-video-savage configure 2.3.2
   1532 generated by GNU Autoconf 2.66
   1533 
   1534 Copyright (C) 2010 Free Software Foundation, Inc.
   1535 This configure script is free software; the Free Software Foundation
   1536 gives unlimited permission to copy, distribute and modify it.
   1537 _ACEOF
   1538   exit
   1539 fi
   1540 
   1541 ## ------------------------ ##
   1542 ## Autoconf initialization. ##
   1543 ## ------------------------ ##
   1544 
   1545 # ac_fn_c_try_compile LINENO
   1546 # --------------------------
   1547 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1548 ac_fn_c_try_compile ()
   1549 {
   1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1551   rm -f conftest.$ac_objext
   1552   if { { ac_try="$ac_compile"
   1553 case "(($ac_try" in
   1554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1555   *) ac_try_echo=$ac_try;;
   1556 esac
   1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1558 $as_echo "$ac_try_echo"; } >&5
   1559   (eval "$ac_compile") 2>conftest.err
   1560   ac_status=$?
   1561   if test -s conftest.err; then
   1562     grep -v '^ *+' conftest.err >conftest.er1
   1563     cat conftest.er1 >&5
   1564     mv -f conftest.er1 conftest.err
   1565   fi
   1566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1567   test $ac_status = 0; } && {
   1568 	 test -z "$ac_c_werror_flag" ||
   1569 	 test ! -s conftest.err
   1570        } && test -s conftest.$ac_objext; then :
   1571   ac_retval=0
   1572 else
   1573   $as_echo "$as_me: failed program was:" >&5
   1574 sed 's/^/| /' conftest.$ac_ext >&5
   1575 
   1576 	ac_retval=1
   1577 fi
   1578   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1579   as_fn_set_status $ac_retval
   1580 
   1581 } # ac_fn_c_try_compile
   1582 
   1583 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1584 # ---------------------------------------------
   1585 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1586 # accordingly.
   1587 ac_fn_c_check_decl ()
   1588 {
   1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1590   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1591   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1593 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1594 if eval "test \"\${$3+set}\"" = set; then :
   1595   $as_echo_n "(cached) " >&6
   1596 else
   1597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1598 /* end confdefs.h.  */
   1599 $4
   1600 int
   1601 main ()
   1602 {
   1603 #ifndef $as_decl_name
   1604 #ifdef __cplusplus
   1605   (void) $as_decl_use;
   1606 #else
   1607   (void) $as_decl_name;
   1608 #endif
   1609 #endif
   1610 
   1611   ;
   1612   return 0;
   1613 }
   1614 _ACEOF
   1615 if ac_fn_c_try_compile "$LINENO"; then :
   1616   eval "$3=yes"
   1617 else
   1618   eval "$3=no"
   1619 fi
   1620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1621 fi
   1622 eval ac_res=\$$3
   1623 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1624 $as_echo "$ac_res" >&6; }
   1625   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1626 
   1627 } # ac_fn_c_check_decl
   1628 
   1629 # ac_fn_c_try_cpp LINENO
   1630 # ----------------------
   1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1632 ac_fn_c_try_cpp ()
   1633 {
   1634   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1635   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1636 case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 $as_echo "$ac_try_echo"; } >&5
   1642   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1643   ac_status=$?
   1644   if test -s conftest.err; then
   1645     grep -v '^ *+' conftest.err >conftest.er1
   1646     cat conftest.er1 >&5
   1647     mv -f conftest.er1 conftest.err
   1648   fi
   1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1650   test $ac_status = 0; } >/dev/null && {
   1651 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1652 	 test ! -s conftest.err
   1653        }; then :
   1654   ac_retval=0
   1655 else
   1656   $as_echo "$as_me: failed program was:" >&5
   1657 sed 's/^/| /' conftest.$ac_ext >&5
   1658 
   1659     ac_retval=1
   1660 fi
   1661   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1662   as_fn_set_status $ac_retval
   1663 
   1664 } # ac_fn_c_try_cpp
   1665 
   1666 # ac_fn_c_try_run LINENO
   1667 # ----------------------
   1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1669 # that executables *can* be run.
   1670 ac_fn_c_try_run ()
   1671 {
   1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1673   if { { ac_try="$ac_link"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_link") 2>&5
   1681   ac_status=$?
   1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1683   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1684   { { case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_try") 2>&5
   1691   ac_status=$?
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; }; }; then :
   1694   ac_retval=0
   1695 else
   1696   $as_echo "$as_me: program exited with status $ac_status" >&5
   1697        $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700        ac_retval=$ac_status
   1701 fi
   1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1703   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1704   as_fn_set_status $ac_retval
   1705 
   1706 } # ac_fn_c_try_run
   1707 
   1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1709 # -------------------------------------------------------
   1710 # Tests whether HEADER exists and can be compiled using the include files in
   1711 # INCLUDES, setting the cache variable VAR accordingly.
   1712 ac_fn_c_check_header_compile ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1716 $as_echo_n "checking for $2... " >&6; }
   1717 if eval "test \"\${$3+set}\"" = set; then :
   1718   $as_echo_n "(cached) " >&6
   1719 else
   1720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1721 /* end confdefs.h.  */
   1722 $4
   1723 #include <$2>
   1724 _ACEOF
   1725 if ac_fn_c_try_compile "$LINENO"; then :
   1726   eval "$3=yes"
   1727 else
   1728   eval "$3=no"
   1729 fi
   1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1731 fi
   1732 eval ac_res=\$$3
   1733 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1734 $as_echo "$ac_res" >&6; }
   1735   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1736 
   1737 } # ac_fn_c_check_header_compile
   1738 
   1739 # ac_fn_c_try_link LINENO
   1740 # -----------------------
   1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1742 ac_fn_c_try_link ()
   1743 {
   1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1745   rm -f conftest.$ac_objext conftest$ac_exeext
   1746   if { { ac_try="$ac_link"
   1747 case "(($ac_try" in
   1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1749   *) ac_try_echo=$ac_try;;
   1750 esac
   1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1752 $as_echo "$ac_try_echo"; } >&5
   1753   (eval "$ac_link") 2>conftest.err
   1754   ac_status=$?
   1755   if test -s conftest.err; then
   1756     grep -v '^ *+' conftest.err >conftest.er1
   1757     cat conftest.er1 >&5
   1758     mv -f conftest.er1 conftest.err
   1759   fi
   1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1761   test $ac_status = 0; } && {
   1762 	 test -z "$ac_c_werror_flag" ||
   1763 	 test ! -s conftest.err
   1764        } && test -s conftest$ac_exeext && {
   1765 	 test "$cross_compiling" = yes ||
   1766 	 $as_test_x conftest$ac_exeext
   1767        }; then :
   1768   ac_retval=0
   1769 else
   1770   $as_echo "$as_me: failed program was:" >&5
   1771 sed 's/^/| /' conftest.$ac_ext >&5
   1772 
   1773 	ac_retval=1
   1774 fi
   1775   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1776   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1777   # interfere with the next link command; also delete a directory that is
   1778   # left behind by Apple's compiler.  We do this before executing the actions.
   1779   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1780   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1781   as_fn_set_status $ac_retval
   1782 
   1783 } # ac_fn_c_try_link
   1784 
   1785 # ac_fn_c_check_func LINENO FUNC VAR
   1786 # ----------------------------------
   1787 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1788 ac_fn_c_check_func ()
   1789 {
   1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1792 $as_echo_n "checking for $2... " >&6; }
   1793 if eval "test \"\${$3+set}\"" = set; then :
   1794   $as_echo_n "(cached) " >&6
   1795 else
   1796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1797 /* end confdefs.h.  */
   1798 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1800 #define $2 innocuous_$2
   1801 
   1802 /* System header to define __stub macros and hopefully few prototypes,
   1803     which can conflict with char $2 (); below.
   1804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1805     <limits.h> exists even on freestanding compilers.  */
   1806 
   1807 #ifdef __STDC__
   1808 # include <limits.h>
   1809 #else
   1810 # include <assert.h>
   1811 #endif
   1812 
   1813 #undef $2
   1814 
   1815 /* Override any GCC internal prototype to avoid an error.
   1816    Use char because int might match the return type of a GCC
   1817    builtin and then its argument prototype would still apply.  */
   1818 #ifdef __cplusplus
   1819 extern "C"
   1820 #endif
   1821 char $2 ();
   1822 /* The GNU C library defines this for functions which it implements
   1823     to always fail with ENOSYS.  Some functions are actually named
   1824     something starting with __ and the normal name is an alias.  */
   1825 #if defined __stub_$2 || defined __stub___$2
   1826 choke me
   1827 #endif
   1828 
   1829 int
   1830 main ()
   1831 {
   1832 return $2 ();
   1833   ;
   1834   return 0;
   1835 }
   1836 _ACEOF
   1837 if ac_fn_c_try_link "$LINENO"; then :
   1838   eval "$3=yes"
   1839 else
   1840   eval "$3=no"
   1841 fi
   1842 rm -f core conftest.err conftest.$ac_objext \
   1843     conftest$ac_exeext conftest.$ac_ext
   1844 fi
   1845 eval ac_res=\$$3
   1846 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1847 $as_echo "$ac_res" >&6; }
   1848   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1849 
   1850 } # ac_fn_c_check_func
   1851 cat >config.log <<_ACEOF
   1852 This file contains any messages produced by compilers while
   1853 running configure, to aid debugging if configure makes a mistake.
   1854 
   1855 It was created by xf86-video-savage $as_me 2.3.2, which was
   1856 generated by GNU Autoconf 2.66.  Invocation command line was
   1857 
   1858   $ $0 $@
   1859 
   1860 _ACEOF
   1861 exec 5>>config.log
   1862 {
   1863 cat <<_ASUNAME
   1864 ## --------- ##
   1865 ## Platform. ##
   1866 ## --------- ##
   1867 
   1868 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1869 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1870 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1871 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1872 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1873 
   1874 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1875 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1876 
   1877 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1878 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1879 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1880 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1881 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1882 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1883 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1884 
   1885 _ASUNAME
   1886 
   1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1888 for as_dir in $PATH
   1889 do
   1890   IFS=$as_save_IFS
   1891   test -z "$as_dir" && as_dir=.
   1892     $as_echo "PATH: $as_dir"
   1893   done
   1894 IFS=$as_save_IFS
   1895 
   1896 } >&5
   1897 
   1898 cat >&5 <<_ACEOF
   1899 
   1900 
   1901 ## ----------- ##
   1902 ## Core tests. ##
   1903 ## ----------- ##
   1904 
   1905 _ACEOF
   1906 
   1907 
   1908 # Keep a trace of the command line.
   1909 # Strip out --no-create and --no-recursion so they do not pile up.
   1910 # Strip out --silent because we don't want to record it for future runs.
   1911 # Also quote any args containing shell meta-characters.
   1912 # Make two passes to allow for proper duplicate-argument suppression.
   1913 ac_configure_args=
   1914 ac_configure_args0=
   1915 ac_configure_args1=
   1916 ac_must_keep_next=false
   1917 for ac_pass in 1 2
   1918 do
   1919   for ac_arg
   1920   do
   1921     case $ac_arg in
   1922     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1923     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1924     | -silent | --silent | --silen | --sile | --sil)
   1925       continue ;;
   1926     *\'*)
   1927       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1928     esac
   1929     case $ac_pass in
   1930     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1931     2)
   1932       as_fn_append ac_configure_args1 " '$ac_arg'"
   1933       if test $ac_must_keep_next = true; then
   1934 	ac_must_keep_next=false # Got value, back to normal.
   1935       else
   1936 	case $ac_arg in
   1937 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1938 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1939 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1940 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1941 	    case "$ac_configure_args0 " in
   1942 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1943 	    esac
   1944 	    ;;
   1945 	  -* ) ac_must_keep_next=true ;;
   1946 	esac
   1947       fi
   1948       as_fn_append ac_configure_args " '$ac_arg'"
   1949       ;;
   1950     esac
   1951   done
   1952 done
   1953 { ac_configure_args0=; unset ac_configure_args0;}
   1954 { ac_configure_args1=; unset ac_configure_args1;}
   1955 
   1956 # When interrupted or exit'd, cleanup temporary files, and complete
   1957 # config.log.  We remove comments because anyway the quotes in there
   1958 # would cause problems or look ugly.
   1959 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1960 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1961 trap 'exit_status=$?
   1962   # Save into config.log some information that might help in debugging.
   1963   {
   1964     echo
   1965 
   1966     $as_echo "## ---------------- ##
   1967 ## Cache variables. ##
   1968 ## ---------------- ##"
   1969     echo
   1970     # The following way of writing the cache mishandles newlines in values,
   1971 (
   1972   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1973     eval ac_val=\$$ac_var
   1974     case $ac_val in #(
   1975     *${as_nl}*)
   1976       case $ac_var in #(
   1977       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1979       esac
   1980       case $ac_var in #(
   1981       _ | IFS | as_nl) ;; #(
   1982       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1983       *) { eval $ac_var=; unset $ac_var;} ;;
   1984       esac ;;
   1985     esac
   1986   done
   1987   (set) 2>&1 |
   1988     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1989     *${as_nl}ac_space=\ *)
   1990       sed -n \
   1991 	"s/'\''/'\''\\\\'\'''\''/g;
   1992 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1993       ;; #(
   1994     *)
   1995       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1996       ;;
   1997     esac |
   1998     sort
   1999 )
   2000     echo
   2001 
   2002     $as_echo "## ----------------- ##
   2003 ## Output variables. ##
   2004 ## ----------------- ##"
   2005     echo
   2006     for ac_var in $ac_subst_vars
   2007     do
   2008       eval ac_val=\$$ac_var
   2009       case $ac_val in
   2010       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2011       esac
   2012       $as_echo "$ac_var='\''$ac_val'\''"
   2013     done | sort
   2014     echo
   2015 
   2016     if test -n "$ac_subst_files"; then
   2017       $as_echo "## ------------------- ##
   2018 ## File substitutions. ##
   2019 ## ------------------- ##"
   2020       echo
   2021       for ac_var in $ac_subst_files
   2022       do
   2023 	eval ac_val=\$$ac_var
   2024 	case $ac_val in
   2025 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2026 	esac
   2027 	$as_echo "$ac_var='\''$ac_val'\''"
   2028       done | sort
   2029       echo
   2030     fi
   2031 
   2032     if test -s confdefs.h; then
   2033       $as_echo "## ----------- ##
   2034 ## confdefs.h. ##
   2035 ## ----------- ##"
   2036       echo
   2037       cat confdefs.h
   2038       echo
   2039     fi
   2040     test "$ac_signal" != 0 &&
   2041       $as_echo "$as_me: caught signal $ac_signal"
   2042     $as_echo "$as_me: exit $exit_status"
   2043   } >&5
   2044   rm -f core *.core core.conftest.* &&
   2045     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2046     exit $exit_status
   2047 ' 0
   2048 for ac_signal in 1 2 13 15; do
   2049   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2050 done
   2051 ac_signal=0
   2052 
   2053 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2054 rm -f -r conftest* confdefs.h
   2055 
   2056 $as_echo "/* confdefs.h */" > confdefs.h
   2057 
   2058 # Predefined preprocessor variables.
   2059 
   2060 cat >>confdefs.h <<_ACEOF
   2061 #define PACKAGE_NAME "$PACKAGE_NAME"
   2062 _ACEOF
   2063 
   2064 cat >>confdefs.h <<_ACEOF
   2065 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2066 _ACEOF
   2067 
   2068 cat >>confdefs.h <<_ACEOF
   2069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2070 _ACEOF
   2071 
   2072 cat >>confdefs.h <<_ACEOF
   2073 #define PACKAGE_STRING "$PACKAGE_STRING"
   2074 _ACEOF
   2075 
   2076 cat >>confdefs.h <<_ACEOF
   2077 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2078 _ACEOF
   2079 
   2080 cat >>confdefs.h <<_ACEOF
   2081 #define PACKAGE_URL "$PACKAGE_URL"
   2082 _ACEOF
   2083 
   2084 
   2085 # Let the site file select an alternate cache file if it wants to.
   2086 # Prefer an explicitly selected file to automatically selected ones.
   2087 ac_site_file1=NONE
   2088 ac_site_file2=NONE
   2089 if test -n "$CONFIG_SITE"; then
   2090   # We do not want a PATH search for config.site.
   2091   case $CONFIG_SITE in #((
   2092     -*)  ac_site_file1=./$CONFIG_SITE;;
   2093     */*) ac_site_file1=$CONFIG_SITE;;
   2094     *)   ac_site_file1=./$CONFIG_SITE;;
   2095   esac
   2096 elif test "x$prefix" != xNONE; then
   2097   ac_site_file1=$prefix/share/config.site
   2098   ac_site_file2=$prefix/etc/config.site
   2099 else
   2100   ac_site_file1=$ac_default_prefix/share/config.site
   2101   ac_site_file2=$ac_default_prefix/etc/config.site
   2102 fi
   2103 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2104 do
   2105   test "x$ac_site_file" = xNONE && continue
   2106   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2107     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2108 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2109     sed 's/^/| /' "$ac_site_file" >&5
   2110     . "$ac_site_file" \
   2111       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2113 as_fn_error $? "failed to load site script $ac_site_file
   2114 See \`config.log' for more details" "$LINENO" 5; }
   2115   fi
   2116 done
   2117 
   2118 if test -r "$cache_file"; then
   2119   # Some versions of bash will fail to source /dev/null (special files
   2120   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2121   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2122     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2123 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2124     case $cache_file in
   2125       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2126       *)                      . "./$cache_file";;
   2127     esac
   2128   fi
   2129 else
   2130   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2131 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2132   >$cache_file
   2133 fi
   2134 
   2135 # Check that the precious variables saved in the cache have kept the same
   2136 # value.
   2137 ac_cache_corrupted=false
   2138 for ac_var in $ac_precious_vars; do
   2139   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2140   eval ac_new_set=\$ac_env_${ac_var}_set
   2141   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2142   eval ac_new_val=\$ac_env_${ac_var}_value
   2143   case $ac_old_set,$ac_new_set in
   2144     set,)
   2145       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2146 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2147       ac_cache_corrupted=: ;;
   2148     ,set)
   2149       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2150 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2151       ac_cache_corrupted=: ;;
   2152     ,);;
   2153     *)
   2154       if test "x$ac_old_val" != "x$ac_new_val"; then
   2155 	# differences in whitespace do not lead to failure.
   2156 	ac_old_val_w=`echo x $ac_old_val`
   2157 	ac_new_val_w=`echo x $ac_new_val`
   2158 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2159 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2160 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2161 	  ac_cache_corrupted=:
   2162 	else
   2163 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2164 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2165 	  eval $ac_var=\$ac_old_val
   2166 	fi
   2167 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2168 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2169 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2170 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2171       fi;;
   2172   esac
   2173   # Pass precious variables to config.status.
   2174   if test "$ac_new_set" = set; then
   2175     case $ac_new_val in
   2176     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2177     *) ac_arg=$ac_var=$ac_new_val ;;
   2178     esac
   2179     case " $ac_configure_args " in
   2180       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2181       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2182     esac
   2183   fi
   2184 done
   2185 if $ac_cache_corrupted; then
   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_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2189 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2190   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2191 fi
   2192 ## -------------------- ##
   2193 ## Main body of script. ##
   2194 ## -------------------- ##
   2195 
   2196 ac_ext=c
   2197 ac_cpp='$CPP $CPPFLAGS'
   2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2201 
   2202 
   2203 
   2204 ac_config_headers="$ac_config_headers config.h"
   2205 
   2206 ac_aux_dir=
   2207 for ac_dir in . "$srcdir"/.; do
   2208   if test -f "$ac_dir/install-sh"; then
   2209     ac_aux_dir=$ac_dir
   2210     ac_install_sh="$ac_aux_dir/install-sh -c"
   2211     break
   2212   elif test -f "$ac_dir/install.sh"; then
   2213     ac_aux_dir=$ac_dir
   2214     ac_install_sh="$ac_aux_dir/install.sh -c"
   2215     break
   2216   elif test -f "$ac_dir/shtool"; then
   2217     ac_aux_dir=$ac_dir
   2218     ac_install_sh="$ac_aux_dir/shtool install -c"
   2219     break
   2220   fi
   2221 done
   2222 if test -z "$ac_aux_dir"; then
   2223   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2224 fi
   2225 
   2226 # These three variables are undocumented and unsupported,
   2227 # and are intended to be withdrawn in a future Autoconf release.
   2228 # They can cause serious problems if a builder's source tree is in a directory
   2229 # whose full name contains unusual characters.
   2230 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2231 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2232 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2233 
   2234 
   2235 
   2236 # Initialize Automake
   2237 am__api_version='1.11'
   2238 
   2239 # Find a good install program.  We prefer a C program (faster),
   2240 # so one script is as good as another.  But avoid the broken or
   2241 # incompatible versions:
   2242 # SysV /etc/install, /usr/sbin/install
   2243 # SunOS /usr/etc/install
   2244 # IRIX /sbin/install
   2245 # AIX /bin/install
   2246 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2250 # OS/2's system install, which has a completely different semantic
   2251 # ./install, which can be erroneously created by make from ./install.sh.
   2252 # Reject install programs that cannot install multiple files.
   2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2254 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2255 if test -z "$INSTALL"; then
   2256 if test "${ac_cv_path_install+set}" = set; then :
   2257   $as_echo_n "(cached) " >&6
   2258 else
   2259   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2260 for as_dir in $PATH
   2261 do
   2262   IFS=$as_save_IFS
   2263   test -z "$as_dir" && as_dir=.
   2264     # Account for people who put trailing slashes in PATH elements.
   2265 case $as_dir/ in #((
   2266   ./ | .// | /[cC]/* | \
   2267   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2268   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2269   /usr/ucb/* ) ;;
   2270   *)
   2271     # OSF1 and SCO ODT 3.0 have their own names for install.
   2272     # Don't use installbsd from OSF since it installs stuff as root
   2273     # by default.
   2274     for ac_prog in ginstall scoinst install; do
   2275       for ac_exec_ext in '' $ac_executable_extensions; do
   2276 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2277 	  if test $ac_prog = install &&
   2278 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2279 	    # AIX install.  It has an incompatible calling convention.
   2280 	    :
   2281 	  elif test $ac_prog = install &&
   2282 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2283 	    # program-specific install script used by HP pwplus--don't use.
   2284 	    :
   2285 	  else
   2286 	    rm -rf conftest.one conftest.two conftest.dir
   2287 	    echo one > conftest.one
   2288 	    echo two > conftest.two
   2289 	    mkdir conftest.dir
   2290 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2291 	      test -s conftest.one && test -s conftest.two &&
   2292 	      test -s conftest.dir/conftest.one &&
   2293 	      test -s conftest.dir/conftest.two
   2294 	    then
   2295 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2296 	      break 3
   2297 	    fi
   2298 	  fi
   2299 	fi
   2300       done
   2301     done
   2302     ;;
   2303 esac
   2304 
   2305   done
   2306 IFS=$as_save_IFS
   2307 
   2308 rm -rf conftest.one conftest.two conftest.dir
   2309 
   2310 fi
   2311   if test "${ac_cv_path_install+set}" = set; then
   2312     INSTALL=$ac_cv_path_install
   2313   else
   2314     # As a last resort, use the slow shell script.  Don't cache a
   2315     # value for INSTALL within a source directory, because that will
   2316     # break other packages using the cache if that directory is
   2317     # removed, or if the value is a relative name.
   2318     INSTALL=$ac_install_sh
   2319   fi
   2320 fi
   2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2322 $as_echo "$INSTALL" >&6; }
   2323 
   2324 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2325 # It thinks the first close brace ends the variable substitution.
   2326 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2327 
   2328 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2329 
   2330 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2331 
   2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2333 $as_echo_n "checking whether build environment is sane... " >&6; }
   2334 # Just in case
   2335 sleep 1
   2336 echo timestamp > conftest.file
   2337 # Reject unsafe characters in $srcdir or the absolute working directory
   2338 # name.  Accept space and tab only in the latter.
   2339 am_lf='
   2340 '
   2341 case `pwd` in
   2342   *[\\\"\#\$\&\'\`$am_lf]*)
   2343     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2344 esac
   2345 case $srcdir in
   2346   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2347     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2348 esac
   2349 
   2350 # Do `set' in a subshell so we don't clobber the current shell's
   2351 # arguments.  Must try -L first in case configure is actually a
   2352 # symlink; some systems play weird games with the mod time of symlinks
   2353 # (eg FreeBSD returns the mod time of the symlink's containing
   2354 # directory).
   2355 if (
   2356    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2357    if test "$*" = "X"; then
   2358       # -L didn't work.
   2359       set X `ls -t "$srcdir/configure" conftest.file`
   2360    fi
   2361    rm -f conftest.file
   2362    if test "$*" != "X $srcdir/configure conftest.file" \
   2363       && test "$*" != "X conftest.file $srcdir/configure"; then
   2364 
   2365       # If neither matched, then we have a broken ls.  This can happen
   2366       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2367       # broken ls alias from the environment.  This has actually
   2368       # happened.  Such a system could not be considered "sane".
   2369       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2370 alias in your environment" "$LINENO" 5
   2371    fi
   2372 
   2373    test "$2" = conftest.file
   2374    )
   2375 then
   2376    # Ok.
   2377    :
   2378 else
   2379    as_fn_error $? "newly created file is older than distributed files!
   2380 Check your system clock" "$LINENO" 5
   2381 fi
   2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2383 $as_echo "yes" >&6; }
   2384 test "$program_prefix" != NONE &&
   2385   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2386 # Use a double $ so make ignores it.
   2387 test "$program_suffix" != NONE &&
   2388   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2389 # Double any \ or $.
   2390 # By default was `s,x,x', remove it if useless.
   2391 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2392 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2393 
   2394 # expand $ac_aux_dir to an absolute path
   2395 am_aux_dir=`cd $ac_aux_dir && pwd`
   2396 
   2397 if test x"${MISSING+set}" != xset; then
   2398   case $am_aux_dir in
   2399   *\ * | *\	*)
   2400     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2401   *)
   2402     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2403   esac
   2404 fi
   2405 # Use eval to expand $SHELL
   2406 if eval "$MISSING --run true"; then
   2407   am_missing_run="$MISSING --run "
   2408 else
   2409   am_missing_run=
   2410   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2411 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2412 fi
   2413 
   2414 if test x"${install_sh}" != xset; then
   2415   case $am_aux_dir in
   2416   *\ * | *\	*)
   2417     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2418   *)
   2419     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2420   esac
   2421 fi
   2422 
   2423 # Installed binaries are usually stripped using `strip' when the user
   2424 # run `make install-strip'.  However `strip' might not be the right
   2425 # tool to use in cross-compilation environments, therefore Automake
   2426 # will honor the `STRIP' environment variable to overrule this program.
   2427 if test "$cross_compiling" != no; then
   2428   if test -n "$ac_tool_prefix"; then
   2429   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2430 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2432 $as_echo_n "checking for $ac_word... " >&6; }
   2433 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2434   $as_echo_n "(cached) " >&6
   2435 else
   2436   if test -n "$STRIP"; then
   2437   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2438 else
   2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2440 for as_dir in $PATH
   2441 do
   2442   IFS=$as_save_IFS
   2443   test -z "$as_dir" && as_dir=.
   2444     for ac_exec_ext in '' $ac_executable_extensions; do
   2445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2446     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2448     break 2
   2449   fi
   2450 done
   2451   done
   2452 IFS=$as_save_IFS
   2453 
   2454 fi
   2455 fi
   2456 STRIP=$ac_cv_prog_STRIP
   2457 if test -n "$STRIP"; then
   2458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2459 $as_echo "$STRIP" >&6; }
   2460 else
   2461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2462 $as_echo "no" >&6; }
   2463 fi
   2464 
   2465 
   2466 fi
   2467 if test -z "$ac_cv_prog_STRIP"; then
   2468   ac_ct_STRIP=$STRIP
   2469   # Extract the first word of "strip", so it can be a program name with args.
   2470 set dummy strip; ac_word=$2
   2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2472 $as_echo_n "checking for $ac_word... " >&6; }
   2473 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2474   $as_echo_n "(cached) " >&6
   2475 else
   2476   if test -n "$ac_ct_STRIP"; then
   2477   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2478 else
   2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2480 for as_dir in $PATH
   2481 do
   2482   IFS=$as_save_IFS
   2483   test -z "$as_dir" && as_dir=.
   2484     for ac_exec_ext in '' $ac_executable_extensions; do
   2485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2486     ac_cv_prog_ac_ct_STRIP="strip"
   2487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2488     break 2
   2489   fi
   2490 done
   2491   done
   2492 IFS=$as_save_IFS
   2493 
   2494 fi
   2495 fi
   2496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2497 if test -n "$ac_ct_STRIP"; then
   2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2499 $as_echo "$ac_ct_STRIP" >&6; }
   2500 else
   2501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2502 $as_echo "no" >&6; }
   2503 fi
   2504 
   2505   if test "x$ac_ct_STRIP" = x; then
   2506     STRIP=":"
   2507   else
   2508     case $cross_compiling:$ac_tool_warned in
   2509 yes:)
   2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2512 ac_tool_warned=yes ;;
   2513 esac
   2514     STRIP=$ac_ct_STRIP
   2515   fi
   2516 else
   2517   STRIP="$ac_cv_prog_STRIP"
   2518 fi
   2519 
   2520 fi
   2521 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2522 
   2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2524 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2525 if test -z "$MKDIR_P"; then
   2526   if test "${ac_cv_path_mkdir+set}" = set; then :
   2527   $as_echo_n "(cached) " >&6
   2528 else
   2529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2531 do
   2532   IFS=$as_save_IFS
   2533   test -z "$as_dir" && as_dir=.
   2534     for ac_prog in mkdir gmkdir; do
   2535 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2536 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2537 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2538 	     'mkdir (GNU coreutils) '* | \
   2539 	     'mkdir (coreutils) '* | \
   2540 	     'mkdir (fileutils) '4.1*)
   2541 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2542 	       break 3;;
   2543 	   esac
   2544 	 done
   2545        done
   2546   done
   2547 IFS=$as_save_IFS
   2548 
   2549 fi
   2550 
   2551   test -d ./--version && rmdir ./--version
   2552   if test "${ac_cv_path_mkdir+set}" = set; then
   2553     MKDIR_P="$ac_cv_path_mkdir -p"
   2554   else
   2555     # As a last resort, use the slow shell script.  Don't cache a
   2556     # value for MKDIR_P within a source directory, because that will
   2557     # break other packages using the cache if that directory is
   2558     # removed, or if the value is a relative name.
   2559     MKDIR_P="$ac_install_sh -d"
   2560   fi
   2561 fi
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2563 $as_echo "$MKDIR_P" >&6; }
   2564 
   2565 mkdir_p="$MKDIR_P"
   2566 case $mkdir_p in
   2567   [\\/$]* | ?:[\\/]*) ;;
   2568   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2569 esac
   2570 
   2571 for ac_prog in gawk mawk nawk awk
   2572 do
   2573   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2574 set dummy $ac_prog; ac_word=$2
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2576 $as_echo_n "checking for $ac_word... " >&6; }
   2577 if test "${ac_cv_prog_AWK+set}" = set; then :
   2578   $as_echo_n "(cached) " >&6
   2579 else
   2580   if test -n "$AWK"; then
   2581   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2582 else
   2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2584 for as_dir in $PATH
   2585 do
   2586   IFS=$as_save_IFS
   2587   test -z "$as_dir" && as_dir=.
   2588     for ac_exec_ext in '' $ac_executable_extensions; do
   2589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2590     ac_cv_prog_AWK="$ac_prog"
   2591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2592     break 2
   2593   fi
   2594 done
   2595   done
   2596 IFS=$as_save_IFS
   2597 
   2598 fi
   2599 fi
   2600 AWK=$ac_cv_prog_AWK
   2601 if test -n "$AWK"; then
   2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2603 $as_echo "$AWK" >&6; }
   2604 else
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2606 $as_echo "no" >&6; }
   2607 fi
   2608 
   2609 
   2610   test -n "$AWK" && break
   2611 done
   2612 
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2614 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2615 set x ${MAKE-make}
   2616 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2617 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
   2618   $as_echo_n "(cached) " >&6
   2619 else
   2620   cat >conftest.make <<\_ACEOF
   2621 SHELL = /bin/sh
   2622 all:
   2623 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2624 _ACEOF
   2625 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2627   *@@@%%%=?*=@@@%%%*)
   2628     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2629   *)
   2630     eval ac_cv_prog_make_${ac_make}_set=no;;
   2631 esac
   2632 rm -f conftest.make
   2633 fi
   2634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2636 $as_echo "yes" >&6; }
   2637   SET_MAKE=
   2638 else
   2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2640 $as_echo "no" >&6; }
   2641   SET_MAKE="MAKE=${MAKE-make}"
   2642 fi
   2643 
   2644 rm -rf .tst 2>/dev/null
   2645 mkdir .tst 2>/dev/null
   2646 if test -d .tst; then
   2647   am__leading_dot=.
   2648 else
   2649   am__leading_dot=_
   2650 fi
   2651 rmdir .tst 2>/dev/null
   2652 
   2653 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2654   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2655   # is not polluted with repeated "-I."
   2656   am__isrc=' -I$(srcdir)'
   2657   # test to see if srcdir already configured
   2658   if test -f $srcdir/config.status; then
   2659     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2660   fi
   2661 fi
   2662 
   2663 # test whether we have cygpath
   2664 if test -z "$CYGPATH_W"; then
   2665   if (cygpath --version) >/dev/null 2>/dev/null; then
   2666     CYGPATH_W='cygpath -w'
   2667   else
   2668     CYGPATH_W=echo
   2669   fi
   2670 fi
   2671 
   2672 
   2673 # Define the identity of the package.
   2674  PACKAGE='xf86-video-savage'
   2675  VERSION='2.3.2'
   2676 
   2677 
   2678 cat >>confdefs.h <<_ACEOF
   2679 #define PACKAGE "$PACKAGE"
   2680 _ACEOF
   2681 
   2682 
   2683 cat >>confdefs.h <<_ACEOF
   2684 #define VERSION "$VERSION"
   2685 _ACEOF
   2686 
   2687 # Some tools Automake needs.
   2688 
   2689 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2690 
   2691 
   2692 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2693 
   2694 
   2695 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2696 
   2697 
   2698 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2699 
   2700 
   2701 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2702 
   2703 # We need awk for the "check" target.  The system "awk" is bad on
   2704 # some platforms.
   2705 # Always define AMTAR for backward compatibility.
   2706 
   2707 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2708 
   2709 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2710 
   2711 
   2712 
   2713 
   2714 
   2715 
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2717 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2718     # Check whether --enable-maintainer-mode was given.
   2719 if test "${enable_maintainer_mode+set}" = set; then :
   2720   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2721 else
   2722   USE_MAINTAINER_MODE=no
   2723 fi
   2724 
   2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2726 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2727    if test $USE_MAINTAINER_MODE = yes; then
   2728   MAINTAINER_MODE_TRUE=
   2729   MAINTAINER_MODE_FALSE='#'
   2730 else
   2731   MAINTAINER_MODE_TRUE='#'
   2732   MAINTAINER_MODE_FALSE=
   2733 fi
   2734 
   2735   MAINT=$MAINTAINER_MODE_TRUE
   2736 
   2737 
   2738 
   2739 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2740 
   2741 
   2742 
   2743 
   2744 
   2745 
   2746 
   2747 
   2748 
   2749 
   2750 
   2751 DEPDIR="${am__leading_dot}deps"
   2752 
   2753 ac_config_commands="$ac_config_commands depfiles"
   2754 
   2755 
   2756 am_make=${MAKE-make}
   2757 cat > confinc << 'END'
   2758 am__doit:
   2759 	@echo this is the am__doit target
   2760 .PHONY: am__doit
   2761 END
   2762 # If we don't find an include directive, just comment out the code.
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2764 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2765 am__include="#"
   2766 am__quote=
   2767 _am_result=none
   2768 # First try GNU make style include.
   2769 echo "include confinc" > confmf
   2770 # Ignore all kinds of additional output from `make'.
   2771 case `$am_make -s -f confmf 2> /dev/null` in #(
   2772 *the\ am__doit\ target*)
   2773   am__include=include
   2774   am__quote=
   2775   _am_result=GNU
   2776   ;;
   2777 esac
   2778 # Now try BSD make style include.
   2779 if test "$am__include" = "#"; then
   2780    echo '.include "confinc"' > confmf
   2781    case `$am_make -s -f confmf 2> /dev/null` in #(
   2782    *the\ am__doit\ target*)
   2783      am__include=.include
   2784      am__quote="\""
   2785      _am_result=BSD
   2786      ;;
   2787    esac
   2788 fi
   2789 
   2790 
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2792 $as_echo "$_am_result" >&6; }
   2793 rm -f confinc confmf
   2794 
   2795 # Check whether --enable-dependency-tracking was given.
   2796 if test "${enable_dependency_tracking+set}" = set; then :
   2797   enableval=$enable_dependency_tracking;
   2798 fi
   2799 
   2800 if test "x$enable_dependency_tracking" != xno; then
   2801   am_depcomp="$ac_aux_dir/depcomp"
   2802   AMDEPBACKSLASH='\'
   2803 fi
   2804  if test "x$enable_dependency_tracking" != xno; then
   2805   AMDEP_TRUE=
   2806   AMDEP_FALSE='#'
   2807 else
   2808   AMDEP_TRUE='#'
   2809   AMDEP_FALSE=
   2810 fi
   2811 
   2812 
   2813 ac_ext=c
   2814 ac_cpp='$CPP $CPPFLAGS'
   2815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2818 if test -n "$ac_tool_prefix"; then
   2819   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2820 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2822 $as_echo_n "checking for $ac_word... " >&6; }
   2823 if test "${ac_cv_prog_CC+set}" = set; then :
   2824   $as_echo_n "(cached) " >&6
   2825 else
   2826   if test -n "$CC"; then
   2827   ac_cv_prog_CC="$CC" # Let the user override the test.
   2828 else
   2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2830 for as_dir in $PATH
   2831 do
   2832   IFS=$as_save_IFS
   2833   test -z "$as_dir" && as_dir=.
   2834     for ac_exec_ext in '' $ac_executable_extensions; do
   2835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2836     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2838     break 2
   2839   fi
   2840 done
   2841   done
   2842 IFS=$as_save_IFS
   2843 
   2844 fi
   2845 fi
   2846 CC=$ac_cv_prog_CC
   2847 if test -n "$CC"; then
   2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2849 $as_echo "$CC" >&6; }
   2850 else
   2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2852 $as_echo "no" >&6; }
   2853 fi
   2854 
   2855 
   2856 fi
   2857 if test -z "$ac_cv_prog_CC"; then
   2858   ac_ct_CC=$CC
   2859   # Extract the first word of "gcc", so it can be a program name with args.
   2860 set dummy gcc; ac_word=$2
   2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2862 $as_echo_n "checking for $ac_word... " >&6; }
   2863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2864   $as_echo_n "(cached) " >&6
   2865 else
   2866   if test -n "$ac_ct_CC"; then
   2867   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2868 else
   2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2870 for as_dir in $PATH
   2871 do
   2872   IFS=$as_save_IFS
   2873   test -z "$as_dir" && as_dir=.
   2874     for ac_exec_ext in '' $ac_executable_extensions; do
   2875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2876     ac_cv_prog_ac_ct_CC="gcc"
   2877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2878     break 2
   2879   fi
   2880 done
   2881   done
   2882 IFS=$as_save_IFS
   2883 
   2884 fi
   2885 fi
   2886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2887 if test -n "$ac_ct_CC"; then
   2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2889 $as_echo "$ac_ct_CC" >&6; }
   2890 else
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2892 $as_echo "no" >&6; }
   2893 fi
   2894 
   2895   if test "x$ac_ct_CC" = x; then
   2896     CC=""
   2897   else
   2898     case $cross_compiling:$ac_tool_warned in
   2899 yes:)
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2902 ac_tool_warned=yes ;;
   2903 esac
   2904     CC=$ac_ct_CC
   2905   fi
   2906 else
   2907   CC="$ac_cv_prog_CC"
   2908 fi
   2909 
   2910 if test -z "$CC"; then
   2911           if test -n "$ac_tool_prefix"; then
   2912     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2913 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2915 $as_echo_n "checking for $ac_word... " >&6; }
   2916 if test "${ac_cv_prog_CC+set}" = set; then :
   2917   $as_echo_n "(cached) " >&6
   2918 else
   2919   if test -n "$CC"; then
   2920   ac_cv_prog_CC="$CC" # Let the user override the test.
   2921 else
   2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2923 for as_dir in $PATH
   2924 do
   2925   IFS=$as_save_IFS
   2926   test -z "$as_dir" && as_dir=.
   2927     for ac_exec_ext in '' $ac_executable_extensions; do
   2928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2929     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2931     break 2
   2932   fi
   2933 done
   2934   done
   2935 IFS=$as_save_IFS
   2936 
   2937 fi
   2938 fi
   2939 CC=$ac_cv_prog_CC
   2940 if test -n "$CC"; then
   2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2942 $as_echo "$CC" >&6; }
   2943 else
   2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2945 $as_echo "no" >&6; }
   2946 fi
   2947 
   2948 
   2949   fi
   2950 fi
   2951 if test -z "$CC"; then
   2952   # Extract the first word of "cc", so it can be a program name with args.
   2953 set dummy cc; ac_word=$2
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2955 $as_echo_n "checking for $ac_word... " >&6; }
   2956 if test "${ac_cv_prog_CC+set}" = set; then :
   2957   $as_echo_n "(cached) " >&6
   2958 else
   2959   if test -n "$CC"; then
   2960   ac_cv_prog_CC="$CC" # Let the user override the test.
   2961 else
   2962   ac_prog_rejected=no
   2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2964 for as_dir in $PATH
   2965 do
   2966   IFS=$as_save_IFS
   2967   test -z "$as_dir" && as_dir=.
   2968     for ac_exec_ext in '' $ac_executable_extensions; do
   2969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2970     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2971        ac_prog_rejected=yes
   2972        continue
   2973      fi
   2974     ac_cv_prog_CC="cc"
   2975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2976     break 2
   2977   fi
   2978 done
   2979   done
   2980 IFS=$as_save_IFS
   2981 
   2982 if test $ac_prog_rejected = yes; then
   2983   # We found a bogon in the path, so make sure we never use it.
   2984   set dummy $ac_cv_prog_CC
   2985   shift
   2986   if test $# != 0; then
   2987     # We chose a different compiler from the bogus one.
   2988     # However, it has the same basename, so the bogon will be chosen
   2989     # first if we set CC to just the basename; use the full file name.
   2990     shift
   2991     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2992   fi
   2993 fi
   2994 fi
   2995 fi
   2996 CC=$ac_cv_prog_CC
   2997 if test -n "$CC"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2999 $as_echo "$CC" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005 
   3006 fi
   3007 if test -z "$CC"; then
   3008   if test -n "$ac_tool_prefix"; then
   3009   for ac_prog in cl.exe
   3010   do
   3011     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3012 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3014 $as_echo_n "checking for $ac_word... " >&6; }
   3015 if test "${ac_cv_prog_CC+set}" = set; then :
   3016   $as_echo_n "(cached) " >&6
   3017 else
   3018   if test -n "$CC"; then
   3019   ac_cv_prog_CC="$CC" # Let the user override the test.
   3020 else
   3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3022 for as_dir in $PATH
   3023 do
   3024   IFS=$as_save_IFS
   3025   test -z "$as_dir" && as_dir=.
   3026     for ac_exec_ext in '' $ac_executable_extensions; do
   3027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3028     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3030     break 2
   3031   fi
   3032 done
   3033   done
   3034 IFS=$as_save_IFS
   3035 
   3036 fi
   3037 fi
   3038 CC=$ac_cv_prog_CC
   3039 if test -n "$CC"; then
   3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3041 $as_echo "$CC" >&6; }
   3042 else
   3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3044 $as_echo "no" >&6; }
   3045 fi
   3046 
   3047 
   3048     test -n "$CC" && break
   3049   done
   3050 fi
   3051 if test -z "$CC"; then
   3052   ac_ct_CC=$CC
   3053   for ac_prog in cl.exe
   3054 do
   3055   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3056 set dummy $ac_prog; ac_word=$2
   3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3058 $as_echo_n "checking for $ac_word... " >&6; }
   3059 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3060   $as_echo_n "(cached) " >&6
   3061 else
   3062   if test -n "$ac_ct_CC"; then
   3063   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3064 else
   3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3066 for as_dir in $PATH
   3067 do
   3068   IFS=$as_save_IFS
   3069   test -z "$as_dir" && as_dir=.
   3070     for ac_exec_ext in '' $ac_executable_extensions; do
   3071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3072     ac_cv_prog_ac_ct_CC="$ac_prog"
   3073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3074     break 2
   3075   fi
   3076 done
   3077   done
   3078 IFS=$as_save_IFS
   3079 
   3080 fi
   3081 fi
   3082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3083 if test -n "$ac_ct_CC"; then
   3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3085 $as_echo "$ac_ct_CC" >&6; }
   3086 else
   3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3088 $as_echo "no" >&6; }
   3089 fi
   3090 
   3091 
   3092   test -n "$ac_ct_CC" && break
   3093 done
   3094 
   3095   if test "x$ac_ct_CC" = x; then
   3096     CC=""
   3097   else
   3098     case $cross_compiling:$ac_tool_warned in
   3099 yes:)
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3102 ac_tool_warned=yes ;;
   3103 esac
   3104     CC=$ac_ct_CC
   3105   fi
   3106 fi
   3107 
   3108 fi
   3109 
   3110 
   3111 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3113 as_fn_error $? "no acceptable C compiler found in \$PATH
   3114 See \`config.log' for more details" "$LINENO" 5; }
   3115 
   3116 # Provide some information about the compiler.
   3117 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3118 set X $ac_compile
   3119 ac_compiler=$2
   3120 for ac_option in --version -v -V -qversion; do
   3121   { { ac_try="$ac_compiler $ac_option >&5"
   3122 case "(($ac_try" in
   3123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3124   *) ac_try_echo=$ac_try;;
   3125 esac
   3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3127 $as_echo "$ac_try_echo"; } >&5
   3128   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3129   ac_status=$?
   3130   if test -s conftest.err; then
   3131     sed '10a\
   3132 ... rest of stderr output deleted ...
   3133          10q' conftest.err >conftest.er1
   3134     cat conftest.er1 >&5
   3135   fi
   3136   rm -f conftest.er1 conftest.err
   3137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3138   test $ac_status = 0; }
   3139 done
   3140 
   3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3142 /* end confdefs.h.  */
   3143 
   3144 int
   3145 main ()
   3146 {
   3147 
   3148   ;
   3149   return 0;
   3150 }
   3151 _ACEOF
   3152 ac_clean_files_save=$ac_clean_files
   3153 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3154 # Try to create an executable without -o first, disregard a.out.
   3155 # It will help us diagnose broken compilers, and finding out an intuition
   3156 # of exeext.
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3158 $as_echo_n "checking whether the C compiler works... " >&6; }
   3159 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3160 
   3161 # The possible output files:
   3162 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3163 
   3164 ac_rmfiles=
   3165 for ac_file in $ac_files
   3166 do
   3167   case $ac_file in
   3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3169     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3170   esac
   3171 done
   3172 rm -f $ac_rmfiles
   3173 
   3174 if { { ac_try="$ac_link_default"
   3175 case "(($ac_try" in
   3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3177   *) ac_try_echo=$ac_try;;
   3178 esac
   3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3180 $as_echo "$ac_try_echo"; } >&5
   3181   (eval "$ac_link_default") 2>&5
   3182   ac_status=$?
   3183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3184   test $ac_status = 0; }; then :
   3185   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3186 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3187 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3188 # so that the user can short-circuit this test for compilers unknown to
   3189 # Autoconf.
   3190 for ac_file in $ac_files ''
   3191 do
   3192   test -f "$ac_file" || continue
   3193   case $ac_file in
   3194     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3195 	;;
   3196     [ab].out )
   3197 	# We found the default executable, but exeext='' is most
   3198 	# certainly right.
   3199 	break;;
   3200     *.* )
   3201 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3202 	then :; else
   3203 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3204 	fi
   3205 	# We set ac_cv_exeext here because the later test for it is not
   3206 	# safe: cross compilers may not add the suffix if given an `-o'
   3207 	# argument, so we may need to know it at that point already.
   3208 	# Even if this section looks crufty: it has the advantage of
   3209 	# actually working.
   3210 	break;;
   3211     * )
   3212 	break;;
   3213   esac
   3214 done
   3215 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3216 
   3217 else
   3218   ac_file=''
   3219 fi
   3220 if test -z "$ac_file"; then :
   3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3222 $as_echo "no" >&6; }
   3223 $as_echo "$as_me: failed program was:" >&5
   3224 sed 's/^/| /' conftest.$ac_ext >&5
   3225 
   3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3228 as_fn_error 77 "C compiler cannot create executables
   3229 See \`config.log' for more details" "$LINENO" 5; }
   3230 else
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3232 $as_echo "yes" >&6; }
   3233 fi
   3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3235 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3237 $as_echo "$ac_file" >&6; }
   3238 ac_exeext=$ac_cv_exeext
   3239 
   3240 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3241 ac_clean_files=$ac_clean_files_save
   3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3243 $as_echo_n "checking for suffix of executables... " >&6; }
   3244 if { { ac_try="$ac_link"
   3245 case "(($ac_try" in
   3246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3247   *) ac_try_echo=$ac_try;;
   3248 esac
   3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3250 $as_echo "$ac_try_echo"; } >&5
   3251   (eval "$ac_link") 2>&5
   3252   ac_status=$?
   3253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3254   test $ac_status = 0; }; then :
   3255   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3256 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3257 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3258 # `rm'.
   3259 for ac_file in conftest.exe conftest conftest.*; do
   3260   test -f "$ac_file" || continue
   3261   case $ac_file in
   3262     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3263     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3264 	  break;;
   3265     * ) break;;
   3266   esac
   3267 done
   3268 else
   3269   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3271 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3272 See \`config.log' for more details" "$LINENO" 5; }
   3273 fi
   3274 rm -f conftest conftest$ac_cv_exeext
   3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3276 $as_echo "$ac_cv_exeext" >&6; }
   3277 
   3278 rm -f conftest.$ac_ext
   3279 EXEEXT=$ac_cv_exeext
   3280 ac_exeext=$EXEEXT
   3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3282 /* end confdefs.h.  */
   3283 #include <stdio.h>
   3284 int
   3285 main ()
   3286 {
   3287 FILE *f = fopen ("conftest.out", "w");
   3288  return ferror (f) || fclose (f) != 0;
   3289 
   3290   ;
   3291   return 0;
   3292 }
   3293 _ACEOF
   3294 ac_clean_files="$ac_clean_files conftest.out"
   3295 # Check that the compiler produces executables we can run.  If not, either
   3296 # the compiler is broken, or we cross compile.
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3298 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3299 if test "$cross_compiling" != yes; then
   3300   { { ac_try="$ac_link"
   3301 case "(($ac_try" in
   3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3303   *) ac_try_echo=$ac_try;;
   3304 esac
   3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3306 $as_echo "$ac_try_echo"; } >&5
   3307   (eval "$ac_link") 2>&5
   3308   ac_status=$?
   3309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3310   test $ac_status = 0; }
   3311   if { ac_try='./conftest$ac_cv_exeext'
   3312   { { case "(($ac_try" in
   3313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3314   *) ac_try_echo=$ac_try;;
   3315 esac
   3316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3317 $as_echo "$ac_try_echo"; } >&5
   3318   (eval "$ac_try") 2>&5
   3319   ac_status=$?
   3320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3321   test $ac_status = 0; }; }; then
   3322     cross_compiling=no
   3323   else
   3324     if test "$cross_compiling" = maybe; then
   3325 	cross_compiling=yes
   3326     else
   3327 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3329 as_fn_error $? "cannot run C compiled programs.
   3330 If you meant to cross compile, use \`--host'.
   3331 See \`config.log' for more details" "$LINENO" 5; }
   3332     fi
   3333   fi
   3334 fi
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3336 $as_echo "$cross_compiling" >&6; }
   3337 
   3338 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3339 ac_clean_files=$ac_clean_files_save
   3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3341 $as_echo_n "checking for suffix of object files... " >&6; }
   3342 if test "${ac_cv_objext+set}" = set; then :
   3343   $as_echo_n "(cached) " >&6
   3344 else
   3345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3346 /* end confdefs.h.  */
   3347 
   3348 int
   3349 main ()
   3350 {
   3351 
   3352   ;
   3353   return 0;
   3354 }
   3355 _ACEOF
   3356 rm -f conftest.o conftest.obj
   3357 if { { ac_try="$ac_compile"
   3358 case "(($ac_try" in
   3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3360   *) ac_try_echo=$ac_try;;
   3361 esac
   3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3363 $as_echo "$ac_try_echo"; } >&5
   3364   (eval "$ac_compile") 2>&5
   3365   ac_status=$?
   3366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3367   test $ac_status = 0; }; then :
   3368   for ac_file in conftest.o conftest.obj conftest.*; do
   3369   test -f "$ac_file" || continue;
   3370   case $ac_file in
   3371     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3372     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3373        break;;
   3374   esac
   3375 done
   3376 else
   3377   $as_echo "$as_me: failed program was:" >&5
   3378 sed 's/^/| /' conftest.$ac_ext >&5
   3379 
   3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3382 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3383 See \`config.log' for more details" "$LINENO" 5; }
   3384 fi
   3385 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3386 fi
   3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3388 $as_echo "$ac_cv_objext" >&6; }
   3389 OBJEXT=$ac_cv_objext
   3390 ac_objext=$OBJEXT
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3392 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3393 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3394   $as_echo_n "(cached) " >&6
   3395 else
   3396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3397 /* end confdefs.h.  */
   3398 
   3399 int
   3400 main ()
   3401 {
   3402 #ifndef __GNUC__
   3403        choke me
   3404 #endif
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 if ac_fn_c_try_compile "$LINENO"; then :
   3411   ac_compiler_gnu=yes
   3412 else
   3413   ac_compiler_gnu=no
   3414 fi
   3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3416 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3417 
   3418 fi
   3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3420 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3421 if test $ac_compiler_gnu = yes; then
   3422   GCC=yes
   3423 else
   3424   GCC=
   3425 fi
   3426 ac_test_CFLAGS=${CFLAGS+set}
   3427 ac_save_CFLAGS=$CFLAGS
   3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3429 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3430 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3431   $as_echo_n "(cached) " >&6
   3432 else
   3433   ac_save_c_werror_flag=$ac_c_werror_flag
   3434    ac_c_werror_flag=yes
   3435    ac_cv_prog_cc_g=no
   3436    CFLAGS="-g"
   3437    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3438 /* end confdefs.h.  */
   3439 
   3440 int
   3441 main ()
   3442 {
   3443 
   3444   ;
   3445   return 0;
   3446 }
   3447 _ACEOF
   3448 if ac_fn_c_try_compile "$LINENO"; then :
   3449   ac_cv_prog_cc_g=yes
   3450 else
   3451   CFLAGS=""
   3452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3453 /* end confdefs.h.  */
   3454 
   3455 int
   3456 main ()
   3457 {
   3458 
   3459   ;
   3460   return 0;
   3461 }
   3462 _ACEOF
   3463 if ac_fn_c_try_compile "$LINENO"; then :
   3464 
   3465 else
   3466   ac_c_werror_flag=$ac_save_c_werror_flag
   3467 	 CFLAGS="-g"
   3468 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3469 /* end confdefs.h.  */
   3470 
   3471 int
   3472 main ()
   3473 {
   3474 
   3475   ;
   3476   return 0;
   3477 }
   3478 _ACEOF
   3479 if ac_fn_c_try_compile "$LINENO"; then :
   3480   ac_cv_prog_cc_g=yes
   3481 fi
   3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3483 fi
   3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3485 fi
   3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3487    ac_c_werror_flag=$ac_save_c_werror_flag
   3488 fi
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3490 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3491 if test "$ac_test_CFLAGS" = set; then
   3492   CFLAGS=$ac_save_CFLAGS
   3493 elif test $ac_cv_prog_cc_g = yes; then
   3494   if test "$GCC" = yes; then
   3495     CFLAGS="-g -O2"
   3496   else
   3497     CFLAGS="-g"
   3498   fi
   3499 else
   3500   if test "$GCC" = yes; then
   3501     CFLAGS="-O2"
   3502   else
   3503     CFLAGS=
   3504   fi
   3505 fi
   3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3507 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3508 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3509   $as_echo_n "(cached) " >&6
   3510 else
   3511   ac_cv_prog_cc_c89=no
   3512 ac_save_CC=$CC
   3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3514 /* end confdefs.h.  */
   3515 #include <stdarg.h>
   3516 #include <stdio.h>
   3517 #include <sys/types.h>
   3518 #include <sys/stat.h>
   3519 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3520 struct buf { int x; };
   3521 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3522 static char *e (p, i)
   3523      char **p;
   3524      int i;
   3525 {
   3526   return p[i];
   3527 }
   3528 static char *f (char * (*g) (char **, int), char **p, ...)
   3529 {
   3530   char *s;
   3531   va_list v;
   3532   va_start (v,p);
   3533   s = g (p, va_arg (v,int));
   3534   va_end (v);
   3535   return s;
   3536 }
   3537 
   3538 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3539    function prototypes and stuff, but not '\xHH' hex character constants.
   3540    These don't provoke an error unfortunately, instead are silently treated
   3541    as 'x'.  The following induces an error, until -std is added to get
   3542    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3543    array size at least.  It's necessary to write '\x00'==0 to get something
   3544    that's true only with -std.  */
   3545 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3546 
   3547 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3548    inside strings and character constants.  */
   3549 #define FOO(x) 'x'
   3550 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3551 
   3552 int test (int i, double x);
   3553 struct s1 {int (*f) (int a);};
   3554 struct s2 {int (*f) (double a);};
   3555 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3556 int argc;
   3557 char **argv;
   3558 int
   3559 main ()
   3560 {
   3561 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3562   ;
   3563   return 0;
   3564 }
   3565 _ACEOF
   3566 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3567 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3568 do
   3569   CC="$ac_save_CC $ac_arg"
   3570   if ac_fn_c_try_compile "$LINENO"; then :
   3571   ac_cv_prog_cc_c89=$ac_arg
   3572 fi
   3573 rm -f core conftest.err conftest.$ac_objext
   3574   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3575 done
   3576 rm -f conftest.$ac_ext
   3577 CC=$ac_save_CC
   3578 
   3579 fi
   3580 # AC_CACHE_VAL
   3581 case "x$ac_cv_prog_cc_c89" in
   3582   x)
   3583     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3584 $as_echo "none needed" >&6; } ;;
   3585   xno)
   3586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3587 $as_echo "unsupported" >&6; } ;;
   3588   *)
   3589     CC="$CC $ac_cv_prog_cc_c89"
   3590     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3591 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3592 esac
   3593 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3594 
   3595 fi
   3596 
   3597 ac_ext=c
   3598 ac_cpp='$CPP $CPPFLAGS'
   3599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3602 
   3603 depcc="$CC"   am_compiler_list=
   3604 
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3606 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3607 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3608   $as_echo_n "(cached) " >&6
   3609 else
   3610   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3611   # We make a subdir and do the tests there.  Otherwise we can end up
   3612   # making bogus files that we don't know about and never remove.  For
   3613   # instance it was reported that on HP-UX the gcc test will end up
   3614   # making a dummy file named `D' -- because `-MD' means `put the output
   3615   # in D'.
   3616   mkdir conftest.dir
   3617   # Copy depcomp to subdir because otherwise we won't find it if we're
   3618   # using a relative directory.
   3619   cp "$am_depcomp" conftest.dir
   3620   cd conftest.dir
   3621   # We will build objects and dependencies in a subdirectory because
   3622   # it helps to detect inapplicable dependency modes.  For instance
   3623   # both Tru64's cc and ICC support -MD to output dependencies as a
   3624   # side effect of compilation, but ICC will put the dependencies in
   3625   # the current directory while Tru64 will put them in the object
   3626   # directory.
   3627   mkdir sub
   3628 
   3629   am_cv_CC_dependencies_compiler_type=none
   3630   if test "$am_compiler_list" = ""; then
   3631      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3632   fi
   3633   am__universal=false
   3634   case " $depcc " in #(
   3635      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3636      esac
   3637 
   3638   for depmode in $am_compiler_list; do
   3639     # Setup a source with many dependencies, because some compilers
   3640     # like to wrap large dependency lists on column 80 (with \), and
   3641     # we should not choose a depcomp mode which is confused by this.
   3642     #
   3643     # We need to recreate these files for each test, as the compiler may
   3644     # overwrite some of them when testing with obscure command lines.
   3645     # This happens at least with the AIX C compiler.
   3646     : > sub/conftest.c
   3647     for i in 1 2 3 4 5 6; do
   3648       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3649       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3650       # Solaris 8's {/usr,}/bin/sh.
   3651       touch sub/conftst$i.h
   3652     done
   3653     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3654 
   3655     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3656     # mode.  It turns out that the SunPro C++ compiler does not properly
   3657     # handle `-M -o', and we need to detect this.  Also, some Intel
   3658     # versions had trouble with output in subdirs
   3659     am__obj=sub/conftest.${OBJEXT-o}
   3660     am__minus_obj="-o $am__obj"
   3661     case $depmode in
   3662     gcc)
   3663       # This depmode causes a compiler race in universal mode.
   3664       test "$am__universal" = false || continue
   3665       ;;
   3666     nosideeffect)
   3667       # after this tag, mechanisms are not by side-effect, so they'll
   3668       # only be used when explicitly requested
   3669       if test "x$enable_dependency_tracking" = xyes; then
   3670 	continue
   3671       else
   3672 	break
   3673       fi
   3674       ;;
   3675     msvisualcpp | msvcmsys)
   3676       # This compiler won't grok `-c -o', but also, the minuso test has
   3677       # not run yet.  These depmodes are late enough in the game, and
   3678       # so weak that their functioning should not be impacted.
   3679       am__obj=conftest.${OBJEXT-o}
   3680       am__minus_obj=
   3681       ;;
   3682     none) break ;;
   3683     esac
   3684     if depmode=$depmode \
   3685        source=sub/conftest.c object=$am__obj \
   3686        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3687        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3688          >/dev/null 2>conftest.err &&
   3689        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3690        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3691        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3692        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3693       # icc doesn't choke on unknown options, it will just issue warnings
   3694       # or remarks (even with -Werror).  So we grep stderr for any message
   3695       # that says an option was ignored or not supported.
   3696       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3697       #   icc: Command line warning: ignoring option '-M'; no argument required
   3698       # The diagnosis changed in icc 8.0:
   3699       #   icc: Command line remark: option '-MP' not supported
   3700       if (grep 'ignoring option' conftest.err ||
   3701           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3702         am_cv_CC_dependencies_compiler_type=$depmode
   3703         break
   3704       fi
   3705     fi
   3706   done
   3707 
   3708   cd ..
   3709   rm -rf conftest.dir
   3710 else
   3711   am_cv_CC_dependencies_compiler_type=none
   3712 fi
   3713 
   3714 fi
   3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3716 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3717 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3718 
   3719  if
   3720   test "x$enable_dependency_tracking" != xno \
   3721   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3722   am__fastdepCC_TRUE=
   3723   am__fastdepCC_FALSE='#'
   3724 else
   3725   am__fastdepCC_TRUE='#'
   3726   am__fastdepCC_FALSE=
   3727 fi
   3728 
   3729 
   3730    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3731 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3732 if test "${ac_cv_prog_cc_c99+set}" = set; then :
   3733   $as_echo_n "(cached) " >&6
   3734 else
   3735   ac_cv_prog_cc_c99=no
   3736 ac_save_CC=$CC
   3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3738 /* end confdefs.h.  */
   3739 #include <stdarg.h>
   3740 #include <stdbool.h>
   3741 #include <stdlib.h>
   3742 #include <wchar.h>
   3743 #include <stdio.h>
   3744 
   3745 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3746 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3747 #define showlist(...) puts (#__VA_ARGS__)
   3748 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3749 static void
   3750 test_varargs_macros (void)
   3751 {
   3752   int x = 1234;
   3753   int y = 5678;
   3754   debug ("Flag");
   3755   debug ("X = %d\n", x);
   3756   showlist (The first, second, and third items.);
   3757   report (x>y, "x is %d but y is %d", x, y);
   3758 }
   3759 
   3760 // Check long long types.
   3761 #define BIG64 18446744073709551615ull
   3762 #define BIG32 4294967295ul
   3763 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3764 #if !BIG_OK
   3765   your preprocessor is broken;
   3766 #endif
   3767 #if BIG_OK
   3768 #else
   3769   your preprocessor is broken;
   3770 #endif
   3771 static long long int bignum = -9223372036854775807LL;
   3772 static unsigned long long int ubignum = BIG64;
   3773 
   3774 struct incomplete_array
   3775 {
   3776   int datasize;
   3777   double data[];
   3778 };
   3779 
   3780 struct named_init {
   3781   int number;
   3782   const wchar_t *name;
   3783   double average;
   3784 };
   3785 
   3786 typedef const char *ccp;
   3787 
   3788 static inline int
   3789 test_restrict (ccp restrict text)
   3790 {
   3791   // See if C++-style comments work.
   3792   // Iterate through items via the restricted pointer.
   3793   // Also check for declarations in for loops.
   3794   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3795     continue;
   3796   return 0;
   3797 }
   3798 
   3799 // Check varargs and va_copy.
   3800 static void
   3801 test_varargs (const char *format, ...)
   3802 {
   3803   va_list args;
   3804   va_start (args, format);
   3805   va_list args_copy;
   3806   va_copy (args_copy, args);
   3807 
   3808   const char *str;
   3809   int number;
   3810   float fnumber;
   3811 
   3812   while (*format)
   3813     {
   3814       switch (*format++)
   3815 	{
   3816 	case 's': // string
   3817 	  str = va_arg (args_copy, const char *);
   3818 	  break;
   3819 	case 'd': // int
   3820 	  number = va_arg (args_copy, int);
   3821 	  break;
   3822 	case 'f': // float
   3823 	  fnumber = va_arg (args_copy, double);
   3824 	  break;
   3825 	default:
   3826 	  break;
   3827 	}
   3828     }
   3829   va_end (args_copy);
   3830   va_end (args);
   3831 }
   3832 
   3833 int
   3834 main ()
   3835 {
   3836 
   3837   // Check bool.
   3838   _Bool success = false;
   3839 
   3840   // Check restrict.
   3841   if (test_restrict ("String literal") == 0)
   3842     success = true;
   3843   char *restrict newvar = "Another string";
   3844 
   3845   // Check varargs.
   3846   test_varargs ("s, d' f .", "string", 65, 34.234);
   3847   test_varargs_macros ();
   3848 
   3849   // Check flexible array members.
   3850   struct incomplete_array *ia =
   3851     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3852   ia->datasize = 10;
   3853   for (int i = 0; i < ia->datasize; ++i)
   3854     ia->data[i] = i * 1.234;
   3855 
   3856   // Check named initializers.
   3857   struct named_init ni = {
   3858     .number = 34,
   3859     .name = L"Test wide string",
   3860     .average = 543.34343,
   3861   };
   3862 
   3863   ni.number = 58;
   3864 
   3865   int dynamic_array[ni.number];
   3866   dynamic_array[ni.number - 1] = 543;
   3867 
   3868   // work around unused variable warnings
   3869   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3870 	  || dynamic_array[ni.number - 1] != 543);
   3871 
   3872   ;
   3873   return 0;
   3874 }
   3875 _ACEOF
   3876 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3877 do
   3878   CC="$ac_save_CC $ac_arg"
   3879   if ac_fn_c_try_compile "$LINENO"; then :
   3880   ac_cv_prog_cc_c99=$ac_arg
   3881 fi
   3882 rm -f core conftest.err conftest.$ac_objext
   3883   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3884 done
   3885 rm -f conftest.$ac_ext
   3886 CC=$ac_save_CC
   3887 
   3888 fi
   3889 # AC_CACHE_VAL
   3890 case "x$ac_cv_prog_cc_c99" in
   3891   x)
   3892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3893 $as_echo "none needed" >&6; } ;;
   3894   xno)
   3895     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3896 $as_echo "unsupported" >&6; } ;;
   3897   *)
   3898     CC="$CC $ac_cv_prog_cc_c99"
   3899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3900 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3901 esac
   3902 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3903 
   3904 fi
   3905 
   3906 
   3907 
   3908 ac_ext=c
   3909 ac_cpp='$CPP $CPPFLAGS'
   3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3914 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3915 # On Suns, sometimes $CPP names a directory.
   3916 if test -n "$CPP" && test -d "$CPP"; then
   3917   CPP=
   3918 fi
   3919 if test -z "$CPP"; then
   3920   if test "${ac_cv_prog_CPP+set}" = set; then :
   3921   $as_echo_n "(cached) " >&6
   3922 else
   3923       # Double quotes because CPP needs to be expanded
   3924     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3925     do
   3926       ac_preproc_ok=false
   3927 for ac_c_preproc_warn_flag in '' yes
   3928 do
   3929   # Use a header file that comes with gcc, so configuring glibc
   3930   # with a fresh cross-compiler works.
   3931   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3932   # <limits.h> exists even on freestanding compilers.
   3933   # On the NeXT, cc -E runs the code through the compiler's parser,
   3934   # not just through cpp. "Syntax error" is here to catch this case.
   3935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3936 /* end confdefs.h.  */
   3937 #ifdef __STDC__
   3938 # include <limits.h>
   3939 #else
   3940 # include <assert.h>
   3941 #endif
   3942 		     Syntax error
   3943 _ACEOF
   3944 if ac_fn_c_try_cpp "$LINENO"; then :
   3945 
   3946 else
   3947   # Broken: fails on valid input.
   3948 continue
   3949 fi
   3950 rm -f conftest.err conftest.$ac_ext
   3951 
   3952   # OK, works on sane cases.  Now check whether nonexistent headers
   3953   # can be detected and how.
   3954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3955 /* end confdefs.h.  */
   3956 #include <ac_nonexistent.h>
   3957 _ACEOF
   3958 if ac_fn_c_try_cpp "$LINENO"; then :
   3959   # Broken: success on invalid input.
   3960 continue
   3961 else
   3962   # Passes both tests.
   3963 ac_preproc_ok=:
   3964 break
   3965 fi
   3966 rm -f conftest.err conftest.$ac_ext
   3967 
   3968 done
   3969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3970 rm -f conftest.err conftest.$ac_ext
   3971 if $ac_preproc_ok; then :
   3972   break
   3973 fi
   3974 
   3975     done
   3976     ac_cv_prog_CPP=$CPP
   3977 
   3978 fi
   3979   CPP=$ac_cv_prog_CPP
   3980 else
   3981   ac_cv_prog_CPP=$CPP
   3982 fi
   3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3984 $as_echo "$CPP" >&6; }
   3985 ac_preproc_ok=false
   3986 for ac_c_preproc_warn_flag in '' yes
   3987 do
   3988   # Use a header file that comes with gcc, so configuring glibc
   3989   # with a fresh cross-compiler works.
   3990   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3991   # <limits.h> exists even on freestanding compilers.
   3992   # On the NeXT, cc -E runs the code through the compiler's parser,
   3993   # not just through cpp. "Syntax error" is here to catch this case.
   3994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 #ifdef __STDC__
   3997 # include <limits.h>
   3998 #else
   3999 # include <assert.h>
   4000 #endif
   4001 		     Syntax error
   4002 _ACEOF
   4003 if ac_fn_c_try_cpp "$LINENO"; then :
   4004 
   4005 else
   4006   # Broken: fails on valid input.
   4007 continue
   4008 fi
   4009 rm -f conftest.err conftest.$ac_ext
   4010 
   4011   # OK, works on sane cases.  Now check whether nonexistent headers
   4012   # can be detected and how.
   4013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4014 /* end confdefs.h.  */
   4015 #include <ac_nonexistent.h>
   4016 _ACEOF
   4017 if ac_fn_c_try_cpp "$LINENO"; then :
   4018   # Broken: success on invalid input.
   4019 continue
   4020 else
   4021   # Passes both tests.
   4022 ac_preproc_ok=:
   4023 break
   4024 fi
   4025 rm -f conftest.err conftest.$ac_ext
   4026 
   4027 done
   4028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4029 rm -f conftest.err conftest.$ac_ext
   4030 if $ac_preproc_ok; then :
   4031 
   4032 else
   4033   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4035 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4036 See \`config.log' for more details" "$LINENO" 5; }
   4037 fi
   4038 
   4039 ac_ext=c
   4040 ac_cpp='$CPP $CPPFLAGS'
   4041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4044 
   4045 
   4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4047 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4048 if test "${ac_cv_path_GREP+set}" = set; then :
   4049   $as_echo_n "(cached) " >&6
   4050 else
   4051   if test -z "$GREP"; then
   4052   ac_path_GREP_found=false
   4053   # Loop through the user's path and test for each of PROGNAME-LIST
   4054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4056 do
   4057   IFS=$as_save_IFS
   4058   test -z "$as_dir" && as_dir=.
   4059     for ac_prog in grep ggrep; do
   4060     for ac_exec_ext in '' $ac_executable_extensions; do
   4061       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4062       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4063 # Check for GNU ac_path_GREP and select it if it is found.
   4064   # Check for GNU $ac_path_GREP
   4065 case `"$ac_path_GREP" --version 2>&1` in
   4066 *GNU*)
   4067   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4068 *)
   4069   ac_count=0
   4070   $as_echo_n 0123456789 >"conftest.in"
   4071   while :
   4072   do
   4073     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4074     mv "conftest.tmp" "conftest.in"
   4075     cp "conftest.in" "conftest.nl"
   4076     $as_echo 'GREP' >> "conftest.nl"
   4077     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4078     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4079     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4080     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4081       # Best one so far, save it but keep looking for a better one
   4082       ac_cv_path_GREP="$ac_path_GREP"
   4083       ac_path_GREP_max=$ac_count
   4084     fi
   4085     # 10*(2^10) chars as input seems more than enough
   4086     test $ac_count -gt 10 && break
   4087   done
   4088   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4089 esac
   4090 
   4091       $ac_path_GREP_found && break 3
   4092     done
   4093   done
   4094   done
   4095 IFS=$as_save_IFS
   4096   if test -z "$ac_cv_path_GREP"; then
   4097     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4098   fi
   4099 else
   4100   ac_cv_path_GREP=$GREP
   4101 fi
   4102 
   4103 fi
   4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4105 $as_echo "$ac_cv_path_GREP" >&6; }
   4106  GREP="$ac_cv_path_GREP"
   4107 
   4108 
   4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4110 $as_echo_n "checking for egrep... " >&6; }
   4111 if test "${ac_cv_path_EGREP+set}" = set; then :
   4112   $as_echo_n "(cached) " >&6
   4113 else
   4114   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4115    then ac_cv_path_EGREP="$GREP -E"
   4116    else
   4117      if test -z "$EGREP"; then
   4118   ac_path_EGREP_found=false
   4119   # Loop through the user's path and test for each of PROGNAME-LIST
   4120   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4121 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4122 do
   4123   IFS=$as_save_IFS
   4124   test -z "$as_dir" && as_dir=.
   4125     for ac_prog in egrep; do
   4126     for ac_exec_ext in '' $ac_executable_extensions; do
   4127       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4128       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4129 # Check for GNU ac_path_EGREP and select it if it is found.
   4130   # Check for GNU $ac_path_EGREP
   4131 case `"$ac_path_EGREP" --version 2>&1` in
   4132 *GNU*)
   4133   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4134 *)
   4135   ac_count=0
   4136   $as_echo_n 0123456789 >"conftest.in"
   4137   while :
   4138   do
   4139     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4140     mv "conftest.tmp" "conftest.in"
   4141     cp "conftest.in" "conftest.nl"
   4142     $as_echo 'EGREP' >> "conftest.nl"
   4143     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4144     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4145     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4146     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4147       # Best one so far, save it but keep looking for a better one
   4148       ac_cv_path_EGREP="$ac_path_EGREP"
   4149       ac_path_EGREP_max=$ac_count
   4150     fi
   4151     # 10*(2^10) chars as input seems more than enough
   4152     test $ac_count -gt 10 && break
   4153   done
   4154   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4155 esac
   4156 
   4157       $ac_path_EGREP_found && break 3
   4158     done
   4159   done
   4160   done
   4161 IFS=$as_save_IFS
   4162   if test -z "$ac_cv_path_EGREP"; then
   4163     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4164   fi
   4165 else
   4166   ac_cv_path_EGREP=$EGREP
   4167 fi
   4168 
   4169    fi
   4170 fi
   4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4172 $as_echo "$ac_cv_path_EGREP" >&6; }
   4173  EGREP="$ac_cv_path_EGREP"
   4174 
   4175 
   4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4177 $as_echo_n "checking for ANSI C header files... " >&6; }
   4178 if test "${ac_cv_header_stdc+set}" = set; then :
   4179   $as_echo_n "(cached) " >&6
   4180 else
   4181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 #include <stdlib.h>
   4184 #include <stdarg.h>
   4185 #include <string.h>
   4186 #include <float.h>
   4187 
   4188 int
   4189 main ()
   4190 {
   4191 
   4192   ;
   4193   return 0;
   4194 }
   4195 _ACEOF
   4196 if ac_fn_c_try_compile "$LINENO"; then :
   4197   ac_cv_header_stdc=yes
   4198 else
   4199   ac_cv_header_stdc=no
   4200 fi
   4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4202 
   4203 if test $ac_cv_header_stdc = yes; then
   4204   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4206 /* end confdefs.h.  */
   4207 #include <string.h>
   4208 
   4209 _ACEOF
   4210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4211   $EGREP "memchr" >/dev/null 2>&1; then :
   4212 
   4213 else
   4214   ac_cv_header_stdc=no
   4215 fi
   4216 rm -f conftest*
   4217 
   4218 fi
   4219 
   4220 if test $ac_cv_header_stdc = yes; then
   4221   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4223 /* end confdefs.h.  */
   4224 #include <stdlib.h>
   4225 
   4226 _ACEOF
   4227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4228   $EGREP "free" >/dev/null 2>&1; then :
   4229 
   4230 else
   4231   ac_cv_header_stdc=no
   4232 fi
   4233 rm -f conftest*
   4234 
   4235 fi
   4236 
   4237 if test $ac_cv_header_stdc = yes; then
   4238   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4239   if test "$cross_compiling" = yes; then :
   4240   :
   4241 else
   4242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4243 /* end confdefs.h.  */
   4244 #include <ctype.h>
   4245 #include <stdlib.h>
   4246 #if ((' ' & 0x0FF) == 0x020)
   4247 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4248 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4249 #else
   4250 # define ISLOWER(c) \
   4251 		   (('a' <= (c) && (c) <= 'i') \
   4252 		     || ('j' <= (c) && (c) <= 'r') \
   4253 		     || ('s' <= (c) && (c) <= 'z'))
   4254 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4255 #endif
   4256 
   4257 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4258 int
   4259 main ()
   4260 {
   4261   int i;
   4262   for (i = 0; i < 256; i++)
   4263     if (XOR (islower (i), ISLOWER (i))
   4264 	|| toupper (i) != TOUPPER (i))
   4265       return 2;
   4266   return 0;
   4267 }
   4268 _ACEOF
   4269 if ac_fn_c_try_run "$LINENO"; then :
   4270 
   4271 else
   4272   ac_cv_header_stdc=no
   4273 fi
   4274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4275   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4276 fi
   4277 
   4278 fi
   4279 fi
   4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4281 $as_echo "$ac_cv_header_stdc" >&6; }
   4282 if test $ac_cv_header_stdc = yes; then
   4283 
   4284 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4285 
   4286 fi
   4287 
   4288 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4289 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4290 		  inttypes.h stdint.h unistd.h
   4291 do :
   4292   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4293 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4294 "
   4295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4296   cat >>confdefs.h <<_ACEOF
   4297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4298 _ACEOF
   4299 
   4300 fi
   4301 
   4302 done
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4312 	if test -n "$ac_tool_prefix"; then
   4313   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4314 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4316 $as_echo_n "checking for $ac_word... " >&6; }
   4317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   4318   $as_echo_n "(cached) " >&6
   4319 else
   4320   case $PKG_CONFIG in
   4321   [\\/]* | ?:[\\/]*)
   4322   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4323   ;;
   4324   *)
   4325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4326 for as_dir in $PATH
   4327 do
   4328   IFS=$as_save_IFS
   4329   test -z "$as_dir" && as_dir=.
   4330     for ac_exec_ext in '' $ac_executable_extensions; do
   4331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4332     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4334     break 2
   4335   fi
   4336 done
   4337   done
   4338 IFS=$as_save_IFS
   4339 
   4340   ;;
   4341 esac
   4342 fi
   4343 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4344 if test -n "$PKG_CONFIG"; then
   4345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4346 $as_echo "$PKG_CONFIG" >&6; }
   4347 else
   4348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4349 $as_echo "no" >&6; }
   4350 fi
   4351 
   4352 
   4353 fi
   4354 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4355   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4356   # Extract the first word of "pkg-config", so it can be a program name with args.
   4357 set dummy pkg-config; ac_word=$2
   4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4359 $as_echo_n "checking for $ac_word... " >&6; }
   4360 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   4361   $as_echo_n "(cached) " >&6
   4362 else
   4363   case $ac_pt_PKG_CONFIG in
   4364   [\\/]* | ?:[\\/]*)
   4365   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4366   ;;
   4367   *)
   4368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4369 for as_dir in $PATH
   4370 do
   4371   IFS=$as_save_IFS
   4372   test -z "$as_dir" && as_dir=.
   4373     for ac_exec_ext in '' $ac_executable_extensions; do
   4374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4375     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4377     break 2
   4378   fi
   4379 done
   4380   done
   4381 IFS=$as_save_IFS
   4382 
   4383   ;;
   4384 esac
   4385 fi
   4386 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4387 if test -n "$ac_pt_PKG_CONFIG"; then
   4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4389 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4390 else
   4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4392 $as_echo "no" >&6; }
   4393 fi
   4394 
   4395   if test "x$ac_pt_PKG_CONFIG" = x; then
   4396     PKG_CONFIG=""
   4397   else
   4398     case $cross_compiling:$ac_tool_warned in
   4399 yes:)
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4402 ac_tool_warned=yes ;;
   4403 esac
   4404     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4405   fi
   4406 else
   4407   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4408 fi
   4409 
   4410 fi
   4411 if test -n "$PKG_CONFIG"; then
   4412 	_pkg_min_version=0.9.0
   4413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4414 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4415 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4417 $as_echo "yes" >&6; }
   4418 	else
   4419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4420 $as_echo "no" >&6; }
   4421 		PKG_CONFIG=""
   4422 	fi
   4423 fi
   4424 # Make sure we can run config.sub.
   4425 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4426   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4427 
   4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4429 $as_echo_n "checking build system type... " >&6; }
   4430 if test "${ac_cv_build+set}" = set; then :
   4431   $as_echo_n "(cached) " >&6
   4432 else
   4433   ac_build_alias=$build_alias
   4434 test "x$ac_build_alias" = x &&
   4435   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4436 test "x$ac_build_alias" = x &&
   4437   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4439   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4440 
   4441 fi
   4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4443 $as_echo "$ac_cv_build" >&6; }
   4444 case $ac_cv_build in
   4445 *-*-*) ;;
   4446 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4447 esac
   4448 build=$ac_cv_build
   4449 ac_save_IFS=$IFS; IFS='-'
   4450 set x $ac_cv_build
   4451 shift
   4452 build_cpu=$1
   4453 build_vendor=$2
   4454 shift; shift
   4455 # Remember, the first character of IFS is used to create $*,
   4456 # except with old shells:
   4457 build_os=$*
   4458 IFS=$ac_save_IFS
   4459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4460 
   4461 
   4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4463 $as_echo_n "checking host system type... " >&6; }
   4464 if test "${ac_cv_host+set}" = set; then :
   4465   $as_echo_n "(cached) " >&6
   4466 else
   4467   if test "x$host_alias" = x; then
   4468   ac_cv_host=$ac_cv_build
   4469 else
   4470   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4471     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4472 fi
   4473 
   4474 fi
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4476 $as_echo "$ac_cv_host" >&6; }
   4477 case $ac_cv_host in
   4478 *-*-*) ;;
   4479 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4480 esac
   4481 host=$ac_cv_host
   4482 ac_save_IFS=$IFS; IFS='-'
   4483 set x $ac_cv_host
   4484 shift
   4485 host_cpu=$1
   4486 host_vendor=$2
   4487 shift; shift
   4488 # Remember, the first character of IFS is used to create $*,
   4489 # except with old shells:
   4490 host_os=$*
   4491 IFS=$ac_save_IFS
   4492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4493 
   4494 
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4496 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4497 if test "${ac_cv_path_SED+set}" = set; then :
   4498   $as_echo_n "(cached) " >&6
   4499 else
   4500             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4501      for ac_i in 1 2 3 4 5 6 7; do
   4502        ac_script="$ac_script$as_nl$ac_script"
   4503      done
   4504      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4505      { ac_script=; unset ac_script;}
   4506      if test -z "$SED"; then
   4507   ac_path_SED_found=false
   4508   # Loop through the user's path and test for each of PROGNAME-LIST
   4509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4510 for as_dir in $PATH
   4511 do
   4512   IFS=$as_save_IFS
   4513   test -z "$as_dir" && as_dir=.
   4514     for ac_prog in sed gsed; do
   4515     for ac_exec_ext in '' $ac_executable_extensions; do
   4516       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4517       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4518 # Check for GNU ac_path_SED and select it if it is found.
   4519   # Check for GNU $ac_path_SED
   4520 case `"$ac_path_SED" --version 2>&1` in
   4521 *GNU*)
   4522   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4523 *)
   4524   ac_count=0
   4525   $as_echo_n 0123456789 >"conftest.in"
   4526   while :
   4527   do
   4528     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4529     mv "conftest.tmp" "conftest.in"
   4530     cp "conftest.in" "conftest.nl"
   4531     $as_echo '' >> "conftest.nl"
   4532     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4533     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4534     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4535     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4536       # Best one so far, save it but keep looking for a better one
   4537       ac_cv_path_SED="$ac_path_SED"
   4538       ac_path_SED_max=$ac_count
   4539     fi
   4540     # 10*(2^10) chars as input seems more than enough
   4541     test $ac_count -gt 10 && break
   4542   done
   4543   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4544 esac
   4545 
   4546       $ac_path_SED_found && break 3
   4547     done
   4548   done
   4549   done
   4550 IFS=$as_save_IFS
   4551   if test -z "$ac_cv_path_SED"; then
   4552     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4553   fi
   4554 else
   4555   ac_cv_path_SED=$SED
   4556 fi
   4557 
   4558 fi
   4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4560 $as_echo "$ac_cv_path_SED" >&6; }
   4561  SED="$ac_cv_path_SED"
   4562   rm -f conftest.sed
   4563 
   4564 
   4565 
   4566 
   4567 
   4568 if  test "x$GCC" = xyes ; then
   4569     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4570 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4571 -Wbad-function-cast -Wformat=2"
   4572     case `$CC -dumpversion` in
   4573     3.4.* | 4.*)
   4574 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4575 	;;
   4576     esac
   4577 else
   4578     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4579 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4580   SUNCC="yes"
   4581 else
   4582   SUNCC="no"
   4583 fi
   4584 
   4585     if test "x$SUNCC" = "xyes"; then
   4586 	CWARNFLAGS="-v"
   4587     fi
   4588 fi
   4589 
   4590 
   4591 
   4592 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4593 
   4594 
   4595 
   4596 # Check whether --enable-strict-compilation was given.
   4597 if test "${enable_strict_compilation+set}" = set; then :
   4598   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4599 else
   4600   STRICT_COMPILE=no
   4601 fi
   4602 
   4603 if test "x$STRICT_COMPILE" = "xyes"; then
   4604 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4605 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4606   SUNCC="yes"
   4607 else
   4608   SUNCC="no"
   4609 fi
   4610 
   4611 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4612 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
   4613   INTELCC="yes"
   4614 else
   4615   INTELCC="no"
   4616 fi
   4617 
   4618 	if test "x$GCC" = xyes ; then
   4619 		STRICT_CFLAGS="-pedantic -Werror"
   4620 	elif test "x$SUNCC" = "xyes"; then
   4621 		STRICT_CFLAGS="-errwarn"
   4622     elif test "x$INTELCC" = "xyes"; then
   4623 		STRICT_CFLAGS="-Werror"
   4624 	fi
   4625 fi
   4626 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4627 
   4628 
   4629 
   4630 
   4631 cat >>confdefs.h <<_ACEOF
   4632 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4633 _ACEOF
   4634 
   4635 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4636 	if test "x$PVM" = "x"; then
   4637 		PVM="0"
   4638 	fi
   4639 
   4640 cat >>confdefs.h <<_ACEOF
   4641 #define PACKAGE_VERSION_MINOR $PVM
   4642 _ACEOF
   4643 
   4644 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4645 	if test "x$PVP" = "x"; then
   4646 		PVP="0"
   4647 	fi
   4648 
   4649 cat >>confdefs.h <<_ACEOF
   4650 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4651 _ACEOF
   4652 
   4653 
   4654 
   4655 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4656 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4657 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4658 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4659 
   4660 
   4661 
   4662 
   4663 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4664 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4665 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4666 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4667 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 if test x$APP_MAN_SUFFIX = x    ; then
   4675     APP_MAN_SUFFIX=1
   4676 fi
   4677 if test x$APP_MAN_DIR = x    ; then
   4678     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4679 fi
   4680 
   4681 if test x$LIB_MAN_SUFFIX = x    ; then
   4682     LIB_MAN_SUFFIX=3
   4683 fi
   4684 if test x$LIB_MAN_DIR = x    ; then
   4685     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4686 fi
   4687 
   4688 if test x$FILE_MAN_SUFFIX = x    ; then
   4689     case $host_os in
   4690 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4691 	*)		FILE_MAN_SUFFIX=5  ;;
   4692     esac
   4693 fi
   4694 if test x$FILE_MAN_DIR = x    ; then
   4695     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4696 fi
   4697 
   4698 if test x$MISC_MAN_SUFFIX = x    ; then
   4699     case $host_os in
   4700 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4701 	*)		MISC_MAN_SUFFIX=7  ;;
   4702     esac
   4703 fi
   4704 if test x$MISC_MAN_DIR = x    ; then
   4705     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4706 fi
   4707 
   4708 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4709     case $host_os in
   4710 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4711 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4712     esac
   4713 fi
   4714 if test x$DRIVER_MAN_DIR = x    ; then
   4715     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4716 fi
   4717 
   4718 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4719     case $host_os in
   4720 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4721 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4722     esac
   4723 fi
   4724 if test x$ADMIN_MAN_DIR = x    ; then
   4725     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4726 fi
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 XORG_MAN_PAGE="X Version 11"
   4743 
   4744 MAN_SUBSTS="\
   4745 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4746 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4747 	-e 's|__xservername__|Xorg|g' \
   4748 	-e 's|__xconfigfile__|xorg.conf|g' \
   4749 	-e 's|__projectroot__|\$(prefix)|g' \
   4750 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   4751 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4752 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4753 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4754 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4755 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4756 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4757 
   4758 
   4759 
   4760 # Check whether --enable-silent-rules was given.
   4761 if test "${enable_silent_rules+set}" = set; then :
   4762   enableval=$enable_silent_rules;
   4763 fi
   4764 
   4765 case $enable_silent_rules in
   4766 yes) AM_DEFAULT_VERBOSITY=0;;
   4767 no)  AM_DEFAULT_VERBOSITY=1;;
   4768 *)   AM_DEFAULT_VERBOSITY=0;;
   4769 esac
   4770 AM_BACKSLASH='\'
   4771 
   4772 
   4773 
   4774 # Initialize libtool
   4775 # Check whether --enable-static was given.
   4776 if test "${enable_static+set}" = set; then :
   4777   enableval=$enable_static; p=${PACKAGE-default}
   4778     case $enableval in
   4779     yes) enable_static=yes ;;
   4780     no) enable_static=no ;;
   4781     *)
   4782      enable_static=no
   4783       # Look at the argument we got.  We use all the common list separators.
   4784       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4785       for pkg in $enableval; do
   4786 	IFS="$lt_save_ifs"
   4787 	if test "X$pkg" = "X$p"; then
   4788 	  enable_static=yes
   4789 	fi
   4790       done
   4791       IFS="$lt_save_ifs"
   4792       ;;
   4793     esac
   4794 else
   4795   enable_static=no
   4796 fi
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 case `pwd` in
   4807   *\ * | *\	*)
   4808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4809 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4810 esac
   4811 
   4812 
   4813 
   4814 macro_version='2.2.10'
   4815 macro_revision='1.3175'
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 ltmain="$ac_aux_dir/ltmain.sh"
   4830 
   4831 # Backslashify metacharacters that are still active within
   4832 # double-quoted strings.
   4833 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4834 
   4835 # Same as above, but do not quote variable references.
   4836 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4837 
   4838 # Sed substitution to delay expansion of an escaped shell variable in a
   4839 # double_quote_subst'ed string.
   4840 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4841 
   4842 # Sed substitution to delay expansion of an escaped single quote.
   4843 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4844 
   4845 # Sed substitution to avoid accidental globbing in evaled expressions
   4846 no_glob_subst='s/\*/\\\*/g'
   4847 
   4848 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4849 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4850 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4851 
   4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4853 $as_echo_n "checking how to print strings... " >&6; }
   4854 # Test print first, because it will be a builtin if present.
   4855 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   4856    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4857   ECHO='print -r --'
   4858 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4859   ECHO='printf %s\n'
   4860 else
   4861   # Use this function as a fallback that always works.
   4862   func_fallback_echo ()
   4863   {
   4864     eval 'cat <<_LTECHO_EOF
   4865 $1
   4866 _LTECHO_EOF'
   4867   }
   4868   ECHO='func_fallback_echo'
   4869 fi
   4870 
   4871 # func_echo_all arg...
   4872 # Invoke $ECHO with all args, space-separated.
   4873 func_echo_all ()
   4874 {
   4875     $ECHO ""
   4876 }
   4877 
   4878 case "$ECHO" in
   4879   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4880 $as_echo "printf" >&6; } ;;
   4881   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4882 $as_echo "print -r" >&6; } ;;
   4883   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4884 $as_echo "cat" >&6; } ;;
   4885 esac
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4901 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4902 if test "${ac_cv_path_SED+set}" = set; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4906      for ac_i in 1 2 3 4 5 6 7; do
   4907        ac_script="$ac_script$as_nl$ac_script"
   4908      done
   4909      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4910      { ac_script=; unset ac_script;}
   4911      if test -z "$SED"; then
   4912   ac_path_SED_found=false
   4913   # Loop through the user's path and test for each of PROGNAME-LIST
   4914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4915 for as_dir in $PATH
   4916 do
   4917   IFS=$as_save_IFS
   4918   test -z "$as_dir" && as_dir=.
   4919     for ac_prog in sed gsed; do
   4920     for ac_exec_ext in '' $ac_executable_extensions; do
   4921       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4922       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4923 # Check for GNU ac_path_SED and select it if it is found.
   4924   # Check for GNU $ac_path_SED
   4925 case `"$ac_path_SED" --version 2>&1` in
   4926 *GNU*)
   4927   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4928 *)
   4929   ac_count=0
   4930   $as_echo_n 0123456789 >"conftest.in"
   4931   while :
   4932   do
   4933     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4934     mv "conftest.tmp" "conftest.in"
   4935     cp "conftest.in" "conftest.nl"
   4936     $as_echo '' >> "conftest.nl"
   4937     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4938     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4939     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4940     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4941       # Best one so far, save it but keep looking for a better one
   4942       ac_cv_path_SED="$ac_path_SED"
   4943       ac_path_SED_max=$ac_count
   4944     fi
   4945     # 10*(2^10) chars as input seems more than enough
   4946     test $ac_count -gt 10 && break
   4947   done
   4948   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4949 esac
   4950 
   4951       $ac_path_SED_found && break 3
   4952     done
   4953   done
   4954   done
   4955 IFS=$as_save_IFS
   4956   if test -z "$ac_cv_path_SED"; then
   4957     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4958   fi
   4959 else
   4960   ac_cv_path_SED=$SED
   4961 fi
   4962 
   4963 fi
   4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4965 $as_echo "$ac_cv_path_SED" >&6; }
   4966  SED="$ac_cv_path_SED"
   4967   rm -f conftest.sed
   4968 
   4969 test -z "$SED" && SED=sed
   4970 Xsed="$SED -e 1s/^X//"
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4983 $as_echo_n "checking for fgrep... " >&6; }
   4984 if test "${ac_cv_path_FGREP+set}" = set; then :
   4985   $as_echo_n "(cached) " >&6
   4986 else
   4987   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4988    then ac_cv_path_FGREP="$GREP -F"
   4989    else
   4990      if test -z "$FGREP"; then
   4991   ac_path_FGREP_found=false
   4992   # Loop through the user's path and test for each of PROGNAME-LIST
   4993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4994 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4995 do
   4996   IFS=$as_save_IFS
   4997   test -z "$as_dir" && as_dir=.
   4998     for ac_prog in fgrep; do
   4999     for ac_exec_ext in '' $ac_executable_extensions; do
   5000       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5001       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5002 # Check for GNU ac_path_FGREP and select it if it is found.
   5003   # Check for GNU $ac_path_FGREP
   5004 case `"$ac_path_FGREP" --version 2>&1` in
   5005 *GNU*)
   5006   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5007 *)
   5008   ac_count=0
   5009   $as_echo_n 0123456789 >"conftest.in"
   5010   while :
   5011   do
   5012     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5013     mv "conftest.tmp" "conftest.in"
   5014     cp "conftest.in" "conftest.nl"
   5015     $as_echo 'FGREP' >> "conftest.nl"
   5016     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5017     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5018     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5019     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5020       # Best one so far, save it but keep looking for a better one
   5021       ac_cv_path_FGREP="$ac_path_FGREP"
   5022       ac_path_FGREP_max=$ac_count
   5023     fi
   5024     # 10*(2^10) chars as input seems more than enough
   5025     test $ac_count -gt 10 && break
   5026   done
   5027   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5028 esac
   5029 
   5030       $ac_path_FGREP_found && break 3
   5031     done
   5032   done
   5033   done
   5034 IFS=$as_save_IFS
   5035   if test -z "$ac_cv_path_FGREP"; then
   5036     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5037   fi
   5038 else
   5039   ac_cv_path_FGREP=$FGREP
   5040 fi
   5041 
   5042    fi
   5043 fi
   5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5045 $as_echo "$ac_cv_path_FGREP" >&6; }
   5046  FGREP="$ac_cv_path_FGREP"
   5047 
   5048 
   5049 test -z "$GREP" && GREP=grep
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 # Check whether --with-gnu-ld was given.
   5070 if test "${with_gnu_ld+set}" = set; then :
   5071   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5072 else
   5073   with_gnu_ld=no
   5074 fi
   5075 
   5076 ac_prog=ld
   5077 if test "$GCC" = yes; then
   5078   # Check if gcc -print-prog-name=ld gives a path.
   5079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5080 $as_echo_n "checking for ld used by $CC... " >&6; }
   5081   case $host in
   5082   *-*-mingw*)
   5083     # gcc leaves a trailing carriage return which upsets mingw
   5084     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5085   *)
   5086     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5087   esac
   5088   case $ac_prog in
   5089     # Accept absolute paths.
   5090     [\\/]* | ?:[\\/]*)
   5091       re_direlt='/[^/][^/]*/\.\./'
   5092       # Canonicalize the pathname of ld
   5093       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5094       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5095 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5096       done
   5097       test -z "$LD" && LD="$ac_prog"
   5098       ;;
   5099   "")
   5100     # If it fails, then pretend we aren't using GCC.
   5101     ac_prog=ld
   5102     ;;
   5103   *)
   5104     # If it is relative, then search for the first ld in PATH.
   5105     with_gnu_ld=unknown
   5106     ;;
   5107   esac
   5108 elif test "$with_gnu_ld" = yes; then
   5109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5110 $as_echo_n "checking for GNU ld... " >&6; }
   5111 else
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5113 $as_echo_n "checking for non-GNU ld... " >&6; }
   5114 fi
   5115 if test "${lt_cv_path_LD+set}" = set; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   if test -z "$LD"; then
   5119   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5120   for ac_dir in $PATH; do
   5121     IFS="$lt_save_ifs"
   5122     test -z "$ac_dir" && ac_dir=.
   5123     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5124       lt_cv_path_LD="$ac_dir/$ac_prog"
   5125       # Check to see if the program is GNU ld.  I'd rather use --version,
   5126       # but apparently some variants of GNU ld only accept -v.
   5127       # Break only if it was the GNU/non-GNU ld that we prefer.
   5128       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5129       *GNU* | *'with BFD'*)
   5130 	test "$with_gnu_ld" != no && break
   5131 	;;
   5132       *)
   5133 	test "$with_gnu_ld" != yes && break
   5134 	;;
   5135       esac
   5136     fi
   5137   done
   5138   IFS="$lt_save_ifs"
   5139 else
   5140   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5141 fi
   5142 fi
   5143 
   5144 LD="$lt_cv_path_LD"
   5145 if test -n "$LD"; then
   5146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5147 $as_echo "$LD" >&6; }
   5148 else
   5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5150 $as_echo "no" >&6; }
   5151 fi
   5152 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5154 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5155 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5156   $as_echo_n "(cached) " >&6
   5157 else
   5158   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5159 case `$LD -v 2>&1 </dev/null` in
   5160 *GNU* | *'with BFD'*)
   5161   lt_cv_prog_gnu_ld=yes
   5162   ;;
   5163 *)
   5164   lt_cv_prog_gnu_ld=no
   5165   ;;
   5166 esac
   5167 fi
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5169 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5170 with_gnu_ld=$lt_cv_prog_gnu_ld
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5181 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5182 if test "${lt_cv_path_NM+set}" = set; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   if test -n "$NM"; then
   5186   # Let the user override the test.
   5187   lt_cv_path_NM="$NM"
   5188 else
   5189   lt_nm_to_check="${ac_tool_prefix}nm"
   5190   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5191     lt_nm_to_check="$lt_nm_to_check nm"
   5192   fi
   5193   for lt_tmp_nm in $lt_nm_to_check; do
   5194     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5195     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5196       IFS="$lt_save_ifs"
   5197       test -z "$ac_dir" && ac_dir=.
   5198       tmp_nm="$ac_dir/$lt_tmp_nm"
   5199       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5200 	# Check to see if the nm accepts a BSD-compat flag.
   5201 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5202 	#   nm: unknown option "B" ignored
   5203 	# Tru64's nm complains that /dev/null is an invalid object file
   5204 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5205 	*/dev/null* | *'Invalid file or object type'*)
   5206 	  lt_cv_path_NM="$tmp_nm -B"
   5207 	  break
   5208 	  ;;
   5209 	*)
   5210 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5211 	  */dev/null*)
   5212 	    lt_cv_path_NM="$tmp_nm -p"
   5213 	    break
   5214 	    ;;
   5215 	  *)
   5216 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5217 	    continue # so that we can try to find one that supports BSD flags
   5218 	    ;;
   5219 	  esac
   5220 	  ;;
   5221 	esac
   5222       fi
   5223     done
   5224     IFS="$lt_save_ifs"
   5225   done
   5226   : ${lt_cv_path_NM=no}
   5227 fi
   5228 fi
   5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5230 $as_echo "$lt_cv_path_NM" >&6; }
   5231 if test "$lt_cv_path_NM" != "no"; then
   5232   NM="$lt_cv_path_NM"
   5233 else
   5234   # Didn't find any BSD compatible name lister, look for dumpbin.
   5235   if test -n "$DUMPBIN"; then :
   5236     # Let the user override the test.
   5237   else
   5238     if test -n "$ac_tool_prefix"; then
   5239   for ac_prog in dumpbin "link -dump"
   5240   do
   5241     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5244 $as_echo_n "checking for $ac_word... " >&6; }
   5245 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5246   $as_echo_n "(cached) " >&6
   5247 else
   5248   if test -n "$DUMPBIN"; then
   5249   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5250 else
   5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5252 for as_dir in $PATH
   5253 do
   5254   IFS=$as_save_IFS
   5255   test -z "$as_dir" && as_dir=.
   5256     for ac_exec_ext in '' $ac_executable_extensions; do
   5257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5258     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5260     break 2
   5261   fi
   5262 done
   5263   done
   5264 IFS=$as_save_IFS
   5265 
   5266 fi
   5267 fi
   5268 DUMPBIN=$ac_cv_prog_DUMPBIN
   5269 if test -n "$DUMPBIN"; then
   5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5271 $as_echo "$DUMPBIN" >&6; }
   5272 else
   5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5274 $as_echo "no" >&6; }
   5275 fi
   5276 
   5277 
   5278     test -n "$DUMPBIN" && break
   5279   done
   5280 fi
   5281 if test -z "$DUMPBIN"; then
   5282   ac_ct_DUMPBIN=$DUMPBIN
   5283   for ac_prog in dumpbin "link -dump"
   5284 do
   5285   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5286 set dummy $ac_prog; ac_word=$2
   5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5288 $as_echo_n "checking for $ac_word... " >&6; }
   5289 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5290   $as_echo_n "(cached) " >&6
   5291 else
   5292   if test -n "$ac_ct_DUMPBIN"; then
   5293   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5294 else
   5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5296 for as_dir in $PATH
   5297 do
   5298   IFS=$as_save_IFS
   5299   test -z "$as_dir" && as_dir=.
   5300     for ac_exec_ext in '' $ac_executable_extensions; do
   5301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5302     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5304     break 2
   5305   fi
   5306 done
   5307   done
   5308 IFS=$as_save_IFS
   5309 
   5310 fi
   5311 fi
   5312 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5313 if test -n "$ac_ct_DUMPBIN"; then
   5314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5315 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5316 else
   5317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5318 $as_echo "no" >&6; }
   5319 fi
   5320 
   5321 
   5322   test -n "$ac_ct_DUMPBIN" && break
   5323 done
   5324 
   5325   if test "x$ac_ct_DUMPBIN" = x; then
   5326     DUMPBIN=":"
   5327   else
   5328     case $cross_compiling:$ac_tool_warned in
   5329 yes:)
   5330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5332 ac_tool_warned=yes ;;
   5333 esac
   5334     DUMPBIN=$ac_ct_DUMPBIN
   5335   fi
   5336 fi
   5337 
   5338     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5339     *COFF*)
   5340       DUMPBIN="$DUMPBIN -symbols"
   5341       ;;
   5342     *)
   5343       DUMPBIN=:
   5344       ;;
   5345     esac
   5346   fi
   5347 
   5348   if test "$DUMPBIN" != ":"; then
   5349     NM="$DUMPBIN"
   5350   fi
   5351 fi
   5352 test -z "$NM" && NM=nm
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5360 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5361 if test "${lt_cv_nm_interface+set}" = set; then :
   5362   $as_echo_n "(cached) " >&6
   5363 else
   5364   lt_cv_nm_interface="BSD nm"
   5365   echo "int some_variable = 0;" > conftest.$ac_ext
   5366   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5367   (eval "$ac_compile" 2>conftest.err)
   5368   cat conftest.err >&5
   5369   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5370   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5371   cat conftest.err >&5
   5372   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5373   cat conftest.out >&5
   5374   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5375     lt_cv_nm_interface="MS dumpbin"
   5376   fi
   5377   rm -f conftest*
   5378 fi
   5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5380 $as_echo "$lt_cv_nm_interface" >&6; }
   5381 
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5383 $as_echo_n "checking whether ln -s works... " >&6; }
   5384 LN_S=$as_ln_s
   5385 if test "$LN_S" = "ln -s"; then
   5386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5387 $as_echo "yes" >&6; }
   5388 else
   5389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5390 $as_echo "no, using $LN_S" >&6; }
   5391 fi
   5392 
   5393 # find the maximum length of command line arguments
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5395 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5396 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399     i=0
   5400   teststring="ABCD"
   5401 
   5402   case $build_os in
   5403   msdosdjgpp*)
   5404     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5405     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5406     # during glob expansion).  Even if it were fixed, the result of this
   5407     # check would be larger than it should be.
   5408     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5409     ;;
   5410 
   5411   gnu*)
   5412     # Under GNU Hurd, this test is not required because there is
   5413     # no limit to the length of command line arguments.
   5414     # Libtool will interpret -1 as no limit whatsoever
   5415     lt_cv_sys_max_cmd_len=-1;
   5416     ;;
   5417 
   5418   cygwin* | mingw* | cegcc*)
   5419     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5420     # about 5 minutes as the teststring grows exponentially.
   5421     # Worse, since 9x/ME are not pre-emptively multitasking,
   5422     # you end up with a "frozen" computer, even though with patience
   5423     # the test eventually succeeds (with a max line length of 256k).
   5424     # Instead, let's just punt: use the minimum linelength reported by
   5425     # all of the supported platforms: 8192 (on NT/2K/XP).
   5426     lt_cv_sys_max_cmd_len=8192;
   5427     ;;
   5428 
   5429   mint*)
   5430     # On MiNT this can take a long time and run out of memory.
   5431     lt_cv_sys_max_cmd_len=8192;
   5432     ;;
   5433 
   5434   amigaos*)
   5435     # On AmigaOS with pdksh, this test takes hours, literally.
   5436     # So we just punt and use a minimum line length of 8192.
   5437     lt_cv_sys_max_cmd_len=8192;
   5438     ;;
   5439 
   5440   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5441     # This has been around since 386BSD, at least.  Likely further.
   5442     if test -x /sbin/sysctl; then
   5443       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5444     elif test -x /usr/sbin/sysctl; then
   5445       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5446     else
   5447       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5448     fi
   5449     # And add a safety zone
   5450     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5451     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5452     ;;
   5453 
   5454   interix*)
   5455     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5456     lt_cv_sys_max_cmd_len=196608
   5457     ;;
   5458 
   5459   osf*)
   5460     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5461     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5462     # nice to cause kernel panics so lets avoid the loop below.
   5463     # First set a reasonable default.
   5464     lt_cv_sys_max_cmd_len=16384
   5465     #
   5466     if test -x /sbin/sysconfig; then
   5467       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5468         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5469       esac
   5470     fi
   5471     ;;
   5472   sco3.2v5*)
   5473     lt_cv_sys_max_cmd_len=102400
   5474     ;;
   5475   sysv5* | sco5v6* | sysv4.2uw2*)
   5476     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5477     if test -n "$kargmax"; then
   5478       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5479     else
   5480       lt_cv_sys_max_cmd_len=32768
   5481     fi
   5482     ;;
   5483   *)
   5484     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5485     if test -n "$lt_cv_sys_max_cmd_len"; then
   5486       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5487       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5488     else
   5489       # Make teststring a little bigger before we do anything with it.
   5490       # a 1K string should be a reasonable start.
   5491       for i in 1 2 3 4 5 6 7 8 ; do
   5492         teststring=$teststring$teststring
   5493       done
   5494       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5495       # If test is not a shell built-in, we'll probably end up computing a
   5496       # maximum length that is only half of the actual maximum length, but
   5497       # we can't tell.
   5498       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5499 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5500 	      test $i != 17 # 1/2 MB should be enough
   5501       do
   5502         i=`expr $i + 1`
   5503         teststring=$teststring$teststring
   5504       done
   5505       # Only check the string length outside the loop.
   5506       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5507       teststring=
   5508       # Add a significant safety factor because C++ compilers can tack on
   5509       # massive amounts of additional arguments before passing them to the
   5510       # linker.  It appears as though 1/2 is a usable value.
   5511       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5512     fi
   5513     ;;
   5514   esac
   5515 
   5516 fi
   5517 
   5518 if test -n $lt_cv_sys_max_cmd_len ; then
   5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5520 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5521 else
   5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5523 $as_echo "none" >&6; }
   5524 fi
   5525 max_cmd_len=$lt_cv_sys_max_cmd_len
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 : ${CP="cp -f"}
   5533 : ${MV="mv -f"}
   5534 : ${RM="rm -f"}
   5535 
   5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5537 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5538 # Try some XSI features
   5539 xsi_shell=no
   5540 ( _lt_dummy="a/b/c"
   5541   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5542       = c,a/b,, \
   5543     && eval 'test $(( 1 + 1 )) -eq 2 \
   5544     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5545   && xsi_shell=yes
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5547 $as_echo "$xsi_shell" >&6; }
   5548 
   5549 
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5551 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5552 lt_shell_append=no
   5553 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5554     >/dev/null 2>&1 \
   5555   && lt_shell_append=yes
   5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5557 $as_echo "$lt_shell_append" >&6; }
   5558 
   5559 
   5560 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5561   lt_unset=unset
   5562 else
   5563   lt_unset=false
   5564 fi
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 # test EBCDIC or ASCII
   5571 case `echo X|tr X '\101'` in
   5572  A) # ASCII based system
   5573     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5574   lt_SP2NL='tr \040 \012'
   5575   lt_NL2SP='tr \015\012 \040\040'
   5576   ;;
   5577  *) # EBCDIC based system
   5578   lt_SP2NL='tr \100 \n'
   5579   lt_NL2SP='tr \r\n \100\100'
   5580   ;;
   5581 esac
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5592 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5593 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5594   $as_echo_n "(cached) " >&6
   5595 else
   5596   lt_cv_ld_reload_flag='-r'
   5597 fi
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5599 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5600 reload_flag=$lt_cv_ld_reload_flag
   5601 case $reload_flag in
   5602 "" | " "*) ;;
   5603 *) reload_flag=" $reload_flag" ;;
   5604 esac
   5605 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5606 case $host_os in
   5607   darwin*)
   5608     if test "$GCC" = yes; then
   5609       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5610     else
   5611       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5612     fi
   5613     ;;
   5614 esac
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 if test -n "$ac_tool_prefix"; then
   5625   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5626 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5628 $as_echo_n "checking for $ac_word... " >&6; }
   5629 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5630   $as_echo_n "(cached) " >&6
   5631 else
   5632   if test -n "$OBJDUMP"; then
   5633   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5634 else
   5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5636 for as_dir in $PATH
   5637 do
   5638   IFS=$as_save_IFS
   5639   test -z "$as_dir" && as_dir=.
   5640     for ac_exec_ext in '' $ac_executable_extensions; do
   5641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5642     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5644     break 2
   5645   fi
   5646 done
   5647   done
   5648 IFS=$as_save_IFS
   5649 
   5650 fi
   5651 fi
   5652 OBJDUMP=$ac_cv_prog_OBJDUMP
   5653 if test -n "$OBJDUMP"; then
   5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5655 $as_echo "$OBJDUMP" >&6; }
   5656 else
   5657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5658 $as_echo "no" >&6; }
   5659 fi
   5660 
   5661 
   5662 fi
   5663 if test -z "$ac_cv_prog_OBJDUMP"; then
   5664   ac_ct_OBJDUMP=$OBJDUMP
   5665   # Extract the first word of "objdump", so it can be a program name with args.
   5666 set dummy objdump; ac_word=$2
   5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5668 $as_echo_n "checking for $ac_word... " >&6; }
   5669 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5670   $as_echo_n "(cached) " >&6
   5671 else
   5672   if test -n "$ac_ct_OBJDUMP"; then
   5673   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5674 else
   5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5676 for as_dir in $PATH
   5677 do
   5678   IFS=$as_save_IFS
   5679   test -z "$as_dir" && as_dir=.
   5680     for ac_exec_ext in '' $ac_executable_extensions; do
   5681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5682     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5684     break 2
   5685   fi
   5686 done
   5687   done
   5688 IFS=$as_save_IFS
   5689 
   5690 fi
   5691 fi
   5692 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5693 if test -n "$ac_ct_OBJDUMP"; then
   5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5695 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5696 else
   5697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5698 $as_echo "no" >&6; }
   5699 fi
   5700 
   5701   if test "x$ac_ct_OBJDUMP" = x; then
   5702     OBJDUMP="false"
   5703   else
   5704     case $cross_compiling:$ac_tool_warned in
   5705 yes:)
   5706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5708 ac_tool_warned=yes ;;
   5709 esac
   5710     OBJDUMP=$ac_ct_OBJDUMP
   5711   fi
   5712 else
   5713   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5714 fi
   5715 
   5716 test -z "$OBJDUMP" && OBJDUMP=objdump
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5727 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5728 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5729   $as_echo_n "(cached) " >&6
   5730 else
   5731   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5732 lt_cv_file_magic_test_file=
   5733 lt_cv_deplibs_check_method='unknown'
   5734 # Need to set the preceding variable on all platforms that support
   5735 # interlibrary dependencies.
   5736 # 'none' -- dependencies not supported.
   5737 # `unknown' -- same as none, but documents that we really don't know.
   5738 # 'pass_all' -- all dependencies passed with no checks.
   5739 # 'test_compile' -- check by making test program.
   5740 # 'file_magic [[regex]]' -- check by looking for files in library path
   5741 # which responds to the $file_magic_cmd with a given extended regex.
   5742 # If you have `file' or equivalent on your system and you're not sure
   5743 # whether `pass_all' will *always* work, you probably want this one.
   5744 
   5745 case $host_os in
   5746 aix[4-9]*)
   5747   lt_cv_deplibs_check_method=pass_all
   5748   ;;
   5749 
   5750 beos*)
   5751   lt_cv_deplibs_check_method=pass_all
   5752   ;;
   5753 
   5754 bsdi[45]*)
   5755   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5756   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5757   lt_cv_file_magic_test_file=/shlib/libc.so
   5758   ;;
   5759 
   5760 cygwin*)
   5761   # func_win32_libid is a shell function defined in ltmain.sh
   5762   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5763   lt_cv_file_magic_cmd='func_win32_libid'
   5764   ;;
   5765 
   5766 mingw* | pw32*)
   5767   # Base MSYS/MinGW do not provide the 'file' command needed by
   5768   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5769   # unless we find 'file', for example because we are cross-compiling.
   5770   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5771   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5772     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5773     lt_cv_file_magic_cmd='func_win32_libid'
   5774   else
   5775     # Keep this pattern in sync with the one in func_win32_libid.
   5776     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5777     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5778   fi
   5779   ;;
   5780 
   5781 cegcc*)
   5782   # use the weaker test based on 'objdump'. See mingw*.
   5783   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5784   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5785   ;;
   5786 
   5787 darwin* | rhapsody*)
   5788   lt_cv_deplibs_check_method=pass_all
   5789   ;;
   5790 
   5791 freebsd* | dragonfly*)
   5792   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5793     case $host_cpu in
   5794     i*86 )
   5795       # Not sure whether the presence of OpenBSD here was a mistake.
   5796       # Let's accept both of them until this is cleared up.
   5797       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5798       lt_cv_file_magic_cmd=/usr/bin/file
   5799       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5800       ;;
   5801     esac
   5802   else
   5803     lt_cv_deplibs_check_method=pass_all
   5804   fi
   5805   ;;
   5806 
   5807 gnu*)
   5808   lt_cv_deplibs_check_method=pass_all
   5809   ;;
   5810 
   5811 haiku*)
   5812   lt_cv_deplibs_check_method=pass_all
   5813   ;;
   5814 
   5815 hpux10.20* | hpux11*)
   5816   lt_cv_file_magic_cmd=/usr/bin/file
   5817   case $host_cpu in
   5818   ia64*)
   5819     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5820     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5821     ;;
   5822   hppa*64*)
   5823     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]'
   5824     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5825     ;;
   5826   *)
   5827     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5828     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5829     ;;
   5830   esac
   5831   ;;
   5832 
   5833 interix[3-9]*)
   5834   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5835   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5836   ;;
   5837 
   5838 irix5* | irix6* | nonstopux*)
   5839   case $LD in
   5840   *-32|*"-32 ") libmagic=32-bit;;
   5841   *-n32|*"-n32 ") libmagic=N32;;
   5842   *-64|*"-64 ") libmagic=64-bit;;
   5843   *) libmagic=never-match;;
   5844   esac
   5845   lt_cv_deplibs_check_method=pass_all
   5846   ;;
   5847 
   5848 # This must be Linux ELF.
   5849 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5850   lt_cv_deplibs_check_method=pass_all
   5851   ;;
   5852 
   5853 netbsd*)
   5854   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5855     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5856   else
   5857     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5858   fi
   5859   ;;
   5860 
   5861 newos6*)
   5862   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5863   lt_cv_file_magic_cmd=/usr/bin/file
   5864   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5865   ;;
   5866 
   5867 *nto* | *qnx*)
   5868   lt_cv_deplibs_check_method=pass_all
   5869   ;;
   5870 
   5871 openbsd*)
   5872   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5873     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5874   else
   5875     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5876   fi
   5877   ;;
   5878 
   5879 osf3* | osf4* | osf5*)
   5880   lt_cv_deplibs_check_method=pass_all
   5881   ;;
   5882 
   5883 rdos*)
   5884   lt_cv_deplibs_check_method=pass_all
   5885   ;;
   5886 
   5887 solaris*)
   5888   lt_cv_deplibs_check_method=pass_all
   5889   ;;
   5890 
   5891 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5892   lt_cv_deplibs_check_method=pass_all
   5893   ;;
   5894 
   5895 sysv4 | sysv4.3*)
   5896   case $host_vendor in
   5897   motorola)
   5898     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]'
   5899     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5900     ;;
   5901   ncr)
   5902     lt_cv_deplibs_check_method=pass_all
   5903     ;;
   5904   sequent)
   5905     lt_cv_file_magic_cmd='/bin/file'
   5906     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5907     ;;
   5908   sni)
   5909     lt_cv_file_magic_cmd='/bin/file'
   5910     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5911     lt_cv_file_magic_test_file=/lib/libc.so
   5912     ;;
   5913   siemens)
   5914     lt_cv_deplibs_check_method=pass_all
   5915     ;;
   5916   pc)
   5917     lt_cv_deplibs_check_method=pass_all
   5918     ;;
   5919   esac
   5920   ;;
   5921 
   5922 tpf*)
   5923   lt_cv_deplibs_check_method=pass_all
   5924   ;;
   5925 esac
   5926 
   5927 fi
   5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5929 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5930 file_magic_cmd=$lt_cv_file_magic_cmd
   5931 deplibs_check_method=$lt_cv_deplibs_check_method
   5932 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 if test -n "$ac_tool_prefix"; then
   5946   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5947 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5949 $as_echo_n "checking for $ac_word... " >&6; }
   5950 if test "${ac_cv_prog_AR+set}" = set; then :
   5951   $as_echo_n "(cached) " >&6
   5952 else
   5953   if test -n "$AR"; then
   5954   ac_cv_prog_AR="$AR" # Let the user override the test.
   5955 else
   5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5957 for as_dir in $PATH
   5958 do
   5959   IFS=$as_save_IFS
   5960   test -z "$as_dir" && as_dir=.
   5961     for ac_exec_ext in '' $ac_executable_extensions; do
   5962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5963     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5965     break 2
   5966   fi
   5967 done
   5968   done
   5969 IFS=$as_save_IFS
   5970 
   5971 fi
   5972 fi
   5973 AR=$ac_cv_prog_AR
   5974 if test -n "$AR"; then
   5975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5976 $as_echo "$AR" >&6; }
   5977 else
   5978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5979 $as_echo "no" >&6; }
   5980 fi
   5981 
   5982 
   5983 fi
   5984 if test -z "$ac_cv_prog_AR"; then
   5985   ac_ct_AR=$AR
   5986   # Extract the first word of "ar", so it can be a program name with args.
   5987 set dummy ar; ac_word=$2
   5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5989 $as_echo_n "checking for $ac_word... " >&6; }
   5990 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5991   $as_echo_n "(cached) " >&6
   5992 else
   5993   if test -n "$ac_ct_AR"; then
   5994   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5995 else
   5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5997 for as_dir in $PATH
   5998 do
   5999   IFS=$as_save_IFS
   6000   test -z "$as_dir" && as_dir=.
   6001     for ac_exec_ext in '' $ac_executable_extensions; do
   6002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6003     ac_cv_prog_ac_ct_AR="ar"
   6004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6005     break 2
   6006   fi
   6007 done
   6008   done
   6009 IFS=$as_save_IFS
   6010 
   6011 fi
   6012 fi
   6013 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6014 if test -n "$ac_ct_AR"; then
   6015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6016 $as_echo "$ac_ct_AR" >&6; }
   6017 else
   6018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6019 $as_echo "no" >&6; }
   6020 fi
   6021 
   6022   if test "x$ac_ct_AR" = x; then
   6023     AR="false"
   6024   else
   6025     case $cross_compiling:$ac_tool_warned in
   6026 yes:)
   6027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6029 ac_tool_warned=yes ;;
   6030 esac
   6031     AR=$ac_ct_AR
   6032   fi
   6033 else
   6034   AR="$ac_cv_prog_AR"
   6035 fi
   6036 
   6037 test -z "$AR" && AR=ar
   6038 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 if test -n "$ac_tool_prefix"; then
   6051   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6052 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6054 $as_echo_n "checking for $ac_word... " >&6; }
   6055 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6056   $as_echo_n "(cached) " >&6
   6057 else
   6058   if test -n "$STRIP"; then
   6059   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6060 else
   6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6062 for as_dir in $PATH
   6063 do
   6064   IFS=$as_save_IFS
   6065   test -z "$as_dir" && as_dir=.
   6066     for ac_exec_ext in '' $ac_executable_extensions; do
   6067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6068     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6070     break 2
   6071   fi
   6072 done
   6073   done
   6074 IFS=$as_save_IFS
   6075 
   6076 fi
   6077 fi
   6078 STRIP=$ac_cv_prog_STRIP
   6079 if test -n "$STRIP"; then
   6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6081 $as_echo "$STRIP" >&6; }
   6082 else
   6083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6084 $as_echo "no" >&6; }
   6085 fi
   6086 
   6087 
   6088 fi
   6089 if test -z "$ac_cv_prog_STRIP"; then
   6090   ac_ct_STRIP=$STRIP
   6091   # Extract the first word of "strip", so it can be a program name with args.
   6092 set dummy strip; ac_word=$2
   6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6094 $as_echo_n "checking for $ac_word... " >&6; }
   6095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6096   $as_echo_n "(cached) " >&6
   6097 else
   6098   if test -n "$ac_ct_STRIP"; then
   6099   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6100 else
   6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6102 for as_dir in $PATH
   6103 do
   6104   IFS=$as_save_IFS
   6105   test -z "$as_dir" && as_dir=.
   6106     for ac_exec_ext in '' $ac_executable_extensions; do
   6107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6108     ac_cv_prog_ac_ct_STRIP="strip"
   6109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6110     break 2
   6111   fi
   6112 done
   6113   done
   6114 IFS=$as_save_IFS
   6115 
   6116 fi
   6117 fi
   6118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6119 if test -n "$ac_ct_STRIP"; then
   6120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6121 $as_echo "$ac_ct_STRIP" >&6; }
   6122 else
   6123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6124 $as_echo "no" >&6; }
   6125 fi
   6126 
   6127   if test "x$ac_ct_STRIP" = x; then
   6128     STRIP=":"
   6129   else
   6130     case $cross_compiling:$ac_tool_warned in
   6131 yes:)
   6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6134 ac_tool_warned=yes ;;
   6135 esac
   6136     STRIP=$ac_ct_STRIP
   6137   fi
   6138 else
   6139   STRIP="$ac_cv_prog_STRIP"
   6140 fi
   6141 
   6142 test -z "$STRIP" && STRIP=:
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 if test -n "$ac_tool_prefix"; then
   6150   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6153 $as_echo_n "checking for $ac_word... " >&6; }
   6154 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6155   $as_echo_n "(cached) " >&6
   6156 else
   6157   if test -n "$RANLIB"; then
   6158   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6159 else
   6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6161 for as_dir in $PATH
   6162 do
   6163   IFS=$as_save_IFS
   6164   test -z "$as_dir" && as_dir=.
   6165     for ac_exec_ext in '' $ac_executable_extensions; do
   6166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6167     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6169     break 2
   6170   fi
   6171 done
   6172   done
   6173 IFS=$as_save_IFS
   6174 
   6175 fi
   6176 fi
   6177 RANLIB=$ac_cv_prog_RANLIB
   6178 if test -n "$RANLIB"; then
   6179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6180 $as_echo "$RANLIB" >&6; }
   6181 else
   6182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6183 $as_echo "no" >&6; }
   6184 fi
   6185 
   6186 
   6187 fi
   6188 if test -z "$ac_cv_prog_RANLIB"; then
   6189   ac_ct_RANLIB=$RANLIB
   6190   # Extract the first word of "ranlib", so it can be a program name with args.
   6191 set dummy ranlib; ac_word=$2
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6193 $as_echo_n "checking for $ac_word... " >&6; }
   6194 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197   if test -n "$ac_ct_RANLIB"; then
   6198   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6199 else
   6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6201 for as_dir in $PATH
   6202 do
   6203   IFS=$as_save_IFS
   6204   test -z "$as_dir" && as_dir=.
   6205     for ac_exec_ext in '' $ac_executable_extensions; do
   6206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6207     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6209     break 2
   6210   fi
   6211 done
   6212   done
   6213 IFS=$as_save_IFS
   6214 
   6215 fi
   6216 fi
   6217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6218 if test -n "$ac_ct_RANLIB"; then
   6219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6220 $as_echo "$ac_ct_RANLIB" >&6; }
   6221 else
   6222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6223 $as_echo "no" >&6; }
   6224 fi
   6225 
   6226   if test "x$ac_ct_RANLIB" = x; then
   6227     RANLIB=":"
   6228   else
   6229     case $cross_compiling:$ac_tool_warned in
   6230 yes:)
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6233 ac_tool_warned=yes ;;
   6234 esac
   6235     RANLIB=$ac_ct_RANLIB
   6236   fi
   6237 else
   6238   RANLIB="$ac_cv_prog_RANLIB"
   6239 fi
   6240 
   6241 test -z "$RANLIB" && RANLIB=:
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 # Determine commands to create old-style static archives.
   6249 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6250 old_postinstall_cmds='chmod 644 $oldlib'
   6251 old_postuninstall_cmds=
   6252 
   6253 if test -n "$RANLIB"; then
   6254   case $host_os in
   6255   openbsd*)
   6256     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6257     ;;
   6258   *)
   6259     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6260     ;;
   6261   esac
   6262   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6263 fi
   6264 
   6265 case $host_os in
   6266   darwin*)
   6267     lock_old_archive_extraction=yes ;;
   6268   *)
   6269     lock_old_archive_extraction=no ;;
   6270 esac
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 # If no C compiler was specified, use CC.
   6311 LTCC=${LTCC-"$CC"}
   6312 
   6313 # If no C compiler flags were specified, use CFLAGS.
   6314 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6315 
   6316 # Allow CC to be a program name with arguments.
   6317 compiler=$CC
   6318 
   6319 
   6320 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6322 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6323 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6324   $as_echo_n "(cached) " >&6
   6325 else
   6326 
   6327 # These are sane defaults that work on at least a few old systems.
   6328 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6329 
   6330 # Character class describing NM global symbol codes.
   6331 symcode='[BCDEGRST]'
   6332 
   6333 # Regexp to match symbols that can be accessed directly from C.
   6334 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6335 
   6336 # Define system-specific variables.
   6337 case $host_os in
   6338 aix*)
   6339   symcode='[BCDT]'
   6340   ;;
   6341 cygwin* | mingw* | pw32* | cegcc*)
   6342   symcode='[ABCDGISTW]'
   6343   ;;
   6344 hpux*)
   6345   if test "$host_cpu" = ia64; then
   6346     symcode='[ABCDEGRST]'
   6347   fi
   6348   ;;
   6349 irix* | nonstopux*)
   6350   symcode='[BCDEGRST]'
   6351   ;;
   6352 osf*)
   6353   symcode='[BCDEGQRST]'
   6354   ;;
   6355 solaris*)
   6356   symcode='[BDRT]'
   6357   ;;
   6358 sco3.2v5*)
   6359   symcode='[DT]'
   6360   ;;
   6361 sysv4.2uw2*)
   6362   symcode='[DT]'
   6363   ;;
   6364 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6365   symcode='[ABDT]'
   6366   ;;
   6367 sysv4)
   6368   symcode='[DFNSTU]'
   6369   ;;
   6370 esac
   6371 
   6372 # If we're using GNU nm, then use its standard symbol codes.
   6373 case `$NM -V 2>&1` in
   6374 *GNU* | *'with BFD'*)
   6375   symcode='[ABCDGIRSTW]' ;;
   6376 esac
   6377 
   6378 # Transform an extracted symbol line into a proper C declaration.
   6379 # Some systems (esp. on ia64) link data and code symbols differently,
   6380 # so use this general approach.
   6381 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6382 
   6383 # Transform an extracted symbol line into symbol name and symbol address
   6384 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6385 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'"
   6386 
   6387 # Handle CRLF in mingw tool chain
   6388 opt_cr=
   6389 case $build_os in
   6390 mingw*)
   6391   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6392   ;;
   6393 esac
   6394 
   6395 # Try without a prefix underscore, then with it.
   6396 for ac_symprfx in "" "_"; do
   6397 
   6398   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6399   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6400 
   6401   # Write the raw and C identifiers.
   6402   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6403     # Fake it for dumpbin and say T for any non-static function
   6404     # and D for any global variable.
   6405     # Also find C++ and __fastcall symbols from MSVC++,
   6406     # which start with @ or ?.
   6407     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6408 "     {last_section=section; section=\$ 3};"\
   6409 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6410 "     \$ 0!~/External *\|/{next};"\
   6411 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6412 "     {if(hide[section]) next};"\
   6413 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6414 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6415 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6416 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6417 "     ' prfx=^$ac_symprfx"
   6418   else
   6419     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6420   fi
   6421 
   6422   # Check to see that the pipe works correctly.
   6423   pipe_works=no
   6424 
   6425   rm -f conftest*
   6426   cat > conftest.$ac_ext <<_LT_EOF
   6427 #ifdef __cplusplus
   6428 extern "C" {
   6429 #endif
   6430 char nm_test_var;
   6431 void nm_test_func(void);
   6432 void nm_test_func(void){}
   6433 #ifdef __cplusplus
   6434 }
   6435 #endif
   6436 int main(){nm_test_var='a';nm_test_func();return(0);}
   6437 _LT_EOF
   6438 
   6439   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6440   (eval $ac_compile) 2>&5
   6441   ac_status=$?
   6442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6443   test $ac_status = 0; }; then
   6444     # Now try to grab the symbols.
   6445     nlist=conftest.nm
   6446     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6447   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6448   ac_status=$?
   6449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6450   test $ac_status = 0; } && test -s "$nlist"; then
   6451       # Try sorting and uniquifying the output.
   6452       if sort "$nlist" | uniq > "$nlist"T; then
   6453 	mv -f "$nlist"T "$nlist"
   6454       else
   6455 	rm -f "$nlist"T
   6456       fi
   6457 
   6458       # Make sure that we snagged all the symbols we need.
   6459       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6460 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6461 	  cat <<_LT_EOF > conftest.$ac_ext
   6462 #ifdef __cplusplus
   6463 extern "C" {
   6464 #endif
   6465 
   6466 _LT_EOF
   6467 	  # Now generate the symbol file.
   6468 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6469 
   6470 	  cat <<_LT_EOF >> conftest.$ac_ext
   6471 
   6472 /* The mapping between symbol names and symbols.  */
   6473 const struct {
   6474   const char *name;
   6475   void       *address;
   6476 }
   6477 lt__PROGRAM__LTX_preloaded_symbols[] =
   6478 {
   6479   { "@PROGRAM@", (void *) 0 },
   6480 _LT_EOF
   6481 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6482 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6483   {0, (void *) 0}
   6484 };
   6485 
   6486 /* This works around a problem in FreeBSD linker */
   6487 #ifdef FREEBSD_WORKAROUND
   6488 static const void *lt_preloaded_setup() {
   6489   return lt__PROGRAM__LTX_preloaded_symbols;
   6490 }
   6491 #endif
   6492 
   6493 #ifdef __cplusplus
   6494 }
   6495 #endif
   6496 _LT_EOF
   6497 	  # Now try linking the two files.
   6498 	  mv conftest.$ac_objext conftstm.$ac_objext
   6499 	  lt_save_LIBS="$LIBS"
   6500 	  lt_save_CFLAGS="$CFLAGS"
   6501 	  LIBS="conftstm.$ac_objext"
   6502 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6503 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6504   (eval $ac_link) 2>&5
   6505   ac_status=$?
   6506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6507   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6508 	    pipe_works=yes
   6509 	  fi
   6510 	  LIBS="$lt_save_LIBS"
   6511 	  CFLAGS="$lt_save_CFLAGS"
   6512 	else
   6513 	  echo "cannot find nm_test_func in $nlist" >&5
   6514 	fi
   6515       else
   6516 	echo "cannot find nm_test_var in $nlist" >&5
   6517       fi
   6518     else
   6519       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6520     fi
   6521   else
   6522     echo "$progname: failed program was:" >&5
   6523     cat conftest.$ac_ext >&5
   6524   fi
   6525   rm -rf conftest* conftst*
   6526 
   6527   # Do not use the global_symbol_pipe unless it works.
   6528   if test "$pipe_works" = yes; then
   6529     break
   6530   else
   6531     lt_cv_sys_global_symbol_pipe=
   6532   fi
   6533 done
   6534 
   6535 fi
   6536 
   6537 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6538   lt_cv_sys_global_symbol_to_cdecl=
   6539 fi
   6540 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6542 $as_echo "failed" >&6; }
   6543 else
   6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6545 $as_echo "ok" >&6; }
   6546 fi
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 # Check whether --enable-libtool-lock was given.
   6570 if test "${enable_libtool_lock+set}" = set; then :
   6571   enableval=$enable_libtool_lock;
   6572 fi
   6573 
   6574 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6575 
   6576 # Some flags need to be propagated to the compiler or linker for good
   6577 # libtool support.
   6578 case $host in
   6579 ia64-*-hpux*)
   6580   # Find out which ABI we are using.
   6581   echo 'int i;' > conftest.$ac_ext
   6582   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6583   (eval $ac_compile) 2>&5
   6584   ac_status=$?
   6585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6586   test $ac_status = 0; }; then
   6587     case `/usr/bin/file conftest.$ac_objext` in
   6588       *ELF-32*)
   6589 	HPUX_IA64_MODE="32"
   6590 	;;
   6591       *ELF-64*)
   6592 	HPUX_IA64_MODE="64"
   6593 	;;
   6594     esac
   6595   fi
   6596   rm -rf conftest*
   6597   ;;
   6598 *-*-irix6*)
   6599   # Find out which ABI we are using.
   6600   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6601   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6602   (eval $ac_compile) 2>&5
   6603   ac_status=$?
   6604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6605   test $ac_status = 0; }; then
   6606     if test "$lt_cv_prog_gnu_ld" = yes; then
   6607       case `/usr/bin/file conftest.$ac_objext` in
   6608 	*32-bit*)
   6609 	  LD="${LD-ld} -melf32bsmip"
   6610 	  ;;
   6611 	*N32*)
   6612 	  LD="${LD-ld} -melf32bmipn32"
   6613 	  ;;
   6614 	*64-bit*)
   6615 	  LD="${LD-ld} -melf64bmip"
   6616 	;;
   6617       esac
   6618     else
   6619       case `/usr/bin/file conftest.$ac_objext` in
   6620 	*32-bit*)
   6621 	  LD="${LD-ld} -32"
   6622 	  ;;
   6623 	*N32*)
   6624 	  LD="${LD-ld} -n32"
   6625 	  ;;
   6626 	*64-bit*)
   6627 	  LD="${LD-ld} -64"
   6628 	  ;;
   6629       esac
   6630     fi
   6631   fi
   6632   rm -rf conftest*
   6633   ;;
   6634 
   6635 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6636 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6637   # Find out which ABI we are using.
   6638   echo 'int i;' > conftest.$ac_ext
   6639   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6640   (eval $ac_compile) 2>&5
   6641   ac_status=$?
   6642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6643   test $ac_status = 0; }; then
   6644     case `/usr/bin/file conftest.o` in
   6645       *32-bit*)
   6646 	case $host in
   6647 	  x86_64-*kfreebsd*-gnu)
   6648 	    LD="${LD-ld} -m elf_i386_fbsd"
   6649 	    ;;
   6650 	  x86_64-*linux*)
   6651 	    LD="${LD-ld} -m elf_i386"
   6652 	    ;;
   6653 	  ppc64-*linux*|powerpc64-*linux*)
   6654 	    LD="${LD-ld} -m elf32ppclinux"
   6655 	    ;;
   6656 	  s390x-*linux*)
   6657 	    LD="${LD-ld} -m elf_s390"
   6658 	    ;;
   6659 	  sparc64-*linux*)
   6660 	    LD="${LD-ld} -m elf32_sparc"
   6661 	    ;;
   6662 	esac
   6663 	;;
   6664       *64-bit*)
   6665 	case $host in
   6666 	  x86_64-*kfreebsd*-gnu)
   6667 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6668 	    ;;
   6669 	  x86_64-*linux*)
   6670 	    LD="${LD-ld} -m elf_x86_64"
   6671 	    ;;
   6672 	  ppc*-*linux*|powerpc*-*linux*)
   6673 	    LD="${LD-ld} -m elf64ppc"
   6674 	    ;;
   6675 	  s390*-*linux*|s390*-*tpf*)
   6676 	    LD="${LD-ld} -m elf64_s390"
   6677 	    ;;
   6678 	  sparc*-*linux*)
   6679 	    LD="${LD-ld} -m elf64_sparc"
   6680 	    ;;
   6681 	esac
   6682 	;;
   6683     esac
   6684   fi
   6685   rm -rf conftest*
   6686   ;;
   6687 
   6688 *-*-sco3.2v5*)
   6689   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6690   SAVE_CFLAGS="$CFLAGS"
   6691   CFLAGS="$CFLAGS -belf"
   6692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6693 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6694 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6695   $as_echo_n "(cached) " >&6
   6696 else
   6697   ac_ext=c
   6698 ac_cpp='$CPP $CPPFLAGS'
   6699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6702 
   6703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6704 /* end confdefs.h.  */
   6705 
   6706 int
   6707 main ()
   6708 {
   6709 
   6710   ;
   6711   return 0;
   6712 }
   6713 _ACEOF
   6714 if ac_fn_c_try_link "$LINENO"; then :
   6715   lt_cv_cc_needs_belf=yes
   6716 else
   6717   lt_cv_cc_needs_belf=no
   6718 fi
   6719 rm -f core conftest.err conftest.$ac_objext \
   6720     conftest$ac_exeext conftest.$ac_ext
   6721      ac_ext=c
   6722 ac_cpp='$CPP $CPPFLAGS'
   6723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6726 
   6727 fi
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6729 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6730   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6731     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6732     CFLAGS="$SAVE_CFLAGS"
   6733   fi
   6734   ;;
   6735 sparc*-*solaris*)
   6736   # Find out which ABI we are using.
   6737   echo 'int i;' > conftest.$ac_ext
   6738   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6739   (eval $ac_compile) 2>&5
   6740   ac_status=$?
   6741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6742   test $ac_status = 0; }; then
   6743     case `/usr/bin/file conftest.o` in
   6744     *64-bit*)
   6745       case $lt_cv_prog_gnu_ld in
   6746       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6747       *)
   6748 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6749 	  LD="${LD-ld} -64"
   6750 	fi
   6751 	;;
   6752       esac
   6753       ;;
   6754     esac
   6755   fi
   6756   rm -rf conftest*
   6757   ;;
   6758 esac
   6759 
   6760 need_locks="$enable_libtool_lock"
   6761 
   6762 
   6763   case $host_os in
   6764     rhapsody* | darwin*)
   6765     if test -n "$ac_tool_prefix"; then
   6766   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6767 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6769 $as_echo_n "checking for $ac_word... " >&6; }
   6770 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   if test -n "$DSYMUTIL"; then
   6774   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6775 else
   6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6777 for as_dir in $PATH
   6778 do
   6779   IFS=$as_save_IFS
   6780   test -z "$as_dir" && as_dir=.
   6781     for ac_exec_ext in '' $ac_executable_extensions; do
   6782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6783     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6785     break 2
   6786   fi
   6787 done
   6788   done
   6789 IFS=$as_save_IFS
   6790 
   6791 fi
   6792 fi
   6793 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6794 if test -n "$DSYMUTIL"; then
   6795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6796 $as_echo "$DSYMUTIL" >&6; }
   6797 else
   6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6799 $as_echo "no" >&6; }
   6800 fi
   6801 
   6802 
   6803 fi
   6804 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6805   ac_ct_DSYMUTIL=$DSYMUTIL
   6806   # Extract the first word of "dsymutil", so it can be a program name with args.
   6807 set dummy dsymutil; ac_word=$2
   6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6809 $as_echo_n "checking for $ac_word... " >&6; }
   6810 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6811   $as_echo_n "(cached) " >&6
   6812 else
   6813   if test -n "$ac_ct_DSYMUTIL"; then
   6814   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6815 else
   6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6817 for as_dir in $PATH
   6818 do
   6819   IFS=$as_save_IFS
   6820   test -z "$as_dir" && as_dir=.
   6821     for ac_exec_ext in '' $ac_executable_extensions; do
   6822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6823     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6825     break 2
   6826   fi
   6827 done
   6828   done
   6829 IFS=$as_save_IFS
   6830 
   6831 fi
   6832 fi
   6833 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6834 if test -n "$ac_ct_DSYMUTIL"; then
   6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6836 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6837 else
   6838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6839 $as_echo "no" >&6; }
   6840 fi
   6841 
   6842   if test "x$ac_ct_DSYMUTIL" = x; then
   6843     DSYMUTIL=":"
   6844   else
   6845     case $cross_compiling:$ac_tool_warned in
   6846 yes:)
   6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6849 ac_tool_warned=yes ;;
   6850 esac
   6851     DSYMUTIL=$ac_ct_DSYMUTIL
   6852   fi
   6853 else
   6854   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6855 fi
   6856 
   6857     if test -n "$ac_tool_prefix"; then
   6858   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6859 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6861 $as_echo_n "checking for $ac_word... " >&6; }
   6862 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6863   $as_echo_n "(cached) " >&6
   6864 else
   6865   if test -n "$NMEDIT"; then
   6866   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6867 else
   6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6869 for as_dir in $PATH
   6870 do
   6871   IFS=$as_save_IFS
   6872   test -z "$as_dir" && as_dir=.
   6873     for ac_exec_ext in '' $ac_executable_extensions; do
   6874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6875     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6877     break 2
   6878   fi
   6879 done
   6880   done
   6881 IFS=$as_save_IFS
   6882 
   6883 fi
   6884 fi
   6885 NMEDIT=$ac_cv_prog_NMEDIT
   6886 if test -n "$NMEDIT"; then
   6887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6888 $as_echo "$NMEDIT" >&6; }
   6889 else
   6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6891 $as_echo "no" >&6; }
   6892 fi
   6893 
   6894 
   6895 fi
   6896 if test -z "$ac_cv_prog_NMEDIT"; then
   6897   ac_ct_NMEDIT=$NMEDIT
   6898   # Extract the first word of "nmedit", so it can be a program name with args.
   6899 set dummy nmedit; ac_word=$2
   6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6901 $as_echo_n "checking for $ac_word... " >&6; }
   6902 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6903   $as_echo_n "(cached) " >&6
   6904 else
   6905   if test -n "$ac_ct_NMEDIT"; then
   6906   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6907 else
   6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6909 for as_dir in $PATH
   6910 do
   6911   IFS=$as_save_IFS
   6912   test -z "$as_dir" && as_dir=.
   6913     for ac_exec_ext in '' $ac_executable_extensions; do
   6914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6915     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6917     break 2
   6918   fi
   6919 done
   6920   done
   6921 IFS=$as_save_IFS
   6922 
   6923 fi
   6924 fi
   6925 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6926 if test -n "$ac_ct_NMEDIT"; then
   6927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6928 $as_echo "$ac_ct_NMEDIT" >&6; }
   6929 else
   6930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6931 $as_echo "no" >&6; }
   6932 fi
   6933 
   6934   if test "x$ac_ct_NMEDIT" = x; then
   6935     NMEDIT=":"
   6936   else
   6937     case $cross_compiling:$ac_tool_warned in
   6938 yes:)
   6939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6941 ac_tool_warned=yes ;;
   6942 esac
   6943     NMEDIT=$ac_ct_NMEDIT
   6944   fi
   6945 else
   6946   NMEDIT="$ac_cv_prog_NMEDIT"
   6947 fi
   6948 
   6949     if test -n "$ac_tool_prefix"; then
   6950   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6951 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6953 $as_echo_n "checking for $ac_word... " >&6; }
   6954 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   if test -n "$LIPO"; then
   6958   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6959 else
   6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6961 for as_dir in $PATH
   6962 do
   6963   IFS=$as_save_IFS
   6964   test -z "$as_dir" && as_dir=.
   6965     for ac_exec_ext in '' $ac_executable_extensions; do
   6966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6967     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6969     break 2
   6970   fi
   6971 done
   6972   done
   6973 IFS=$as_save_IFS
   6974 
   6975 fi
   6976 fi
   6977 LIPO=$ac_cv_prog_LIPO
   6978 if test -n "$LIPO"; then
   6979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6980 $as_echo "$LIPO" >&6; }
   6981 else
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6983 $as_echo "no" >&6; }
   6984 fi
   6985 
   6986 
   6987 fi
   6988 if test -z "$ac_cv_prog_LIPO"; then
   6989   ac_ct_LIPO=$LIPO
   6990   # Extract the first word of "lipo", so it can be a program name with args.
   6991 set dummy lipo; ac_word=$2
   6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6993 $as_echo_n "checking for $ac_word... " >&6; }
   6994 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6995   $as_echo_n "(cached) " >&6
   6996 else
   6997   if test -n "$ac_ct_LIPO"; then
   6998   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6999 else
   7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7001 for as_dir in $PATH
   7002 do
   7003   IFS=$as_save_IFS
   7004   test -z "$as_dir" && as_dir=.
   7005     for ac_exec_ext in '' $ac_executable_extensions; do
   7006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7007     ac_cv_prog_ac_ct_LIPO="lipo"
   7008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7009     break 2
   7010   fi
   7011 done
   7012   done
   7013 IFS=$as_save_IFS
   7014 
   7015 fi
   7016 fi
   7017 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7018 if test -n "$ac_ct_LIPO"; then
   7019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7020 $as_echo "$ac_ct_LIPO" >&6; }
   7021 else
   7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7023 $as_echo "no" >&6; }
   7024 fi
   7025 
   7026   if test "x$ac_ct_LIPO" = x; then
   7027     LIPO=":"
   7028   else
   7029     case $cross_compiling:$ac_tool_warned in
   7030 yes:)
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7033 ac_tool_warned=yes ;;
   7034 esac
   7035     LIPO=$ac_ct_LIPO
   7036   fi
   7037 else
   7038   LIPO="$ac_cv_prog_LIPO"
   7039 fi
   7040 
   7041     if test -n "$ac_tool_prefix"; then
   7042   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7043 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7045 $as_echo_n "checking for $ac_word... " >&6; }
   7046 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   if test -n "$OTOOL"; then
   7050   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7051 else
   7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7053 for as_dir in $PATH
   7054 do
   7055   IFS=$as_save_IFS
   7056   test -z "$as_dir" && as_dir=.
   7057     for ac_exec_ext in '' $ac_executable_extensions; do
   7058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7059     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7061     break 2
   7062   fi
   7063 done
   7064   done
   7065 IFS=$as_save_IFS
   7066 
   7067 fi
   7068 fi
   7069 OTOOL=$ac_cv_prog_OTOOL
   7070 if test -n "$OTOOL"; then
   7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7072 $as_echo "$OTOOL" >&6; }
   7073 else
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7075 $as_echo "no" >&6; }
   7076 fi
   7077 
   7078 
   7079 fi
   7080 if test -z "$ac_cv_prog_OTOOL"; then
   7081   ac_ct_OTOOL=$OTOOL
   7082   # Extract the first word of "otool", so it can be a program name with args.
   7083 set dummy otool; ac_word=$2
   7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7085 $as_echo_n "checking for $ac_word... " >&6; }
   7086 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7087   $as_echo_n "(cached) " >&6
   7088 else
   7089   if test -n "$ac_ct_OTOOL"; then
   7090   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7091 else
   7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7093 for as_dir in $PATH
   7094 do
   7095   IFS=$as_save_IFS
   7096   test -z "$as_dir" && as_dir=.
   7097     for ac_exec_ext in '' $ac_executable_extensions; do
   7098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7099     ac_cv_prog_ac_ct_OTOOL="otool"
   7100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7101     break 2
   7102   fi
   7103 done
   7104   done
   7105 IFS=$as_save_IFS
   7106 
   7107 fi
   7108 fi
   7109 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7110 if test -n "$ac_ct_OTOOL"; then
   7111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7112 $as_echo "$ac_ct_OTOOL" >&6; }
   7113 else
   7114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7115 $as_echo "no" >&6; }
   7116 fi
   7117 
   7118   if test "x$ac_ct_OTOOL" = x; then
   7119     OTOOL=":"
   7120   else
   7121     case $cross_compiling:$ac_tool_warned in
   7122 yes:)
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7125 ac_tool_warned=yes ;;
   7126 esac
   7127     OTOOL=$ac_ct_OTOOL
   7128   fi
   7129 else
   7130   OTOOL="$ac_cv_prog_OTOOL"
   7131 fi
   7132 
   7133     if test -n "$ac_tool_prefix"; then
   7134   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7135 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7137 $as_echo_n "checking for $ac_word... " >&6; }
   7138 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7139   $as_echo_n "(cached) " >&6
   7140 else
   7141   if test -n "$OTOOL64"; then
   7142   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7143 else
   7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7145 for as_dir in $PATH
   7146 do
   7147   IFS=$as_save_IFS
   7148   test -z "$as_dir" && as_dir=.
   7149     for ac_exec_ext in '' $ac_executable_extensions; do
   7150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7151     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7153     break 2
   7154   fi
   7155 done
   7156   done
   7157 IFS=$as_save_IFS
   7158 
   7159 fi
   7160 fi
   7161 OTOOL64=$ac_cv_prog_OTOOL64
   7162 if test -n "$OTOOL64"; then
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7164 $as_echo "$OTOOL64" >&6; }
   7165 else
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7167 $as_echo "no" >&6; }
   7168 fi
   7169 
   7170 
   7171 fi
   7172 if test -z "$ac_cv_prog_OTOOL64"; then
   7173   ac_ct_OTOOL64=$OTOOL64
   7174   # Extract the first word of "otool64", so it can be a program name with args.
   7175 set dummy otool64; ac_word=$2
   7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7177 $as_echo_n "checking for $ac_word... " >&6; }
   7178 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7179   $as_echo_n "(cached) " >&6
   7180 else
   7181   if test -n "$ac_ct_OTOOL64"; then
   7182   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7183 else
   7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7185 for as_dir in $PATH
   7186 do
   7187   IFS=$as_save_IFS
   7188   test -z "$as_dir" && as_dir=.
   7189     for ac_exec_ext in '' $ac_executable_extensions; do
   7190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7191     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7193     break 2
   7194   fi
   7195 done
   7196   done
   7197 IFS=$as_save_IFS
   7198 
   7199 fi
   7200 fi
   7201 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7202 if test -n "$ac_ct_OTOOL64"; then
   7203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7204 $as_echo "$ac_ct_OTOOL64" >&6; }
   7205 else
   7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7207 $as_echo "no" >&6; }
   7208 fi
   7209 
   7210   if test "x$ac_ct_OTOOL64" = x; then
   7211     OTOOL64=":"
   7212   else
   7213     case $cross_compiling:$ac_tool_warned in
   7214 yes:)
   7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7217 ac_tool_warned=yes ;;
   7218 esac
   7219     OTOOL64=$ac_ct_OTOOL64
   7220   fi
   7221 else
   7222   OTOOL64="$ac_cv_prog_OTOOL64"
   7223 fi
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7252 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7253 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7254   $as_echo_n "(cached) " >&6
   7255 else
   7256   lt_cv_apple_cc_single_mod=no
   7257       if test -z "${LT_MULTI_MODULE}"; then
   7258 	# By default we will add the -single_module flag. You can override
   7259 	# by either setting the environment variable LT_MULTI_MODULE
   7260 	# non-empty at configure time, or by adding -multi_module to the
   7261 	# link flags.
   7262 	rm -rf libconftest.dylib*
   7263 	echo "int foo(void){return 1;}" > conftest.c
   7264 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7265 -dynamiclib -Wl,-single_module conftest.c" >&5
   7266 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7267 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7268         _lt_result=$?
   7269 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7270 	  lt_cv_apple_cc_single_mod=yes
   7271 	else
   7272 	  cat conftest.err >&5
   7273 	fi
   7274 	rm -rf libconftest.dylib*
   7275 	rm -f conftest.*
   7276       fi
   7277 fi
   7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7279 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7281 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7282 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   lt_cv_ld_exported_symbols_list=no
   7286       save_LDFLAGS=$LDFLAGS
   7287       echo "_main" > conftest.sym
   7288       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 
   7292 int
   7293 main ()
   7294 {
   7295 
   7296   ;
   7297   return 0;
   7298 }
   7299 _ACEOF
   7300 if ac_fn_c_try_link "$LINENO"; then :
   7301   lt_cv_ld_exported_symbols_list=yes
   7302 else
   7303   lt_cv_ld_exported_symbols_list=no
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext \
   7306     conftest$ac_exeext conftest.$ac_ext
   7307 	LDFLAGS="$save_LDFLAGS"
   7308 
   7309 fi
   7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7311 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7313 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7314 if test "${lt_cv_ld_force_load+set}" = set; then :
   7315   $as_echo_n "(cached) " >&6
   7316 else
   7317   lt_cv_ld_force_load=no
   7318       cat > conftest.c << _LT_EOF
   7319 int forced_loaded() { return 2;}
   7320 _LT_EOF
   7321       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7322       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7323       echo "$AR cru libconftest.a conftest.o" >&5
   7324       $AR cru libconftest.a conftest.o 2>&5
   7325       echo "$RANLIB libconftest.a" >&5
   7326       $RANLIB libconftest.a 2>&5
   7327       cat > conftest.c << _LT_EOF
   7328 int main() { return 0;}
   7329 _LT_EOF
   7330       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7331       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7332       _lt_result=$?
   7333       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7334 	lt_cv_ld_force_load=yes
   7335       else
   7336 	cat conftest.err >&5
   7337       fi
   7338         rm -f conftest.err libconftest.a conftest conftest.c
   7339         rm -rf conftest.dSYM
   7340 
   7341 fi
   7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7343 $as_echo "$lt_cv_ld_force_load" >&6; }
   7344     case $host_os in
   7345     rhapsody* | darwin1.[012])
   7346       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7347     darwin1.*)
   7348       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7349     darwin*) # darwin 5.x on
   7350       # if running on 10.5 or later, the deployment target defaults
   7351       # to the OS version, if on x86, and 10.4, the deployment
   7352       # target defaults to 10.4. Don't you love it?
   7353       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7354 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7355 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7356 	10.[012]*)
   7357 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7358 	10.*)
   7359 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7360       esac
   7361     ;;
   7362   esac
   7363     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7364       _lt_dar_single_mod='$single_module'
   7365     fi
   7366     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7367       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7368     else
   7369       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7370     fi
   7371     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7372       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7373     else
   7374       _lt_dsymutil=
   7375     fi
   7376     ;;
   7377   esac
   7378 
   7379 for ac_header in dlfcn.h
   7380 do :
   7381   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7382 "
   7383 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7384   cat >>confdefs.h <<_ACEOF
   7385 #define HAVE_DLFCN_H 1
   7386 _ACEOF
   7387 
   7388 fi
   7389 
   7390 done
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 # Set options
   7397 
   7398 
   7399 
   7400         enable_dlopen=no
   7401 
   7402 
   7403   enable_win32_dll=no
   7404 
   7405 
   7406             # Check whether --enable-shared was given.
   7407 if test "${enable_shared+set}" = set; then :
   7408   enableval=$enable_shared; p=${PACKAGE-default}
   7409     case $enableval in
   7410     yes) enable_shared=yes ;;
   7411     no) enable_shared=no ;;
   7412     *)
   7413       enable_shared=no
   7414       # Look at the argument we got.  We use all the common list separators.
   7415       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7416       for pkg in $enableval; do
   7417 	IFS="$lt_save_ifs"
   7418 	if test "X$pkg" = "X$p"; then
   7419 	  enable_shared=yes
   7420 	fi
   7421       done
   7422       IFS="$lt_save_ifs"
   7423       ;;
   7424     esac
   7425 else
   7426   enable_shared=yes
   7427 fi
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 # Check whether --with-pic was given.
   7440 if test "${with_pic+set}" = set; then :
   7441   withval=$with_pic; pic_mode="$withval"
   7442 else
   7443   pic_mode=default
   7444 fi
   7445 
   7446 
   7447 test -z "$pic_mode" && pic_mode=default
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455   # Check whether --enable-fast-install was given.
   7456 if test "${enable_fast_install+set}" = set; then :
   7457   enableval=$enable_fast_install; p=${PACKAGE-default}
   7458     case $enableval in
   7459     yes) enable_fast_install=yes ;;
   7460     no) enable_fast_install=no ;;
   7461     *)
   7462       enable_fast_install=no
   7463       # Look at the argument we got.  We use all the common list separators.
   7464       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7465       for pkg in $enableval; do
   7466 	IFS="$lt_save_ifs"
   7467 	if test "X$pkg" = "X$p"; then
   7468 	  enable_fast_install=yes
   7469 	fi
   7470       done
   7471       IFS="$lt_save_ifs"
   7472       ;;
   7473     esac
   7474 else
   7475   enable_fast_install=yes
   7476 fi
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 # This can be used to rebuild libtool when needed
   7489 LIBTOOL_DEPS="$ltmain"
   7490 
   7491 # Always use our own libtool.
   7492 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 test -z "$LN_S" && LN_S="ln -s"
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 if test -n "${ZSH_VERSION+set}" ; then
   7535    setopt NO_GLOB_SUBST
   7536 fi
   7537 
   7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7539 $as_echo_n "checking for objdir... " >&6; }
   7540 if test "${lt_cv_objdir+set}" = set; then :
   7541   $as_echo_n "(cached) " >&6
   7542 else
   7543   rm -f .libs 2>/dev/null
   7544 mkdir .libs 2>/dev/null
   7545 if test -d .libs; then
   7546   lt_cv_objdir=.libs
   7547 else
   7548   # MS-DOS does not allow filenames that begin with a dot.
   7549   lt_cv_objdir=_libs
   7550 fi
   7551 rmdir .libs 2>/dev/null
   7552 fi
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7554 $as_echo "$lt_cv_objdir" >&6; }
   7555 objdir=$lt_cv_objdir
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 cat >>confdefs.h <<_ACEOF
   7562 #define LT_OBJDIR "$lt_cv_objdir/"
   7563 _ACEOF
   7564 
   7565 
   7566 
   7567 
   7568 case $host_os in
   7569 aix3*)
   7570   # AIX sometimes has problems with the GCC collect2 program.  For some
   7571   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7572   # vanish in a puff of smoke.
   7573   if test "X${COLLECT_NAMES+set}" != Xset; then
   7574     COLLECT_NAMES=
   7575     export COLLECT_NAMES
   7576   fi
   7577   ;;
   7578 esac
   7579 
   7580 # Global variables:
   7581 ofile=libtool
   7582 can_build_shared=yes
   7583 
   7584 # All known linkers require a `.a' archive for static linking (except MSVC,
   7585 # which needs '.lib').
   7586 libext=a
   7587 
   7588 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7589 
   7590 old_CC="$CC"
   7591 old_CFLAGS="$CFLAGS"
   7592 
   7593 # Set sane defaults for various variables
   7594 test -z "$CC" && CC=cc
   7595 test -z "$LTCC" && LTCC=$CC
   7596 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7597 test -z "$LD" && LD=ld
   7598 test -z "$ac_objext" && ac_objext=o
   7599 
   7600 for cc_temp in $compiler""; do
   7601   case $cc_temp in
   7602     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7603     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7604     \-*) ;;
   7605     *) break;;
   7606   esac
   7607 done
   7608 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7609 
   7610 
   7611 # Only perform the check for file, if the check method requires it
   7612 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7613 case $deplibs_check_method in
   7614 file_magic*)
   7615   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7617 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7618 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7619   $as_echo_n "(cached) " >&6
   7620 else
   7621   case $MAGIC_CMD in
   7622 [\\/*] |  ?:[\\/]*)
   7623   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7624   ;;
   7625 *)
   7626   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7627   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7628   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7629   for ac_dir in $ac_dummy; do
   7630     IFS="$lt_save_ifs"
   7631     test -z "$ac_dir" && ac_dir=.
   7632     if test -f $ac_dir/${ac_tool_prefix}file; then
   7633       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7634       if test -n "$file_magic_test_file"; then
   7635 	case $deplibs_check_method in
   7636 	"file_magic "*)
   7637 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7638 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7639 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7640 	    $EGREP "$file_magic_regex" > /dev/null; then
   7641 	    :
   7642 	  else
   7643 	    cat <<_LT_EOF 1>&2
   7644 
   7645 *** Warning: the command libtool uses to detect shared libraries,
   7646 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7647 *** The result is that libtool may fail to recognize shared libraries
   7648 *** as such.  This will affect the creation of libtool libraries that
   7649 *** depend on shared libraries, but programs linked with such libtool
   7650 *** libraries will work regardless of this problem.  Nevertheless, you
   7651 *** may want to report the problem to your system manager and/or to
   7652 *** bug-libtool@gnu.org
   7653 
   7654 _LT_EOF
   7655 	  fi ;;
   7656 	esac
   7657       fi
   7658       break
   7659     fi
   7660   done
   7661   IFS="$lt_save_ifs"
   7662   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7663   ;;
   7664 esac
   7665 fi
   7666 
   7667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7668 if test -n "$MAGIC_CMD"; then
   7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7670 $as_echo "$MAGIC_CMD" >&6; }
   7671 else
   7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7673 $as_echo "no" >&6; }
   7674 fi
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7681   if test -n "$ac_tool_prefix"; then
   7682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7683 $as_echo_n "checking for file... " >&6; }
   7684 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   case $MAGIC_CMD in
   7688 [\\/*] |  ?:[\\/]*)
   7689   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7690   ;;
   7691 *)
   7692   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7693   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7694   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7695   for ac_dir in $ac_dummy; do
   7696     IFS="$lt_save_ifs"
   7697     test -z "$ac_dir" && ac_dir=.
   7698     if test -f $ac_dir/file; then
   7699       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7700       if test -n "$file_magic_test_file"; then
   7701 	case $deplibs_check_method in
   7702 	"file_magic "*)
   7703 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7704 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7705 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7706 	    $EGREP "$file_magic_regex" > /dev/null; then
   7707 	    :
   7708 	  else
   7709 	    cat <<_LT_EOF 1>&2
   7710 
   7711 *** Warning: the command libtool uses to detect shared libraries,
   7712 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7713 *** The result is that libtool may fail to recognize shared libraries
   7714 *** as such.  This will affect the creation of libtool libraries that
   7715 *** depend on shared libraries, but programs linked with such libtool
   7716 *** libraries will work regardless of this problem.  Nevertheless, you
   7717 *** may want to report the problem to your system manager and/or to
   7718 *** bug-libtool@gnu.org
   7719 
   7720 _LT_EOF
   7721 	  fi ;;
   7722 	esac
   7723       fi
   7724       break
   7725     fi
   7726   done
   7727   IFS="$lt_save_ifs"
   7728   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7729   ;;
   7730 esac
   7731 fi
   7732 
   7733 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7734 if test -n "$MAGIC_CMD"; then
   7735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7736 $as_echo "$MAGIC_CMD" >&6; }
   7737 else
   7738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7739 $as_echo "no" >&6; }
   7740 fi
   7741 
   7742 
   7743   else
   7744     MAGIC_CMD=:
   7745   fi
   7746 fi
   7747 
   7748   fi
   7749   ;;
   7750 esac
   7751 
   7752 # Use C for the default configuration in the libtool script
   7753 
   7754 lt_save_CC="$CC"
   7755 ac_ext=c
   7756 ac_cpp='$CPP $CPPFLAGS'
   7757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7760 
   7761 
   7762 # Source file extension for C test sources.
   7763 ac_ext=c
   7764 
   7765 # Object file extension for compiled C test sources.
   7766 objext=o
   7767 objext=$objext
   7768 
   7769 # Code to be used in simple compile tests
   7770 lt_simple_compile_test_code="int some_variable = 0;"
   7771 
   7772 # Code to be used in simple link tests
   7773 lt_simple_link_test_code='int main(){return(0);}'
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 # If no C compiler was specified, use CC.
   7782 LTCC=${LTCC-"$CC"}
   7783 
   7784 # If no C compiler flags were specified, use CFLAGS.
   7785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7786 
   7787 # Allow CC to be a program name with arguments.
   7788 compiler=$CC
   7789 
   7790 # Save the default compiler, since it gets overwritten when the other
   7791 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7792 compiler_DEFAULT=$CC
   7793 
   7794 # save warnings/boilerplate of simple test code
   7795 ac_outfile=conftest.$ac_objext
   7796 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7797 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7798 _lt_compiler_boilerplate=`cat conftest.err`
   7799 $RM conftest*
   7800 
   7801 ac_outfile=conftest.$ac_objext
   7802 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7803 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7804 _lt_linker_boilerplate=`cat conftest.err`
   7805 $RM -r conftest*
   7806 
   7807 
   7808 if test -n "$compiler"; then
   7809 
   7810 lt_prog_compiler_no_builtin_flag=
   7811 
   7812 if test "$GCC" = yes; then
   7813   case $cc_basename in
   7814   nvcc*)
   7815     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7816   *)
   7817     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7818   esac
   7819 
   7820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7821 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7822 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   lt_cv_prog_compiler_rtti_exceptions=no
   7826    ac_outfile=conftest.$ac_objext
   7827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7828    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7829    # Insert the option either (1) after the last *FLAGS variable, or
   7830    # (2) before a word containing "conftest.", or (3) at the end.
   7831    # Note that $ac_compile itself does not contain backslashes and begins
   7832    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7833    # The option is referenced via a variable to avoid confusing sed.
   7834    lt_compile=`echo "$ac_compile" | $SED \
   7835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7837    -e 's:$: $lt_compiler_flag:'`
   7838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7839    (eval "$lt_compile" 2>conftest.err)
   7840    ac_status=$?
   7841    cat conftest.err >&5
   7842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7843    if (exit $ac_status) && test -s "$ac_outfile"; then
   7844      # The compiler can only warn and ignore the option if not recognized
   7845      # So say no if there are warnings other than the usual output.
   7846      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7847      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7848      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7849        lt_cv_prog_compiler_rtti_exceptions=yes
   7850      fi
   7851    fi
   7852    $RM conftest*
   7853 
   7854 fi
   7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7856 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7857 
   7858 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7859     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7860 else
   7861     :
   7862 fi
   7863 
   7864 fi
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871   lt_prog_compiler_wl=
   7872 lt_prog_compiler_pic=
   7873 lt_prog_compiler_static=
   7874 
   7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7876 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7877 
   7878   if test "$GCC" = yes; then
   7879     lt_prog_compiler_wl='-Wl,'
   7880     lt_prog_compiler_static='-static'
   7881 
   7882     case $host_os in
   7883       aix*)
   7884       # All AIX code is PIC.
   7885       if test "$host_cpu" = ia64; then
   7886 	# AIX 5 now supports IA64 processor
   7887 	lt_prog_compiler_static='-Bstatic'
   7888       fi
   7889       ;;
   7890 
   7891     amigaos*)
   7892       case $host_cpu in
   7893       powerpc)
   7894             # see comment about AmigaOS4 .so support
   7895             lt_prog_compiler_pic='-fPIC'
   7896         ;;
   7897       m68k)
   7898             # FIXME: we need at least 68020 code to build shared libraries, but
   7899             # adding the `-m68020' flag to GCC prevents building anything better,
   7900             # like `-m68040'.
   7901             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7902         ;;
   7903       esac
   7904       ;;
   7905 
   7906     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7907       # PIC is the default for these OSes.
   7908       ;;
   7909 
   7910     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7911       # This hack is so that the source file can tell whether it is being
   7912       # built for inclusion in a dll (and should export symbols for example).
   7913       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7914       # (--disable-auto-import) libraries
   7915       lt_prog_compiler_pic='-DDLL_EXPORT'
   7916       ;;
   7917 
   7918     darwin* | rhapsody*)
   7919       # PIC is the default on this platform
   7920       # Common symbols not allowed in MH_DYLIB files
   7921       lt_prog_compiler_pic='-fno-common'
   7922       ;;
   7923 
   7924     haiku*)
   7925       # PIC is the default for Haiku.
   7926       # The "-static" flag exists, but is broken.
   7927       lt_prog_compiler_static=
   7928       ;;
   7929 
   7930     hpux*)
   7931       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7932       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7933       # sets the default TLS model and affects inlining.
   7934       case $host_cpu in
   7935       hppa*64*)
   7936 	# +Z the default
   7937 	;;
   7938       *)
   7939 	lt_prog_compiler_pic='-fPIC'
   7940 	;;
   7941       esac
   7942       ;;
   7943 
   7944     interix[3-9]*)
   7945       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7946       # Instead, we relocate shared libraries at runtime.
   7947       ;;
   7948 
   7949     msdosdjgpp*)
   7950       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7951       # on systems that don't support them.
   7952       lt_prog_compiler_can_build_shared=no
   7953       enable_shared=no
   7954       ;;
   7955 
   7956     *nto* | *qnx*)
   7957       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7958       # it will coredump.
   7959       lt_prog_compiler_pic='-fPIC -shared'
   7960       ;;
   7961 
   7962     sysv4*MP*)
   7963       if test -d /usr/nec; then
   7964 	lt_prog_compiler_pic=-Kconform_pic
   7965       fi
   7966       ;;
   7967 
   7968     *)
   7969       lt_prog_compiler_pic='-fPIC'
   7970       ;;
   7971     esac
   7972 
   7973     case $cc_basename in
   7974     nvcc*) # Cuda Compiler Driver 2.2
   7975       lt_prog_compiler_wl='-Xlinker '
   7976       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7977       ;;
   7978     esac
   7979   else
   7980     # PORTME Check for flag to pass linker flags through the system compiler.
   7981     case $host_os in
   7982     aix*)
   7983       lt_prog_compiler_wl='-Wl,'
   7984       if test "$host_cpu" = ia64; then
   7985 	# AIX 5 now supports IA64 processor
   7986 	lt_prog_compiler_static='-Bstatic'
   7987       else
   7988 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7989       fi
   7990       ;;
   7991 
   7992     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7993       # This hack is so that the source file can tell whether it is being
   7994       # built for inclusion in a dll (and should export symbols for example).
   7995       lt_prog_compiler_pic='-DDLL_EXPORT'
   7996       ;;
   7997 
   7998     hpux9* | hpux10* | hpux11*)
   7999       lt_prog_compiler_wl='-Wl,'
   8000       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8001       # not for PA HP-UX.
   8002       case $host_cpu in
   8003       hppa*64*|ia64*)
   8004 	# +Z the default
   8005 	;;
   8006       *)
   8007 	lt_prog_compiler_pic='+Z'
   8008 	;;
   8009       esac
   8010       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8011       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8012       ;;
   8013 
   8014     irix5* | irix6* | nonstopux*)
   8015       lt_prog_compiler_wl='-Wl,'
   8016       # PIC (with -KPIC) is the default.
   8017       lt_prog_compiler_static='-non_shared'
   8018       ;;
   8019 
   8020     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8021       case $cc_basename in
   8022       # old Intel for x86_64 which still supported -KPIC.
   8023       ecc*)
   8024 	lt_prog_compiler_wl='-Wl,'
   8025 	lt_prog_compiler_pic='-KPIC'
   8026 	lt_prog_compiler_static='-static'
   8027         ;;
   8028       # icc used to be incompatible with GCC.
   8029       # ICC 10 doesn't accept -KPIC any more.
   8030       icc* | ifort*)
   8031 	lt_prog_compiler_wl='-Wl,'
   8032 	lt_prog_compiler_pic='-fPIC'
   8033 	lt_prog_compiler_static='-static'
   8034         ;;
   8035       # Lahey Fortran 8.1.
   8036       lf95*)
   8037 	lt_prog_compiler_wl='-Wl,'
   8038 	lt_prog_compiler_pic='--shared'
   8039 	lt_prog_compiler_static='--static'
   8040 	;;
   8041       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8042         # Portland Group compilers (*not* the Pentium gcc compiler,
   8043 	# which looks to be a dead project)
   8044 	lt_prog_compiler_wl='-Wl,'
   8045 	lt_prog_compiler_pic='-fpic'
   8046 	lt_prog_compiler_static='-Bstatic'
   8047         ;;
   8048       ccc*)
   8049         lt_prog_compiler_wl='-Wl,'
   8050         # All Alpha code is PIC.
   8051         lt_prog_compiler_static='-non_shared'
   8052         ;;
   8053       xl* | bgxl* | bgf* | mpixl*)
   8054 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8055 	lt_prog_compiler_wl='-Wl,'
   8056 	lt_prog_compiler_pic='-qpic'
   8057 	lt_prog_compiler_static='-qstaticlink'
   8058 	;;
   8059       *)
   8060 	case `$CC -V 2>&1 | sed 5q` in
   8061 	*Sun\ F* | *Sun*Fortran*)
   8062 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8063 	  lt_prog_compiler_pic='-KPIC'
   8064 	  lt_prog_compiler_static='-Bstatic'
   8065 	  lt_prog_compiler_wl=''
   8066 	  ;;
   8067 	*Sun\ C*)
   8068 	  # Sun C 5.9
   8069 	  lt_prog_compiler_pic='-KPIC'
   8070 	  lt_prog_compiler_static='-Bstatic'
   8071 	  lt_prog_compiler_wl='-Wl,'
   8072 	  ;;
   8073 	esac
   8074 	;;
   8075       esac
   8076       ;;
   8077 
   8078     newsos6)
   8079       lt_prog_compiler_pic='-KPIC'
   8080       lt_prog_compiler_static='-Bstatic'
   8081       ;;
   8082 
   8083     *nto* | *qnx*)
   8084       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8085       # it will coredump.
   8086       lt_prog_compiler_pic='-fPIC -shared'
   8087       ;;
   8088 
   8089     osf3* | osf4* | osf5*)
   8090       lt_prog_compiler_wl='-Wl,'
   8091       # All OSF/1 code is PIC.
   8092       lt_prog_compiler_static='-non_shared'
   8093       ;;
   8094 
   8095     rdos*)
   8096       lt_prog_compiler_static='-non_shared'
   8097       ;;
   8098 
   8099     solaris*)
   8100       lt_prog_compiler_pic='-KPIC'
   8101       lt_prog_compiler_static='-Bstatic'
   8102       case $cc_basename in
   8103       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8104 	lt_prog_compiler_wl='-Qoption ld ';;
   8105       *)
   8106 	lt_prog_compiler_wl='-Wl,';;
   8107       esac
   8108       ;;
   8109 
   8110     sunos4*)
   8111       lt_prog_compiler_wl='-Qoption ld '
   8112       lt_prog_compiler_pic='-PIC'
   8113       lt_prog_compiler_static='-Bstatic'
   8114       ;;
   8115 
   8116     sysv4 | sysv4.2uw2* | sysv4.3*)
   8117       lt_prog_compiler_wl='-Wl,'
   8118       lt_prog_compiler_pic='-KPIC'
   8119       lt_prog_compiler_static='-Bstatic'
   8120       ;;
   8121 
   8122     sysv4*MP*)
   8123       if test -d /usr/nec ;then
   8124 	lt_prog_compiler_pic='-Kconform_pic'
   8125 	lt_prog_compiler_static='-Bstatic'
   8126       fi
   8127       ;;
   8128 
   8129     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8130       lt_prog_compiler_wl='-Wl,'
   8131       lt_prog_compiler_pic='-KPIC'
   8132       lt_prog_compiler_static='-Bstatic'
   8133       ;;
   8134 
   8135     unicos*)
   8136       lt_prog_compiler_wl='-Wl,'
   8137       lt_prog_compiler_can_build_shared=no
   8138       ;;
   8139 
   8140     uts4*)
   8141       lt_prog_compiler_pic='-pic'
   8142       lt_prog_compiler_static='-Bstatic'
   8143       ;;
   8144 
   8145     *)
   8146       lt_prog_compiler_can_build_shared=no
   8147       ;;
   8148     esac
   8149   fi
   8150 
   8151 case $host_os in
   8152   # For platforms which do not support PIC, -DPIC is meaningless:
   8153   *djgpp*)
   8154     lt_prog_compiler_pic=
   8155     ;;
   8156   *)
   8157     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8158     ;;
   8159 esac
   8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8161 $as_echo "$lt_prog_compiler_pic" >&6; }
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 #
   8169 # Check to make sure the PIC flag actually works.
   8170 #
   8171 if test -n "$lt_prog_compiler_pic"; then
   8172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8173 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8174 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8175   $as_echo_n "(cached) " >&6
   8176 else
   8177   lt_cv_prog_compiler_pic_works=no
   8178    ac_outfile=conftest.$ac_objext
   8179    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8180    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8181    # Insert the option either (1) after the last *FLAGS variable, or
   8182    # (2) before a word containing "conftest.", or (3) at the end.
   8183    # Note that $ac_compile itself does not contain backslashes and begins
   8184    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8185    # The option is referenced via a variable to avoid confusing sed.
   8186    lt_compile=`echo "$ac_compile" | $SED \
   8187    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8188    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8189    -e 's:$: $lt_compiler_flag:'`
   8190    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8191    (eval "$lt_compile" 2>conftest.err)
   8192    ac_status=$?
   8193    cat conftest.err >&5
   8194    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8195    if (exit $ac_status) && test -s "$ac_outfile"; then
   8196      # The compiler can only warn and ignore the option if not recognized
   8197      # So say no if there are warnings other than the usual output.
   8198      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8199      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8200      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8201        lt_cv_prog_compiler_pic_works=yes
   8202      fi
   8203    fi
   8204    $RM conftest*
   8205 
   8206 fi
   8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8208 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8209 
   8210 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8211     case $lt_prog_compiler_pic in
   8212      "" | " "*) ;;
   8213      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8214      esac
   8215 else
   8216     lt_prog_compiler_pic=
   8217      lt_prog_compiler_can_build_shared=no
   8218 fi
   8219 
   8220 fi
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 #
   8228 # Check to make sure the static flag actually works.
   8229 #
   8230 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8232 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8233 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8234   $as_echo_n "(cached) " >&6
   8235 else
   8236   lt_cv_prog_compiler_static_works=no
   8237    save_LDFLAGS="$LDFLAGS"
   8238    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8239    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8240    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8241      # The linker can only warn and ignore the option if not recognized
   8242      # So say no if there are warnings
   8243      if test -s conftest.err; then
   8244        # Append any errors to the config.log.
   8245        cat conftest.err 1>&5
   8246        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8247        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8248        if diff conftest.exp conftest.er2 >/dev/null; then
   8249          lt_cv_prog_compiler_static_works=yes
   8250        fi
   8251      else
   8252        lt_cv_prog_compiler_static_works=yes
   8253      fi
   8254    fi
   8255    $RM -r conftest*
   8256    LDFLAGS="$save_LDFLAGS"
   8257 
   8258 fi
   8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8260 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8261 
   8262 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8263     :
   8264 else
   8265     lt_prog_compiler_static=
   8266 fi
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8275 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8276 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8277   $as_echo_n "(cached) " >&6
   8278 else
   8279   lt_cv_prog_compiler_c_o=no
   8280    $RM -r conftest 2>/dev/null
   8281    mkdir conftest
   8282    cd conftest
   8283    mkdir out
   8284    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8285 
   8286    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8287    # Insert the option either (1) after the last *FLAGS variable, or
   8288    # (2) before a word containing "conftest.", or (3) at the end.
   8289    # Note that $ac_compile itself does not contain backslashes and begins
   8290    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8291    lt_compile=`echo "$ac_compile" | $SED \
   8292    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8293    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8294    -e 's:$: $lt_compiler_flag:'`
   8295    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8296    (eval "$lt_compile" 2>out/conftest.err)
   8297    ac_status=$?
   8298    cat out/conftest.err >&5
   8299    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8300    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8301    then
   8302      # The compiler can only warn and ignore the option if not recognized
   8303      # So say no if there are warnings
   8304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8305      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8306      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8307        lt_cv_prog_compiler_c_o=yes
   8308      fi
   8309    fi
   8310    chmod u+w . 2>&5
   8311    $RM conftest*
   8312    # SGI C++ compiler will create directory out/ii_files/ for
   8313    # template instantiation
   8314    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8315    $RM out/* && rmdir out
   8316    cd ..
   8317    $RM -r conftest
   8318    $RM conftest*
   8319 
   8320 fi
   8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8322 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8330 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8331 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8332   $as_echo_n "(cached) " >&6
   8333 else
   8334   lt_cv_prog_compiler_c_o=no
   8335    $RM -r conftest 2>/dev/null
   8336    mkdir conftest
   8337    cd conftest
   8338    mkdir out
   8339    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8340 
   8341    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8342    # Insert the option either (1) after the last *FLAGS variable, or
   8343    # (2) before a word containing "conftest.", or (3) at the end.
   8344    # Note that $ac_compile itself does not contain backslashes and begins
   8345    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8346    lt_compile=`echo "$ac_compile" | $SED \
   8347    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8348    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8349    -e 's:$: $lt_compiler_flag:'`
   8350    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8351    (eval "$lt_compile" 2>out/conftest.err)
   8352    ac_status=$?
   8353    cat out/conftest.err >&5
   8354    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8355    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8356    then
   8357      # The compiler can only warn and ignore the option if not recognized
   8358      # So say no if there are warnings
   8359      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8360      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8361      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8362        lt_cv_prog_compiler_c_o=yes
   8363      fi
   8364    fi
   8365    chmod u+w . 2>&5
   8366    $RM conftest*
   8367    # SGI C++ compiler will create directory out/ii_files/ for
   8368    # template instantiation
   8369    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8370    $RM out/* && rmdir out
   8371    cd ..
   8372    $RM -r conftest
   8373    $RM conftest*
   8374 
   8375 fi
   8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8377 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8378 
   8379 
   8380 
   8381 
   8382 hard_links="nottested"
   8383 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8384   # do not overwrite the value of need_locks provided by the user
   8385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8386 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8387   hard_links=yes
   8388   $RM conftest*
   8389   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8390   touch conftest.a
   8391   ln conftest.a conftest.b 2>&5 || hard_links=no
   8392   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8394 $as_echo "$hard_links" >&6; }
   8395   if test "$hard_links" = no; then
   8396     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8397 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8398     need_locks=warn
   8399   fi
   8400 else
   8401   need_locks=no
   8402 fi
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8410 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8411 
   8412   runpath_var=
   8413   allow_undefined_flag=
   8414   always_export_symbols=no
   8415   archive_cmds=
   8416   archive_expsym_cmds=
   8417   compiler_needs_object=no
   8418   enable_shared_with_static_runtimes=no
   8419   export_dynamic_flag_spec=
   8420   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8421   hardcode_automatic=no
   8422   hardcode_direct=no
   8423   hardcode_direct_absolute=no
   8424   hardcode_libdir_flag_spec=
   8425   hardcode_libdir_flag_spec_ld=
   8426   hardcode_libdir_separator=
   8427   hardcode_minus_L=no
   8428   hardcode_shlibpath_var=unsupported
   8429   inherit_rpath=no
   8430   link_all_deplibs=unknown
   8431   module_cmds=
   8432   module_expsym_cmds=
   8433   old_archive_from_new_cmds=
   8434   old_archive_from_expsyms_cmds=
   8435   thread_safe_flag_spec=
   8436   whole_archive_flag_spec=
   8437   # include_expsyms should be a list of space-separated symbols to be *always*
   8438   # included in the symbol list
   8439   include_expsyms=
   8440   # exclude_expsyms can be an extended regexp of symbols to exclude
   8441   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8442   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8443   # as well as any symbol that contains `d'.
   8444   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8445   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8446   # platforms (ab)use it in PIC code, but their linkers get confused if
   8447   # the symbol is explicitly referenced.  Since portable code cannot
   8448   # rely on this symbol name, it's probably fine to never include it in
   8449   # preloaded symbol tables.
   8450   # Exclude shared library initialization/finalization symbols.
   8451   extract_expsyms_cmds=
   8452 
   8453   case $host_os in
   8454   cygwin* | mingw* | pw32* | cegcc*)
   8455     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8456     # When not using gcc, we currently assume that we are using
   8457     # Microsoft Visual C++.
   8458     if test "$GCC" != yes; then
   8459       with_gnu_ld=no
   8460     fi
   8461     ;;
   8462   interix*)
   8463     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8464     with_gnu_ld=yes
   8465     ;;
   8466   openbsd*)
   8467     with_gnu_ld=no
   8468     ;;
   8469   esac
   8470 
   8471   ld_shlibs=yes
   8472 
   8473   # On some targets, GNU ld is compatible enough with the native linker
   8474   # that we're better off using the native interface for both.
   8475   lt_use_gnu_ld_interface=no
   8476   if test "$with_gnu_ld" = yes; then
   8477     case $host_os in
   8478       aix*)
   8479 	# The AIX port of GNU ld has always aspired to compatibility
   8480 	# with the native linker.  However, as the warning in the GNU ld
   8481 	# block says, versions before 2.19.5* couldn't really create working
   8482 	# shared libraries, regardless of the interface used.
   8483 	case `$LD -v 2>&1` in
   8484 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8485 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8486 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8487 	  *)
   8488 	    lt_use_gnu_ld_interface=yes
   8489 	    ;;
   8490 	esac
   8491 	;;
   8492       *)
   8493 	lt_use_gnu_ld_interface=yes
   8494 	;;
   8495     esac
   8496   fi
   8497 
   8498   if test "$lt_use_gnu_ld_interface" = yes; then
   8499     # If archive_cmds runs LD, not CC, wlarc should be empty
   8500     wlarc='${wl}'
   8501 
   8502     # Set some defaults for GNU ld with shared library support. These
   8503     # are reset later if shared libraries are not supported. Putting them
   8504     # here allows them to be overridden if necessary.
   8505     runpath_var=LD_RUN_PATH
   8506     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8507     export_dynamic_flag_spec='${wl}--export-dynamic'
   8508     # ancient GNU ld didn't support --whole-archive et. al.
   8509     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8510       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8511     else
   8512       whole_archive_flag_spec=
   8513     fi
   8514     supports_anon_versioning=no
   8515     case `$LD -v 2>&1` in
   8516       *GNU\ gold*) supports_anon_versioning=yes ;;
   8517       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8518       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8519       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8520       *\ 2.11.*) ;; # other 2.11 versions
   8521       *) supports_anon_versioning=yes ;;
   8522     esac
   8523 
   8524     # See if GNU ld supports shared libraries.
   8525     case $host_os in
   8526     aix[3-9]*)
   8527       # On AIX/PPC, the GNU linker is very broken
   8528       if test "$host_cpu" != ia64; then
   8529 	ld_shlibs=no
   8530 	cat <<_LT_EOF 1>&2
   8531 
   8532 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8533 *** to be unable to reliably create shared libraries on AIX.
   8534 *** Therefore, libtool is disabling shared libraries support.  If you
   8535 *** really care for shared libraries, you may want to install binutils
   8536 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8537 *** You will then need to restart the configuration process.
   8538 
   8539 _LT_EOF
   8540       fi
   8541       ;;
   8542 
   8543     amigaos*)
   8544       case $host_cpu in
   8545       powerpc)
   8546             # see comment about AmigaOS4 .so support
   8547             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8548             archive_expsym_cmds=''
   8549         ;;
   8550       m68k)
   8551             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)'
   8552             hardcode_libdir_flag_spec='-L$libdir'
   8553             hardcode_minus_L=yes
   8554         ;;
   8555       esac
   8556       ;;
   8557 
   8558     beos*)
   8559       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8560 	allow_undefined_flag=unsupported
   8561 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8562 	# support --undefined.  This deserves some investigation.  FIXME
   8563 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8564       else
   8565 	ld_shlibs=no
   8566       fi
   8567       ;;
   8568 
   8569     cygwin* | mingw* | pw32* | cegcc*)
   8570       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8571       # as there is no search path for DLLs.
   8572       hardcode_libdir_flag_spec='-L$libdir'
   8573       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8574       allow_undefined_flag=unsupported
   8575       always_export_symbols=no
   8576       enable_shared_with_static_runtimes=yes
   8577       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8578 
   8579       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8580         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8581 	# If the export-symbols file already is a .def file (1st line
   8582 	# is EXPORTS), use it as is; otherwise, prepend...
   8583 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8584 	  cp $export_symbols $output_objdir/$soname.def;
   8585 	else
   8586 	  echo EXPORTS > $output_objdir/$soname.def;
   8587 	  cat $export_symbols >> $output_objdir/$soname.def;
   8588 	fi~
   8589 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8590       else
   8591 	ld_shlibs=no
   8592       fi
   8593       ;;
   8594 
   8595     haiku*)
   8596       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8597       link_all_deplibs=yes
   8598       ;;
   8599 
   8600     interix[3-9]*)
   8601       hardcode_direct=no
   8602       hardcode_shlibpath_var=no
   8603       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8604       export_dynamic_flag_spec='${wl}-E'
   8605       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8606       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8607       # default) and relocated if they conflict, which is a slow very memory
   8608       # consuming and fragmenting process.  To avoid this, we pick a random,
   8609       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8610       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8611       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8612       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'
   8613       ;;
   8614 
   8615     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8616       tmp_diet=no
   8617       if test "$host_os" = linux-dietlibc; then
   8618 	case $cc_basename in
   8619 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8620 	esac
   8621       fi
   8622       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8623 	 && test "$tmp_diet" = no
   8624       then
   8625 	tmp_addflag=
   8626 	tmp_sharedflag='-shared'
   8627 	case $cc_basename,$host_cpu in
   8628         pgcc*)				# Portland Group C compiler
   8629 	  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'
   8630 	  tmp_addflag=' $pic_flag'
   8631 	  ;;
   8632 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8633 					# Portland Group f77 and f90 compilers
   8634 	  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'
   8635 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8636 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8637 	  tmp_addflag=' -i_dynamic' ;;
   8638 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8639 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8640 	ifc* | ifort*)			# Intel Fortran compiler
   8641 	  tmp_addflag=' -nofor_main' ;;
   8642 	lf95*)				# Lahey Fortran 8.1
   8643 	  whole_archive_flag_spec=
   8644 	  tmp_sharedflag='--shared' ;;
   8645 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8646 	  tmp_sharedflag='-qmkshrobj'
   8647 	  tmp_addflag= ;;
   8648 	nvcc*)	# Cuda Compiler Driver 2.2
   8649 	  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'
   8650 	  compiler_needs_object=yes
   8651 	  ;;
   8652 	esac
   8653 	case `$CC -V 2>&1 | sed 5q` in
   8654 	*Sun\ C*)			# Sun C 5.9
   8655 	  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'
   8656 	  compiler_needs_object=yes
   8657 	  tmp_sharedflag='-G' ;;
   8658 	*Sun\ F*)			# Sun Fortran 8.3
   8659 	  tmp_sharedflag='-G' ;;
   8660 	esac
   8661 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8662 
   8663         if test "x$supports_anon_versioning" = xyes; then
   8664           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8665 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8666 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8667 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8668         fi
   8669 
   8670 	case $cc_basename in
   8671 	xlf* | bgf* | bgxlf* | mpixlf*)
   8672 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8673 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8674 	  hardcode_libdir_flag_spec=
   8675 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8676 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8677 	  if test "x$supports_anon_versioning" = xyes; then
   8678 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8679 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8680 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8681 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8682 	  fi
   8683 	  ;;
   8684 	esac
   8685       else
   8686         ld_shlibs=no
   8687       fi
   8688       ;;
   8689 
   8690     netbsd*)
   8691       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8692 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8693 	wlarc=
   8694       else
   8695 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8696 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8697       fi
   8698       ;;
   8699 
   8700     solaris*)
   8701       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8702 	ld_shlibs=no
   8703 	cat <<_LT_EOF 1>&2
   8704 
   8705 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8706 *** create shared libraries on Solaris systems.  Therefore, libtool
   8707 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8708 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8709 *** your PATH or compiler configuration so that the native linker is
   8710 *** used, and then restart.
   8711 
   8712 _LT_EOF
   8713       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8714 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8715 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8716       else
   8717 	ld_shlibs=no
   8718       fi
   8719       ;;
   8720 
   8721     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8722       case `$LD -v 2>&1` in
   8723         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8724 	ld_shlibs=no
   8725 	cat <<_LT_EOF 1>&2
   8726 
   8727 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8728 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8729 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8730 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8731 *** your PATH or compiler configuration so that the native linker is
   8732 *** used, and then restart.
   8733 
   8734 _LT_EOF
   8735 	;;
   8736 	*)
   8737 	  # For security reasons, it is highly recommended that you always
   8738 	  # use absolute paths for naming shared libraries, and exclude the
   8739 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8740 	  # requires that you compile everything twice, which is a pain.
   8741 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8742 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8743 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8744 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8745 	  else
   8746 	    ld_shlibs=no
   8747 	  fi
   8748 	;;
   8749       esac
   8750       ;;
   8751 
   8752     sunos4*)
   8753       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8754       wlarc=
   8755       hardcode_direct=yes
   8756       hardcode_shlibpath_var=no
   8757       ;;
   8758 
   8759     *)
   8760       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8761 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8762 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8763       else
   8764 	ld_shlibs=no
   8765       fi
   8766       ;;
   8767     esac
   8768 
   8769     if test "$ld_shlibs" = no; then
   8770       runpath_var=
   8771       hardcode_libdir_flag_spec=
   8772       export_dynamic_flag_spec=
   8773       whole_archive_flag_spec=
   8774     fi
   8775   else
   8776     # PORTME fill in a description of your system's linker (not GNU ld)
   8777     case $host_os in
   8778     aix3*)
   8779       allow_undefined_flag=unsupported
   8780       always_export_symbols=yes
   8781       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'
   8782       # Note: this linker hardcodes the directories in LIBPATH if there
   8783       # are no directories specified by -L.
   8784       hardcode_minus_L=yes
   8785       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8786 	# Neither direct hardcoding nor static linking is supported with a
   8787 	# broken collect2.
   8788 	hardcode_direct=unsupported
   8789       fi
   8790       ;;
   8791 
   8792     aix[4-9]*)
   8793       if test "$host_cpu" = ia64; then
   8794 	# On IA64, the linker does run time linking by default, so we don't
   8795 	# have to do anything special.
   8796 	aix_use_runtimelinking=no
   8797 	exp_sym_flag='-Bexport'
   8798 	no_entry_flag=""
   8799       else
   8800 	# If we're using GNU nm, then we don't want the "-C" option.
   8801 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8802 	# Also, AIX nm treats weak defined symbols like other global
   8803 	# defined symbols, whereas GNU nm marks them as "W".
   8804 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8805 	  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'
   8806 	else
   8807 	  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'
   8808 	fi
   8809 	aix_use_runtimelinking=no
   8810 
   8811 	# Test if we are trying to use run time linking or normal
   8812 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8813 	# need to do runtime linking.
   8814 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8815 	  for ld_flag in $LDFLAGS; do
   8816 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8817 	    aix_use_runtimelinking=yes
   8818 	    break
   8819 	  fi
   8820 	  done
   8821 	  ;;
   8822 	esac
   8823 
   8824 	exp_sym_flag='-bexport'
   8825 	no_entry_flag='-bnoentry'
   8826       fi
   8827 
   8828       # When large executables or shared objects are built, AIX ld can
   8829       # have problems creating the table of contents.  If linking a library
   8830       # or program results in "error TOC overflow" add -mminimal-toc to
   8831       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8832       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8833 
   8834       archive_cmds=''
   8835       hardcode_direct=yes
   8836       hardcode_direct_absolute=yes
   8837       hardcode_libdir_separator=':'
   8838       link_all_deplibs=yes
   8839       file_list_spec='${wl}-f,'
   8840 
   8841       if test "$GCC" = yes; then
   8842 	case $host_os in aix4.[012]|aix4.[012].*)
   8843 	# We only want to do this on AIX 4.2 and lower, the check
   8844 	# below for broken collect2 doesn't work under 4.3+
   8845 	  collect2name=`${CC} -print-prog-name=collect2`
   8846 	  if test -f "$collect2name" &&
   8847 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8848 	  then
   8849 	  # We have reworked collect2
   8850 	  :
   8851 	  else
   8852 	  # We have old collect2
   8853 	  hardcode_direct=unsupported
   8854 	  # It fails to find uninstalled libraries when the uninstalled
   8855 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8856 	  # to unsupported forces relinking
   8857 	  hardcode_minus_L=yes
   8858 	  hardcode_libdir_flag_spec='-L$libdir'
   8859 	  hardcode_libdir_separator=
   8860 	  fi
   8861 	  ;;
   8862 	esac
   8863 	shared_flag='-shared'
   8864 	if test "$aix_use_runtimelinking" = yes; then
   8865 	  shared_flag="$shared_flag "'${wl}-G'
   8866 	fi
   8867       else
   8868 	# not using gcc
   8869 	if test "$host_cpu" = ia64; then
   8870 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8871 	# chokes on -Wl,-G. The following line is correct:
   8872 	  shared_flag='-G'
   8873 	else
   8874 	  if test "$aix_use_runtimelinking" = yes; then
   8875 	    shared_flag='${wl}-G'
   8876 	  else
   8877 	    shared_flag='${wl}-bM:SRE'
   8878 	  fi
   8879 	fi
   8880       fi
   8881 
   8882       export_dynamic_flag_spec='${wl}-bexpall'
   8883       # It seems that -bexpall does not export symbols beginning with
   8884       # underscore (_), so it is better to generate a list of symbols to export.
   8885       always_export_symbols=yes
   8886       if test "$aix_use_runtimelinking" = yes; then
   8887 	# Warning - without using the other runtime loading flags (-brtl),
   8888 	# -berok will link without error, but may produce a broken library.
   8889 	allow_undefined_flag='-berok'
   8890         # Determine the default libpath from the value encoded in an
   8891         # empty executable.
   8892         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8893 /* end confdefs.h.  */
   8894 
   8895 int
   8896 main ()
   8897 {
   8898 
   8899   ;
   8900   return 0;
   8901 }
   8902 _ACEOF
   8903 if ac_fn_c_try_link "$LINENO"; then :
   8904 
   8905 lt_aix_libpath_sed='
   8906     /Import File Strings/,/^$/ {
   8907 	/^0/ {
   8908 	    s/^0  *\(.*\)$/\1/
   8909 	    p
   8910 	}
   8911     }'
   8912 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8913 # Check for a 64-bit object if we didn't find anything.
   8914 if test -z "$aix_libpath"; then
   8915   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8916 fi
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext \
   8919     conftest$ac_exeext conftest.$ac_ext
   8920 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8921 
   8922         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8923         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"
   8924       else
   8925 	if test "$host_cpu" = ia64; then
   8926 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8927 	  allow_undefined_flag="-z nodefs"
   8928 	  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"
   8929 	else
   8930 	 # Determine the default libpath from the value encoded in an
   8931 	 # empty executable.
   8932 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8933 /* end confdefs.h.  */
   8934 
   8935 int
   8936 main ()
   8937 {
   8938 
   8939   ;
   8940   return 0;
   8941 }
   8942 _ACEOF
   8943 if ac_fn_c_try_link "$LINENO"; then :
   8944 
   8945 lt_aix_libpath_sed='
   8946     /Import File Strings/,/^$/ {
   8947 	/^0/ {
   8948 	    s/^0  *\(.*\)$/\1/
   8949 	    p
   8950 	}
   8951     }'
   8952 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8953 # Check for a 64-bit object if we didn't find anything.
   8954 if test -z "$aix_libpath"; then
   8955   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8956 fi
   8957 fi
   8958 rm -f core conftest.err conftest.$ac_objext \
   8959     conftest$ac_exeext conftest.$ac_ext
   8960 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8961 
   8962 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8963 	  # Warning - without using the other run time loading flags,
   8964 	  # -berok will link without error, but may produce a broken library.
   8965 	  no_undefined_flag=' ${wl}-bernotok'
   8966 	  allow_undefined_flag=' ${wl}-berok'
   8967 	  if test "$with_gnu_ld" = yes; then
   8968 	    # We only use this code for GNU lds that support --whole-archive.
   8969 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8970 	  else
   8971 	    # Exported symbols can be pulled into shared objects from archives
   8972 	    whole_archive_flag_spec='$convenience'
   8973 	  fi
   8974 	  archive_cmds_need_lc=yes
   8975 	  # This is similar to how AIX traditionally builds its shared libraries.
   8976 	  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'
   8977 	fi
   8978       fi
   8979       ;;
   8980 
   8981     amigaos*)
   8982       case $host_cpu in
   8983       powerpc)
   8984             # see comment about AmigaOS4 .so support
   8985             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8986             archive_expsym_cmds=''
   8987         ;;
   8988       m68k)
   8989             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)'
   8990             hardcode_libdir_flag_spec='-L$libdir'
   8991             hardcode_minus_L=yes
   8992         ;;
   8993       esac
   8994       ;;
   8995 
   8996     bsdi[45]*)
   8997       export_dynamic_flag_spec=-rdynamic
   8998       ;;
   8999 
   9000     cygwin* | mingw* | pw32* | cegcc*)
   9001       # When not using gcc, we currently assume that we are using
   9002       # Microsoft Visual C++.
   9003       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9004       # no search path for DLLs.
   9005       hardcode_libdir_flag_spec=' '
   9006       allow_undefined_flag=unsupported
   9007       # Tell ltmain to make .lib files, not .a files.
   9008       libext=lib
   9009       # Tell ltmain to make .dll files, not .so files.
   9010       shrext_cmds=".dll"
   9011       # FIXME: Setting linknames here is a bad hack.
   9012       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9013       # The linker will automatically build a .lib file if we build a DLL.
   9014       old_archive_from_new_cmds='true'
   9015       # FIXME: Should let the user specify the lib program.
   9016       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9017       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9018       enable_shared_with_static_runtimes=yes
   9019       ;;
   9020 
   9021     darwin* | rhapsody*)
   9022 
   9023 
   9024   archive_cmds_need_lc=no
   9025   hardcode_direct=no
   9026   hardcode_automatic=yes
   9027   hardcode_shlibpath_var=unsupported
   9028   if test "$lt_cv_ld_force_load" = "yes"; then
   9029     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\"`'
   9030   else
   9031     whole_archive_flag_spec=''
   9032   fi
   9033   link_all_deplibs=yes
   9034   allow_undefined_flag="$_lt_dar_allow_undefined"
   9035   case $cc_basename in
   9036      ifort*) _lt_dar_can_shared=yes ;;
   9037      *) _lt_dar_can_shared=$GCC ;;
   9038   esac
   9039   if test "$_lt_dar_can_shared" = "yes"; then
   9040     output_verbose_link_cmd=func_echo_all
   9041     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9042     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9043     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}"
   9044     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}"
   9045 
   9046   else
   9047   ld_shlibs=no
   9048   fi
   9049 
   9050       ;;
   9051 
   9052     dgux*)
   9053       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9054       hardcode_libdir_flag_spec='-L$libdir'
   9055       hardcode_shlibpath_var=no
   9056       ;;
   9057 
   9058     freebsd1*)
   9059       ld_shlibs=no
   9060       ;;
   9061 
   9062     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9063     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9064     # does not break anything, and helps significantly (at the cost of a little
   9065     # extra space).
   9066     freebsd2.2*)
   9067       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9068       hardcode_libdir_flag_spec='-R$libdir'
   9069       hardcode_direct=yes
   9070       hardcode_shlibpath_var=no
   9071       ;;
   9072 
   9073     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9074     freebsd2*)
   9075       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9076       hardcode_direct=yes
   9077       hardcode_minus_L=yes
   9078       hardcode_shlibpath_var=no
   9079       ;;
   9080 
   9081     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9082     freebsd* | dragonfly*)
   9083       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9084       hardcode_libdir_flag_spec='-R$libdir'
   9085       hardcode_direct=yes
   9086       hardcode_shlibpath_var=no
   9087       ;;
   9088 
   9089     hpux9*)
   9090       if test "$GCC" = yes; then
   9091 	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'
   9092       else
   9093 	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'
   9094       fi
   9095       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9096       hardcode_libdir_separator=:
   9097       hardcode_direct=yes
   9098 
   9099       # hardcode_minus_L: Not really in the search PATH,
   9100       # but as the default location of the library.
   9101       hardcode_minus_L=yes
   9102       export_dynamic_flag_spec='${wl}-E'
   9103       ;;
   9104 
   9105     hpux10*)
   9106       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9107 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9108       else
   9109 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9110       fi
   9111       if test "$with_gnu_ld" = no; then
   9112 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9113 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9114 	hardcode_libdir_separator=:
   9115 	hardcode_direct=yes
   9116 	hardcode_direct_absolute=yes
   9117 	export_dynamic_flag_spec='${wl}-E'
   9118 	# hardcode_minus_L: Not really in the search PATH,
   9119 	# but as the default location of the library.
   9120 	hardcode_minus_L=yes
   9121       fi
   9122       ;;
   9123 
   9124     hpux11*)
   9125       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9126 	case $host_cpu in
   9127 	hppa*64*)
   9128 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9129 	  ;;
   9130 	ia64*)
   9131 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9132 	  ;;
   9133 	*)
   9134 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9135 	  ;;
   9136 	esac
   9137       else
   9138 	case $host_cpu in
   9139 	hppa*64*)
   9140 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9141 	  ;;
   9142 	ia64*)
   9143 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9144 	  ;;
   9145 	*)
   9146 
   9147 	  # Older versions of the 11.00 compiler do not understand -b yet
   9148 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9149 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9150 $as_echo_n "checking if $CC understands -b... " >&6; }
   9151 if test "${lt_cv_prog_compiler__b+set}" = set; then :
   9152   $as_echo_n "(cached) " >&6
   9153 else
   9154   lt_cv_prog_compiler__b=no
   9155    save_LDFLAGS="$LDFLAGS"
   9156    LDFLAGS="$LDFLAGS -b"
   9157    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9158    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9159      # The linker can only warn and ignore the option if not recognized
   9160      # So say no if there are warnings
   9161      if test -s conftest.err; then
   9162        # Append any errors to the config.log.
   9163        cat conftest.err 1>&5
   9164        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9165        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9166        if diff conftest.exp conftest.er2 >/dev/null; then
   9167          lt_cv_prog_compiler__b=yes
   9168        fi
   9169      else
   9170        lt_cv_prog_compiler__b=yes
   9171      fi
   9172    fi
   9173    $RM -r conftest*
   9174    LDFLAGS="$save_LDFLAGS"
   9175 
   9176 fi
   9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9178 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9179 
   9180 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9181     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9182 else
   9183     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9184 fi
   9185 
   9186 	  ;;
   9187 	esac
   9188       fi
   9189       if test "$with_gnu_ld" = no; then
   9190 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9191 	hardcode_libdir_separator=:
   9192 
   9193 	case $host_cpu in
   9194 	hppa*64*|ia64*)
   9195 	  hardcode_direct=no
   9196 	  hardcode_shlibpath_var=no
   9197 	  ;;
   9198 	*)
   9199 	  hardcode_direct=yes
   9200 	  hardcode_direct_absolute=yes
   9201 	  export_dynamic_flag_spec='${wl}-E'
   9202 
   9203 	  # hardcode_minus_L: Not really in the search PATH,
   9204 	  # but as the default location of the library.
   9205 	  hardcode_minus_L=yes
   9206 	  ;;
   9207 	esac
   9208       fi
   9209       ;;
   9210 
   9211     irix5* | irix6* | nonstopux*)
   9212       if test "$GCC" = yes; then
   9213 	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'
   9214 	# Try to use the -exported_symbol ld option, if it does not
   9215 	# work, assume that -exports_file does not work either and
   9216 	# implicitly export all symbols.
   9217         save_LDFLAGS="$LDFLAGS"
   9218         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9219         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9220 /* end confdefs.h.  */
   9221 int foo(void) {}
   9222 _ACEOF
   9223 if ac_fn_c_try_link "$LINENO"; then :
   9224   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'
   9225 
   9226 fi
   9227 rm -f core conftest.err conftest.$ac_objext \
   9228     conftest$ac_exeext conftest.$ac_ext
   9229         LDFLAGS="$save_LDFLAGS"
   9230       else
   9231 	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'
   9232 	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'
   9233       fi
   9234       archive_cmds_need_lc='no'
   9235       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9236       hardcode_libdir_separator=:
   9237       inherit_rpath=yes
   9238       link_all_deplibs=yes
   9239       ;;
   9240 
   9241     netbsd*)
   9242       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9243 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9244       else
   9245 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9246       fi
   9247       hardcode_libdir_flag_spec='-R$libdir'
   9248       hardcode_direct=yes
   9249       hardcode_shlibpath_var=no
   9250       ;;
   9251 
   9252     newsos6)
   9253       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9254       hardcode_direct=yes
   9255       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9256       hardcode_libdir_separator=:
   9257       hardcode_shlibpath_var=no
   9258       ;;
   9259 
   9260     *nto* | *qnx*)
   9261       ;;
   9262 
   9263     openbsd*)
   9264       if test -f /usr/libexec/ld.so; then
   9265 	hardcode_direct=yes
   9266 	hardcode_shlibpath_var=no
   9267 	hardcode_direct_absolute=yes
   9268 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9269 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9270 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9271 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9272 	  export_dynamic_flag_spec='${wl}-E'
   9273 	else
   9274 	  case $host_os in
   9275 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9276 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9277 	     hardcode_libdir_flag_spec='-R$libdir'
   9278 	     ;;
   9279 	   *)
   9280 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9281 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9282 	     ;;
   9283 	  esac
   9284 	fi
   9285       else
   9286 	ld_shlibs=no
   9287       fi
   9288       ;;
   9289 
   9290     os2*)
   9291       hardcode_libdir_flag_spec='-L$libdir'
   9292       hardcode_minus_L=yes
   9293       allow_undefined_flag=unsupported
   9294       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'
   9295       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9296       ;;
   9297 
   9298     osf3*)
   9299       if test "$GCC" = yes; then
   9300 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9301 	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'
   9302       else
   9303 	allow_undefined_flag=' -expect_unresolved \*'
   9304 	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'
   9305       fi
   9306       archive_cmds_need_lc='no'
   9307       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9308       hardcode_libdir_separator=:
   9309       ;;
   9310 
   9311     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9312       if test "$GCC" = yes; then
   9313 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9314 	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'
   9315 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9316       else
   9317 	allow_undefined_flag=' -expect_unresolved \*'
   9318 	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'
   9319 	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~
   9320 	$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'
   9321 
   9322 	# Both c and cxx compiler support -rpath directly
   9323 	hardcode_libdir_flag_spec='-rpath $libdir'
   9324       fi
   9325       archive_cmds_need_lc='no'
   9326       hardcode_libdir_separator=:
   9327       ;;
   9328 
   9329     solaris*)
   9330       no_undefined_flag=' -z defs'
   9331       if test "$GCC" = yes; then
   9332 	wlarc='${wl}'
   9333 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9334 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9335 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9336       else
   9337 	case `$CC -V 2>&1` in
   9338 	*"Compilers 5.0"*)
   9339 	  wlarc=''
   9340 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9341 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9342 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9343 	  ;;
   9344 	*)
   9345 	  wlarc='${wl}'
   9346 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9347 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9348 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9349 	  ;;
   9350 	esac
   9351       fi
   9352       hardcode_libdir_flag_spec='-R$libdir'
   9353       hardcode_shlibpath_var=no
   9354       case $host_os in
   9355       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9356       *)
   9357 	# The compiler driver will combine and reorder linker options,
   9358 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9359 	# but is careful enough not to reorder.
   9360 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9361 	if test "$GCC" = yes; then
   9362 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9363 	else
   9364 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9365 	fi
   9366 	;;
   9367       esac
   9368       link_all_deplibs=yes
   9369       ;;
   9370 
   9371     sunos4*)
   9372       if test "x$host_vendor" = xsequent; then
   9373 	# Use $CC to link under sequent, because it throws in some extra .o
   9374 	# files that make .init and .fini sections work.
   9375 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9376       else
   9377 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9378       fi
   9379       hardcode_libdir_flag_spec='-L$libdir'
   9380       hardcode_direct=yes
   9381       hardcode_minus_L=yes
   9382       hardcode_shlibpath_var=no
   9383       ;;
   9384 
   9385     sysv4)
   9386       case $host_vendor in
   9387 	sni)
   9388 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9389 	  hardcode_direct=yes # is this really true???
   9390 	;;
   9391 	siemens)
   9392 	  ## LD is ld it makes a PLAMLIB
   9393 	  ## CC just makes a GrossModule.
   9394 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9395 	  reload_cmds='$CC -r -o $output$reload_objs'
   9396 	  hardcode_direct=no
   9397         ;;
   9398 	motorola)
   9399 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9400 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9401 	;;
   9402       esac
   9403       runpath_var='LD_RUN_PATH'
   9404       hardcode_shlibpath_var=no
   9405       ;;
   9406 
   9407     sysv4.3*)
   9408       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9409       hardcode_shlibpath_var=no
   9410       export_dynamic_flag_spec='-Bexport'
   9411       ;;
   9412 
   9413     sysv4*MP*)
   9414       if test -d /usr/nec; then
   9415 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9416 	hardcode_shlibpath_var=no
   9417 	runpath_var=LD_RUN_PATH
   9418 	hardcode_runpath_var=yes
   9419 	ld_shlibs=yes
   9420       fi
   9421       ;;
   9422 
   9423     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9424       no_undefined_flag='${wl}-z,text'
   9425       archive_cmds_need_lc=no
   9426       hardcode_shlibpath_var=no
   9427       runpath_var='LD_RUN_PATH'
   9428 
   9429       if test "$GCC" = yes; then
   9430 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9431 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9432       else
   9433 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9434 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9435       fi
   9436       ;;
   9437 
   9438     sysv5* | sco3.2v5* | sco5v6*)
   9439       # Note: We can NOT use -z defs as we might desire, because we do not
   9440       # link with -lc, and that would cause any symbols used from libc to
   9441       # always be unresolved, which means just about no library would
   9442       # ever link correctly.  If we're not using GNU ld we use -z text
   9443       # though, which does catch some bad symbols but isn't as heavy-handed
   9444       # as -z defs.
   9445       no_undefined_flag='${wl}-z,text'
   9446       allow_undefined_flag='${wl}-z,nodefs'
   9447       archive_cmds_need_lc=no
   9448       hardcode_shlibpath_var=no
   9449       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9450       hardcode_libdir_separator=':'
   9451       link_all_deplibs=yes
   9452       export_dynamic_flag_spec='${wl}-Bexport'
   9453       runpath_var='LD_RUN_PATH'
   9454 
   9455       if test "$GCC" = yes; then
   9456 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9457 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9458       else
   9459 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9460 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9461       fi
   9462       ;;
   9463 
   9464     uts4*)
   9465       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9466       hardcode_libdir_flag_spec='-L$libdir'
   9467       hardcode_shlibpath_var=no
   9468       ;;
   9469 
   9470     *)
   9471       ld_shlibs=no
   9472       ;;
   9473     esac
   9474 
   9475     if test x$host_vendor = xsni; then
   9476       case $host in
   9477       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9478 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9479 	;;
   9480       esac
   9481     fi
   9482   fi
   9483 
   9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9485 $as_echo "$ld_shlibs" >&6; }
   9486 test "$ld_shlibs" = no && can_build_shared=no
   9487 
   9488 with_gnu_ld=$with_gnu_ld
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 #
   9505 # Do we need to explicitly link libc?
   9506 #
   9507 case "x$archive_cmds_need_lc" in
   9508 x|xyes)
   9509   # Assume -lc should be added
   9510   archive_cmds_need_lc=yes
   9511 
   9512   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9513     case $archive_cmds in
   9514     *'~'*)
   9515       # FIXME: we may have to deal with multi-command sequences.
   9516       ;;
   9517     '$CC '*)
   9518       # Test whether the compiler implicitly links with -lc since on some
   9519       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9520       # to ld, don't add -lc before -lgcc.
   9521       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9522 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9523 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
   9524   $as_echo_n "(cached) " >&6
   9525 else
   9526   $RM conftest*
   9527 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9528 
   9529 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9530   (eval $ac_compile) 2>&5
   9531   ac_status=$?
   9532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9533   test $ac_status = 0; } 2>conftest.err; then
   9534 	  soname=conftest
   9535 	  lib=conftest
   9536 	  libobjs=conftest.$ac_objext
   9537 	  deplibs=
   9538 	  wl=$lt_prog_compiler_wl
   9539 	  pic_flag=$lt_prog_compiler_pic
   9540 	  compiler_flags=-v
   9541 	  linker_flags=-v
   9542 	  verstring=
   9543 	  output_objdir=.
   9544 	  libname=conftest
   9545 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9546 	  allow_undefined_flag=
   9547 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9548   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9549   ac_status=$?
   9550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9551   test $ac_status = 0; }
   9552 	  then
   9553 	    lt_cv_archive_cmds_need_lc=no
   9554 	  else
   9555 	    lt_cv_archive_cmds_need_lc=yes
   9556 	  fi
   9557 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9558 	else
   9559 	  cat conftest.err 1>&5
   9560 	fi
   9561 	$RM conftest*
   9562 
   9563 fi
   9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9565 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9566       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9567       ;;
   9568     esac
   9569   fi
   9570   ;;
   9571 esac
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9730 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9731 
   9732 if test "$GCC" = yes; then
   9733   case $host_os in
   9734     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9735     *) lt_awk_arg="/^libraries:/" ;;
   9736   esac
   9737   case $host_os in
   9738     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9739     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9740   esac
   9741   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9742   case $lt_search_path_spec in
   9743   *\;*)
   9744     # if the path contains ";" then we assume it to be the separator
   9745     # otherwise default to the standard path separator (i.e. ":") - it is
   9746     # assumed that no part of a normal pathname contains ";" but that should
   9747     # okay in the real world where ";" in dirpaths is itself problematic.
   9748     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9749     ;;
   9750   *)
   9751     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9752     ;;
   9753   esac
   9754   # Ok, now we have the path, separated by spaces, we can step through it
   9755   # and add multilib dir if necessary.
   9756   lt_tmp_lt_search_path_spec=
   9757   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9758   for lt_sys_path in $lt_search_path_spec; do
   9759     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9760       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9761     else
   9762       test -d "$lt_sys_path" && \
   9763 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9764     fi
   9765   done
   9766   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9767 BEGIN {RS=" "; FS="/|\n";} {
   9768   lt_foo="";
   9769   lt_count=0;
   9770   for (lt_i = NF; lt_i > 0; lt_i--) {
   9771     if ($lt_i != "" && $lt_i != ".") {
   9772       if ($lt_i == "..") {
   9773         lt_count++;
   9774       } else {
   9775         if (lt_count == 0) {
   9776           lt_foo="/" $lt_i lt_foo;
   9777         } else {
   9778           lt_count--;
   9779         }
   9780       }
   9781     }
   9782   }
   9783   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9784   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9785 }'`
   9786   # AWK program above erroneously prepends '/' to C:/dos/paths
   9787   # for these hosts.
   9788   case $host_os in
   9789     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9790       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9791   esac
   9792   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9793 else
   9794   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9795 fi
   9796 library_names_spec=
   9797 libname_spec='lib$name'
   9798 soname_spec=
   9799 shrext_cmds=".so"
   9800 postinstall_cmds=
   9801 postuninstall_cmds=
   9802 finish_cmds=
   9803 finish_eval=
   9804 shlibpath_var=
   9805 shlibpath_overrides_runpath=unknown
   9806 version_type=none
   9807 dynamic_linker="$host_os ld.so"
   9808 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9809 need_lib_prefix=unknown
   9810 hardcode_into_libs=no
   9811 
   9812 # when you set need_version to no, make sure it does not cause -set_version
   9813 # flags to be left without arguments
   9814 need_version=unknown
   9815 
   9816 case $host_os in
   9817 aix3*)
   9818   version_type=linux
   9819   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9820   shlibpath_var=LIBPATH
   9821 
   9822   # AIX 3 has no versioning support, so we append a major version to the name.
   9823   soname_spec='${libname}${release}${shared_ext}$major'
   9824   ;;
   9825 
   9826 aix[4-9]*)
   9827   version_type=linux
   9828   need_lib_prefix=no
   9829   need_version=no
   9830   hardcode_into_libs=yes
   9831   if test "$host_cpu" = ia64; then
   9832     # AIX 5 supports IA64
   9833     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9834     shlibpath_var=LD_LIBRARY_PATH
   9835   else
   9836     # With GCC up to 2.95.x, collect2 would create an import file
   9837     # for dependence libraries.  The import file would start with
   9838     # the line `#! .'.  This would cause the generated library to
   9839     # depend on `.', always an invalid library.  This was fixed in
   9840     # development snapshots of GCC prior to 3.0.
   9841     case $host_os in
   9842       aix4 | aix4.[01] | aix4.[01].*)
   9843       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9844 	   echo ' yes '
   9845 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9846 	:
   9847       else
   9848 	can_build_shared=no
   9849       fi
   9850       ;;
   9851     esac
   9852     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9853     # soname into executable. Probably we can add versioning support to
   9854     # collect2, so additional links can be useful in future.
   9855     if test "$aix_use_runtimelinking" = yes; then
   9856       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9857       # instead of lib<name>.a to let people know that these are not
   9858       # typical AIX shared libraries.
   9859       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9860     else
   9861       # We preserve .a as extension for shared libraries through AIX4.2
   9862       # and later when we are not doing run time linking.
   9863       library_names_spec='${libname}${release}.a $libname.a'
   9864       soname_spec='${libname}${release}${shared_ext}$major'
   9865     fi
   9866     shlibpath_var=LIBPATH
   9867   fi
   9868   ;;
   9869 
   9870 amigaos*)
   9871   case $host_cpu in
   9872   powerpc)
   9873     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9874     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9875     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9876     ;;
   9877   m68k)
   9878     library_names_spec='$libname.ixlibrary $libname.a'
   9879     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9880     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'
   9881     ;;
   9882   esac
   9883   ;;
   9884 
   9885 beos*)
   9886   library_names_spec='${libname}${shared_ext}'
   9887   dynamic_linker="$host_os ld.so"
   9888   shlibpath_var=LIBRARY_PATH
   9889   ;;
   9890 
   9891 bsdi[45]*)
   9892   version_type=linux
   9893   need_version=no
   9894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9895   soname_spec='${libname}${release}${shared_ext}$major'
   9896   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9897   shlibpath_var=LD_LIBRARY_PATH
   9898   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9899   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9900   # the default ld.so.conf also contains /usr/contrib/lib and
   9901   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9902   # libtool to hard-code these into programs
   9903   ;;
   9904 
   9905 cygwin* | mingw* | pw32* | cegcc*)
   9906   version_type=windows
   9907   shrext_cmds=".dll"
   9908   need_version=no
   9909   need_lib_prefix=no
   9910 
   9911   case $GCC,$host_os in
   9912   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9913     library_names_spec='$libname.dll.a'
   9914     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9915     postinstall_cmds='base_file=`basename \${file}`~
   9916       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9917       dldir=$destdir/`dirname \$dlpath`~
   9918       test -d \$dldir || mkdir -p \$dldir~
   9919       $install_prog $dir/$dlname \$dldir/$dlname~
   9920       chmod a+x \$dldir/$dlname~
   9921       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9922         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9923       fi'
   9924     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9925       dlpath=$dir/\$dldll~
   9926        $RM \$dlpath'
   9927     shlibpath_overrides_runpath=yes
   9928 
   9929     case $host_os in
   9930     cygwin*)
   9931       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9932       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9933 
   9934       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   9935       ;;
   9936     mingw* | cegcc*)
   9937       # MinGW DLLs use traditional 'lib' prefix
   9938       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9939       ;;
   9940     pw32*)
   9941       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9942       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9943       ;;
   9944     esac
   9945     ;;
   9946 
   9947   *)
   9948     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9949     ;;
   9950   esac
   9951   dynamic_linker='Win32 ld.exe'
   9952   # FIXME: first we should search . and the directory the executable is in
   9953   shlibpath_var=PATH
   9954   ;;
   9955 
   9956 darwin* | rhapsody*)
   9957   dynamic_linker="$host_os dyld"
   9958   version_type=darwin
   9959   need_lib_prefix=no
   9960   need_version=no
   9961   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9962   soname_spec='${libname}${release}${major}$shared_ext'
   9963   shlibpath_overrides_runpath=yes
   9964   shlibpath_var=DYLD_LIBRARY_PATH
   9965   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9966 
   9967   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9968   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9969   ;;
   9970 
   9971 dgux*)
   9972   version_type=linux
   9973   need_lib_prefix=no
   9974   need_version=no
   9975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9976   soname_spec='${libname}${release}${shared_ext}$major'
   9977   shlibpath_var=LD_LIBRARY_PATH
   9978   ;;
   9979 
   9980 freebsd1*)
   9981   dynamic_linker=no
   9982   ;;
   9983 
   9984 freebsd* | dragonfly*)
   9985   # DragonFly does not have aout.  When/if they implement a new
   9986   # versioning mechanism, adjust this.
   9987   if test -x /usr/bin/objformat; then
   9988     objformat=`/usr/bin/objformat`
   9989   else
   9990     case $host_os in
   9991     freebsd[123]*) objformat=aout ;;
   9992     *) objformat=elf ;;
   9993     esac
   9994   fi
   9995   version_type=freebsd-$objformat
   9996   case $version_type in
   9997     freebsd-elf*)
   9998       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9999       need_version=no
   10000       need_lib_prefix=no
   10001       ;;
   10002     freebsd-*)
   10003       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10004       need_version=yes
   10005       ;;
   10006   esac
   10007   shlibpath_var=LD_LIBRARY_PATH
   10008   case $host_os in
   10009   freebsd2*)
   10010     shlibpath_overrides_runpath=yes
   10011     ;;
   10012   freebsd3.[01]* | freebsdelf3.[01]*)
   10013     shlibpath_overrides_runpath=yes
   10014     hardcode_into_libs=yes
   10015     ;;
   10016   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10017   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10018     shlibpath_overrides_runpath=no
   10019     hardcode_into_libs=yes
   10020     ;;
   10021   *) # from 4.6 on, and DragonFly
   10022     shlibpath_overrides_runpath=yes
   10023     hardcode_into_libs=yes
   10024     ;;
   10025   esac
   10026   ;;
   10027 
   10028 gnu*)
   10029   version_type=linux
   10030   need_lib_prefix=no
   10031   need_version=no
   10032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10033   soname_spec='${libname}${release}${shared_ext}$major'
   10034   shlibpath_var=LD_LIBRARY_PATH
   10035   hardcode_into_libs=yes
   10036   ;;
   10037 
   10038 haiku*)
   10039   version_type=linux
   10040   need_lib_prefix=no
   10041   need_version=no
   10042   dynamic_linker="$host_os runtime_loader"
   10043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10044   soname_spec='${libname}${release}${shared_ext}$major'
   10045   shlibpath_var=LIBRARY_PATH
   10046   shlibpath_overrides_runpath=yes
   10047   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10048   hardcode_into_libs=yes
   10049   ;;
   10050 
   10051 hpux9* | hpux10* | hpux11*)
   10052   # Give a soname corresponding to the major version so that dld.sl refuses to
   10053   # link against other versions.
   10054   version_type=sunos
   10055   need_lib_prefix=no
   10056   need_version=no
   10057   case $host_cpu in
   10058   ia64*)
   10059     shrext_cmds='.so'
   10060     hardcode_into_libs=yes
   10061     dynamic_linker="$host_os dld.so"
   10062     shlibpath_var=LD_LIBRARY_PATH
   10063     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10064     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10065     soname_spec='${libname}${release}${shared_ext}$major'
   10066     if test "X$HPUX_IA64_MODE" = X32; then
   10067       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10068     else
   10069       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10070     fi
   10071     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10072     ;;
   10073   hppa*64*)
   10074     shrext_cmds='.sl'
   10075     hardcode_into_libs=yes
   10076     dynamic_linker="$host_os dld.sl"
   10077     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10078     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10079     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10080     soname_spec='${libname}${release}${shared_ext}$major'
   10081     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10082     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10083     ;;
   10084   *)
   10085     shrext_cmds='.sl'
   10086     dynamic_linker="$host_os dld.sl"
   10087     shlibpath_var=SHLIB_PATH
   10088     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10089     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10090     soname_spec='${libname}${release}${shared_ext}$major'
   10091     ;;
   10092   esac
   10093   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10094   postinstall_cmds='chmod 555 $lib'
   10095   # or fails outright, so override atomically:
   10096   install_override_mode=555
   10097   ;;
   10098 
   10099 interix[3-9]*)
   10100   version_type=linux
   10101   need_lib_prefix=no
   10102   need_version=no
   10103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10104   soname_spec='${libname}${release}${shared_ext}$major'
   10105   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10106   shlibpath_var=LD_LIBRARY_PATH
   10107   shlibpath_overrides_runpath=no
   10108   hardcode_into_libs=yes
   10109   ;;
   10110 
   10111 irix5* | irix6* | nonstopux*)
   10112   case $host_os in
   10113     nonstopux*) version_type=nonstopux ;;
   10114     *)
   10115 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10116 		version_type=linux
   10117 	else
   10118 		version_type=irix
   10119 	fi ;;
   10120   esac
   10121   need_lib_prefix=no
   10122   need_version=no
   10123   soname_spec='${libname}${release}${shared_ext}$major'
   10124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10125   case $host_os in
   10126   irix5* | nonstopux*)
   10127     libsuff= shlibsuff=
   10128     ;;
   10129   *)
   10130     case $LD in # libtool.m4 will add one of these switches to LD
   10131     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10132       libsuff= shlibsuff= libmagic=32-bit;;
   10133     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10134       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10135     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10136       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10137     *) libsuff= shlibsuff= libmagic=never-match;;
   10138     esac
   10139     ;;
   10140   esac
   10141   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10142   shlibpath_overrides_runpath=no
   10143   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10144   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10145   hardcode_into_libs=yes
   10146   ;;
   10147 
   10148 # No shared lib support for Linux oldld, aout, or coff.
   10149 linux*oldld* | linux*aout* | linux*coff*)
   10150   dynamic_linker=no
   10151   ;;
   10152 
   10153 # This must be Linux ELF.
   10154 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10155   version_type=linux
   10156   need_lib_prefix=no
   10157   need_version=no
   10158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10159   soname_spec='${libname}${release}${shared_ext}$major'
   10160   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10161   shlibpath_var=LD_LIBRARY_PATH
   10162   shlibpath_overrides_runpath=no
   10163 
   10164   # Some binutils ld are patched to set DT_RUNPATH
   10165   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
   10166   $as_echo_n "(cached) " >&6
   10167 else
   10168   lt_cv_shlibpath_overrides_runpath=no
   10169     save_LDFLAGS=$LDFLAGS
   10170     save_libdir=$libdir
   10171     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10172 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10173     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10174 /* end confdefs.h.  */
   10175 
   10176 int
   10177 main ()
   10178 {
   10179 
   10180   ;
   10181   return 0;
   10182 }
   10183 _ACEOF
   10184 if ac_fn_c_try_link "$LINENO"; then :
   10185   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10186   lt_cv_shlibpath_overrides_runpath=yes
   10187 fi
   10188 fi
   10189 rm -f core conftest.err conftest.$ac_objext \
   10190     conftest$ac_exeext conftest.$ac_ext
   10191     LDFLAGS=$save_LDFLAGS
   10192     libdir=$save_libdir
   10193 
   10194 fi
   10195 
   10196   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10197 
   10198   # This implies no fast_install, which is unacceptable.
   10199   # Some rework will be needed to allow for fast_install
   10200   # before this can be enabled.
   10201   hardcode_into_libs=yes
   10202 
   10203   # Add ABI-specific directories to the system library path.
   10204   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10205 
   10206   # Append ld.so.conf contents to the search path
   10207   if test -f /etc/ld.so.conf; then
   10208     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' ' '`
   10209     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10210 
   10211   fi
   10212 
   10213   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10214   # powerpc, because MkLinux only supported shared libraries with the
   10215   # GNU dynamic linker.  Since this was broken with cross compilers,
   10216   # most powerpc-linux boxes support dynamic linking these days and
   10217   # people can always --disable-shared, the test was removed, and we
   10218   # assume the GNU/Linux dynamic linker is in use.
   10219   dynamic_linker='GNU/Linux ld.so'
   10220   ;;
   10221 
   10222 netbsd*)
   10223   version_type=sunos
   10224   need_lib_prefix=no
   10225   need_version=no
   10226   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10227     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10228     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10229     dynamic_linker='NetBSD (a.out) ld.so'
   10230   else
   10231     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10232     soname_spec='${libname}${release}${shared_ext}$major'
   10233     dynamic_linker='NetBSD ld.elf_so'
   10234   fi
   10235   shlibpath_var=LD_LIBRARY_PATH
   10236   shlibpath_overrides_runpath=yes
   10237   hardcode_into_libs=yes
   10238   ;;
   10239 
   10240 newsos6)
   10241   version_type=linux
   10242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10243   shlibpath_var=LD_LIBRARY_PATH
   10244   shlibpath_overrides_runpath=yes
   10245   ;;
   10246 
   10247 *nto* | *qnx*)
   10248   version_type=qnx
   10249   need_lib_prefix=no
   10250   need_version=no
   10251   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10252   soname_spec='${libname}${release}${shared_ext}$major'
   10253   shlibpath_var=LD_LIBRARY_PATH
   10254   shlibpath_overrides_runpath=no
   10255   hardcode_into_libs=yes
   10256   dynamic_linker='ldqnx.so'
   10257   ;;
   10258 
   10259 openbsd*)
   10260   version_type=sunos
   10261   sys_lib_dlsearch_path_spec="/usr/lib"
   10262   need_lib_prefix=no
   10263   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10264   case $host_os in
   10265     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10266     *)				need_version=no  ;;
   10267   esac
   10268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10269   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10270   shlibpath_var=LD_LIBRARY_PATH
   10271   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10272     case $host_os in
   10273       openbsd2.[89] | openbsd2.[89].*)
   10274 	shlibpath_overrides_runpath=no
   10275 	;;
   10276       *)
   10277 	shlibpath_overrides_runpath=yes
   10278 	;;
   10279       esac
   10280   else
   10281     shlibpath_overrides_runpath=yes
   10282   fi
   10283   ;;
   10284 
   10285 os2*)
   10286   libname_spec='$name'
   10287   shrext_cmds=".dll"
   10288   need_lib_prefix=no
   10289   library_names_spec='$libname${shared_ext} $libname.a'
   10290   dynamic_linker='OS/2 ld.exe'
   10291   shlibpath_var=LIBPATH
   10292   ;;
   10293 
   10294 osf3* | osf4* | osf5*)
   10295   version_type=osf
   10296   need_lib_prefix=no
   10297   need_version=no
   10298   soname_spec='${libname}${release}${shared_ext}$major'
   10299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10300   shlibpath_var=LD_LIBRARY_PATH
   10301   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10302   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10303   ;;
   10304 
   10305 rdos*)
   10306   dynamic_linker=no
   10307   ;;
   10308 
   10309 solaris*)
   10310   version_type=linux
   10311   need_lib_prefix=no
   10312   need_version=no
   10313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10314   soname_spec='${libname}${release}${shared_ext}$major'
   10315   shlibpath_var=LD_LIBRARY_PATH
   10316   shlibpath_overrides_runpath=yes
   10317   hardcode_into_libs=yes
   10318   # ldd complains unless libraries are executable
   10319   postinstall_cmds='chmod +x $lib'
   10320   ;;
   10321 
   10322 sunos4*)
   10323   version_type=sunos
   10324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10325   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10326   shlibpath_var=LD_LIBRARY_PATH
   10327   shlibpath_overrides_runpath=yes
   10328   if test "$with_gnu_ld" = yes; then
   10329     need_lib_prefix=no
   10330   fi
   10331   need_version=yes
   10332   ;;
   10333 
   10334 sysv4 | sysv4.3*)
   10335   version_type=linux
   10336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10337   soname_spec='${libname}${release}${shared_ext}$major'
   10338   shlibpath_var=LD_LIBRARY_PATH
   10339   case $host_vendor in
   10340     sni)
   10341       shlibpath_overrides_runpath=no
   10342       need_lib_prefix=no
   10343       runpath_var=LD_RUN_PATH
   10344       ;;
   10345     siemens)
   10346       need_lib_prefix=no
   10347       ;;
   10348     motorola)
   10349       need_lib_prefix=no
   10350       need_version=no
   10351       shlibpath_overrides_runpath=no
   10352       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10353       ;;
   10354   esac
   10355   ;;
   10356 
   10357 sysv4*MP*)
   10358   if test -d /usr/nec ;then
   10359     version_type=linux
   10360     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10361     soname_spec='$libname${shared_ext}.$major'
   10362     shlibpath_var=LD_LIBRARY_PATH
   10363   fi
   10364   ;;
   10365 
   10366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10367   version_type=freebsd-elf
   10368   need_lib_prefix=no
   10369   need_version=no
   10370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10371   soname_spec='${libname}${release}${shared_ext}$major'
   10372   shlibpath_var=LD_LIBRARY_PATH
   10373   shlibpath_overrides_runpath=yes
   10374   hardcode_into_libs=yes
   10375   if test "$with_gnu_ld" = yes; then
   10376     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10377   else
   10378     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10379     case $host_os in
   10380       sco3.2v5*)
   10381         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10382 	;;
   10383     esac
   10384   fi
   10385   sys_lib_dlsearch_path_spec='/usr/lib'
   10386   ;;
   10387 
   10388 tpf*)
   10389   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10390   version_type=linux
   10391   need_lib_prefix=no
   10392   need_version=no
   10393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10394   shlibpath_var=LD_LIBRARY_PATH
   10395   shlibpath_overrides_runpath=no
   10396   hardcode_into_libs=yes
   10397   ;;
   10398 
   10399 uts4*)
   10400   version_type=linux
   10401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10402   soname_spec='${libname}${release}${shared_ext}$major'
   10403   shlibpath_var=LD_LIBRARY_PATH
   10404   ;;
   10405 
   10406 *)
   10407   dynamic_linker=no
   10408   ;;
   10409 esac
   10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10411 $as_echo "$dynamic_linker" >&6; }
   10412 test "$dynamic_linker" = no && can_build_shared=no
   10413 
   10414 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10415 if test "$GCC" = yes; then
   10416   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10417 fi
   10418 
   10419 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10420   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10421 fi
   10422 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10423   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10424 fi
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10518 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10519 hardcode_action=
   10520 if test -n "$hardcode_libdir_flag_spec" ||
   10521    test -n "$runpath_var" ||
   10522    test "X$hardcode_automatic" = "Xyes" ; then
   10523 
   10524   # We can hardcode non-existent directories.
   10525   if test "$hardcode_direct" != no &&
   10526      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10527      # have to relink, otherwise we might link with an installed library
   10528      # when we should be linking with a yet-to-be-installed one
   10529      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10530      test "$hardcode_minus_L" != no; then
   10531     # Linking always hardcodes the temporary library directory.
   10532     hardcode_action=relink
   10533   else
   10534     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10535     hardcode_action=immediate
   10536   fi
   10537 else
   10538   # We cannot hardcode anything, or else we can only hardcode existing
   10539   # directories.
   10540   hardcode_action=unsupported
   10541 fi
   10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10543 $as_echo "$hardcode_action" >&6; }
   10544 
   10545 if test "$hardcode_action" = relink ||
   10546    test "$inherit_rpath" = yes; then
   10547   # Fast installation is not supported
   10548   enable_fast_install=no
   10549 elif test "$shlibpath_overrides_runpath" = yes ||
   10550      test "$enable_shared" = no; then
   10551   # Fast installation is not necessary
   10552   enable_fast_install=needless
   10553 fi
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560   if test "x$enable_dlopen" != xyes; then
   10561   enable_dlopen=unknown
   10562   enable_dlopen_self=unknown
   10563   enable_dlopen_self_static=unknown
   10564 else
   10565   lt_cv_dlopen=no
   10566   lt_cv_dlopen_libs=
   10567 
   10568   case $host_os in
   10569   beos*)
   10570     lt_cv_dlopen="load_add_on"
   10571     lt_cv_dlopen_libs=
   10572     lt_cv_dlopen_self=yes
   10573     ;;
   10574 
   10575   mingw* | pw32* | cegcc*)
   10576     lt_cv_dlopen="LoadLibrary"
   10577     lt_cv_dlopen_libs=
   10578     ;;
   10579 
   10580   cygwin*)
   10581     lt_cv_dlopen="dlopen"
   10582     lt_cv_dlopen_libs=
   10583     ;;
   10584 
   10585   darwin*)
   10586   # if libdl is installed we need to link against it
   10587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10590   $as_echo_n "(cached) " >&6
   10591 else
   10592   ac_check_lib_save_LIBS=$LIBS
   10593 LIBS="-ldl  $LIBS"
   10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10595 /* end confdefs.h.  */
   10596 
   10597 /* Override any GCC internal prototype to avoid an error.
   10598    Use char because int might match the return type of a GCC
   10599    builtin and then its argument prototype would still apply.  */
   10600 #ifdef __cplusplus
   10601 extern "C"
   10602 #endif
   10603 char dlopen ();
   10604 int
   10605 main ()
   10606 {
   10607 return dlopen ();
   10608   ;
   10609   return 0;
   10610 }
   10611 _ACEOF
   10612 if ac_fn_c_try_link "$LINENO"; then :
   10613   ac_cv_lib_dl_dlopen=yes
   10614 else
   10615   ac_cv_lib_dl_dlopen=no
   10616 fi
   10617 rm -f core conftest.err conftest.$ac_objext \
   10618     conftest$ac_exeext conftest.$ac_ext
   10619 LIBS=$ac_check_lib_save_LIBS
   10620 fi
   10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10623 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10624   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10625 else
   10626 
   10627     lt_cv_dlopen="dyld"
   10628     lt_cv_dlopen_libs=
   10629     lt_cv_dlopen_self=yes
   10630 
   10631 fi
   10632 
   10633     ;;
   10634 
   10635   *)
   10636     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10637 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10638   lt_cv_dlopen="shl_load"
   10639 else
   10640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10641 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10642 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10643   $as_echo_n "(cached) " >&6
   10644 else
   10645   ac_check_lib_save_LIBS=$LIBS
   10646 LIBS="-ldld  $LIBS"
   10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10648 /* end confdefs.h.  */
   10649 
   10650 /* Override any GCC internal prototype to avoid an error.
   10651    Use char because int might match the return type of a GCC
   10652    builtin and then its argument prototype would still apply.  */
   10653 #ifdef __cplusplus
   10654 extern "C"
   10655 #endif
   10656 char shl_load ();
   10657 int
   10658 main ()
   10659 {
   10660 return shl_load ();
   10661   ;
   10662   return 0;
   10663 }
   10664 _ACEOF
   10665 if ac_fn_c_try_link "$LINENO"; then :
   10666   ac_cv_lib_dld_shl_load=yes
   10667 else
   10668   ac_cv_lib_dld_shl_load=no
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext \
   10671     conftest$ac_exeext conftest.$ac_ext
   10672 LIBS=$ac_check_lib_save_LIBS
   10673 fi
   10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10675 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10676 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10677   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10678 else
   10679   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10680 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10681   lt_cv_dlopen="dlopen"
   10682 else
   10683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10684 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10685 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10686   $as_echo_n "(cached) " >&6
   10687 else
   10688   ac_check_lib_save_LIBS=$LIBS
   10689 LIBS="-ldl  $LIBS"
   10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10691 /* end confdefs.h.  */
   10692 
   10693 /* Override any GCC internal prototype to avoid an error.
   10694    Use char because int might match the return type of a GCC
   10695    builtin and then its argument prototype would still apply.  */
   10696 #ifdef __cplusplus
   10697 extern "C"
   10698 #endif
   10699 char dlopen ();
   10700 int
   10701 main ()
   10702 {
   10703 return dlopen ();
   10704   ;
   10705   return 0;
   10706 }
   10707 _ACEOF
   10708 if ac_fn_c_try_link "$LINENO"; then :
   10709   ac_cv_lib_dl_dlopen=yes
   10710 else
   10711   ac_cv_lib_dl_dlopen=no
   10712 fi
   10713 rm -f core conftest.err conftest.$ac_objext \
   10714     conftest$ac_exeext conftest.$ac_ext
   10715 LIBS=$ac_check_lib_save_LIBS
   10716 fi
   10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10718 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10719 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10720   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10721 else
   10722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10723 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10724 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10725   $as_echo_n "(cached) " >&6
   10726 else
   10727   ac_check_lib_save_LIBS=$LIBS
   10728 LIBS="-lsvld  $LIBS"
   10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10730 /* end confdefs.h.  */
   10731 
   10732 /* Override any GCC internal prototype to avoid an error.
   10733    Use char because int might match the return type of a GCC
   10734    builtin and then its argument prototype would still apply.  */
   10735 #ifdef __cplusplus
   10736 extern "C"
   10737 #endif
   10738 char dlopen ();
   10739 int
   10740 main ()
   10741 {
   10742 return dlopen ();
   10743   ;
   10744   return 0;
   10745 }
   10746 _ACEOF
   10747 if ac_fn_c_try_link "$LINENO"; then :
   10748   ac_cv_lib_svld_dlopen=yes
   10749 else
   10750   ac_cv_lib_svld_dlopen=no
   10751 fi
   10752 rm -f core conftest.err conftest.$ac_objext \
   10753     conftest$ac_exeext conftest.$ac_ext
   10754 LIBS=$ac_check_lib_save_LIBS
   10755 fi
   10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10757 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10758 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10759   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10760 else
   10761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10762 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10763 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10764   $as_echo_n "(cached) " >&6
   10765 else
   10766   ac_check_lib_save_LIBS=$LIBS
   10767 LIBS="-ldld  $LIBS"
   10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10769 /* end confdefs.h.  */
   10770 
   10771 /* Override any GCC internal prototype to avoid an error.
   10772    Use char because int might match the return type of a GCC
   10773    builtin and then its argument prototype would still apply.  */
   10774 #ifdef __cplusplus
   10775 extern "C"
   10776 #endif
   10777 char dld_link ();
   10778 int
   10779 main ()
   10780 {
   10781 return dld_link ();
   10782   ;
   10783   return 0;
   10784 }
   10785 _ACEOF
   10786 if ac_fn_c_try_link "$LINENO"; then :
   10787   ac_cv_lib_dld_dld_link=yes
   10788 else
   10789   ac_cv_lib_dld_dld_link=no
   10790 fi
   10791 rm -f core conftest.err conftest.$ac_objext \
   10792     conftest$ac_exeext conftest.$ac_ext
   10793 LIBS=$ac_check_lib_save_LIBS
   10794 fi
   10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10796 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10797 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10798   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10799 fi
   10800 
   10801 
   10802 fi
   10803 
   10804 
   10805 fi
   10806 
   10807 
   10808 fi
   10809 
   10810 
   10811 fi
   10812 
   10813 
   10814 fi
   10815 
   10816     ;;
   10817   esac
   10818 
   10819   if test "x$lt_cv_dlopen" != xno; then
   10820     enable_dlopen=yes
   10821   else
   10822     enable_dlopen=no
   10823   fi
   10824 
   10825   case $lt_cv_dlopen in
   10826   dlopen)
   10827     save_CPPFLAGS="$CPPFLAGS"
   10828     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10829 
   10830     save_LDFLAGS="$LDFLAGS"
   10831     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10832 
   10833     save_LIBS="$LIBS"
   10834     LIBS="$lt_cv_dlopen_libs $LIBS"
   10835 
   10836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10837 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10838 if test "${lt_cv_dlopen_self+set}" = set; then :
   10839   $as_echo_n "(cached) " >&6
   10840 else
   10841   	  if test "$cross_compiling" = yes; then :
   10842   lt_cv_dlopen_self=cross
   10843 else
   10844   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10845   lt_status=$lt_dlunknown
   10846   cat > conftest.$ac_ext <<_LT_EOF
   10847 #line $LINENO "configure"
   10848 #include "confdefs.h"
   10849 
   10850 #if HAVE_DLFCN_H
   10851 #include <dlfcn.h>
   10852 #endif
   10853 
   10854 #include <stdio.h>
   10855 
   10856 #ifdef RTLD_GLOBAL
   10857 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10858 #else
   10859 #  ifdef DL_GLOBAL
   10860 #    define LT_DLGLOBAL		DL_GLOBAL
   10861 #  else
   10862 #    define LT_DLGLOBAL		0
   10863 #  endif
   10864 #endif
   10865 
   10866 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10867    find out it does not work in some platform. */
   10868 #ifndef LT_DLLAZY_OR_NOW
   10869 #  ifdef RTLD_LAZY
   10870 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10871 #  else
   10872 #    ifdef DL_LAZY
   10873 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10874 #    else
   10875 #      ifdef RTLD_NOW
   10876 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10877 #      else
   10878 #        ifdef DL_NOW
   10879 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10880 #        else
   10881 #          define LT_DLLAZY_OR_NOW	0
   10882 #        endif
   10883 #      endif
   10884 #    endif
   10885 #  endif
   10886 #endif
   10887 
   10888 /* When -fvisbility=hidden is used, assume the code has been annotated
   10889    correspondingly for the symbols needed.  */
   10890 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10891 void fnord () __attribute__((visibility("default")));
   10892 #endif
   10893 
   10894 void fnord () { int i=42; }
   10895 int main ()
   10896 {
   10897   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10898   int status = $lt_dlunknown;
   10899 
   10900   if (self)
   10901     {
   10902       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10903       else
   10904         {
   10905 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   10906           else puts (dlerror ());
   10907 	}
   10908       /* dlclose (self); */
   10909     }
   10910   else
   10911     puts (dlerror ());
   10912 
   10913   return status;
   10914 }
   10915 _LT_EOF
   10916   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10917   (eval $ac_link) 2>&5
   10918   ac_status=$?
   10919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10920   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10921     (./conftest; exit; ) >&5 2>/dev/null
   10922     lt_status=$?
   10923     case x$lt_status in
   10924       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10925       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10926       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10927     esac
   10928   else :
   10929     # compilation failed
   10930     lt_cv_dlopen_self=no
   10931   fi
   10932 fi
   10933 rm -fr conftest*
   10934 
   10935 
   10936 fi
   10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10938 $as_echo "$lt_cv_dlopen_self" >&6; }
   10939 
   10940     if test "x$lt_cv_dlopen_self" = xyes; then
   10941       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10942       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10943 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10944 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10945   $as_echo_n "(cached) " >&6
   10946 else
   10947   	  if test "$cross_compiling" = yes; then :
   10948   lt_cv_dlopen_self_static=cross
   10949 else
   10950   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10951   lt_status=$lt_dlunknown
   10952   cat > conftest.$ac_ext <<_LT_EOF
   10953 #line $LINENO "configure"
   10954 #include "confdefs.h"
   10955 
   10956 #if HAVE_DLFCN_H
   10957 #include <dlfcn.h>
   10958 #endif
   10959 
   10960 #include <stdio.h>
   10961 
   10962 #ifdef RTLD_GLOBAL
   10963 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10964 #else
   10965 #  ifdef DL_GLOBAL
   10966 #    define LT_DLGLOBAL		DL_GLOBAL
   10967 #  else
   10968 #    define LT_DLGLOBAL		0
   10969 #  endif
   10970 #endif
   10971 
   10972 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10973    find out it does not work in some platform. */
   10974 #ifndef LT_DLLAZY_OR_NOW
   10975 #  ifdef RTLD_LAZY
   10976 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10977 #  else
   10978 #    ifdef DL_LAZY
   10979 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10980 #    else
   10981 #      ifdef RTLD_NOW
   10982 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10983 #      else
   10984 #        ifdef DL_NOW
   10985 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10986 #        else
   10987 #          define LT_DLLAZY_OR_NOW	0
   10988 #        endif
   10989 #      endif
   10990 #    endif
   10991 #  endif
   10992 #endif
   10993 
   10994 /* When -fvisbility=hidden is used, assume the code has been annotated
   10995    correspondingly for the symbols needed.  */
   10996 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10997 void fnord () __attribute__((visibility("default")));
   10998 #endif
   10999 
   11000 void fnord () { int i=42; }
   11001 int main ()
   11002 {
   11003   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11004   int status = $lt_dlunknown;
   11005 
   11006   if (self)
   11007     {
   11008       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11009       else
   11010         {
   11011 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11012           else puts (dlerror ());
   11013 	}
   11014       /* dlclose (self); */
   11015     }
   11016   else
   11017     puts (dlerror ());
   11018 
   11019   return status;
   11020 }
   11021 _LT_EOF
   11022   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11023   (eval $ac_link) 2>&5
   11024   ac_status=$?
   11025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11026   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11027     (./conftest; exit; ) >&5 2>/dev/null
   11028     lt_status=$?
   11029     case x$lt_status in
   11030       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11031       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11032       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11033     esac
   11034   else :
   11035     # compilation failed
   11036     lt_cv_dlopen_self_static=no
   11037   fi
   11038 fi
   11039 rm -fr conftest*
   11040 
   11041 
   11042 fi
   11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11044 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11045     fi
   11046 
   11047     CPPFLAGS="$save_CPPFLAGS"
   11048     LDFLAGS="$save_LDFLAGS"
   11049     LIBS="$save_LIBS"
   11050     ;;
   11051   esac
   11052 
   11053   case $lt_cv_dlopen_self in
   11054   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11055   *) enable_dlopen_self=unknown ;;
   11056   esac
   11057 
   11058   case $lt_cv_dlopen_self_static in
   11059   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11060   *) enable_dlopen_self_static=unknown ;;
   11061   esac
   11062 fi
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 striplib=
   11081 old_striplib=
   11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11083 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11084 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11085   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11086   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11088 $as_echo "yes" >&6; }
   11089 else
   11090 # FIXME - insert some real tests, host_os isn't really good enough
   11091   case $host_os in
   11092   darwin*)
   11093     if test -n "$STRIP" ; then
   11094       striplib="$STRIP -x"
   11095       old_striplib="$STRIP -S"
   11096       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11097 $as_echo "yes" >&6; }
   11098     else
   11099       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11100 $as_echo "no" >&6; }
   11101     fi
   11102     ;;
   11103   *)
   11104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11105 $as_echo "no" >&6; }
   11106     ;;
   11107   esac
   11108 fi
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121   # Report which library types will actually be built
   11122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11123 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11125 $as_echo "$can_build_shared" >&6; }
   11126 
   11127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11128 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11129   test "$can_build_shared" = "no" && enable_shared=no
   11130 
   11131   # On AIX, shared libraries and static libraries use the same namespace, and
   11132   # are all built from PIC.
   11133   case $host_os in
   11134   aix3*)
   11135     test "$enable_shared" = yes && enable_static=no
   11136     if test -n "$RANLIB"; then
   11137       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11138       postinstall_cmds='$RANLIB $lib'
   11139     fi
   11140     ;;
   11141 
   11142   aix[4-9]*)
   11143     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11144       test "$enable_shared" = yes && enable_static=no
   11145     fi
   11146     ;;
   11147   esac
   11148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11149 $as_echo "$enable_shared" >&6; }
   11150 
   11151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11152 $as_echo_n "checking whether to build static libraries... " >&6; }
   11153   # Make sure either enable_shared or enable_static is yes.
   11154   test "$enable_shared" = yes || enable_static=yes
   11155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11156 $as_echo "$enable_static" >&6; }
   11157 
   11158 
   11159 
   11160 
   11161 fi
   11162 ac_ext=c
   11163 ac_cpp='$CPP $CPPFLAGS'
   11164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11167 
   11168 CC="$lt_save_CC"
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182         ac_config_commands="$ac_config_commands libtool"
   11183 
   11184 
   11185 
   11186 
   11187 # Only expand once:
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 # Define a configure option for an alternate module directory
   11194 
   11195 # Check whether --with-xorg-module-dir was given.
   11196 if test "${with_xorg_module_dir+set}" = set; then :
   11197   withval=$with_xorg_module_dir; moduledir="$withval"
   11198 else
   11199   moduledir="$libdir/xorg/modules"
   11200 fi
   11201 
   11202 
   11203 # Check whether --enable-dri was given.
   11204 if test "${enable_dri+set}" = set; then :
   11205   enableval=$enable_dri; DRI="$enableval"
   11206 else
   11207   DRI=auto
   11208 fi
   11209 
   11210 
   11211 # Store the list of server defined optional extensions in REQUIRED_MODULES
   11212 
   11213 
   11214 	SAVE_CFLAGS="$CFLAGS"
   11215 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11216 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11217 /* end confdefs.h.  */
   11218 
   11219 #include "xorg-server.h"
   11220 #if !defined RANDR
   11221 #error RANDR not defined
   11222 #endif
   11223 
   11224 int
   11225 main ()
   11226 {
   11227 
   11228   ;
   11229   return 0;
   11230 }
   11231 _ACEOF
   11232 if ac_fn_c_try_compile "$LINENO"; then :
   11233   _EXT_CHECK=yes
   11234 else
   11235   _EXT_CHECK=no
   11236 fi
   11237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11238 	CFLAGS="$SAVE_CFLAGS"
   11239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   11240 $as_echo_n "checking if RANDR is defined... " >&6; }
   11241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11242 $as_echo "$_EXT_CHECK" >&6; }
   11243 	if test "$_EXT_CHECK" != no; then
   11244 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11245 	fi
   11246 
   11247 
   11248 
   11249 	SAVE_CFLAGS="$CFLAGS"
   11250 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11251 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11252 /* end confdefs.h.  */
   11253 
   11254 #include "xorg-server.h"
   11255 #if !defined RENDER
   11256 #error RENDER not defined
   11257 #endif
   11258 
   11259 int
   11260 main ()
   11261 {
   11262 
   11263   ;
   11264   return 0;
   11265 }
   11266 _ACEOF
   11267 if ac_fn_c_try_compile "$LINENO"; then :
   11268   _EXT_CHECK=yes
   11269 else
   11270   _EXT_CHECK=no
   11271 fi
   11272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11273 	CFLAGS="$SAVE_CFLAGS"
   11274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   11275 $as_echo_n "checking if RENDER is defined... " >&6; }
   11276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11277 $as_echo "$_EXT_CHECK" >&6; }
   11278 	if test "$_EXT_CHECK" != no; then
   11279 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   11280 	fi
   11281 
   11282 
   11283 
   11284 	SAVE_CFLAGS="$CFLAGS"
   11285 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11286 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11287 /* end confdefs.h.  */
   11288 
   11289 #include "xorg-server.h"
   11290 #if !defined XV
   11291 #error XV not defined
   11292 #endif
   11293 
   11294 int
   11295 main ()
   11296 {
   11297 
   11298   ;
   11299   return 0;
   11300 }
   11301 _ACEOF
   11302 if ac_fn_c_try_compile "$LINENO"; then :
   11303   _EXT_CHECK=yes
   11304 else
   11305   _EXT_CHECK=no
   11306 fi
   11307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11308 	CFLAGS="$SAVE_CFLAGS"
   11309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   11310 $as_echo_n "checking if XV is defined... " >&6; }
   11311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11312 $as_echo "$_EXT_CHECK" >&6; }
   11313 	if test "$_EXT_CHECK" != no; then
   11314 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   11315 	fi
   11316 
   11317 
   11318 
   11319 	SAVE_CFLAGS="$CFLAGS"
   11320 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11321 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11322 /* end confdefs.h.  */
   11323 
   11324 #include "xorg-server.h"
   11325 #if !defined DPMSExtension
   11326 #error DPMSExtension not defined
   11327 #endif
   11328 
   11329 int
   11330 main ()
   11331 {
   11332 
   11333   ;
   11334   return 0;
   11335 }
   11336 _ACEOF
   11337 if ac_fn_c_try_compile "$LINENO"; then :
   11338   _EXT_CHECK=yes
   11339 else
   11340   _EXT_CHECK=no
   11341 fi
   11342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11343 	CFLAGS="$SAVE_CFLAGS"
   11344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   11345 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   11346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11347 $as_echo "$_EXT_CHECK" >&6; }
   11348 	if test "$_EXT_CHECK" != no; then
   11349 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   11350 	fi
   11351 
   11352 
   11353 # Obtain compiler/linker options for the driver dependencies
   11354 
   11355 pkg_failed=no
   11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11357 $as_echo_n "checking for XORG... " >&6; }
   11358 
   11359 if test -n "$XORG_CFLAGS"; then
   11360     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11361  elif test -n "$PKG_CONFIG"; then
   11362     if test -n "$PKG_CONFIG" && \
   11363     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11364   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   11365   ac_status=$?
   11366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11367   test $ac_status = 0; }; then
   11368   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11369 else
   11370   pkg_failed=yes
   11371 fi
   11372  else
   11373     pkg_failed=untried
   11374 fi
   11375 if test -n "$XORG_LIBS"; then
   11376     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11377  elif test -n "$PKG_CONFIG"; then
   11378     if test -n "$PKG_CONFIG" && \
   11379     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11380   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   11381   ac_status=$?
   11382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11383   test $ac_status = 0; }; then
   11384   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11385 else
   11386   pkg_failed=yes
   11387 fi
   11388  else
   11389     pkg_failed=untried
   11390 fi
   11391 
   11392 
   11393 
   11394 if test $pkg_failed = yes; then
   11395    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11396 $as_echo "no" >&6; }
   11397 
   11398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11399         _pkg_short_errors_supported=yes
   11400 else
   11401         _pkg_short_errors_supported=no
   11402 fi
   11403         if test $_pkg_short_errors_supported = yes; then
   11404 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   11405         else
   11406 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   11407         fi
   11408 	# Put the nasty error message in config.log where it belongs
   11409 	echo "$XORG_PKG_ERRORS" >&5
   11410 
   11411 	as_fn_error $? "Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   11412 
   11413 $XORG_PKG_ERRORS
   11414 
   11415 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11416 installed software in a non-standard prefix.
   11417 
   11418 Alternatively, you may set the environment variables XORG_CFLAGS
   11419 and XORG_LIBS to avoid the need to call pkg-config.
   11420 See the pkg-config man page for more details." "$LINENO" 5
   11421 
   11422 elif test $pkg_failed = untried; then
   11423      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11424 $as_echo "no" >&6; }
   11425 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11427 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11428 is in your PATH or set the PKG_CONFIG environment variable to the full
   11429 path to pkg-config.
   11430 
   11431 Alternatively, you may set the environment variables XORG_CFLAGS
   11432 and XORG_LIBS to avoid the need to call pkg-config.
   11433 See the pkg-config man page for more details.
   11434 
   11435 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11436 See \`config.log' for more details" "$LINENO" 5; }
   11437 
   11438 else
   11439 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11440 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11441         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11442 $as_echo "yes" >&6; }
   11443 
   11444 fi
   11445 
   11446 pkg_failed=no
   11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   11448 $as_echo_n "checking for XEXT... " >&6; }
   11449 
   11450 if test -n "$XEXT_CFLAGS"; then
   11451     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   11452  elif test -n "$PKG_CONFIG"; then
   11453     if test -n "$PKG_CONFIG" && \
   11454     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   11455   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   11456   ac_status=$?
   11457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11458   test $ac_status = 0; }; then
   11459   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   11460 else
   11461   pkg_failed=yes
   11462 fi
   11463  else
   11464     pkg_failed=untried
   11465 fi
   11466 if test -n "$XEXT_LIBS"; then
   11467     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   11468  elif test -n "$PKG_CONFIG"; then
   11469     if test -n "$PKG_CONFIG" && \
   11470     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   11471   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   11472   ac_status=$?
   11473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11474   test $ac_status = 0; }; then
   11475   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   11476 else
   11477   pkg_failed=yes
   11478 fi
   11479  else
   11480     pkg_failed=untried
   11481 fi
   11482 
   11483 
   11484 
   11485 if test $pkg_failed = yes; then
   11486    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11487 $as_echo "no" >&6; }
   11488 
   11489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11490         _pkg_short_errors_supported=yes
   11491 else
   11492         _pkg_short_errors_supported=no
   11493 fi
   11494         if test $_pkg_short_errors_supported = yes; then
   11495 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   11496         else
   11497 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   11498         fi
   11499 	# Put the nasty error message in config.log where it belongs
   11500 	echo "$XEXT_PKG_ERRORS" >&5
   11501 
   11502 	HAVE_XEXTPROTO_71="no"
   11503 elif test $pkg_failed = untried; then
   11504      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11505 $as_echo "no" >&6; }
   11506 	HAVE_XEXTPROTO_71="no"
   11507 else
   11508 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   11509 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   11510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11511 $as_echo "yes" >&6; }
   11512 	HAVE_XEXTPROTO_71="yes";
   11513 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   11514 
   11515 fi
   11516  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   11517   HAVE_XEXTPROTO_71_TRUE=
   11518   HAVE_XEXTPROTO_71_FALSE='#'
   11519 else
   11520   HAVE_XEXTPROTO_71_TRUE='#'
   11521   HAVE_XEXTPROTO_71_FALSE=
   11522 fi
   11523 
   11524 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   11525 
   11526 # Checks for libraries.
   11527 
   11528 
   11529 if test "$DRI" != no; then
   11530         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   11532 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   11533 if eval "test \"\${$as_ac_File+set}\"" = set; then :
   11534   $as_echo_n "(cached) " >&6
   11535 else
   11536   test "$cross_compiling" = yes &&
   11537   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11538 if test -r "${sdkdir}/dri.h"; then
   11539   eval "$as_ac_File=yes"
   11540 else
   11541   eval "$as_ac_File=no"
   11542 fi
   11543 fi
   11544 eval ac_res=\$$as_ac_File
   11545 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11546 $as_echo "$ac_res" >&6; }
   11547 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   11548   have_dri_h="yes"
   11549 else
   11550   have_dri_h="no"
   11551 fi
   11552 
   11553         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   11555 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   11556 if eval "test \"\${$as_ac_File+set}\"" = set; then :
   11557   $as_echo_n "(cached) " >&6
   11558 else
   11559   test "$cross_compiling" = yes &&
   11560   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11561 if test -r "${sdkdir}/sarea.h"; then
   11562   eval "$as_ac_File=yes"
   11563 else
   11564   eval "$as_ac_File=no"
   11565 fi
   11566 fi
   11567 eval ac_res=\$$as_ac_File
   11568 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11569 $as_echo "$ac_res" >&6; }
   11570 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   11571   have_sarea_h="yes"
   11572 else
   11573   have_sarea_h="no"
   11574 fi
   11575 
   11576         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   11578 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   11579 if eval "test \"\${$as_ac_File+set}\"" = set; then :
   11580   $as_echo_n "(cached) " >&6
   11581 else
   11582   test "$cross_compiling" = yes &&
   11583   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11584 if test -r "${sdkdir}/dristruct.h"; then
   11585   eval "$as_ac_File=yes"
   11586 else
   11587   eval "$as_ac_File=no"
   11588 fi
   11589 fi
   11590 eval ac_res=\$$as_ac_File
   11591 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11592 $as_echo "$ac_res" >&6; }
   11593 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   11594   have_dristruct_h="yes"
   11595 else
   11596   have_dristruct_h="no"
   11597 fi
   11598 
   11599 fi
   11600 
   11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   11602 $as_echo_n "checking whether to include DRI support... " >&6; }
   11603 if test x$DRI = xauto; then
   11604         if test "$have_dri_h" = yes -a \
   11605                 "$have_sarea_h" = yes -a \
   11606                 "$have_dristruct_h" = yes; then
   11607                 DRI="yes"
   11608         else
   11609                 DRI="no"
   11610         fi
   11611 fi
   11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   11613 $as_echo "$DRI" >&6; }
   11614 
   11615  if test x$DRI = xyes; then
   11616   DRI_TRUE=
   11617   DRI_FALSE='#'
   11618 else
   11619   DRI_TRUE='#'
   11620   DRI_FALSE=
   11621 fi
   11622 
   11623 if test "$DRI" = yes; then
   11624 
   11625 pkg_failed=no
   11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   11627 $as_echo_n "checking for DRI... " >&6; }
   11628 
   11629 if test -n "$DRI_CFLAGS"; then
   11630     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   11631  elif test -n "$PKG_CONFIG"; then
   11632     if test -n "$PKG_CONFIG" && \
   11633     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   11634   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   11635   ac_status=$?
   11636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11637   test $ac_status = 0; }; then
   11638   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   11639 else
   11640   pkg_failed=yes
   11641 fi
   11642  else
   11643     pkg_failed=untried
   11644 fi
   11645 if test -n "$DRI_LIBS"; then
   11646     pkg_cv_DRI_LIBS="$DRI_LIBS"
   11647  elif test -n "$PKG_CONFIG"; then
   11648     if test -n "$PKG_CONFIG" && \
   11649     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   11650   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   11651   ac_status=$?
   11652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11653   test $ac_status = 0; }; then
   11654   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   11655 else
   11656   pkg_failed=yes
   11657 fi
   11658  else
   11659     pkg_failed=untried
   11660 fi
   11661 
   11662 
   11663 
   11664 if test $pkg_failed = yes; then
   11665    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11666 $as_echo "no" >&6; }
   11667 
   11668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11669         _pkg_short_errors_supported=yes
   11670 else
   11671         _pkg_short_errors_supported=no
   11672 fi
   11673         if test $_pkg_short_errors_supported = yes; then
   11674 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   11675         else
   11676 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   11677         fi
   11678 	# Put the nasty error message in config.log where it belongs
   11679 	echo "$DRI_PKG_ERRORS" >&5
   11680 
   11681 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   11682 
   11683 $DRI_PKG_ERRORS
   11684 
   11685 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11686 installed software in a non-standard prefix.
   11687 
   11688 Alternatively, you may set the environment variables DRI_CFLAGS
   11689 and DRI_LIBS to avoid the need to call pkg-config.
   11690 See the pkg-config man page for more details." "$LINENO" 5
   11691 
   11692 elif test $pkg_failed = untried; then
   11693      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11694 $as_echo "no" >&6; }
   11695 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11697 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11698 is in your PATH or set the PKG_CONFIG environment variable to the full
   11699 path to pkg-config.
   11700 
   11701 Alternatively, you may set the environment variables DRI_CFLAGS
   11702 and DRI_LIBS to avoid the need to call pkg-config.
   11703 See the pkg-config man page for more details.
   11704 
   11705 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11706 See \`config.log' for more details" "$LINENO" 5; }
   11707 
   11708 else
   11709 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   11710 	DRI_LIBS=$pkg_cv_DRI_LIBS
   11711         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11712 $as_echo "yes" >&6; }
   11713 
   11714 fi
   11715 
   11716 $as_echo "#define XF86DRI 1" >>confdefs.h
   11717 
   11718 
   11719 $as_echo "#define XF86DRI_DEVEL 1" >>confdefs.h
   11720 
   11721 fi
   11722 
   11723 save_CFLAGS="$CFLAGS"
   11724 CFLAGS="$XORG_CFLAGS"
   11725 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   11726 "
   11727 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then :
   11728   XSERVER_LIBPCIACCESS=yes
   11729 else
   11730   XSERVER_LIBPCIACCESS=no
   11731 fi
   11732 
   11733 ac_fn_c_check_decl "$LINENO" "xf86XVFillKeyHelperDrawable" "ac_cv_have_decl_xf86XVFillKeyHelperDrawable" "#include \"xf86xv.h\"
   11734 "
   11735 if test "x$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" = x""yes; then :
   11736 
   11737 $as_echo "#define HAVE_XV_DRAWABLE_HELPER 1" >>confdefs.h
   11738 
   11739 fi
   11740 
   11741 CFLAGS="$save_CFLAGS"
   11742 
   11743 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   11744 
   11745 pkg_failed=no
   11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   11747 $as_echo_n "checking for PCIACCESS... " >&6; }
   11748 
   11749 if test -n "$PCIACCESS_CFLAGS"; then
   11750     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   11751  elif test -n "$PKG_CONFIG"; then
   11752     if test -n "$PKG_CONFIG" && \
   11753     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   11754   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   11755   ac_status=$?
   11756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11757   test $ac_status = 0; }; then
   11758   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   11759 else
   11760   pkg_failed=yes
   11761 fi
   11762  else
   11763     pkg_failed=untried
   11764 fi
   11765 if test -n "$PCIACCESS_LIBS"; then
   11766     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   11767  elif test -n "$PKG_CONFIG"; then
   11768     if test -n "$PKG_CONFIG" && \
   11769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   11770   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   11771   ac_status=$?
   11772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11773   test $ac_status = 0; }; then
   11774   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   11775 else
   11776   pkg_failed=yes
   11777 fi
   11778  else
   11779     pkg_failed=untried
   11780 fi
   11781 
   11782 
   11783 
   11784 if test $pkg_failed = yes; then
   11785    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11786 $as_echo "no" >&6; }
   11787 
   11788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11789         _pkg_short_errors_supported=yes
   11790 else
   11791         _pkg_short_errors_supported=no
   11792 fi
   11793         if test $_pkg_short_errors_supported = yes; then
   11794 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
   11795         else
   11796 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
   11797         fi
   11798 	# Put the nasty error message in config.log where it belongs
   11799 	echo "$PCIACCESS_PKG_ERRORS" >&5
   11800 
   11801 	as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
   11802 
   11803 $PCIACCESS_PKG_ERRORS
   11804 
   11805 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11806 installed software in a non-standard prefix.
   11807 
   11808 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   11809 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   11810 See the pkg-config man page for more details." "$LINENO" 5
   11811 
   11812 elif test $pkg_failed = untried; then
   11813      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11814 $as_echo "no" >&6; }
   11815 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11817 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11818 is in your PATH or set the PKG_CONFIG environment variable to the full
   11819 path to pkg-config.
   11820 
   11821 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   11822 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   11823 See the pkg-config man page for more details.
   11824 
   11825 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11826 See \`config.log' for more details" "$LINENO" 5; }
   11827 
   11828 else
   11829 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   11830 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   11831         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11832 $as_echo "yes" >&6; }
   11833 
   11834 fi
   11835 fi
   11836  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   11837   XSERVER_LIBPCIACCESS_TRUE=
   11838   XSERVER_LIBPCIACCESS_FALSE='#'
   11839 else
   11840   XSERVER_LIBPCIACCESS_TRUE='#'
   11841   XSERVER_LIBPCIACCESS_FALSE=
   11842 fi
   11843 
   11844 
   11845 
   11846 
   11847 DRIVER_NAME=savage
   11848 
   11849 
   11850 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   11851 
   11852 cat >confcache <<\_ACEOF
   11853 # This file is a shell script that caches the results of configure
   11854 # tests run on this system so they can be shared between configure
   11855 # scripts and configure runs, see configure's option --config-cache.
   11856 # It is not useful on other systems.  If it contains results you don't
   11857 # want to keep, you may remove or edit it.
   11858 #
   11859 # config.status only pays attention to the cache file if you give it
   11860 # the --recheck option to rerun configure.
   11861 #
   11862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11864 # following values.
   11865 
   11866 _ACEOF
   11867 
   11868 # The following way of writing the cache mishandles newlines in values,
   11869 # but we know of no workaround that is simple, portable, and efficient.
   11870 # So, we kill variables containing newlines.
   11871 # Ultrix sh set writes to stderr and can't be redirected directly,
   11872 # and sets the high bit in the cache file unless we assign to the vars.
   11873 (
   11874   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11875     eval ac_val=\$$ac_var
   11876     case $ac_val in #(
   11877     *${as_nl}*)
   11878       case $ac_var in #(
   11879       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11881       esac
   11882       case $ac_var in #(
   11883       _ | IFS | as_nl) ;; #(
   11884       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11885       *) { eval $ac_var=; unset $ac_var;} ;;
   11886       esac ;;
   11887     esac
   11888   done
   11889 
   11890   (set) 2>&1 |
   11891     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11892     *${as_nl}ac_space=\ *)
   11893       # `set' does not quote correctly, so add quotes: double-quote
   11894       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11895       sed -n \
   11896 	"s/'/'\\\\''/g;
   11897 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11898       ;; #(
   11899     *)
   11900       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11901       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11902       ;;
   11903     esac |
   11904     sort
   11905 ) |
   11906   sed '
   11907      /^ac_cv_env_/b end
   11908      t clear
   11909      :clear
   11910      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11911      t end
   11912      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11913      :end' >>confcache
   11914 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11915   if test -w "$cache_file"; then
   11916     test "x$cache_file" != "x/dev/null" &&
   11917       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11918 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11919     cat confcache >$cache_file
   11920   else
   11921     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11922 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11923   fi
   11924 fi
   11925 rm -f confcache
   11926 
   11927 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11928 # Let make expand exec_prefix.
   11929 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11930 
   11931 DEFS=-DHAVE_CONFIG_H
   11932 
   11933 ac_libobjs=
   11934 ac_ltlibobjs=
   11935 U=
   11936 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11937   # 1. Remove the extension, and $U if already installed.
   11938   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11939   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11940   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11941   #    will be set to the directory where LIBOBJS objects are built.
   11942   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11943   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11944 done
   11945 LIBOBJS=$ac_libobjs
   11946 
   11947 LTLIBOBJS=$ac_ltlibobjs
   11948 
   11949 
   11950  if test -n "$EXEEXT"; then
   11951   am__EXEEXT_TRUE=
   11952   am__EXEEXT_FALSE='#'
   11953 else
   11954   am__EXEEXT_TRUE='#'
   11955   am__EXEEXT_FALSE=
   11956 fi
   11957 
   11958 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11959   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11961 fi
   11962 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11963   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11965 fi
   11966 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11967   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11969 fi
   11970 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   11971   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   11972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11973 fi
   11974 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   11975   as_fn_error $? "conditional \"DRI\" was never defined.
   11976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11977 fi
   11978 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   11979   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   11980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11981 fi
   11982 
   11983 : ${CONFIG_STATUS=./config.status}
   11984 ac_write_fail=0
   11985 ac_clean_files_save=$ac_clean_files
   11986 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11987 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11988 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11989 as_write_fail=0
   11990 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11991 #! $SHELL
   11992 # Generated by $as_me.
   11993 # Run this file to recreate the current configuration.
   11994 # Compiler output produced by configure, useful for debugging
   11995 # configure, is in config.log if it exists.
   11996 
   11997 debug=false
   11998 ac_cs_recheck=false
   11999 ac_cs_silent=false
   12000 
   12001 SHELL=\${CONFIG_SHELL-$SHELL}
   12002 export SHELL
   12003 _ASEOF
   12004 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12005 ## -------------------- ##
   12006 ## M4sh Initialization. ##
   12007 ## -------------------- ##
   12008 
   12009 # Be more Bourne compatible
   12010 DUALCASE=1; export DUALCASE # for MKS sh
   12011 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12012   emulate sh
   12013   NULLCMD=:
   12014   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12015   # is contrary to our usage.  Disable this feature.
   12016   alias -g '${1+"$@"}'='"$@"'
   12017   setopt NO_GLOB_SUBST
   12018 else
   12019   case `(set -o) 2>/dev/null` in #(
   12020   *posix*) :
   12021     set -o posix ;; #(
   12022   *) :
   12023      ;;
   12024 esac
   12025 fi
   12026 
   12027 
   12028 as_nl='
   12029 '
   12030 export as_nl
   12031 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12032 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12033 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12034 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12035 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12036 # but without wasting forks for bash or zsh.
   12037 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12038     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12039   as_echo='print -r --'
   12040   as_echo_n='print -rn --'
   12041 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12042   as_echo='printf %s\n'
   12043   as_echo_n='printf %s'
   12044 else
   12045   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12046     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12047     as_echo_n='/usr/ucb/echo -n'
   12048   else
   12049     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12050     as_echo_n_body='eval
   12051       arg=$1;
   12052       case $arg in #(
   12053       *"$as_nl"*)
   12054 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12055 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12056       esac;
   12057       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12058     '
   12059     export as_echo_n_body
   12060     as_echo_n='sh -c $as_echo_n_body as_echo'
   12061   fi
   12062   export as_echo_body
   12063   as_echo='sh -c $as_echo_body as_echo'
   12064 fi
   12065 
   12066 # The user is always right.
   12067 if test "${PATH_SEPARATOR+set}" != set; then
   12068   PATH_SEPARATOR=:
   12069   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12070     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12071       PATH_SEPARATOR=';'
   12072   }
   12073 fi
   12074 
   12075 
   12076 # IFS
   12077 # We need space, tab and new line, in precisely that order.  Quoting is
   12078 # there to prevent editors from complaining about space-tab.
   12079 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12080 # splitting by setting IFS to empty value.)
   12081 IFS=" ""	$as_nl"
   12082 
   12083 # Find who we are.  Look in the path if we contain no directory separator.
   12084 case $0 in #((
   12085   *[\\/]* ) as_myself=$0 ;;
   12086   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12087 for as_dir in $PATH
   12088 do
   12089   IFS=$as_save_IFS
   12090   test -z "$as_dir" && as_dir=.
   12091     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12092   done
   12093 IFS=$as_save_IFS
   12094 
   12095      ;;
   12096 esac
   12097 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12098 # in which case we are not to be found in the path.
   12099 if test "x$as_myself" = x; then
   12100   as_myself=$0
   12101 fi
   12102 if test ! -f "$as_myself"; then
   12103   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12104   exit 1
   12105 fi
   12106 
   12107 # Unset variables that we do not need and which cause bugs (e.g. in
   12108 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12109 # suppresses any "Segmentation fault" message there.  '((' could
   12110 # trigger a bug in pdksh 5.2.14.
   12111 for as_var in BASH_ENV ENV MAIL MAILPATH
   12112 do eval test x\${$as_var+set} = xset \
   12113   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12114 done
   12115 PS1='$ '
   12116 PS2='> '
   12117 PS4='+ '
   12118 
   12119 # NLS nuisances.
   12120 LC_ALL=C
   12121 export LC_ALL
   12122 LANGUAGE=C
   12123 export LANGUAGE
   12124 
   12125 # CDPATH.
   12126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12127 
   12128 
   12129 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12130 # ----------------------------------------
   12131 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12132 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12133 # script with STATUS, using 1 if that was 0.
   12134 as_fn_error ()
   12135 {
   12136   as_status=$1; test $as_status -eq 0 && as_status=1
   12137   if test "$4"; then
   12138     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12139     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12140   fi
   12141   $as_echo "$as_me: error: $2" >&2
   12142   as_fn_exit $as_status
   12143 } # as_fn_error
   12144 
   12145 
   12146 # as_fn_set_status STATUS
   12147 # -----------------------
   12148 # Set $? to STATUS, without forking.
   12149 as_fn_set_status ()
   12150 {
   12151   return $1
   12152 } # as_fn_set_status
   12153 
   12154 # as_fn_exit STATUS
   12155 # -----------------
   12156 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12157 as_fn_exit ()
   12158 {
   12159   set +e
   12160   as_fn_set_status $1
   12161   exit $1
   12162 } # as_fn_exit
   12163 
   12164 # as_fn_unset VAR
   12165 # ---------------
   12166 # Portably unset VAR.
   12167 as_fn_unset ()
   12168 {
   12169   { eval $1=; unset $1;}
   12170 }
   12171 as_unset=as_fn_unset
   12172 # as_fn_append VAR VALUE
   12173 # ----------------------
   12174 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12175 # advantage of any shell optimizations that allow amortized linear growth over
   12176 # repeated appends, instead of the typical quadratic growth present in naive
   12177 # implementations.
   12178 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12179   eval 'as_fn_append ()
   12180   {
   12181     eval $1+=\$2
   12182   }'
   12183 else
   12184   as_fn_append ()
   12185   {
   12186     eval $1=\$$1\$2
   12187   }
   12188 fi # as_fn_append
   12189 
   12190 # as_fn_arith ARG...
   12191 # ------------------
   12192 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12193 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12194 # must be portable across $(()) and expr.
   12195 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12196   eval 'as_fn_arith ()
   12197   {
   12198     as_val=$(( $* ))
   12199   }'
   12200 else
   12201   as_fn_arith ()
   12202   {
   12203     as_val=`expr "$@" || test $? -eq 1`
   12204   }
   12205 fi # as_fn_arith
   12206 
   12207 
   12208 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12209    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12210   as_expr=expr
   12211 else
   12212   as_expr=false
   12213 fi
   12214 
   12215 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12216   as_basename=basename
   12217 else
   12218   as_basename=false
   12219 fi
   12220 
   12221 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12222   as_dirname=dirname
   12223 else
   12224   as_dirname=false
   12225 fi
   12226 
   12227 as_me=`$as_basename -- "$0" ||
   12228 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12229 	 X"$0" : 'X\(//\)$' \| \
   12230 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12231 $as_echo X/"$0" |
   12232     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12233 	    s//\1/
   12234 	    q
   12235 	  }
   12236 	  /^X\/\(\/\/\)$/{
   12237 	    s//\1/
   12238 	    q
   12239 	  }
   12240 	  /^X\/\(\/\).*/{
   12241 	    s//\1/
   12242 	    q
   12243 	  }
   12244 	  s/.*/./; q'`
   12245 
   12246 # Avoid depending upon Character Ranges.
   12247 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12248 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12249 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12250 as_cr_digits='0123456789'
   12251 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12252 
   12253 ECHO_C= ECHO_N= ECHO_T=
   12254 case `echo -n x` in #(((((
   12255 -n*)
   12256   case `echo 'xy\c'` in
   12257   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12258   xy)  ECHO_C='\c';;
   12259   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12260        ECHO_T='	';;
   12261   esac;;
   12262 *)
   12263   ECHO_N='-n';;
   12264 esac
   12265 
   12266 rm -f conf$$ conf$$.exe conf$$.file
   12267 if test -d conf$$.dir; then
   12268   rm -f conf$$.dir/conf$$.file
   12269 else
   12270   rm -f conf$$.dir
   12271   mkdir conf$$.dir 2>/dev/null
   12272 fi
   12273 if (echo >conf$$.file) 2>/dev/null; then
   12274   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12275     as_ln_s='ln -s'
   12276     # ... but there are two gotchas:
   12277     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12278     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12279     # In both cases, we have to default to `cp -p'.
   12280     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12281       as_ln_s='cp -p'
   12282   elif ln conf$$.file conf$$ 2>/dev/null; then
   12283     as_ln_s=ln
   12284   else
   12285     as_ln_s='cp -p'
   12286   fi
   12287 else
   12288   as_ln_s='cp -p'
   12289 fi
   12290 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12291 rmdir conf$$.dir 2>/dev/null
   12292 
   12293 
   12294 # as_fn_mkdir_p
   12295 # -------------
   12296 # Create "$as_dir" as a directory, including parents if necessary.
   12297 as_fn_mkdir_p ()
   12298 {
   12299 
   12300   case $as_dir in #(
   12301   -*) as_dir=./$as_dir;;
   12302   esac
   12303   test -d "$as_dir" || eval $as_mkdir_p || {
   12304     as_dirs=
   12305     while :; do
   12306       case $as_dir in #(
   12307       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12308       *) as_qdir=$as_dir;;
   12309       esac
   12310       as_dirs="'$as_qdir' $as_dirs"
   12311       as_dir=`$as_dirname -- "$as_dir" ||
   12312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12313 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12314 	 X"$as_dir" : 'X\(//\)$' \| \
   12315 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12316 $as_echo X"$as_dir" |
   12317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12318 	    s//\1/
   12319 	    q
   12320 	  }
   12321 	  /^X\(\/\/\)[^/].*/{
   12322 	    s//\1/
   12323 	    q
   12324 	  }
   12325 	  /^X\(\/\/\)$/{
   12326 	    s//\1/
   12327 	    q
   12328 	  }
   12329 	  /^X\(\/\).*/{
   12330 	    s//\1/
   12331 	    q
   12332 	  }
   12333 	  s/.*/./; q'`
   12334       test -d "$as_dir" && break
   12335     done
   12336     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12337   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12338 
   12339 
   12340 } # as_fn_mkdir_p
   12341 if mkdir -p . 2>/dev/null; then
   12342   as_mkdir_p='mkdir -p "$as_dir"'
   12343 else
   12344   test -d ./-p && rmdir ./-p
   12345   as_mkdir_p=false
   12346 fi
   12347 
   12348 if test -x / >/dev/null 2>&1; then
   12349   as_test_x='test -x'
   12350 else
   12351   if ls -dL / >/dev/null 2>&1; then
   12352     as_ls_L_option=L
   12353   else
   12354     as_ls_L_option=
   12355   fi
   12356   as_test_x='
   12357     eval sh -c '\''
   12358       if test -d "$1"; then
   12359 	test -d "$1/.";
   12360       else
   12361 	case $1 in #(
   12362 	-*)set "./$1";;
   12363 	esac;
   12364 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12365 	???[sx]*):;;*)false;;esac;fi
   12366     '\'' sh
   12367   '
   12368 fi
   12369 as_executable_p=$as_test_x
   12370 
   12371 # Sed expression to map a string onto a valid CPP name.
   12372 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12373 
   12374 # Sed expression to map a string onto a valid variable name.
   12375 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12376 
   12377 
   12378 exec 6>&1
   12379 ## ----------------------------------- ##
   12380 ## Main body of $CONFIG_STATUS script. ##
   12381 ## ----------------------------------- ##
   12382 _ASEOF
   12383 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12384 
   12385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12386 # Save the log message, to keep $0 and so on meaningful, and to
   12387 # report actual input values of CONFIG_FILES etc. instead of their
   12388 # values after options handling.
   12389 ac_log="
   12390 This file was extended by xf86-video-savage $as_me 2.3.2, which was
   12391 generated by GNU Autoconf 2.66.  Invocation command line was
   12392 
   12393   CONFIG_FILES    = $CONFIG_FILES
   12394   CONFIG_HEADERS  = $CONFIG_HEADERS
   12395   CONFIG_LINKS    = $CONFIG_LINKS
   12396   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12397   $ $0 $@
   12398 
   12399 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12400 "
   12401 
   12402 _ACEOF
   12403 
   12404 case $ac_config_files in *"
   12405 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12406 esac
   12407 
   12408 case $ac_config_headers in *"
   12409 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12410 esac
   12411 
   12412 
   12413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12414 # Files that config.status was made for.
   12415 config_files="$ac_config_files"
   12416 config_headers="$ac_config_headers"
   12417 config_commands="$ac_config_commands"
   12418 
   12419 _ACEOF
   12420 
   12421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12422 ac_cs_usage="\
   12423 \`$as_me' instantiates files and other configuration actions
   12424 from templates according to the current configuration.  Unless the files
   12425 and actions are specified as TAGs, all are instantiated by default.
   12426 
   12427 Usage: $0 [OPTION]... [TAG]...
   12428 
   12429   -h, --help       print this help, then exit
   12430   -V, --version    print version number and configuration settings, then exit
   12431       --config     print configuration, then exit
   12432   -q, --quiet, --silent
   12433                    do not print progress messages
   12434   -d, --debug      don't remove temporary files
   12435       --recheck    update $as_me by reconfiguring in the same conditions
   12436       --file=FILE[:TEMPLATE]
   12437                    instantiate the configuration file FILE
   12438       --header=FILE[:TEMPLATE]
   12439                    instantiate the configuration header FILE
   12440 
   12441 Configuration files:
   12442 $config_files
   12443 
   12444 Configuration headers:
   12445 $config_headers
   12446 
   12447 Configuration commands:
   12448 $config_commands
   12449 
   12450 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12451 
   12452 _ACEOF
   12453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12454 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12455 ac_cs_version="\\
   12456 xf86-video-savage config.status 2.3.2
   12457 configured by $0, generated by GNU Autoconf 2.66,
   12458   with options \\"\$ac_cs_config\\"
   12459 
   12460 Copyright (C) 2010 Free Software Foundation, Inc.
   12461 This config.status script is free software; the Free Software Foundation
   12462 gives unlimited permission to copy, distribute and modify it."
   12463 
   12464 ac_pwd='$ac_pwd'
   12465 srcdir='$srcdir'
   12466 INSTALL='$INSTALL'
   12467 MKDIR_P='$MKDIR_P'
   12468 AWK='$AWK'
   12469 test -n "\$AWK" || AWK=awk
   12470 _ACEOF
   12471 
   12472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12473 # The default lists apply if the user does not specify any file.
   12474 ac_need_defaults=:
   12475 while test $# != 0
   12476 do
   12477   case $1 in
   12478   --*=*)
   12479     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12480     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12481     ac_shift=:
   12482     ;;
   12483   *)
   12484     ac_option=$1
   12485     ac_optarg=$2
   12486     ac_shift=shift
   12487     ;;
   12488   esac
   12489 
   12490   case $ac_option in
   12491   # Handling of the options.
   12492   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12493     ac_cs_recheck=: ;;
   12494   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12495     $as_echo "$ac_cs_version"; exit ;;
   12496   --config | --confi | --conf | --con | --co | --c )
   12497     $as_echo "$ac_cs_config"; exit ;;
   12498   --debug | --debu | --deb | --de | --d | -d )
   12499     debug=: ;;
   12500   --file | --fil | --fi | --f )
   12501     $ac_shift
   12502     case $ac_optarg in
   12503     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12504     esac
   12505     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12506     ac_need_defaults=false;;
   12507   --header | --heade | --head | --hea )
   12508     $ac_shift
   12509     case $ac_optarg in
   12510     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12511     esac
   12512     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12513     ac_need_defaults=false;;
   12514   --he | --h)
   12515     # Conflict between --help and --header
   12516     as_fn_error $? "ambiguous option: \`$1'
   12517 Try \`$0 --help' for more information.";;
   12518   --help | --hel | -h )
   12519     $as_echo "$ac_cs_usage"; exit ;;
   12520   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12521   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12522     ac_cs_silent=: ;;
   12523 
   12524   # This is an error.
   12525   -*) as_fn_error $? "unrecognized option: \`$1'
   12526 Try \`$0 --help' for more information." ;;
   12527 
   12528   *) as_fn_append ac_config_targets " $1"
   12529      ac_need_defaults=false ;;
   12530 
   12531   esac
   12532   shift
   12533 done
   12534 
   12535 ac_configure_extra_args=
   12536 
   12537 if $ac_cs_silent; then
   12538   exec 6>/dev/null
   12539   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12540 fi
   12541 
   12542 _ACEOF
   12543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12544 if \$ac_cs_recheck; then
   12545   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12546   shift
   12547   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12548   CONFIG_SHELL='$SHELL'
   12549   export CONFIG_SHELL
   12550   exec "\$@"
   12551 fi
   12552 
   12553 _ACEOF
   12554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12555 exec 5>>config.log
   12556 {
   12557   echo
   12558   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12559 ## Running $as_me. ##
   12560 _ASBOX
   12561   $as_echo "$ac_log"
   12562 } >&5
   12563 
   12564 _ACEOF
   12565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12566 #
   12567 # INIT-COMMANDS
   12568 #
   12569 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12570 
   12571 
   12572 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12573 # if CDPATH is set.
   12574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12575 
   12576 sed_quote_subst='$sed_quote_subst'
   12577 double_quote_subst='$double_quote_subst'
   12578 delay_variable_subst='$delay_variable_subst'
   12579 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   12580 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   12581 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   12582 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   12583 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   12584 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   12585 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   12586 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   12587 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   12588 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   12589 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   12590 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   12591 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   12592 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   12593 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   12594 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   12595 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   12596 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   12597 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   12598 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   12599 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   12600 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   12601 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   12602 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   12603 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   12604 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   12605 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   12606 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   12607 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   12608 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   12609 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   12610 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   12611 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   12612 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   12613 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   12614 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   12615 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   12616 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   12617 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   12618 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   12619 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   12620 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   12621 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   12622 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   12623 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   12624 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   12625 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   12626 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   12627 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"`'
   12628 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   12629 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   12630 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   12631 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   12632 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   12633 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   12634 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   12635 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   12636 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   12637 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   12638 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   12639 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   12640 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   12641 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   12642 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   12643 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   12644 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   12645 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   12646 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   12647 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   12648 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   12649 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   12650 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   12651 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   12652 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   12653 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   12654 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   12655 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   12656 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   12657 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   12658 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   12659 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   12660 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   12661 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   12662 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   12663 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   12664 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   12665 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   12666 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   12667 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   12668 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   12669 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   12670 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   12671 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   12672 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   12673 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   12674 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   12675 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   12676 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   12677 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   12678 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   12679 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   12680 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   12681 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   12682 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   12683 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   12684 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   12685 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   12686 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   12687 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   12688 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   12689 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   12690 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   12691 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   12692 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   12693 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   12694 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   12695 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   12696 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   12697 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   12698 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   12699 
   12700 LTCC='$LTCC'
   12701 LTCFLAGS='$LTCFLAGS'
   12702 compiler='$compiler_DEFAULT'
   12703 
   12704 # A function that is used when there is no print builtin or printf.
   12705 func_fallback_echo ()
   12706 {
   12707   eval 'cat <<_LTECHO_EOF
   12708 \$1
   12709 _LTECHO_EOF'
   12710 }
   12711 
   12712 # Quote evaled strings.
   12713 for var in SHELL \
   12714 ECHO \
   12715 SED \
   12716 GREP \
   12717 EGREP \
   12718 FGREP \
   12719 LD \
   12720 NM \
   12721 LN_S \
   12722 lt_SP2NL \
   12723 lt_NL2SP \
   12724 reload_flag \
   12725 OBJDUMP \
   12726 deplibs_check_method \
   12727 file_magic_cmd \
   12728 AR \
   12729 AR_FLAGS \
   12730 STRIP \
   12731 RANLIB \
   12732 CC \
   12733 CFLAGS \
   12734 compiler \
   12735 lt_cv_sys_global_symbol_pipe \
   12736 lt_cv_sys_global_symbol_to_cdecl \
   12737 lt_cv_sys_global_symbol_to_c_name_address \
   12738 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12739 lt_prog_compiler_no_builtin_flag \
   12740 lt_prog_compiler_wl \
   12741 lt_prog_compiler_pic \
   12742 lt_prog_compiler_static \
   12743 lt_cv_prog_compiler_c_o \
   12744 need_locks \
   12745 DSYMUTIL \
   12746 NMEDIT \
   12747 LIPO \
   12748 OTOOL \
   12749 OTOOL64 \
   12750 shrext_cmds \
   12751 export_dynamic_flag_spec \
   12752 whole_archive_flag_spec \
   12753 compiler_needs_object \
   12754 with_gnu_ld \
   12755 allow_undefined_flag \
   12756 no_undefined_flag \
   12757 hardcode_libdir_flag_spec \
   12758 hardcode_libdir_flag_spec_ld \
   12759 hardcode_libdir_separator \
   12760 fix_srcfile_path \
   12761 exclude_expsyms \
   12762 include_expsyms \
   12763 file_list_spec \
   12764 variables_saved_for_relink \
   12765 libname_spec \
   12766 library_names_spec \
   12767 soname_spec \
   12768 install_override_mode \
   12769 finish_eval \
   12770 old_striplib \
   12771 striplib; do
   12772     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   12773     *[\\\\\\\`\\"\\\$]*)
   12774       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12775       ;;
   12776     *)
   12777       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12778       ;;
   12779     esac
   12780 done
   12781 
   12782 # Double-quote double-evaled strings.
   12783 for var in reload_cmds \
   12784 old_postinstall_cmds \
   12785 old_postuninstall_cmds \
   12786 old_archive_cmds \
   12787 extract_expsyms_cmds \
   12788 old_archive_from_new_cmds \
   12789 old_archive_from_expsyms_cmds \
   12790 archive_cmds \
   12791 archive_expsym_cmds \
   12792 module_cmds \
   12793 module_expsym_cmds \
   12794 export_symbols_cmds \
   12795 prelink_cmds \
   12796 postinstall_cmds \
   12797 postuninstall_cmds \
   12798 finish_cmds \
   12799 sys_lib_search_path_spec \
   12800 sys_lib_dlsearch_path_spec; do
   12801     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   12802     *[\\\\\\\`\\"\\\$]*)
   12803       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12804       ;;
   12805     *)
   12806       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12807       ;;
   12808     esac
   12809 done
   12810 
   12811 ac_aux_dir='$ac_aux_dir'
   12812 xsi_shell='$xsi_shell'
   12813 lt_shell_append='$lt_shell_append'
   12814 
   12815 # See if we are running on zsh, and set the options which allow our
   12816 # commands through without removal of \ escapes INIT.
   12817 if test -n "\${ZSH_VERSION+set}" ; then
   12818    setopt NO_GLOB_SUBST
   12819 fi
   12820 
   12821 
   12822     PACKAGE='$PACKAGE'
   12823     VERSION='$VERSION'
   12824     TIMESTAMP='$TIMESTAMP'
   12825     RM='$RM'
   12826     ofile='$ofile'
   12827 
   12828 
   12829 
   12830 
   12831 _ACEOF
   12832 
   12833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12834 
   12835 # Handling of arguments.
   12836 for ac_config_target in $ac_config_targets
   12837 do
   12838   case $ac_config_target in
   12839     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12840     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12841     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12842     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12843     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12844     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12845 
   12846   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12847   esac
   12848 done
   12849 
   12850 
   12851 # If the user did not use the arguments to specify the items to instantiate,
   12852 # then the envvar interface is used.  Set only those that are not.
   12853 # We use the long form for the default assignment because of an extremely
   12854 # bizarre bug on SunOS 4.1.3.
   12855 if $ac_need_defaults; then
   12856   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12857   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12858   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12859 fi
   12860 
   12861 # Have a temporary directory for convenience.  Make it in the build tree
   12862 # simply because there is no reason against having it here, and in addition,
   12863 # creating and moving files from /tmp can sometimes cause problems.
   12864 # Hook for its removal unless debugging.
   12865 # Note that there is a small window in which the directory will not be cleaned:
   12866 # after its creation but before its name has been assigned to `$tmp'.
   12867 $debug ||
   12868 {
   12869   tmp=
   12870   trap 'exit_status=$?
   12871   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12872 ' 0
   12873   trap 'as_fn_exit 1' 1 2 13 15
   12874 }
   12875 # Create a (secure) tmp directory for tmp files.
   12876 
   12877 {
   12878   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12879   test -n "$tmp" && test -d "$tmp"
   12880 }  ||
   12881 {
   12882   tmp=./conf$$-$RANDOM
   12883   (umask 077 && mkdir "$tmp")
   12884 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12885 
   12886 # Set up the scripts for CONFIG_FILES section.
   12887 # No need to generate them if there are no CONFIG_FILES.
   12888 # This happens for instance with `./config.status config.h'.
   12889 if test -n "$CONFIG_FILES"; then
   12890 
   12891 
   12892 ac_cr=`echo X | tr X '\015'`
   12893 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12894 # But we know of no other shell where ac_cr would be empty at this
   12895 # point, so we can use a bashism as a fallback.
   12896 if test "x$ac_cr" = x; then
   12897   eval ac_cr=\$\'\\r\'
   12898 fi
   12899 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12900 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12901   ac_cs_awk_cr='\\r'
   12902 else
   12903   ac_cs_awk_cr=$ac_cr
   12904 fi
   12905 
   12906 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12907 _ACEOF
   12908 
   12909 
   12910 {
   12911   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12912   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12913   echo "_ACEOF"
   12914 } >conf$$subs.sh ||
   12915   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12916 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12917 ac_delim='%!_!# '
   12918 for ac_last_try in false false false false false :; do
   12919   . ./conf$$subs.sh ||
   12920     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12921 
   12922   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12923   if test $ac_delim_n = $ac_delim_num; then
   12924     break
   12925   elif $ac_last_try; then
   12926     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12927   else
   12928     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12929   fi
   12930 done
   12931 rm -f conf$$subs.sh
   12932 
   12933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12934 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12935 _ACEOF
   12936 sed -n '
   12937 h
   12938 s/^/S["/; s/!.*/"]=/
   12939 p
   12940 g
   12941 s/^[^!]*!//
   12942 :repl
   12943 t repl
   12944 s/'"$ac_delim"'$//
   12945 t delim
   12946 :nl
   12947 h
   12948 s/\(.\{148\}\)..*/\1/
   12949 t more1
   12950 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12951 p
   12952 n
   12953 b repl
   12954 :more1
   12955 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12956 p
   12957 g
   12958 s/.\{148\}//
   12959 t nl
   12960 :delim
   12961 h
   12962 s/\(.\{148\}\)..*/\1/
   12963 t more2
   12964 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12965 p
   12966 b
   12967 :more2
   12968 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12969 p
   12970 g
   12971 s/.\{148\}//
   12972 t delim
   12973 ' <conf$$subs.awk | sed '
   12974 /^[^""]/{
   12975   N
   12976   s/\n//
   12977 }
   12978 ' >>$CONFIG_STATUS || ac_write_fail=1
   12979 rm -f conf$$subs.awk
   12980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12981 _ACAWK
   12982 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12983   for (key in S) S_is_set[key] = 1
   12984   FS = ""
   12985 
   12986 }
   12987 {
   12988   line = $ 0
   12989   nfields = split(line, field, "@")
   12990   substed = 0
   12991   len = length(field[1])
   12992   for (i = 2; i < nfields; i++) {
   12993     key = field[i]
   12994     keylen = length(key)
   12995     if (S_is_set[key]) {
   12996       value = S[key]
   12997       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12998       len += length(value) + length(field[++i])
   12999       substed = 1
   13000     } else
   13001       len += 1 + keylen
   13002   }
   13003 
   13004   print line
   13005 }
   13006 
   13007 _ACAWK
   13008 _ACEOF
   13009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13010 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13011   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13012 else
   13013   cat
   13014 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13015   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13016 _ACEOF
   13017 
   13018 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13019 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13020 # trailing colons and then remove the whole line if VPATH becomes empty
   13021 # (actually we leave an empty line to preserve line numbers).
   13022 if test "x$srcdir" = x.; then
   13023   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13024 h
   13025 s///
   13026 s/^/:/
   13027 s/[	 ]*$/:/
   13028 s/:\$(srcdir):/:/g
   13029 s/:\${srcdir}:/:/g
   13030 s/:@srcdir@:/:/g
   13031 s/^:*//
   13032 s/:*$//
   13033 x
   13034 s/\(=[	 ]*\).*/\1/
   13035 G
   13036 s/\n//
   13037 s/^[^=]*=[	 ]*$//
   13038 }'
   13039 fi
   13040 
   13041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13042 fi # test -n "$CONFIG_FILES"
   13043 
   13044 # Set up the scripts for CONFIG_HEADERS section.
   13045 # No need to generate them if there are no CONFIG_HEADERS.
   13046 # This happens for instance with `./config.status Makefile'.
   13047 if test -n "$CONFIG_HEADERS"; then
   13048 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13049 BEGIN {
   13050 _ACEOF
   13051 
   13052 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13053 # here-document in config.status, that substitutes the proper values into
   13054 # config.h.in to produce config.h.
   13055 
   13056 # Create a delimiter string that does not exist in confdefs.h, to ease
   13057 # handling of long lines.
   13058 ac_delim='%!_!# '
   13059 for ac_last_try in false false :; do
   13060   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13061   if test -z "$ac_t"; then
   13062     break
   13063   elif $ac_last_try; then
   13064     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13065   else
   13066     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13067   fi
   13068 done
   13069 
   13070 # For the awk script, D is an array of macro values keyed by name,
   13071 # likewise P contains macro parameters if any.  Preserve backslash
   13072 # newline sequences.
   13073 
   13074 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13075 sed -n '
   13076 s/.\{148\}/&'"$ac_delim"'/g
   13077 t rset
   13078 :rset
   13079 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13080 t def
   13081 d
   13082 :def
   13083 s/\\$//
   13084 t bsnl
   13085 s/["\\]/\\&/g
   13086 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13087 D["\1"]=" \3"/p
   13088 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13089 d
   13090 :bsnl
   13091 s/["\\]/\\&/g
   13092 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13093 D["\1"]=" \3\\\\\\n"\\/p
   13094 t cont
   13095 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13096 t cont
   13097 d
   13098 :cont
   13099 n
   13100 s/.\{148\}/&'"$ac_delim"'/g
   13101 t clear
   13102 :clear
   13103 s/\\$//
   13104 t bsnlc
   13105 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13106 d
   13107 :bsnlc
   13108 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13109 b cont
   13110 ' <confdefs.h | sed '
   13111 s/'"$ac_delim"'/"\\\
   13112 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13113 
   13114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13115   for (key in D) D_is_set[key] = 1
   13116   FS = ""
   13117 }
   13118 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13119   line = \$ 0
   13120   split(line, arg, " ")
   13121   if (arg[1] == "#") {
   13122     defundef = arg[2]
   13123     mac1 = arg[3]
   13124   } else {
   13125     defundef = substr(arg[1], 2)
   13126     mac1 = arg[2]
   13127   }
   13128   split(mac1, mac2, "(") #)
   13129   macro = mac2[1]
   13130   prefix = substr(line, 1, index(line, defundef) - 1)
   13131   if (D_is_set[macro]) {
   13132     # Preserve the white space surrounding the "#".
   13133     print prefix "define", macro P[macro] D[macro]
   13134     next
   13135   } else {
   13136     # Replace #undef with comments.  This is necessary, for example,
   13137     # in the case of _POSIX_SOURCE, which is predefined and required
   13138     # on some systems where configure will not decide to define it.
   13139     if (defundef == "undef") {
   13140       print "/*", prefix defundef, macro, "*/"
   13141       next
   13142     }
   13143   }
   13144 }
   13145 { print }
   13146 _ACAWK
   13147 _ACEOF
   13148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13149   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13150 fi # test -n "$CONFIG_HEADERS"
   13151 
   13152 
   13153 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13154 shift
   13155 for ac_tag
   13156 do
   13157   case $ac_tag in
   13158   :[FHLC]) ac_mode=$ac_tag; continue;;
   13159   esac
   13160   case $ac_mode$ac_tag in
   13161   :[FHL]*:*);;
   13162   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13163   :[FH]-) ac_tag=-:-;;
   13164   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13165   esac
   13166   ac_save_IFS=$IFS
   13167   IFS=:
   13168   set x $ac_tag
   13169   IFS=$ac_save_IFS
   13170   shift
   13171   ac_file=$1
   13172   shift
   13173 
   13174   case $ac_mode in
   13175   :L) ac_source=$1;;
   13176   :[FH])
   13177     ac_file_inputs=
   13178     for ac_f
   13179     do
   13180       case $ac_f in
   13181       -) ac_f="$tmp/stdin";;
   13182       *) # Look for the file first in the build tree, then in the source tree
   13183 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13184 	 # because $ac_f cannot contain `:'.
   13185 	 test -f "$ac_f" ||
   13186 	   case $ac_f in
   13187 	   [\\/$]*) false;;
   13188 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13189 	   esac ||
   13190 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13191       esac
   13192       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13193       as_fn_append ac_file_inputs " '$ac_f'"
   13194     done
   13195 
   13196     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13197     # use $as_me), people would be surprised to read:
   13198     #    /* config.h.  Generated by config.status.  */
   13199     configure_input='Generated from '`
   13200 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13201 	`' by configure.'
   13202     if test x"$ac_file" != x-; then
   13203       configure_input="$ac_file.  $configure_input"
   13204       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13205 $as_echo "$as_me: creating $ac_file" >&6;}
   13206     fi
   13207     # Neutralize special characters interpreted by sed in replacement strings.
   13208     case $configure_input in #(
   13209     *\&* | *\|* | *\\* )
   13210        ac_sed_conf_input=`$as_echo "$configure_input" |
   13211        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13212     *) ac_sed_conf_input=$configure_input;;
   13213     esac
   13214 
   13215     case $ac_tag in
   13216     *:-:* | *:-) cat >"$tmp/stdin" \
   13217       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13218     esac
   13219     ;;
   13220   esac
   13221 
   13222   ac_dir=`$as_dirname -- "$ac_file" ||
   13223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13224 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13225 	 X"$ac_file" : 'X\(//\)$' \| \
   13226 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13227 $as_echo X"$ac_file" |
   13228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13229 	    s//\1/
   13230 	    q
   13231 	  }
   13232 	  /^X\(\/\/\)[^/].*/{
   13233 	    s//\1/
   13234 	    q
   13235 	  }
   13236 	  /^X\(\/\/\)$/{
   13237 	    s//\1/
   13238 	    q
   13239 	  }
   13240 	  /^X\(\/\).*/{
   13241 	    s//\1/
   13242 	    q
   13243 	  }
   13244 	  s/.*/./; q'`
   13245   as_dir="$ac_dir"; as_fn_mkdir_p
   13246   ac_builddir=.
   13247 
   13248 case "$ac_dir" in
   13249 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13250 *)
   13251   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13252   # A ".." for each directory in $ac_dir_suffix.
   13253   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13254   case $ac_top_builddir_sub in
   13255   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13256   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13257   esac ;;
   13258 esac
   13259 ac_abs_top_builddir=$ac_pwd
   13260 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13261 # for backward compatibility:
   13262 ac_top_builddir=$ac_top_build_prefix
   13263 
   13264 case $srcdir in
   13265   .)  # We are building in place.
   13266     ac_srcdir=.
   13267     ac_top_srcdir=$ac_top_builddir_sub
   13268     ac_abs_top_srcdir=$ac_pwd ;;
   13269   [\\/]* | ?:[\\/]* )  # Absolute name.
   13270     ac_srcdir=$srcdir$ac_dir_suffix;
   13271     ac_top_srcdir=$srcdir
   13272     ac_abs_top_srcdir=$srcdir ;;
   13273   *) # Relative name.
   13274     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13275     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13276     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13277 esac
   13278 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13279 
   13280 
   13281   case $ac_mode in
   13282   :F)
   13283   #
   13284   # CONFIG_FILE
   13285   #
   13286 
   13287   case $INSTALL in
   13288   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13289   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13290   esac
   13291   ac_MKDIR_P=$MKDIR_P
   13292   case $MKDIR_P in
   13293   [\\/$]* | ?:[\\/]* ) ;;
   13294   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13295   esac
   13296 _ACEOF
   13297 
   13298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13299 # If the template does not know about datarootdir, expand it.
   13300 # FIXME: This hack should be removed a few years after 2.60.
   13301 ac_datarootdir_hack=; ac_datarootdir_seen=
   13302 ac_sed_dataroot='
   13303 /datarootdir/ {
   13304   p
   13305   q
   13306 }
   13307 /@datadir@/p
   13308 /@docdir@/p
   13309 /@infodir@/p
   13310 /@localedir@/p
   13311 /@mandir@/p'
   13312 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13313 *datarootdir*) ac_datarootdir_seen=yes;;
   13314 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13315   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13316 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13317 _ACEOF
   13318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13319   ac_datarootdir_hack='
   13320   s&@datadir@&$datadir&g
   13321   s&@docdir@&$docdir&g
   13322   s&@infodir@&$infodir&g
   13323   s&@localedir@&$localedir&g
   13324   s&@mandir@&$mandir&g
   13325   s&\\\${datarootdir}&$datarootdir&g' ;;
   13326 esac
   13327 _ACEOF
   13328 
   13329 # Neutralize VPATH when `$srcdir' = `.'.
   13330 # Shell code in configure.ac might set extrasub.
   13331 # FIXME: do we really want to maintain this feature?
   13332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13333 ac_sed_extra="$ac_vpsub
   13334 $extrasub
   13335 _ACEOF
   13336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13337 :t
   13338 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13339 s|@configure_input@|$ac_sed_conf_input|;t t
   13340 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13341 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13342 s&@srcdir@&$ac_srcdir&;t t
   13343 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13344 s&@top_srcdir@&$ac_top_srcdir&;t t
   13345 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13346 s&@builddir@&$ac_builddir&;t t
   13347 s&@abs_builddir@&$ac_abs_builddir&;t t
   13348 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13349 s&@INSTALL@&$ac_INSTALL&;t t
   13350 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13351 $ac_datarootdir_hack
   13352 "
   13353 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13354   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13355 
   13356 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13357   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13358   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13359   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13360 which seems to be undefined.  Please make sure it is defined" >&5
   13361 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13362 which seems to be undefined.  Please make sure it is defined" >&2;}
   13363 
   13364   rm -f "$tmp/stdin"
   13365   case $ac_file in
   13366   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13367   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13368   esac \
   13369   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13370  ;;
   13371   :H)
   13372   #
   13373   # CONFIG_HEADER
   13374   #
   13375   if test x"$ac_file" != x-; then
   13376     {
   13377       $as_echo "/* $configure_input  */" \
   13378       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13379     } >"$tmp/config.h" \
   13380       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13381     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13382       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13383 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13384     else
   13385       rm -f "$ac_file"
   13386       mv "$tmp/config.h" "$ac_file" \
   13387 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13388     fi
   13389   else
   13390     $as_echo "/* $configure_input  */" \
   13391       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13392       || as_fn_error $? "could not create -" "$LINENO" 5
   13393   fi
   13394 # Compute "$ac_file"'s index in $config_headers.
   13395 _am_arg="$ac_file"
   13396 _am_stamp_count=1
   13397 for _am_header in $config_headers :; do
   13398   case $_am_header in
   13399     $_am_arg | $_am_arg:* )
   13400       break ;;
   13401     * )
   13402       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13403   esac
   13404 done
   13405 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13406 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13407 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13408 	 X"$_am_arg" : 'X\(//\)$' \| \
   13409 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13410 $as_echo X"$_am_arg" |
   13411     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13412 	    s//\1/
   13413 	    q
   13414 	  }
   13415 	  /^X\(\/\/\)[^/].*/{
   13416 	    s//\1/
   13417 	    q
   13418 	  }
   13419 	  /^X\(\/\/\)$/{
   13420 	    s//\1/
   13421 	    q
   13422 	  }
   13423 	  /^X\(\/\).*/{
   13424 	    s//\1/
   13425 	    q
   13426 	  }
   13427 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13428  ;;
   13429 
   13430   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13431 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13432  ;;
   13433   esac
   13434 
   13435 
   13436   case $ac_file$ac_mode in
   13437     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13438   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13439   # are listed without --file.  Let's play safe and only enable the eval
   13440   # if we detect the quoting.
   13441   case $CONFIG_FILES in
   13442   *\'*) eval set x "$CONFIG_FILES" ;;
   13443   *)   set x $CONFIG_FILES ;;
   13444   esac
   13445   shift
   13446   for mf
   13447   do
   13448     # Strip MF so we end up with the name of the file.
   13449     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13450     # Check whether this is an Automake generated Makefile or not.
   13451     # We used to match only the files named `Makefile.in', but
   13452     # some people rename them; so instead we look at the file content.
   13453     # Grep'ing the first line is not enough: some people post-process
   13454     # each Makefile.in and add a new line on top of each file to say so.
   13455     # Grep'ing the whole file is not good either: AIX grep has a line
   13456     # limit of 2048, but all sed's we know have understand at least 4000.
   13457     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13458       dirpart=`$as_dirname -- "$mf" ||
   13459 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13460 	 X"$mf" : 'X\(//\)[^/]' \| \
   13461 	 X"$mf" : 'X\(//\)$' \| \
   13462 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13463 $as_echo X"$mf" |
   13464     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13465 	    s//\1/
   13466 	    q
   13467 	  }
   13468 	  /^X\(\/\/\)[^/].*/{
   13469 	    s//\1/
   13470 	    q
   13471 	  }
   13472 	  /^X\(\/\/\)$/{
   13473 	    s//\1/
   13474 	    q
   13475 	  }
   13476 	  /^X\(\/\).*/{
   13477 	    s//\1/
   13478 	    q
   13479 	  }
   13480 	  s/.*/./; q'`
   13481     else
   13482       continue
   13483     fi
   13484     # Extract the definition of DEPDIR, am__include, and am__quote
   13485     # from the Makefile without running `make'.
   13486     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13487     test -z "$DEPDIR" && continue
   13488     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13489     test -z "am__include" && continue
   13490     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13491     # When using ansi2knr, U may be empty or an underscore; expand it
   13492     U=`sed -n 's/^U = //p' < "$mf"`
   13493     # Find all dependency output files, they are included files with
   13494     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13495     # simplest approach to changing $(DEPDIR) to its actual value in the
   13496     # expansion.
   13497     for file in `sed -n "
   13498       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13499 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13500       # Make sure the directory exists.
   13501       test -f "$dirpart/$file" && continue
   13502       fdir=`$as_dirname -- "$file" ||
   13503 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13504 	 X"$file" : 'X\(//\)[^/]' \| \
   13505 	 X"$file" : 'X\(//\)$' \| \
   13506 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13507 $as_echo X"$file" |
   13508     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13509 	    s//\1/
   13510 	    q
   13511 	  }
   13512 	  /^X\(\/\/\)[^/].*/{
   13513 	    s//\1/
   13514 	    q
   13515 	  }
   13516 	  /^X\(\/\/\)$/{
   13517 	    s//\1/
   13518 	    q
   13519 	  }
   13520 	  /^X\(\/\).*/{
   13521 	    s//\1/
   13522 	    q
   13523 	  }
   13524 	  s/.*/./; q'`
   13525       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13526       # echo "creating $dirpart/$file"
   13527       echo '# dummy' > "$dirpart/$file"
   13528     done
   13529   done
   13530 }
   13531  ;;
   13532     "libtool":C)
   13533 
   13534     # See if we are running on zsh, and set the options which allow our
   13535     # commands through without removal of \ escapes.
   13536     if test -n "${ZSH_VERSION+set}" ; then
   13537       setopt NO_GLOB_SUBST
   13538     fi
   13539 
   13540     cfgfile="${ofile}T"
   13541     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13542     $RM "$cfgfile"
   13543 
   13544     cat <<_LT_EOF >> "$cfgfile"
   13545 #! $SHELL
   13546 
   13547 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13548 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13549 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13550 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13551 #
   13552 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13553 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   13554 #                 Inc.
   13555 #   Written by Gordon Matzigkeit, 1996
   13556 #
   13557 #   This file is part of GNU Libtool.
   13558 #
   13559 # GNU Libtool is free software; you can redistribute it and/or
   13560 # modify it under the terms of the GNU General Public License as
   13561 # published by the Free Software Foundation; either version 2 of
   13562 # the License, or (at your option) any later version.
   13563 #
   13564 # As a special exception to the GNU General Public License,
   13565 # if you distribute this file as part of a program or library that
   13566 # is built using GNU Libtool, you may include this file under the
   13567 # same distribution terms that you use for the rest of that program.
   13568 #
   13569 # GNU Libtool is distributed in the hope that it will be useful,
   13570 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13571 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13572 # GNU General Public License for more details.
   13573 #
   13574 # You should have received a copy of the GNU General Public License
   13575 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13576 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13577 # obtained by writing to the Free Software Foundation, Inc.,
   13578 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13579 
   13580 
   13581 # The names of the tagged configurations supported by this script.
   13582 available_tags=""
   13583 
   13584 # ### BEGIN LIBTOOL CONFIG
   13585 
   13586 # Whether or not to build static libraries.
   13587 build_old_libs=$enable_static
   13588 
   13589 # Which release of libtool.m4 was used?
   13590 macro_version=$macro_version
   13591 macro_revision=$macro_revision
   13592 
   13593 # Whether or not to build shared libraries.
   13594 build_libtool_libs=$enable_shared
   13595 
   13596 # What type of objects to build.
   13597 pic_mode=$pic_mode
   13598 
   13599 # Whether or not to optimize for fast installation.
   13600 fast_install=$enable_fast_install
   13601 
   13602 # Shell to use when invoking shell scripts.
   13603 SHELL=$lt_SHELL
   13604 
   13605 # An echo program that protects backslashes.
   13606 ECHO=$lt_ECHO
   13607 
   13608 # The host system.
   13609 host_alias=$host_alias
   13610 host=$host
   13611 host_os=$host_os
   13612 
   13613 # The build system.
   13614 build_alias=$build_alias
   13615 build=$build
   13616 build_os=$build_os
   13617 
   13618 # A sed program that does not truncate output.
   13619 SED=$lt_SED
   13620 
   13621 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13622 Xsed="\$SED -e 1s/^X//"
   13623 
   13624 # A grep program that handles long lines.
   13625 GREP=$lt_GREP
   13626 
   13627 # An ERE matcher.
   13628 EGREP=$lt_EGREP
   13629 
   13630 # A literal string matcher.
   13631 FGREP=$lt_FGREP
   13632 
   13633 # A BSD- or MS-compatible name lister.
   13634 NM=$lt_NM
   13635 
   13636 # Whether we need soft or hard links.
   13637 LN_S=$lt_LN_S
   13638 
   13639 # What is the maximum length of a command?
   13640 max_cmd_len=$max_cmd_len
   13641 
   13642 # Object file suffix (normally "o").
   13643 objext=$ac_objext
   13644 
   13645 # Executable file suffix (normally "").
   13646 exeext=$exeext
   13647 
   13648 # whether the shell understands "unset".
   13649 lt_unset=$lt_unset
   13650 
   13651 # turn spaces into newlines.
   13652 SP2NL=$lt_lt_SP2NL
   13653 
   13654 # turn newlines into spaces.
   13655 NL2SP=$lt_lt_NL2SP
   13656 
   13657 # An object symbol dumper.
   13658 OBJDUMP=$lt_OBJDUMP
   13659 
   13660 # Method to check whether dependent libraries are shared objects.
   13661 deplibs_check_method=$lt_deplibs_check_method
   13662 
   13663 # Command to use when deplibs_check_method == "file_magic".
   13664 file_magic_cmd=$lt_file_magic_cmd
   13665 
   13666 # The archiver.
   13667 AR=$lt_AR
   13668 AR_FLAGS=$lt_AR_FLAGS
   13669 
   13670 # A symbol stripping program.
   13671 STRIP=$lt_STRIP
   13672 
   13673 # Commands used to install an old-style archive.
   13674 RANLIB=$lt_RANLIB
   13675 old_postinstall_cmds=$lt_old_postinstall_cmds
   13676 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13677 
   13678 # Whether to use a lock for old archive extraction.
   13679 lock_old_archive_extraction=$lock_old_archive_extraction
   13680 
   13681 # A C compiler.
   13682 LTCC=$lt_CC
   13683 
   13684 # LTCC compiler flags.
   13685 LTCFLAGS=$lt_CFLAGS
   13686 
   13687 # Take the output of nm and produce a listing of raw symbols and C names.
   13688 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13689 
   13690 # Transform the output of nm in a proper C declaration.
   13691 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13692 
   13693 # Transform the output of nm in a C name address pair.
   13694 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13695 
   13696 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13697 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13698 
   13699 # The name of the directory that contains temporary libtool files.
   13700 objdir=$objdir
   13701 
   13702 # Used to examine libraries when file_magic_cmd begins with "file".
   13703 MAGIC_CMD=$MAGIC_CMD
   13704 
   13705 # Must we lock files when doing compilation?
   13706 need_locks=$lt_need_locks
   13707 
   13708 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13709 DSYMUTIL=$lt_DSYMUTIL
   13710 
   13711 # Tool to change global to local symbols on Mac OS X.
   13712 NMEDIT=$lt_NMEDIT
   13713 
   13714 # Tool to manipulate fat objects and archives on Mac OS X.
   13715 LIPO=$lt_LIPO
   13716 
   13717 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13718 OTOOL=$lt_OTOOL
   13719 
   13720 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13721 OTOOL64=$lt_OTOOL64
   13722 
   13723 # Old archive suffix (normally "a").
   13724 libext=$libext
   13725 
   13726 # Shared library suffix (normally ".so").
   13727 shrext_cmds=$lt_shrext_cmds
   13728 
   13729 # The commands to extract the exported symbol list from a shared archive.
   13730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13731 
   13732 # Variables whose values should be saved in libtool wrapper scripts and
   13733 # restored at link time.
   13734 variables_saved_for_relink=$lt_variables_saved_for_relink
   13735 
   13736 # Do we need the "lib" prefix for modules?
   13737 need_lib_prefix=$need_lib_prefix
   13738 
   13739 # Do we need a version for libraries?
   13740 need_version=$need_version
   13741 
   13742 # Library versioning type.
   13743 version_type=$version_type
   13744 
   13745 # Shared library runtime path variable.
   13746 runpath_var=$runpath_var
   13747 
   13748 # Shared library path variable.
   13749 shlibpath_var=$shlibpath_var
   13750 
   13751 # Is shlibpath searched before the hard-coded library search path?
   13752 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13753 
   13754 # Format of library name prefix.
   13755 libname_spec=$lt_libname_spec
   13756 
   13757 # List of archive names.  First name is the real one, the rest are links.
   13758 # The last name is the one that the linker finds with -lNAME
   13759 library_names_spec=$lt_library_names_spec
   13760 
   13761 # The coded name of the library, if different from the real name.
   13762 soname_spec=$lt_soname_spec
   13763 
   13764 # Permission mode override for installation of shared libraries.
   13765 install_override_mode=$lt_install_override_mode
   13766 
   13767 # Command to use after installation of a shared archive.
   13768 postinstall_cmds=$lt_postinstall_cmds
   13769 
   13770 # Command to use after uninstallation of a shared archive.
   13771 postuninstall_cmds=$lt_postuninstall_cmds
   13772 
   13773 # Commands used to finish a libtool library installation in a directory.
   13774 finish_cmds=$lt_finish_cmds
   13775 
   13776 # As "finish_cmds", except a single script fragment to be evaled but
   13777 # not shown.
   13778 finish_eval=$lt_finish_eval
   13779 
   13780 # Whether we should hardcode library paths into libraries.
   13781 hardcode_into_libs=$hardcode_into_libs
   13782 
   13783 # Compile-time system search path for libraries.
   13784 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13785 
   13786 # Run-time system search path for libraries.
   13787 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13788 
   13789 # Whether dlopen is supported.
   13790 dlopen_support=$enable_dlopen
   13791 
   13792 # Whether dlopen of programs is supported.
   13793 dlopen_self=$enable_dlopen_self
   13794 
   13795 # Whether dlopen of statically linked programs is supported.
   13796 dlopen_self_static=$enable_dlopen_self_static
   13797 
   13798 # Commands to strip libraries.
   13799 old_striplib=$lt_old_striplib
   13800 striplib=$lt_striplib
   13801 
   13802 
   13803 # The linker used to build libraries.
   13804 LD=$lt_LD
   13805 
   13806 # How to create reloadable object files.
   13807 reload_flag=$lt_reload_flag
   13808 reload_cmds=$lt_reload_cmds
   13809 
   13810 # Commands used to build an old-style archive.
   13811 old_archive_cmds=$lt_old_archive_cmds
   13812 
   13813 # A language specific compiler.
   13814 CC=$lt_compiler
   13815 
   13816 # Is the compiler the GNU compiler?
   13817 with_gcc=$GCC
   13818 
   13819 # Compiler flag to turn off builtin functions.
   13820 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13821 
   13822 # How to pass a linker flag through the compiler.
   13823 wl=$lt_lt_prog_compiler_wl
   13824 
   13825 # Additional compiler flags for building library objects.
   13826 pic_flag=$lt_lt_prog_compiler_pic
   13827 
   13828 # Compiler flag to prevent dynamic linking.
   13829 link_static_flag=$lt_lt_prog_compiler_static
   13830 
   13831 # Does compiler simultaneously support -c and -o options?
   13832 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13833 
   13834 # Whether or not to add -lc for building shared libraries.
   13835 build_libtool_need_lc=$archive_cmds_need_lc
   13836 
   13837 # Whether or not to disallow shared libs when runtime libs are static.
   13838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13839 
   13840 # Compiler flag to allow reflexive dlopens.
   13841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13842 
   13843 # Compiler flag to generate shared objects directly from archives.
   13844 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13845 
   13846 # Whether the compiler copes with passing no objects directly.
   13847 compiler_needs_object=$lt_compiler_needs_object
   13848 
   13849 # Create an old-style archive from a shared archive.
   13850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13851 
   13852 # Create a temporary old-style archive to link instead of a shared archive.
   13853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13854 
   13855 # Commands used to build a shared archive.
   13856 archive_cmds=$lt_archive_cmds
   13857 archive_expsym_cmds=$lt_archive_expsym_cmds
   13858 
   13859 # Commands used to build a loadable module if different from building
   13860 # a shared archive.
   13861 module_cmds=$lt_module_cmds
   13862 module_expsym_cmds=$lt_module_expsym_cmds
   13863 
   13864 # Whether we are building with GNU ld or not.
   13865 with_gnu_ld=$lt_with_gnu_ld
   13866 
   13867 # Flag that allows shared libraries with undefined symbols to be built.
   13868 allow_undefined_flag=$lt_allow_undefined_flag
   13869 
   13870 # Flag that enforces no undefined symbols.
   13871 no_undefined_flag=$lt_no_undefined_flag
   13872 
   13873 # Flag to hardcode \$libdir into a binary during linking.
   13874 # This must work even if \$libdir does not exist
   13875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13876 
   13877 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13878 # during linking.  This must work even if \$libdir does not exist.
   13879 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13880 
   13881 # Whether we need a single "-rpath" flag with a separated argument.
   13882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13883 
   13884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13885 # DIR into the resulting binary.
   13886 hardcode_direct=$hardcode_direct
   13887 
   13888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13889 # DIR into the resulting binary and the resulting library dependency is
   13890 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13891 # library is relocated.
   13892 hardcode_direct_absolute=$hardcode_direct_absolute
   13893 
   13894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13895 # into the resulting binary.
   13896 hardcode_minus_L=$hardcode_minus_L
   13897 
   13898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13899 # into the resulting binary.
   13900 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13901 
   13902 # Set to "yes" if building a shared library automatically hardcodes DIR
   13903 # into the library and all subsequent libraries and executables linked
   13904 # against it.
   13905 hardcode_automatic=$hardcode_automatic
   13906 
   13907 # Set to yes if linker adds runtime paths of dependent libraries
   13908 # to runtime path list.
   13909 inherit_rpath=$inherit_rpath
   13910 
   13911 # Whether libtool must link a program against all its dependency libraries.
   13912 link_all_deplibs=$link_all_deplibs
   13913 
   13914 # Fix the shell variable \$srcfile for the compiler.
   13915 fix_srcfile_path=$lt_fix_srcfile_path
   13916 
   13917 # Set to "yes" if exported symbols are required.
   13918 always_export_symbols=$always_export_symbols
   13919 
   13920 # The commands to list exported symbols.
   13921 export_symbols_cmds=$lt_export_symbols_cmds
   13922 
   13923 # Symbols that should not be listed in the preloaded symbols.
   13924 exclude_expsyms=$lt_exclude_expsyms
   13925 
   13926 # Symbols that must always be exported.
   13927 include_expsyms=$lt_include_expsyms
   13928 
   13929 # Commands necessary for linking programs (against libraries) with templates.
   13930 prelink_cmds=$lt_prelink_cmds
   13931 
   13932 # Specify filename containing input files.
   13933 file_list_spec=$lt_file_list_spec
   13934 
   13935 # How to hardcode a shared library path into an executable.
   13936 hardcode_action=$hardcode_action
   13937 
   13938 # ### END LIBTOOL CONFIG
   13939 
   13940 _LT_EOF
   13941 
   13942   case $host_os in
   13943   aix3*)
   13944     cat <<\_LT_EOF >> "$cfgfile"
   13945 # AIX sometimes has problems with the GCC collect2 program.  For some
   13946 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13947 # vanish in a puff of smoke.
   13948 if test "X${COLLECT_NAMES+set}" != Xset; then
   13949   COLLECT_NAMES=
   13950   export COLLECT_NAMES
   13951 fi
   13952 _LT_EOF
   13953     ;;
   13954   esac
   13955 
   13956 
   13957 ltmain="$ac_aux_dir/ltmain.sh"
   13958 
   13959 
   13960   # We use sed instead of cat because bash on DJGPP gets confused if
   13961   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13962   # text mode, it properly converts lines to CR/LF.  This bash problem
   13963   # is reportedly fixed, but why not run on old versions too?
   13964   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13965     || (rm -f "$cfgfile"; exit 1)
   13966 
   13967   case $xsi_shell in
   13968   yes)
   13969     cat << \_LT_EOF >> "$cfgfile"
   13970 
   13971 # func_dirname file append nondir_replacement
   13972 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13973 # otherwise set result to NONDIR_REPLACEMENT.
   13974 func_dirname ()
   13975 {
   13976   case ${1} in
   13977     */*) func_dirname_result="${1%/*}${2}" ;;
   13978     *  ) func_dirname_result="${3}" ;;
   13979   esac
   13980 }
   13981 
   13982 # func_basename file
   13983 func_basename ()
   13984 {
   13985   func_basename_result="${1##*/}"
   13986 }
   13987 
   13988 # func_dirname_and_basename file append nondir_replacement
   13989 # perform func_basename and func_dirname in a single function
   13990 # call:
   13991 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13992 #             add APPEND to the result, otherwise set result
   13993 #             to NONDIR_REPLACEMENT.
   13994 #             value returned in "$func_dirname_result"
   13995 #   basename: Compute filename of FILE.
   13996 #             value retuned in "$func_basename_result"
   13997 # Implementation must be kept synchronized with func_dirname
   13998 # and func_basename. For efficiency, we do not delegate to
   13999 # those functions but instead duplicate the functionality here.
   14000 func_dirname_and_basename ()
   14001 {
   14002   case ${1} in
   14003     */*) func_dirname_result="${1%/*}${2}" ;;
   14004     *  ) func_dirname_result="${3}" ;;
   14005   esac
   14006   func_basename_result="${1##*/}"
   14007 }
   14008 
   14009 # func_stripname prefix suffix name
   14010 # strip PREFIX and SUFFIX off of NAME.
   14011 # PREFIX and SUFFIX must not contain globbing or regex special
   14012 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14013 # dot (in which case that matches only a dot).
   14014 func_stripname ()
   14015 {
   14016   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14017   # positional parameters, so assign one to ordinary parameter first.
   14018   func_stripname_result=${3}
   14019   func_stripname_result=${func_stripname_result#"${1}"}
   14020   func_stripname_result=${func_stripname_result%"${2}"}
   14021 }
   14022 
   14023 # func_opt_split
   14024 func_opt_split ()
   14025 {
   14026   func_opt_split_opt=${1%%=*}
   14027   func_opt_split_arg=${1#*=}
   14028 }
   14029 
   14030 # func_lo2o object
   14031 func_lo2o ()
   14032 {
   14033   case ${1} in
   14034     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14035     *)    func_lo2o_result=${1} ;;
   14036   esac
   14037 }
   14038 
   14039 # func_xform libobj-or-source
   14040 func_xform ()
   14041 {
   14042   func_xform_result=${1%.*}.lo
   14043 }
   14044 
   14045 # func_arith arithmetic-term...
   14046 func_arith ()
   14047 {
   14048   func_arith_result=$(( $* ))
   14049 }
   14050 
   14051 # func_len string
   14052 # STRING may not start with a hyphen.
   14053 func_len ()
   14054 {
   14055   func_len_result=${#1}
   14056 }
   14057 
   14058 _LT_EOF
   14059     ;;
   14060   *) # Bourne compatible functions.
   14061     cat << \_LT_EOF >> "$cfgfile"
   14062 
   14063 # func_dirname file append nondir_replacement
   14064 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14065 # otherwise set result to NONDIR_REPLACEMENT.
   14066 func_dirname ()
   14067 {
   14068   # Extract subdirectory from the argument.
   14069   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   14070   if test "X$func_dirname_result" = "X${1}"; then
   14071     func_dirname_result="${3}"
   14072   else
   14073     func_dirname_result="$func_dirname_result${2}"
   14074   fi
   14075 }
   14076 
   14077 # func_basename file
   14078 func_basename ()
   14079 {
   14080   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   14081 }
   14082 
   14083 
   14084 # func_stripname prefix suffix name
   14085 # strip PREFIX and SUFFIX off of NAME.
   14086 # PREFIX and SUFFIX must not contain globbing or regex special
   14087 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14088 # dot (in which case that matches only a dot).
   14089 # func_strip_suffix prefix name
   14090 func_stripname ()
   14091 {
   14092   case ${2} in
   14093     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   14094     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   14095   esac
   14096 }
   14097 
   14098 # sed scripts:
   14099 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14100 my_sed_long_arg='1s/^-[^=]*=//'
   14101 
   14102 # func_opt_split
   14103 func_opt_split ()
   14104 {
   14105   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   14106   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   14107 }
   14108 
   14109 # func_lo2o object
   14110 func_lo2o ()
   14111 {
   14112   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   14113 }
   14114 
   14115 # func_xform libobj-or-source
   14116 func_xform ()
   14117 {
   14118   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   14119 }
   14120 
   14121 # func_arith arithmetic-term...
   14122 func_arith ()
   14123 {
   14124   func_arith_result=`expr "$@"`
   14125 }
   14126 
   14127 # func_len string
   14128 # STRING may not start with a hyphen.
   14129 func_len ()
   14130 {
   14131   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14132 }
   14133 
   14134 _LT_EOF
   14135 esac
   14136 
   14137 case $lt_shell_append in
   14138   yes)
   14139     cat << \_LT_EOF >> "$cfgfile"
   14140 
   14141 # func_append var value
   14142 # Append VALUE to the end of shell variable VAR.
   14143 func_append ()
   14144 {
   14145   eval "$1+=\$2"
   14146 }
   14147 _LT_EOF
   14148     ;;
   14149   *)
   14150     cat << \_LT_EOF >> "$cfgfile"
   14151 
   14152 # func_append var value
   14153 # Append VALUE to the end of shell variable VAR.
   14154 func_append ()
   14155 {
   14156   eval "$1=\$$1\$2"
   14157 }
   14158 
   14159 _LT_EOF
   14160     ;;
   14161   esac
   14162 
   14163 
   14164   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14165     || (rm -f "$cfgfile"; exit 1)
   14166 
   14167   mv -f "$cfgfile" "$ofile" ||
   14168     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14169   chmod +x "$ofile"
   14170 
   14171  ;;
   14172 
   14173   esac
   14174 done # for ac_tag
   14175 
   14176 
   14177 as_fn_exit 0
   14178 _ACEOF
   14179 ac_clean_files=$ac_clean_files_save
   14180 
   14181 test $ac_write_fail = 0 ||
   14182   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14183 
   14184 
   14185 # configure is writing to config.log, and then calls config.status.
   14186 # config.status does its own redirection, appending to config.log.
   14187 # Unfortunately, on DOS this fails, as config.log is still kept open
   14188 # by configure, so config.status won't be able to write to it; its
   14189 # output is simply discarded.  So we exec the FD to /dev/null,
   14190 # effectively closing config.log, so it can be properly (re)opened and
   14191 # appended to by config.status.  When coming back to configure, we
   14192 # need to make the FD available again.
   14193 if test "$no_create" != yes; then
   14194   ac_cs_success=:
   14195   ac_config_status_args=
   14196   test "$silent" = yes &&
   14197     ac_config_status_args="$ac_config_status_args --quiet"
   14198   exec 5>/dev/null
   14199   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14200   exec 5>>config.log
   14201   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14202   # would make configure fail if this is the last instruction.
   14203   $ac_cs_success || as_fn_exit 1
   14204 fi
   14205 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14206   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14207 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14208 fi
   14209 
   14210