Home | History | Annotate | Download | only in libdrm
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.64 for libdrm 2.4.14.
      4 #
      5 # Report bugs to <dri-devel (at] lists.sourceforge.net>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
      9 # Foundation, Inc.
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 case $0 in #((
     93   *[\\/]* ) as_myself=$0 ;;
     94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     95 for as_dir in $PATH
     96 do
     97   IFS=$as_save_IFS
     98   test -z "$as_dir" && as_dir=.
     99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
    123 PS1='$ '
    124 PS2='> '
    125 PS4='+ '
    126 
    127 # NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
    175   if (eval "$as_required") 2>/dev/null; then :
    176   as_have_required=yes
    177 else
    178   as_have_required=no
    179 fi
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    181 
    182 else
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    184 as_found=false
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    186 do
    187   IFS=$as_save_IFS
    188   test -z "$as_dir" && as_dir=.
    189   as_found=:
    190   case $as_dir in #(
    191 	 /*)
    192 	   for as_base in sh bash ksh sh5; do
    193 	     # Try only shells that exist, to save several forks.
    194 	     as_shell=$as_dir/$as_base
    195 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    196 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   CONFIG_SHELL=$as_shell as_have_required=yes
    198 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   break 2
    200 fi
    201 fi
    202 	   done;;
    203        esac
    204   as_found=false
    205 done
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    207 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$SHELL as_have_required=yes
    209 fi; }
    210 IFS=$as_save_IFS
    211 
    212 
    213       if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215 	# neutralization value for shells without unset; and this also
    216 	# works around shells that cannot unset nonexistent variables.
    217 	BASH_ENV=/dev/null
    218 	ENV=/dev/null
    219 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220 	export CONFIG_SHELL
    221 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    222 fi
    223 
    224     if test x$as_have_required = xno; then :
    225   $as_echo "$0: This script requires a shell more modern than all"
    226   $as_echo "$0: the shells that I found on your system."
    227   if test x${ZSH_VERSION+set} = xset ; then
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    230   else
    231     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    232 $0: dri-devel (at] lists.sourceforge.net about your system,
    233 $0: including any error possibly output before this
    234 $0: message. Then install a modern shell, or manually run
    235 $0: the script under such a shell if you do have one."
    236   fi
    237   exit 1
    238 fi
    239 fi
    240 fi
    241 SHELL=${CONFIG_SHELL-/bin/sh}
    242 export SHELL
    243 # Unset more variables known to interfere with behavior of common tools.
    244 CLICOLOR_FORCE= GREP_OPTIONS=
    245 unset CLICOLOR_FORCE GREP_OPTIONS
    246 
    247 ## --------------------- ##
    248 ## M4sh Shell Functions. ##
    249 ## --------------------- ##
    250 # as_fn_unset VAR
    251 # ---------------
    252 # Portably unset VAR.
    253 as_fn_unset ()
    254 {
    255   { eval $1=; unset $1;}
    256 }
    257 as_unset=as_fn_unset
    258 
    259 # as_fn_set_status STATUS
    260 # -----------------------
    261 # Set $? to STATUS, without forking.
    262 as_fn_set_status ()
    263 {
    264   return $1
    265 } # as_fn_set_status
    266 
    267 # as_fn_exit STATUS
    268 # -----------------
    269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    270 as_fn_exit ()
    271 {
    272   set +e
    273   as_fn_set_status $1
    274   exit $1
    275 } # as_fn_exit
    276 
    277 # as_fn_mkdir_p
    278 # -------------
    279 # Create "$as_dir" as a directory, including parents if necessary.
    280 as_fn_mkdir_p ()
    281 {
    282 
    283   case $as_dir in #(
    284   -*) as_dir=./$as_dir;;
    285   esac
    286   test -d "$as_dir" || eval $as_mkdir_p || {
    287     as_dirs=
    288     while :; do
    289       case $as_dir in #(
    290       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    291       *) as_qdir=$as_dir;;
    292       esac
    293       as_dirs="'$as_qdir' $as_dirs"
    294       as_dir=`$as_dirname -- "$as_dir" ||
    295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    296 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    297 	 X"$as_dir" : 'X\(//\)$' \| \
    298 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    299 $as_echo X"$as_dir" |
    300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    301 	    s//\1/
    302 	    q
    303 	  }
    304 	  /^X\(\/\/\)[^/].*/{
    305 	    s//\1/
    306 	    q
    307 	  }
    308 	  /^X\(\/\/\)$/{
    309 	    s//\1/
    310 	    q
    311 	  }
    312 	  /^X\(\/\).*/{
    313 	    s//\1/
    314 	    q
    315 	  }
    316 	  s/.*/./; q'`
    317       test -d "$as_dir" && break
    318     done
    319     test -z "$as_dirs" || eval "mkdir $as_dirs"
    320   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    321 
    322 
    323 } # as_fn_mkdir_p
    324 # as_fn_append VAR VALUE
    325 # ----------------------
    326 # Append the text in VALUE to the end of the definition contained in VAR. Take
    327 # advantage of any shell optimizations that allow amortized linear growth over
    328 # repeated appends, instead of the typical quadratic growth present in naive
    329 # implementations.
    330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    331   eval 'as_fn_append ()
    332   {
    333     eval $1+=\$2
    334   }'
    335 else
    336   as_fn_append ()
    337   {
    338     eval $1=\$$1\$2
    339   }
    340 fi # as_fn_append
    341 
    342 # as_fn_arith ARG...
    343 # ------------------
    344 # Perform arithmetic evaluation on the ARGs, and store the result in the
    345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    346 # must be portable across $(()) and expr.
    347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    348   eval 'as_fn_arith ()
    349   {
    350     as_val=$(( $* ))
    351   }'
    352 else
    353   as_fn_arith ()
    354   {
    355     as_val=`expr "$@" || test $? -eq 1`
    356   }
    357 fi # as_fn_arith
    358 
    359 
    360 # as_fn_error ERROR [LINENO LOG_FD]
    361 # ---------------------------------
    362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    364 # script with status $?, using 1 if that was 0.
    365 as_fn_error ()
    366 {
    367   as_status=$?; test $as_status -eq 0 && as_status=1
    368   if test "$3"; then
    369     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    370     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    371   fi
    372   $as_echo "$as_me: error: $1" >&2
    373   as_fn_exit $as_status
    374 } # as_fn_error
    375 
    376 if expr a : '\(a\)' >/dev/null 2>&1 &&
    377    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    378   as_expr=expr
    379 else
    380   as_expr=false
    381 fi
    382 
    383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    384   as_basename=basename
    385 else
    386   as_basename=false
    387 fi
    388 
    389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    390   as_dirname=dirname
    391 else
    392   as_dirname=false
    393 fi
    394 
    395 as_me=`$as_basename -- "$0" ||
    396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    397 	 X"$0" : 'X\(//\)$' \| \
    398 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    399 $as_echo X/"$0" |
    400     sed '/^.*\/\([^/][^/]*\)\/*$/{
    401 	    s//\1/
    402 	    q
    403 	  }
    404 	  /^X\/\(\/\/\)$/{
    405 	    s//\1/
    406 	    q
    407 	  }
    408 	  /^X\/\(\/\).*/{
    409 	    s//\1/
    410 	    q
    411 	  }
    412 	  s/.*/./; q'`
    413 
    414 # Avoid depending upon Character Ranges.
    415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    418 as_cr_digits='0123456789'
    419 as_cr_alnum=$as_cr_Letters$as_cr_digits
    420 
    421 
    422   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    423   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    424   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    425   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    426   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    427   sed -n '
    428     p
    429     /[$]LINENO/=
    430   ' <$as_myself |
    431     sed '
    432       s/[$]LINENO.*/&-/
    433       t lineno
    434       b
    435       :lineno
    436       N
    437       :loop
    438       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    439       t loop
    440       s/-\n.*//
    441     ' >$as_me.lineno &&
    442   chmod +x "$as_me.lineno" ||
    443     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    444 
    445   # Don't try to exec as it changes $[0], causing all sort of problems
    446   # (the dirname of $[0] is not the place where we might find the
    447   # original and so on.  Autoconf is especially sensitive to this).
    448   . "./$as_me.lineno"
    449   # Exit status is that of the last command.
    450   exit
    451 }
    452 
    453 ECHO_C= ECHO_N= ECHO_T=
    454 case `echo -n x` in #(((((
    455 -n*)
    456   case `echo 'xy\c'` in
    457   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    458   xy)  ECHO_C='\c';;
    459   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    460        ECHO_T='	';;
    461   esac;;
    462 *)
    463   ECHO_N='-n';;
    464 esac
    465 
    466 rm -f conf$$ conf$$.exe conf$$.file
    467 if test -d conf$$.dir; then
    468   rm -f conf$$.dir/conf$$.file
    469 else
    470   rm -f conf$$.dir
    471   mkdir conf$$.dir 2>/dev/null
    472 fi
    473 if (echo >conf$$.file) 2>/dev/null; then
    474   if ln -s conf$$.file conf$$ 2>/dev/null; then
    475     as_ln_s='ln -s'
    476     # ... but there are two gotchas:
    477     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    478     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    479     # In both cases, we have to default to `cp -p'.
    480     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    481       as_ln_s='cp -p'
    482   elif ln conf$$.file conf$$ 2>/dev/null; then
    483     as_ln_s=ln
    484   else
    485     as_ln_s='cp -p'
    486   fi
    487 else
    488   as_ln_s='cp -p'
    489 fi
    490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    491 rmdir conf$$.dir 2>/dev/null
    492 
    493 if mkdir -p . 2>/dev/null; then
    494   as_mkdir_p='mkdir -p "$as_dir"'
    495 else
    496   test -d ./-p && rmdir ./-p
    497   as_mkdir_p=false
    498 fi
    499 
    500 if test -x / >/dev/null 2>&1; then
    501   as_test_x='test -x'
    502 else
    503   if ls -dL / >/dev/null 2>&1; then
    504     as_ls_L_option=L
    505   else
    506     as_ls_L_option=
    507   fi
    508   as_test_x='
    509     eval sh -c '\''
    510       if test -d "$1"; then
    511 	test -d "$1/.";
    512       else
    513 	case $1 in #(
    514 	-*)set "./$1";;
    515 	esac;
    516 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    517 	???[sx]*):;;*)false;;esac;fi
    518     '\'' sh
    519   '
    520 fi
    521 as_executable_p=$as_test_x
    522 
    523 # Sed expression to map a string onto a valid CPP name.
    524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    525 
    526 # Sed expression to map a string onto a valid variable name.
    527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 
    530 
    531 # Check that we are running under the correct shell.
    532 SHELL=${CONFIG_SHELL-/bin/sh}
    533 
    534 case X$lt_ECHO in
    535 X*--fallback-echo)
    536   # Remove one level of quotation (which was required for Make).
    537   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    538   ;;
    539 esac
    540 
    541 ECHO=${lt_ECHO-echo}
    542 if test "X$1" = X--no-reexec; then
    543   # Discard the --no-reexec flag, and continue.
    544   shift
    545 elif test "X$1" = X--fallback-echo; then
    546   # Avoid inline document here, it may be left over
    547   :
    548 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    549   # Yippee, $ECHO works!
    550   :
    551 else
    552   # Restart under the correct shell.
    553   exec $SHELL "$0" --no-reexec ${1+"$@"}
    554 fi
    555 
    556 if test "X$1" = X--fallback-echo; then
    557   # used as fallback echo
    558   shift
    559   cat <<_LT_EOF
    560 $*
    561 _LT_EOF
    562   exit 0
    563 fi
    564 
    565 # The HP-UX ksh and POSIX shell print the target directory to stdout
    566 # if CDPATH is set.
    567 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    568 
    569 if test -z "$lt_ECHO"; then
    570   if test "X${echo_test_string+set}" != Xset; then
    571     # find a string as large as possible, as long as the shell can cope with it
    572     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    573       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    574       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    575 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    576       then
    577         break
    578       fi
    579     done
    580   fi
    581 
    582   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    583      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    584      test "X$echo_testing_string" = "X$echo_test_string"; then
    585     :
    586   else
    587     # The Solaris, AIX, and Digital Unix default echo programs unquote
    588     # backslashes.  This makes it impossible to quote backslashes using
    589     #   echo "$something" | sed 's/\\/\\\\/g'
    590     #
    591     # So, first we look for a working echo in the user's PATH.
    592 
    593     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    594     for dir in $PATH /usr/ucb; do
    595       IFS="$lt_save_ifs"
    596       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    597          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    598          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    599          test "X$echo_testing_string" = "X$echo_test_string"; then
    600         ECHO="$dir/echo"
    601         break
    602       fi
    603     done
    604     IFS="$lt_save_ifs"
    605 
    606     if test "X$ECHO" = Xecho; then
    607       # We didn't find a better echo, so look for alternatives.
    608       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    609          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    610          test "X$echo_testing_string" = "X$echo_test_string"; then
    611         # This shell has a builtin print -r that does the trick.
    612         ECHO='print -r'
    613       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    614 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    615         # If we have ksh, try running configure again with it.
    616         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    617         export ORIGINAL_CONFIG_SHELL
    618         CONFIG_SHELL=/bin/ksh
    619         export CONFIG_SHELL
    620         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    621       else
    622         # Try using printf.
    623         ECHO='printf %s\n'
    624         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    625 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    626 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    627 	  # Cool, printf works
    628 	  :
    629         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    630 	     test "X$echo_testing_string" = 'X\t' &&
    631 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    632 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    633 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    634 	  export CONFIG_SHELL
    635 	  SHELL="$CONFIG_SHELL"
    636 	  export SHELL
    637 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    638         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    639 	     test "X$echo_testing_string" = 'X\t' &&
    640 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    641 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    642 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    643         else
    644 	  # maybe with a smaller string...
    645 	  prev=:
    646 
    647 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    648 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    649 	    then
    650 	      break
    651 	    fi
    652 	    prev="$cmd"
    653 	  done
    654 
    655 	  if test "$prev" != 'sed 50q "$0"'; then
    656 	    echo_test_string=`eval $prev`
    657 	    export echo_test_string
    658 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    659 	  else
    660 	    # Oops.  We lost completely, so just stick with echo.
    661 	    ECHO=echo
    662 	  fi
    663         fi
    664       fi
    665     fi
    666   fi
    667 fi
    668 
    669 # Copy echo and quote the copy suitably for passing to libtool from
    670 # the Makefile, instead of quoting the original, which is used later.
    671 lt_ECHO=$ECHO
    672 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    673    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    674 fi
    675 
    676 
    677 
    678 
    679 exec 7<&0 </dev/null 6>&1
    680 
    681 # Name of the host.
    682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    683 # so uname gets run too.
    684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    685 
    686 #
    687 # Initializations.
    688 #
    689 ac_default_prefix=/usr/local
    690 ac_clean_files=
    691 ac_config_libobj_dir=.
    692 LIBOBJS=
    693 cross_compiling=no
    694 subdirs=
    695 MFLAGS=
    696 MAKEFLAGS=
    697 
    698 # Identity of this package.
    699 PACKAGE_NAME='libdrm'
    700 PACKAGE_TARNAME='libdrm'
    701 PACKAGE_VERSION='2.4.14'
    702 PACKAGE_STRING='libdrm 2.4.14'
    703 PACKAGE_BUGREPORT='dri-devel (at] lists.sourceforge.net'
    704 PACKAGE_URL=''
    705 
    706 # Factoring default headers for most tests.
    707 ac_includes_default="\
    708 #include <stdio.h>
    709 #ifdef HAVE_SYS_TYPES_H
    710 # include <sys/types.h>
    711 #endif
    712 #ifdef HAVE_SYS_STAT_H
    713 # include <sys/stat.h>
    714 #endif
    715 #ifdef STDC_HEADERS
    716 # include <stdlib.h>
    717 # include <stddef.h>
    718 #else
    719 # ifdef HAVE_STDLIB_H
    720 #  include <stdlib.h>
    721 # endif
    722 #endif
    723 #ifdef HAVE_STRING_H
    724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    725 #  include <memory.h>
    726 # endif
    727 # include <string.h>
    728 #endif
    729 #ifdef HAVE_STRINGS_H
    730 # include <strings.h>
    731 #endif
    732 #ifdef HAVE_INTTYPES_H
    733 # include <inttypes.h>
    734 #endif
    735 #ifdef HAVE_STDINT_H
    736 # include <stdint.h>
    737 #endif
    738 #ifdef HAVE_UNISTD_H
    739 # include <unistd.h>
    740 #endif"
    741 
    742 ac_unique_file="Makefile.am"
    743 ac_subst_vars='LTLIBOBJS
    744 LIBOBJS
    745 WARN_CFLAGS
    746 HAVE_LIBUDEV_FALSE
    747 HAVE_LIBUDEV_TRUE
    748 LIBUDEV_LIBS
    749 LIBUDEV_CFLAGS
    750 HAVE_CAIRO_FALSE
    751 HAVE_CAIRO_TRUE
    752 CAIRO_LIBS
    753 CAIRO_CFLAGS
    754 HAVE_RADEON_FALSE
    755 HAVE_RADEON_TRUE
    756 HAVE_NOUVEAU_FALSE
    757 HAVE_NOUVEAU_TRUE
    758 CLOCK_LIB
    759 pkgconfigdir
    760 PTHREADSTUBS_LIBS
    761 PTHREADSTUBS_CFLAGS
    762 PKG_CONFIG
    763 OTOOL64
    764 OTOOL
    765 LIPO
    766 NMEDIT
    767 DSYMUTIL
    768 lt_ECHO
    769 RANLIB
    770 AR
    771 OBJDUMP
    772 LN_S
    773 NM
    774 ac_ct_DUMPBIN
    775 DUMPBIN
    776 LD
    777 FGREP
    778 SED
    779 host_os
    780 host_vendor
    781 host_cpu
    782 host
    783 build_os
    784 build_vendor
    785 build_cpu
    786 build
    787 LIBTOOL
    788 am__fastdepCC_FALSE
    789 am__fastdepCC_TRUE
    790 CCDEPMODE
    791 AMDEPBACKSLASH
    792 AMDEP_FALSE
    793 AMDEP_TRUE
    794 am__quote
    795 am__include
    796 DEPDIR
    797 am__untar
    798 am__tar
    799 AMTAR
    800 am__leading_dot
    801 SET_MAKE
    802 AWK
    803 mkdir_p
    804 MKDIR_P
    805 INSTALL_STRIP_PROGRAM
    806 STRIP
    807 install_sh
    808 MAKEINFO
    809 AUTOHEADER
    810 AUTOMAKE
    811 AUTOCONF
    812 ACLOCAL
    813 VERSION
    814 PACKAGE
    815 CYGPATH_W
    816 am__isrc
    817 INSTALL_DATA
    818 INSTALL_SCRIPT
    819 INSTALL_PROGRAM
    820 EGREP
    821 GREP
    822 CPP
    823 OBJEXT
    824 EXEEXT
    825 ac_ct_CC
    826 CPPFLAGS
    827 LDFLAGS
    828 CFLAGS
    829 CC
    830 target_alias
    831 host_alias
    832 build_alias
    833 LIBS
    834 ECHO_T
    835 ECHO_N
    836 ECHO_C
    837 DEFS
    838 mandir
    839 localedir
    840 libdir
    841 psdir
    842 pdfdir
    843 dvidir
    844 htmldir
    845 infodir
    846 docdir
    847 oldincludedir
    848 includedir
    849 localstatedir
    850 sharedstatedir
    851 sysconfdir
    852 datadir
    853 datarootdir
    854 libexecdir
    855 sbindir
    856 bindir
    857 program_transform_name
    858 prefix
    859 exec_prefix
    860 PACKAGE_URL
    861 PACKAGE_BUGREPORT
    862 PACKAGE_STRING
    863 PACKAGE_VERSION
    864 PACKAGE_TARNAME
    865 PACKAGE_NAME
    866 PATH_SEPARATOR
    867 SHELL'
    868 ac_subst_files=''
    869 ac_user_opts='
    870 enable_option_checking
    871 enable_dependency_tracking
    872 enable_static
    873 enable_shared
    874 with_pic
    875 enable_fast_install
    876 with_gnu_ld
    877 enable_libtool_lock
    878 enable_largefile
    879 enable_udev
    880 enable_nouveau_experimental_api
    881 enable_radeon_experimental_api
    882 '
    883       ac_precious_vars='build_alias
    884 host_alias
    885 target_alias
    886 CC
    887 CFLAGS
    888 LDFLAGS
    889 LIBS
    890 CPPFLAGS
    891 CPP
    892 PKG_CONFIG
    893 PTHREADSTUBS_CFLAGS
    894 PTHREADSTUBS_LIBS
    895 CAIRO_CFLAGS
    896 CAIRO_LIBS
    897 LIBUDEV_CFLAGS
    898 LIBUDEV_LIBS'
    899 
    900 
    901 # Initialize some variables set by options.
    902 ac_init_help=
    903 ac_init_version=false
    904 ac_unrecognized_opts=
    905 ac_unrecognized_sep=
    906 # The variables have the same names as the options, with
    907 # dashes changed to underlines.
    908 cache_file=/dev/null
    909 exec_prefix=NONE
    910 no_create=
    911 no_recursion=
    912 prefix=NONE
    913 program_prefix=NONE
    914 program_suffix=NONE
    915 program_transform_name=s,x,x,
    916 silent=
    917 site=
    918 srcdir=
    919 verbose=
    920 x_includes=NONE
    921 x_libraries=NONE
    922 
    923 # Installation directory options.
    924 # These are left unexpanded so users can "make install exec_prefix=/foo"
    925 # and all the variables that are supposed to be based on exec_prefix
    926 # by default will actually change.
    927 # Use braces instead of parens because sh, perl, etc. also accept them.
    928 # (The list follows the same order as the GNU Coding Standards.)
    929 bindir='${exec_prefix}/bin'
    930 sbindir='${exec_prefix}/sbin'
    931 libexecdir='${exec_prefix}/libexec'
    932 datarootdir='${prefix}/share'
    933 datadir='${datarootdir}'
    934 sysconfdir='${prefix}/etc'
    935 sharedstatedir='${prefix}/com'
    936 localstatedir='${prefix}/var'
    937 includedir='${prefix}/include'
    938 oldincludedir='/usr/include'
    939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    940 infodir='${datarootdir}/info'
    941 htmldir='${docdir}'
    942 dvidir='${docdir}'
    943 pdfdir='${docdir}'
    944 psdir='${docdir}'
    945 libdir='${exec_prefix}/lib'
    946 localedir='${datarootdir}/locale'
    947 mandir='${datarootdir}/man'
    948 
    949 ac_prev=
    950 ac_dashdash=
    951 for ac_option
    952 do
    953   # If the previous option needs an argument, assign it.
    954   if test -n "$ac_prev"; then
    955     eval $ac_prev=\$ac_option
    956     ac_prev=
    957     continue
    958   fi
    959 
    960   case $ac_option in
    961   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    962   *)	ac_optarg=yes ;;
    963   esac
    964 
    965   # Accept the important Cygnus configure options, so we can diagnose typos.
    966 
    967   case $ac_dashdash$ac_option in
    968   --)
    969     ac_dashdash=yes ;;
    970 
    971   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    972     ac_prev=bindir ;;
    973   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    974     bindir=$ac_optarg ;;
    975 
    976   -build | --build | --buil | --bui | --bu)
    977     ac_prev=build_alias ;;
    978   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    979     build_alias=$ac_optarg ;;
    980 
    981   -cache-file | --cache-file | --cache-fil | --cache-fi \
    982   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    983     ac_prev=cache_file ;;
    984   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    985   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    986     cache_file=$ac_optarg ;;
    987 
    988   --config-cache | -C)
    989     cache_file=config.cache ;;
    990 
    991   -datadir | --datadir | --datadi | --datad)
    992     ac_prev=datadir ;;
    993   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    994     datadir=$ac_optarg ;;
    995 
    996   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    997   | --dataroo | --dataro | --datar)
    998     ac_prev=datarootdir ;;
    999   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1000   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1001     datarootdir=$ac_optarg ;;
   1002 
   1003   -disable-* | --disable-*)
   1004     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1005     # Reject names that are not valid shell variable names.
   1006     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1007       as_fn_error "invalid feature name: $ac_useropt"
   1008     ac_useropt_orig=$ac_useropt
   1009     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1010     case $ac_user_opts in
   1011       *"
   1012 "enable_$ac_useropt"
   1013 "*) ;;
   1014       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1015 	 ac_unrecognized_sep=', ';;
   1016     esac
   1017     eval enable_$ac_useropt=no ;;
   1018 
   1019   -docdir | --docdir | --docdi | --doc | --do)
   1020     ac_prev=docdir ;;
   1021   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1022     docdir=$ac_optarg ;;
   1023 
   1024   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1025     ac_prev=dvidir ;;
   1026   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1027     dvidir=$ac_optarg ;;
   1028 
   1029   -enable-* | --enable-*)
   1030     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1031     # Reject names that are not valid shell variable names.
   1032     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1033       as_fn_error "invalid feature name: $ac_useropt"
   1034     ac_useropt_orig=$ac_useropt
   1035     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1036     case $ac_user_opts in
   1037       *"
   1038 "enable_$ac_useropt"
   1039 "*) ;;
   1040       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1041 	 ac_unrecognized_sep=', ';;
   1042     esac
   1043     eval enable_$ac_useropt=\$ac_optarg ;;
   1044 
   1045   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1046   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1047   | --exec | --exe | --ex)
   1048     ac_prev=exec_prefix ;;
   1049   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1050   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1051   | --exec=* | --exe=* | --ex=*)
   1052     exec_prefix=$ac_optarg ;;
   1053 
   1054   -gas | --gas | --ga | --g)
   1055     # Obsolete; use --with-gas.
   1056     with_gas=yes ;;
   1057 
   1058   -help | --help | --hel | --he | -h)
   1059     ac_init_help=long ;;
   1060   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1061     ac_init_help=recursive ;;
   1062   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1063     ac_init_help=short ;;
   1064 
   1065   -host | --host | --hos | --ho)
   1066     ac_prev=host_alias ;;
   1067   -host=* | --host=* | --hos=* | --ho=*)
   1068     host_alias=$ac_optarg ;;
   1069 
   1070   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1071     ac_prev=htmldir ;;
   1072   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1073   | --ht=*)
   1074     htmldir=$ac_optarg ;;
   1075 
   1076   -includedir | --includedir | --includedi | --included | --include \
   1077   | --includ | --inclu | --incl | --inc)
   1078     ac_prev=includedir ;;
   1079   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1080   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1081     includedir=$ac_optarg ;;
   1082 
   1083   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1084     ac_prev=infodir ;;
   1085   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1086     infodir=$ac_optarg ;;
   1087 
   1088   -libdir | --libdir | --libdi | --libd)
   1089     ac_prev=libdir ;;
   1090   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1091     libdir=$ac_optarg ;;
   1092 
   1093   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1094   | --libexe | --libex | --libe)
   1095     ac_prev=libexecdir ;;
   1096   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1097   | --libexe=* | --libex=* | --libe=*)
   1098     libexecdir=$ac_optarg ;;
   1099 
   1100   -localedir | --localedir | --localedi | --localed | --locale)
   1101     ac_prev=localedir ;;
   1102   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1103     localedir=$ac_optarg ;;
   1104 
   1105   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1106   | --localstate | --localstat | --localsta | --localst | --locals)
   1107     ac_prev=localstatedir ;;
   1108   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1109   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1110     localstatedir=$ac_optarg ;;
   1111 
   1112   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1113     ac_prev=mandir ;;
   1114   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1115     mandir=$ac_optarg ;;
   1116 
   1117   -nfp | --nfp | --nf)
   1118     # Obsolete; use --without-fp.
   1119     with_fp=no ;;
   1120 
   1121   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1122   | --no-cr | --no-c | -n)
   1123     no_create=yes ;;
   1124 
   1125   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1126   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1127     no_recursion=yes ;;
   1128 
   1129   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1130   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1131   | --oldin | --oldi | --old | --ol | --o)
   1132     ac_prev=oldincludedir ;;
   1133   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1134   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1135   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1136     oldincludedir=$ac_optarg ;;
   1137 
   1138   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1139     ac_prev=prefix ;;
   1140   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1141     prefix=$ac_optarg ;;
   1142 
   1143   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1144   | --program-pre | --program-pr | --program-p)
   1145     ac_prev=program_prefix ;;
   1146   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1147   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1148     program_prefix=$ac_optarg ;;
   1149 
   1150   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1151   | --program-suf | --program-su | --program-s)
   1152     ac_prev=program_suffix ;;
   1153   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1154   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1155     program_suffix=$ac_optarg ;;
   1156 
   1157   -program-transform-name | --program-transform-name \
   1158   | --program-transform-nam | --program-transform-na \
   1159   | --program-transform-n | --program-transform- \
   1160   | --program-transform | --program-transfor \
   1161   | --program-transfo | --program-transf \
   1162   | --program-trans | --program-tran \
   1163   | --progr-tra | --program-tr | --program-t)
   1164     ac_prev=program_transform_name ;;
   1165   -program-transform-name=* | --program-transform-name=* \
   1166   | --program-transform-nam=* | --program-transform-na=* \
   1167   | --program-transform-n=* | --program-transform-=* \
   1168   | --program-transform=* | --program-transfor=* \
   1169   | --program-transfo=* | --program-transf=* \
   1170   | --program-trans=* | --program-tran=* \
   1171   | --progr-tra=* | --program-tr=* | --program-t=*)
   1172     program_transform_name=$ac_optarg ;;
   1173 
   1174   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1175     ac_prev=pdfdir ;;
   1176   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1177     pdfdir=$ac_optarg ;;
   1178 
   1179   -psdir | --psdir | --psdi | --psd | --ps)
   1180     ac_prev=psdir ;;
   1181   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1182     psdir=$ac_optarg ;;
   1183 
   1184   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1185   | -silent | --silent | --silen | --sile | --sil)
   1186     silent=yes ;;
   1187 
   1188   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1189     ac_prev=sbindir ;;
   1190   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1191   | --sbi=* | --sb=*)
   1192     sbindir=$ac_optarg ;;
   1193 
   1194   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1195   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1196   | --sharedst | --shareds | --shared | --share | --shar \
   1197   | --sha | --sh)
   1198     ac_prev=sharedstatedir ;;
   1199   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1200   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1201   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1202   | --sha=* | --sh=*)
   1203     sharedstatedir=$ac_optarg ;;
   1204 
   1205   -site | --site | --sit)
   1206     ac_prev=site ;;
   1207   -site=* | --site=* | --sit=*)
   1208     site=$ac_optarg ;;
   1209 
   1210   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1211     ac_prev=srcdir ;;
   1212   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1213     srcdir=$ac_optarg ;;
   1214 
   1215   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1216   | --syscon | --sysco | --sysc | --sys | --sy)
   1217     ac_prev=sysconfdir ;;
   1218   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1219   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1220     sysconfdir=$ac_optarg ;;
   1221 
   1222   -target | --target | --targe | --targ | --tar | --ta | --t)
   1223     ac_prev=target_alias ;;
   1224   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1225     target_alias=$ac_optarg ;;
   1226 
   1227   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1228     verbose=yes ;;
   1229 
   1230   -version | --version | --versio | --versi | --vers | -V)
   1231     ac_init_version=: ;;
   1232 
   1233   -with-* | --with-*)
   1234     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1235     # Reject names that are not valid shell variable names.
   1236     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1237       as_fn_error "invalid package name: $ac_useropt"
   1238     ac_useropt_orig=$ac_useropt
   1239     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1240     case $ac_user_opts in
   1241       *"
   1242 "with_$ac_useropt"
   1243 "*) ;;
   1244       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1245 	 ac_unrecognized_sep=', ';;
   1246     esac
   1247     eval with_$ac_useropt=\$ac_optarg ;;
   1248 
   1249   -without-* | --without-*)
   1250     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1251     # Reject names that are not valid shell variable names.
   1252     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1253       as_fn_error "invalid package name: $ac_useropt"
   1254     ac_useropt_orig=$ac_useropt
   1255     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1256     case $ac_user_opts in
   1257       *"
   1258 "with_$ac_useropt"
   1259 "*) ;;
   1260       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1261 	 ac_unrecognized_sep=', ';;
   1262     esac
   1263     eval with_$ac_useropt=no ;;
   1264 
   1265   --x)
   1266     # Obsolete; use --with-x.
   1267     with_x=yes ;;
   1268 
   1269   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1270   | --x-incl | --x-inc | --x-in | --x-i)
   1271     ac_prev=x_includes ;;
   1272   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1273   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1274     x_includes=$ac_optarg ;;
   1275 
   1276   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1277   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1278     ac_prev=x_libraries ;;
   1279   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1280   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1281     x_libraries=$ac_optarg ;;
   1282 
   1283   -*) as_fn_error "unrecognized option: \`$ac_option'
   1284 Try \`$0 --help' for more information."
   1285     ;;
   1286 
   1287   *=*)
   1288     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1289     # Reject names that are not valid shell variable names.
   1290     case $ac_envvar in #(
   1291       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1292       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1293     esac
   1294     eval $ac_envvar=\$ac_optarg
   1295     export $ac_envvar ;;
   1296 
   1297   *)
   1298     # FIXME: should be removed in autoconf 3.0.
   1299     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1300     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1301       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1302     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1303     ;;
   1304 
   1305   esac
   1306 done
   1307 
   1308 if test -n "$ac_prev"; then
   1309   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1310   as_fn_error "missing argument to $ac_option"
   1311 fi
   1312 
   1313 if test -n "$ac_unrecognized_opts"; then
   1314   case $enable_option_checking in
   1315     no) ;;
   1316     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1317     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1318   esac
   1319 fi
   1320 
   1321 # Check all directory arguments for consistency.
   1322 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1323 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1324 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1325 		libdir localedir mandir
   1326 do
   1327   eval ac_val=\$$ac_var
   1328   # Remove trailing slashes.
   1329   case $ac_val in
   1330     */ )
   1331       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1332       eval $ac_var=\$ac_val;;
   1333   esac
   1334   # Be sure to have absolute directory names.
   1335   case $ac_val in
   1336     [\\/$]* | ?:[\\/]* )  continue;;
   1337     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1338   esac
   1339   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1340 done
   1341 
   1342 # There might be people who depend on the old broken behavior: `$host'
   1343 # used to hold the argument of --host etc.
   1344 # FIXME: To remove some day.
   1345 build=$build_alias
   1346 host=$host_alias
   1347 target=$target_alias
   1348 
   1349 # FIXME: To remove some day.
   1350 if test "x$host_alias" != x; then
   1351   if test "x$build_alias" = x; then
   1352     cross_compiling=maybe
   1353     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1354     If a cross compiler is detected then cross compile mode will be used." >&2
   1355   elif test "x$build_alias" != "x$host_alias"; then
   1356     cross_compiling=yes
   1357   fi
   1358 fi
   1359 
   1360 ac_tool_prefix=
   1361 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1362 
   1363 test "$silent" = yes && exec 6>/dev/null
   1364 
   1365 
   1366 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1367 ac_ls_di=`ls -di .` &&
   1368 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1369   as_fn_error "working directory cannot be determined"
   1370 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1371   as_fn_error "pwd does not report name of working directory"
   1372 
   1373 
   1374 # Find the source files, if location was not specified.
   1375 if test -z "$srcdir"; then
   1376   ac_srcdir_defaulted=yes
   1377   # Try the directory containing this script, then the parent directory.
   1378   ac_confdir=`$as_dirname -- "$as_myself" ||
   1379 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1380 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1381 	 X"$as_myself" : 'X\(//\)$' \| \
   1382 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1383 $as_echo X"$as_myself" |
   1384     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1385 	    s//\1/
   1386 	    q
   1387 	  }
   1388 	  /^X\(\/\/\)[^/].*/{
   1389 	    s//\1/
   1390 	    q
   1391 	  }
   1392 	  /^X\(\/\/\)$/{
   1393 	    s//\1/
   1394 	    q
   1395 	  }
   1396 	  /^X\(\/\).*/{
   1397 	    s//\1/
   1398 	    q
   1399 	  }
   1400 	  s/.*/./; q'`
   1401   srcdir=$ac_confdir
   1402   if test ! -r "$srcdir/$ac_unique_file"; then
   1403     srcdir=..
   1404   fi
   1405 else
   1406   ac_srcdir_defaulted=no
   1407 fi
   1408 if test ! -r "$srcdir/$ac_unique_file"; then
   1409   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1410   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1411 fi
   1412 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1413 ac_abs_confdir=`(
   1414 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1415 	pwd)`
   1416 # When building in place, set srcdir=.
   1417 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1418   srcdir=.
   1419 fi
   1420 # Remove unnecessary trailing slashes from srcdir.
   1421 # Double slashes in file names in object file debugging info
   1422 # mess up M-x gdb in Emacs.
   1423 case $srcdir in
   1424 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1425 esac
   1426 for ac_var in $ac_precious_vars; do
   1427   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1428   eval ac_env_${ac_var}_value=\$${ac_var}
   1429   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1430   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1431 done
   1432 
   1433 #
   1434 # Report the --help message.
   1435 #
   1436 if test "$ac_init_help" = "long"; then
   1437   # Omit some internal or obsolete options to make the list less imposing.
   1438   # This message is too long to be a string in the A/UX 3.1 sh.
   1439   cat <<_ACEOF
   1440 \`configure' configures libdrm 2.4.14 to adapt to many kinds of systems.
   1441 
   1442 Usage: $0 [OPTION]... [VAR=VALUE]...
   1443 
   1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1445 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1446 
   1447 Defaults for the options are specified in brackets.
   1448 
   1449 Configuration:
   1450   -h, --help              display this help and exit
   1451       --help=short        display options specific to this package
   1452       --help=recursive    display the short help of all the included packages
   1453   -V, --version           display version information and exit
   1454   -q, --quiet, --silent   do not print \`checking...' messages
   1455       --cache-file=FILE   cache test results in FILE [disabled]
   1456   -C, --config-cache      alias for \`--cache-file=config.cache'
   1457   -n, --no-create         do not create output files
   1458       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1459 
   1460 Installation directories:
   1461   --prefix=PREFIX         install architecture-independent files in PREFIX
   1462                           [$ac_default_prefix]
   1463   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1464                           [PREFIX]
   1465 
   1466 By default, \`make install' will install all the files in
   1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1469 for instance \`--prefix=\$HOME'.
   1470 
   1471 For better control, use the options below.
   1472 
   1473 Fine tuning of the installation directories:
   1474   --bindir=DIR            user executables [EPREFIX/bin]
   1475   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1476   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1477   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1478   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1479   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1480   --libdir=DIR            object code libraries [EPREFIX/lib]
   1481   --includedir=DIR        C header files [PREFIX/include]
   1482   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1483   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1484   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1485   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1486   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1487   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1488   --docdir=DIR            documentation root [DATAROOTDIR/doc/libdrm]
   1489   --htmldir=DIR           html documentation [DOCDIR]
   1490   --dvidir=DIR            dvi documentation [DOCDIR]
   1491   --pdfdir=DIR            pdf documentation [DOCDIR]
   1492   --psdir=DIR             ps documentation [DOCDIR]
   1493 _ACEOF
   1494 
   1495   cat <<\_ACEOF
   1496 
   1497 Program names:
   1498   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1499   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1500   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1501 
   1502 System types:
   1503   --build=BUILD     configure for building on BUILD [guessed]
   1504   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1505 _ACEOF
   1506 fi
   1507 
   1508 if test -n "$ac_init_help"; then
   1509   case $ac_init_help in
   1510      short | recursive ) echo "Configuration of libdrm 2.4.14:";;
   1511    esac
   1512   cat <<\_ACEOF
   1513 
   1514 Optional Features:
   1515   --disable-option-checking  ignore unrecognized --enable/--with options
   1516   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1517   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1518   --disable-dependency-tracking  speeds up one-time build
   1519   --enable-dependency-tracking   do not reject slow dependency extractors
   1520   --enable-static[=PKGS]  build static libraries [default=no]
   1521   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1522   --enable-fast-install[=PKGS]
   1523                           optimize for fast installation [default=yes]
   1524   --disable-libtool-lock  avoid locking (might break parallel builds)
   1525   --disable-largefile     omit support for large files
   1526   --enable-udev           Enable support for using udev instead of mknod
   1527                           (default: disabled)
   1528   --enable-nouveau-experimental-api
   1529                           Enable support for nouveau's experimental API
   1530                           (default: disabled)
   1531   --enable-radeon-experimental-api
   1532                           Enable support for radeon's KMS API (default:
   1533                           disabled)
   1534 
   1535 Optional Packages:
   1536   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1537   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1538   --with-pic              try to use only PIC/non-PIC objects [default=use
   1539                           both]
   1540   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1541 
   1542 Some influential environment variables:
   1543   CC          C compiler command
   1544   CFLAGS      C compiler flags
   1545   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1546               nonstandard directory <lib dir>
   1547   LIBS        libraries to pass to the linker, e.g. -l<library>
   1548   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1549               you have headers in a nonstandard directory <include dir>
   1550   CPP         C preprocessor
   1551   PKG_CONFIG  path to pkg-config utility
   1552   PTHREADSTUBS_CFLAGS
   1553               C compiler flags for PTHREADSTUBS, overriding pkg-config
   1554   PTHREADSTUBS_LIBS
   1555               linker flags for PTHREADSTUBS, overriding pkg-config
   1556   CAIRO_CFLAGS
   1557               C compiler flags for CAIRO, overriding pkg-config
   1558   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
   1559   LIBUDEV_CFLAGS
   1560               C compiler flags for LIBUDEV, overriding pkg-config
   1561   LIBUDEV_LIBS
   1562               linker flags for LIBUDEV, overriding pkg-config
   1563 
   1564 Use these variables to override the choices made by `configure' or to help
   1565 it to find libraries and programs with nonstandard names/locations.
   1566 
   1567 Report bugs to <dri-devel@lists.sourceforge.net>.
   1568 _ACEOF
   1569 ac_status=$?
   1570 fi
   1571 
   1572 if test "$ac_init_help" = "recursive"; then
   1573   # If there are subdirs, report their specific --help.
   1574   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1575     test -d "$ac_dir" ||
   1576       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1577       continue
   1578     ac_builddir=.
   1579 
   1580 case "$ac_dir" in
   1581 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1582 *)
   1583   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1584   # A ".." for each directory in $ac_dir_suffix.
   1585   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1586   case $ac_top_builddir_sub in
   1587   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1588   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1589   esac ;;
   1590 esac
   1591 ac_abs_top_builddir=$ac_pwd
   1592 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1593 # for backward compatibility:
   1594 ac_top_builddir=$ac_top_build_prefix
   1595 
   1596 case $srcdir in
   1597   .)  # We are building in place.
   1598     ac_srcdir=.
   1599     ac_top_srcdir=$ac_top_builddir_sub
   1600     ac_abs_top_srcdir=$ac_pwd ;;
   1601   [\\/]* | ?:[\\/]* )  # Absolute name.
   1602     ac_srcdir=$srcdir$ac_dir_suffix;
   1603     ac_top_srcdir=$srcdir
   1604     ac_abs_top_srcdir=$srcdir ;;
   1605   *) # Relative name.
   1606     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1607     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1608     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1609 esac
   1610 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1611 
   1612     cd "$ac_dir" || { ac_status=$?; continue; }
   1613     # Check for guested configure.
   1614     if test -f "$ac_srcdir/configure.gnu"; then
   1615       echo &&
   1616       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1617     elif test -f "$ac_srcdir/configure"; then
   1618       echo &&
   1619       $SHELL "$ac_srcdir/configure" --help=recursive
   1620     else
   1621       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1622     fi || ac_status=$?
   1623     cd "$ac_pwd" || { ac_status=$?; break; }
   1624   done
   1625 fi
   1626 
   1627 test -n "$ac_init_help" && exit $ac_status
   1628 if $ac_init_version; then
   1629   cat <<\_ACEOF
   1630 libdrm configure 2.4.14
   1631 generated by GNU Autoconf 2.64
   1632 
   1633 Copyright (C) 2009 Free Software Foundation, Inc.
   1634 This configure script is free software; the Free Software Foundation
   1635 gives unlimited permission to copy, distribute and modify it.
   1636 _ACEOF
   1637   exit
   1638 fi
   1639 
   1640 ## ------------------------ ##
   1641 ## Autoconf initialization. ##
   1642 ## ------------------------ ##
   1643 
   1644 # ac_fn_c_try_compile LINENO
   1645 # --------------------------
   1646 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_compile ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   rm -f conftest.$ac_objext
   1651   if { { ac_try="$ac_compile"
   1652 case "(($ac_try" in
   1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1654   *) ac_try_echo=$ac_try;;
   1655 esac
   1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1657 $as_echo "$ac_try_echo"; } >&5
   1658   (eval "$ac_compile") 2>conftest.err
   1659   ac_status=$?
   1660   if test -s conftest.err; then
   1661     grep -v '^ *+' conftest.err >conftest.er1
   1662     cat conftest.er1 >&5
   1663     mv -f conftest.er1 conftest.err
   1664   fi
   1665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1666   test $ac_status = 0; } && {
   1667 	 test -z "$ac_c_werror_flag" ||
   1668 	 test ! -s conftest.err
   1669        } && test -s conftest.$ac_objext; then :
   1670   ac_retval=0
   1671 else
   1672   $as_echo "$as_me: failed program was:" >&5
   1673 sed 's/^/| /' conftest.$ac_ext >&5
   1674 
   1675 	ac_retval=1
   1676 fi
   1677   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1678   return $ac_retval
   1679 
   1680 } # ac_fn_c_try_compile
   1681 
   1682 # ac_fn_c_try_cpp LINENO
   1683 # ----------------------
   1684 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1685 ac_fn_c_try_cpp ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1696   ac_status=$?
   1697   if test -s conftest.err; then
   1698     grep -v '^ *+' conftest.err >conftest.er1
   1699     cat conftest.er1 >&5
   1700     mv -f conftest.er1 conftest.err
   1701   fi
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } >/dev/null && {
   1704 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1705 	 test ! -s conftest.err
   1706        }; then :
   1707   ac_retval=0
   1708 else
   1709   $as_echo "$as_me: failed program was:" >&5
   1710 sed 's/^/| /' conftest.$ac_ext >&5
   1711 
   1712     ac_retval=1
   1713 fi
   1714   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1715   return $ac_retval
   1716 
   1717 } # ac_fn_c_try_cpp
   1718 
   1719 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1720 # -------------------------------------------------------
   1721 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1722 # the include files in INCLUDES and setting the cache variable VAR
   1723 # accordingly.
   1724 ac_fn_c_check_header_mongrel ()
   1725 {
   1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1727   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 $as_echo_n "checking for $2... " >&6; }
   1730 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1731   $as_echo_n "(cached) " >&6
   1732 fi
   1733 eval ac_res=\$$3
   1734 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1735 $as_echo "$ac_res" >&6; }
   1736 else
   1737   # Is the header compilable?
   1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1739 $as_echo_n "checking $2 usability... " >&6; }
   1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1741 /* end confdefs.h.  */
   1742 $4
   1743 #include <$2>
   1744 _ACEOF
   1745 if ac_fn_c_try_compile "$LINENO"; then :
   1746   ac_header_compiler=yes
   1747 else
   1748   ac_header_compiler=no
   1749 fi
   1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1752 $as_echo "$ac_header_compiler" >&6; }
   1753 
   1754 # Is the header present?
   1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1756 $as_echo_n "checking $2 presence... " >&6; }
   1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1758 /* end confdefs.h.  */
   1759 #include <$2>
   1760 _ACEOF
   1761 if ac_fn_c_try_cpp "$LINENO"; then :
   1762   ac_header_preproc=yes
   1763 else
   1764   ac_header_preproc=no
   1765 fi
   1766 rm -f conftest.err conftest.$ac_ext
   1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1768 $as_echo "$ac_header_preproc" >&6; }
   1769 
   1770 # So?  What about this header?
   1771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1772   yes:no: )
   1773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1774 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1777     ;;
   1778   no:yes:* )
   1779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1780 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1781     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1782 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1783     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1784 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1785     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1786 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1787     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1788 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1789 ( cat <<\_ASBOX
   1790 ## ---------------------------------------------- ##
   1791 ## Report this to dri-devel (at] lists.sourceforge.net ##
   1792 ## ---------------------------------------------- ##
   1793 _ASBOX
   1794      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1795     ;;
   1796 esac
   1797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1798 $as_echo_n "checking for $2... " >&6; }
   1799 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1800   $as_echo_n "(cached) " >&6
   1801 else
   1802   eval "$3=\$ac_header_compiler"
   1803 fi
   1804 eval ac_res=\$$3
   1805 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1806 $as_echo "$ac_res" >&6; }
   1807 fi
   1808   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1809 
   1810 } # ac_fn_c_check_header_mongrel
   1811 
   1812 # ac_fn_c_try_run LINENO
   1813 # ----------------------
   1814 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1815 # that executables *can* be run.
   1816 ac_fn_c_try_run ()
   1817 {
   1818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1819   if { { ac_try="$ac_link"
   1820 case "(($ac_try" in
   1821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1822   *) ac_try_echo=$ac_try;;
   1823 esac
   1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1825 $as_echo "$ac_try_echo"; } >&5
   1826   (eval "$ac_link") 2>&5
   1827   ac_status=$?
   1828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1829   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1830   { { case "(($ac_try" in
   1831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1832   *) ac_try_echo=$ac_try;;
   1833 esac
   1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1835 $as_echo "$ac_try_echo"; } >&5
   1836   (eval "$ac_try") 2>&5
   1837   ac_status=$?
   1838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1839   test $ac_status = 0; }; }; then :
   1840   ac_retval=0
   1841 else
   1842   $as_echo "$as_me: program exited with status $ac_status" >&5
   1843        $as_echo "$as_me: failed program was:" >&5
   1844 sed 's/^/| /' conftest.$ac_ext >&5
   1845 
   1846        ac_retval=$ac_status
   1847 fi
   1848   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1849   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1850   return $ac_retval
   1851 
   1852 } # ac_fn_c_try_run
   1853 
   1854 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1855 # -------------------------------------------------------
   1856 # Tests whether HEADER exists and can be compiled using the include files in
   1857 # INCLUDES, setting the cache variable VAR accordingly.
   1858 ac_fn_c_check_header_compile ()
   1859 {
   1860   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1862 $as_echo_n "checking for $2... " >&6; }
   1863 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1864   $as_echo_n "(cached) " >&6
   1865 else
   1866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1867 /* end confdefs.h.  */
   1868 $4
   1869 #include <$2>
   1870 _ACEOF
   1871 if ac_fn_c_try_compile "$LINENO"; then :
   1872   eval "$3=yes"
   1873 else
   1874   eval "$3=no"
   1875 fi
   1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1877 fi
   1878 eval ac_res=\$$3
   1879 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1880 $as_echo "$ac_res" >&6; }
   1881   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1882 
   1883 } # ac_fn_c_check_header_compile
   1884 
   1885 # ac_fn_c_try_link LINENO
   1886 # -----------------------
   1887 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1888 ac_fn_c_try_link ()
   1889 {
   1890   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1891   rm -f conftest.$ac_objext conftest$ac_exeext
   1892   if { { ac_try="$ac_link"
   1893 case "(($ac_try" in
   1894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1895   *) ac_try_echo=$ac_try;;
   1896 esac
   1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1898 $as_echo "$ac_try_echo"; } >&5
   1899   (eval "$ac_link") 2>conftest.err
   1900   ac_status=$?
   1901   if test -s conftest.err; then
   1902     grep -v '^ *+' conftest.err >conftest.er1
   1903     cat conftest.er1 >&5
   1904     mv -f conftest.er1 conftest.err
   1905   fi
   1906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1907   test $ac_status = 0; } && {
   1908 	 test -z "$ac_c_werror_flag" ||
   1909 	 test ! -s conftest.err
   1910        } && test -s conftest$ac_exeext && {
   1911 	 test "$cross_compiling" = yes ||
   1912 	 $as_test_x conftest$ac_exeext
   1913        }; then :
   1914   ac_retval=0
   1915 else
   1916   $as_echo "$as_me: failed program was:" >&5
   1917 sed 's/^/| /' conftest.$ac_ext >&5
   1918 
   1919 	ac_retval=1
   1920 fi
   1921   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1922   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1923   # interfere with the next link command; also delete a directory that is
   1924   # left behind by Apple's compiler.  We do this before executing the actions.
   1925   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1926   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1927   return $ac_retval
   1928 
   1929 } # ac_fn_c_try_link
   1930 
   1931 # ac_fn_c_check_func LINENO FUNC VAR
   1932 # ----------------------------------
   1933 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1934 ac_fn_c_check_func ()
   1935 {
   1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1938 $as_echo_n "checking for $2... " >&6; }
   1939 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1940   $as_echo_n "(cached) " >&6
   1941 else
   1942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1943 /* end confdefs.h.  */
   1944 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1946 #define $2 innocuous_$2
   1947 
   1948 /* System header to define __stub macros and hopefully few prototypes,
   1949     which can conflict with char $2 (); below.
   1950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1951     <limits.h> exists even on freestanding compilers.  */
   1952 
   1953 #ifdef __STDC__
   1954 # include <limits.h>
   1955 #else
   1956 # include <assert.h>
   1957 #endif
   1958 
   1959 #undef $2
   1960 
   1961 /* Override any GCC internal prototype to avoid an error.
   1962    Use char because int might match the return type of a GCC
   1963    builtin and then its argument prototype would still apply.  */
   1964 #ifdef __cplusplus
   1965 extern "C"
   1966 #endif
   1967 char $2 ();
   1968 /* The GNU C library defines this for functions which it implements
   1969     to always fail with ENOSYS.  Some functions are actually named
   1970     something starting with __ and the normal name is an alias.  */
   1971 #if defined __stub_$2 || defined __stub___$2
   1972 choke me
   1973 #endif
   1974 
   1975 int
   1976 main ()
   1977 {
   1978 return $2 ();
   1979   ;
   1980   return 0;
   1981 }
   1982 _ACEOF
   1983 if ac_fn_c_try_link "$LINENO"; then :
   1984   eval "$3=yes"
   1985 else
   1986   eval "$3=no"
   1987 fi
   1988 rm -f core conftest.err conftest.$ac_objext \
   1989     conftest$ac_exeext conftest.$ac_ext
   1990 fi
   1991 eval ac_res=\$$3
   1992 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1993 $as_echo "$ac_res" >&6; }
   1994   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1995 
   1996 } # ac_fn_c_check_func
   1997 cat >config.log <<_ACEOF
   1998 This file contains any messages produced by compilers while
   1999 running configure, to aid debugging if configure makes a mistake.
   2000 
   2001 It was created by libdrm $as_me 2.4.14, which was
   2002 generated by GNU Autoconf 2.64.  Invocation command line was
   2003 
   2004   $ $0 $@
   2005 
   2006 _ACEOF
   2007 exec 5>>config.log
   2008 {
   2009 cat <<_ASUNAME
   2010 ## --------- ##
   2011 ## Platform. ##
   2012 ## --------- ##
   2013 
   2014 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2015 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2016 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2017 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2018 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2019 
   2020 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2021 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2022 
   2023 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2024 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2025 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2026 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2027 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2028 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2029 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2030 
   2031 _ASUNAME
   2032 
   2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2034 for as_dir in $PATH
   2035 do
   2036   IFS=$as_save_IFS
   2037   test -z "$as_dir" && as_dir=.
   2038     $as_echo "PATH: $as_dir"
   2039   done
   2040 IFS=$as_save_IFS
   2041 
   2042 } >&5
   2043 
   2044 cat >&5 <<_ACEOF
   2045 
   2046 
   2047 ## ----------- ##
   2048 ## Core tests. ##
   2049 ## ----------- ##
   2050 
   2051 _ACEOF
   2052 
   2053 
   2054 # Keep a trace of the command line.
   2055 # Strip out --no-create and --no-recursion so they do not pile up.
   2056 # Strip out --silent because we don't want to record it for future runs.
   2057 # Also quote any args containing shell meta-characters.
   2058 # Make two passes to allow for proper duplicate-argument suppression.
   2059 ac_configure_args=
   2060 ac_configure_args0=
   2061 ac_configure_args1=
   2062 ac_must_keep_next=false
   2063 for ac_pass in 1 2
   2064 do
   2065   for ac_arg
   2066   do
   2067     case $ac_arg in
   2068     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2069     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2070     | -silent | --silent | --silen | --sile | --sil)
   2071       continue ;;
   2072     *\'*)
   2073       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2074     esac
   2075     case $ac_pass in
   2076     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2077     2)
   2078       as_fn_append ac_configure_args1 " '$ac_arg'"
   2079       if test $ac_must_keep_next = true; then
   2080 	ac_must_keep_next=false # Got value, back to normal.
   2081       else
   2082 	case $ac_arg in
   2083 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2084 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2085 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2086 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2087 	    case "$ac_configure_args0 " in
   2088 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2089 	    esac
   2090 	    ;;
   2091 	  -* ) ac_must_keep_next=true ;;
   2092 	esac
   2093       fi
   2094       as_fn_append ac_configure_args " '$ac_arg'"
   2095       ;;
   2096     esac
   2097   done
   2098 done
   2099 { ac_configure_args0=; unset ac_configure_args0;}
   2100 { ac_configure_args1=; unset ac_configure_args1;}
   2101 
   2102 # When interrupted or exit'd, cleanup temporary files, and complete
   2103 # config.log.  We remove comments because anyway the quotes in there
   2104 # would cause problems or look ugly.
   2105 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2106 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2107 trap 'exit_status=$?
   2108   # Save into config.log some information that might help in debugging.
   2109   {
   2110     echo
   2111 
   2112     cat <<\_ASBOX
   2113 ## ---------------- ##
   2114 ## Cache variables. ##
   2115 ## ---------------- ##
   2116 _ASBOX
   2117     echo
   2118     # The following way of writing the cache mishandles newlines in values,
   2119 (
   2120   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2121     eval ac_val=\$$ac_var
   2122     case $ac_val in #(
   2123     *${as_nl}*)
   2124       case $ac_var in #(
   2125       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2127       esac
   2128       case $ac_var in #(
   2129       _ | IFS | as_nl) ;; #(
   2130       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2131       *) { eval $ac_var=; unset $ac_var;} ;;
   2132       esac ;;
   2133     esac
   2134   done
   2135   (set) 2>&1 |
   2136     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2137     *${as_nl}ac_space=\ *)
   2138       sed -n \
   2139 	"s/'\''/'\''\\\\'\'''\''/g;
   2140 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2141       ;; #(
   2142     *)
   2143       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2144       ;;
   2145     esac |
   2146     sort
   2147 )
   2148     echo
   2149 
   2150     cat <<\_ASBOX
   2151 ## ----------------- ##
   2152 ## Output variables. ##
   2153 ## ----------------- ##
   2154 _ASBOX
   2155     echo
   2156     for ac_var in $ac_subst_vars
   2157     do
   2158       eval ac_val=\$$ac_var
   2159       case $ac_val in
   2160       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2161       esac
   2162       $as_echo "$ac_var='\''$ac_val'\''"
   2163     done | sort
   2164     echo
   2165 
   2166     if test -n "$ac_subst_files"; then
   2167       cat <<\_ASBOX
   2168 ## ------------------- ##
   2169 ## File substitutions. ##
   2170 ## ------------------- ##
   2171 _ASBOX
   2172       echo
   2173       for ac_var in $ac_subst_files
   2174       do
   2175 	eval ac_val=\$$ac_var
   2176 	case $ac_val in
   2177 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2178 	esac
   2179 	$as_echo "$ac_var='\''$ac_val'\''"
   2180       done | sort
   2181       echo
   2182     fi
   2183 
   2184     if test -s confdefs.h; then
   2185       cat <<\_ASBOX
   2186 ## ----------- ##
   2187 ## confdefs.h. ##
   2188 ## ----------- ##
   2189 _ASBOX
   2190       echo
   2191       cat confdefs.h
   2192       echo
   2193     fi
   2194     test "$ac_signal" != 0 &&
   2195       $as_echo "$as_me: caught signal $ac_signal"
   2196     $as_echo "$as_me: exit $exit_status"
   2197   } >&5
   2198   rm -f core *.core core.conftest.* &&
   2199     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2200     exit $exit_status
   2201 ' 0
   2202 for ac_signal in 1 2 13 15; do
   2203   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2204 done
   2205 ac_signal=0
   2206 
   2207 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2208 rm -f -r conftest* confdefs.h
   2209 
   2210 $as_echo "/* confdefs.h */" > confdefs.h
   2211 
   2212 # Predefined preprocessor variables.
   2213 
   2214 cat >>confdefs.h <<_ACEOF
   2215 #define PACKAGE_NAME "$PACKAGE_NAME"
   2216 _ACEOF
   2217 
   2218 cat >>confdefs.h <<_ACEOF
   2219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2220 _ACEOF
   2221 
   2222 cat >>confdefs.h <<_ACEOF
   2223 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2224 _ACEOF
   2225 
   2226 cat >>confdefs.h <<_ACEOF
   2227 #define PACKAGE_STRING "$PACKAGE_STRING"
   2228 _ACEOF
   2229 
   2230 cat >>confdefs.h <<_ACEOF
   2231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2232 _ACEOF
   2233 
   2234 cat >>confdefs.h <<_ACEOF
   2235 #define PACKAGE_URL "$PACKAGE_URL"
   2236 _ACEOF
   2237 
   2238 
   2239 # Let the site file select an alternate cache file if it wants to.
   2240 # Prefer an explicitly selected file to automatically selected ones.
   2241 ac_site_file1=NONE
   2242 ac_site_file2=NONE
   2243 if test -n "$CONFIG_SITE"; then
   2244   ac_site_file1=$CONFIG_SITE
   2245 elif test "x$prefix" != xNONE; then
   2246   ac_site_file1=$prefix/share/config.site
   2247   ac_site_file2=$prefix/etc/config.site
   2248 else
   2249   ac_site_file1=$ac_default_prefix/share/config.site
   2250   ac_site_file2=$ac_default_prefix/etc/config.site
   2251 fi
   2252 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2253 do
   2254   test "x$ac_site_file" = xNONE && continue
   2255   if test -r "$ac_site_file"; then
   2256     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2257 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2258     sed 's/^/| /' "$ac_site_file" >&5
   2259     . "$ac_site_file"
   2260   fi
   2261 done
   2262 
   2263 if test -r "$cache_file"; then
   2264   # Some versions of bash will fail to source /dev/null (special
   2265   # files actually), so we avoid doing that.
   2266   if test -f "$cache_file"; then
   2267     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2268 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2269     case $cache_file in
   2270       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2271       *)                      . "./$cache_file";;
   2272     esac
   2273   fi
   2274 else
   2275   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2276 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2277   >$cache_file
   2278 fi
   2279 
   2280 # Check that the precious variables saved in the cache have kept the same
   2281 # value.
   2282 ac_cache_corrupted=false
   2283 for ac_var in $ac_precious_vars; do
   2284   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2285   eval ac_new_set=\$ac_env_${ac_var}_set
   2286   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2287   eval ac_new_val=\$ac_env_${ac_var}_value
   2288   case $ac_old_set,$ac_new_set in
   2289     set,)
   2290       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2291 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2292       ac_cache_corrupted=: ;;
   2293     ,set)
   2294       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2295 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2296       ac_cache_corrupted=: ;;
   2297     ,);;
   2298     *)
   2299       if test "x$ac_old_val" != "x$ac_new_val"; then
   2300 	# differences in whitespace do not lead to failure.
   2301 	ac_old_val_w=`echo x $ac_old_val`
   2302 	ac_new_val_w=`echo x $ac_new_val`
   2303 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2304 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2305 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2306 	  ac_cache_corrupted=:
   2307 	else
   2308 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2309 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2310 	  eval $ac_var=\$ac_old_val
   2311 	fi
   2312 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2313 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2314 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2315 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2316       fi;;
   2317   esac
   2318   # Pass precious variables to config.status.
   2319   if test "$ac_new_set" = set; then
   2320     case $ac_new_val in
   2321     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2322     *) ac_arg=$ac_var=$ac_new_val ;;
   2323     esac
   2324     case " $ac_configure_args " in
   2325       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2326       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2327     esac
   2328   fi
   2329 done
   2330 if $ac_cache_corrupted; then
   2331   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2333   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2334 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2335   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2336 fi
   2337 ## -------------------- ##
   2338 ## Main body of script. ##
   2339 ## -------------------- ##
   2340 
   2341 ac_ext=c
   2342 ac_cpp='$CPP $CPPFLAGS'
   2343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2346 
   2347 
   2348 ac_ext=c
   2349 ac_cpp='$CPP $CPPFLAGS'
   2350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2353 if test -n "$ac_tool_prefix"; then
   2354   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2355 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2357 $as_echo_n "checking for $ac_word... " >&6; }
   2358 if test "${ac_cv_prog_CC+set}" = set; then :
   2359   $as_echo_n "(cached) " >&6
   2360 else
   2361   if test -n "$CC"; then
   2362   ac_cv_prog_CC="$CC" # Let the user override the test.
   2363 else
   2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2365 for as_dir in $PATH
   2366 do
   2367   IFS=$as_save_IFS
   2368   test -z "$as_dir" && as_dir=.
   2369     for ac_exec_ext in '' $ac_executable_extensions; do
   2370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2371     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2373     break 2
   2374   fi
   2375 done
   2376   done
   2377 IFS=$as_save_IFS
   2378 
   2379 fi
   2380 fi
   2381 CC=$ac_cv_prog_CC
   2382 if test -n "$CC"; then
   2383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2384 $as_echo "$CC" >&6; }
   2385 else
   2386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2387 $as_echo "no" >&6; }
   2388 fi
   2389 
   2390 
   2391 fi
   2392 if test -z "$ac_cv_prog_CC"; then
   2393   ac_ct_CC=$CC
   2394   # Extract the first word of "gcc", so it can be a program name with args.
   2395 set dummy gcc; ac_word=$2
   2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2397 $as_echo_n "checking for $ac_word... " >&6; }
   2398 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2399   $as_echo_n "(cached) " >&6
   2400 else
   2401   if test -n "$ac_ct_CC"; then
   2402   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2403 else
   2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2405 for as_dir in $PATH
   2406 do
   2407   IFS=$as_save_IFS
   2408   test -z "$as_dir" && as_dir=.
   2409     for ac_exec_ext in '' $ac_executable_extensions; do
   2410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2411     ac_cv_prog_ac_ct_CC="gcc"
   2412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2413     break 2
   2414   fi
   2415 done
   2416   done
   2417 IFS=$as_save_IFS
   2418 
   2419 fi
   2420 fi
   2421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2422 if test -n "$ac_ct_CC"; then
   2423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2424 $as_echo "$ac_ct_CC" >&6; }
   2425 else
   2426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2427 $as_echo "no" >&6; }
   2428 fi
   2429 
   2430   if test "x$ac_ct_CC" = x; then
   2431     CC=""
   2432   else
   2433     case $cross_compiling:$ac_tool_warned in
   2434 yes:)
   2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2437 ac_tool_warned=yes ;;
   2438 esac
   2439     CC=$ac_ct_CC
   2440   fi
   2441 else
   2442   CC="$ac_cv_prog_CC"
   2443 fi
   2444 
   2445 if test -z "$CC"; then
   2446           if test -n "$ac_tool_prefix"; then
   2447     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2448 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2450 $as_echo_n "checking for $ac_word... " >&6; }
   2451 if test "${ac_cv_prog_CC+set}" = set; then :
   2452   $as_echo_n "(cached) " >&6
   2453 else
   2454   if test -n "$CC"; then
   2455   ac_cv_prog_CC="$CC" # Let the user override the test.
   2456 else
   2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2458 for as_dir in $PATH
   2459 do
   2460   IFS=$as_save_IFS
   2461   test -z "$as_dir" && as_dir=.
   2462     for ac_exec_ext in '' $ac_executable_extensions; do
   2463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2464     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2466     break 2
   2467   fi
   2468 done
   2469   done
   2470 IFS=$as_save_IFS
   2471 
   2472 fi
   2473 fi
   2474 CC=$ac_cv_prog_CC
   2475 if test -n "$CC"; then
   2476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2477 $as_echo "$CC" >&6; }
   2478 else
   2479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2480 $as_echo "no" >&6; }
   2481 fi
   2482 
   2483 
   2484   fi
   2485 fi
   2486 if test -z "$CC"; then
   2487   # Extract the first word of "cc", so it can be a program name with args.
   2488 set dummy cc; ac_word=$2
   2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2490 $as_echo_n "checking for $ac_word... " >&6; }
   2491 if test "${ac_cv_prog_CC+set}" = set; then :
   2492   $as_echo_n "(cached) " >&6
   2493 else
   2494   if test -n "$CC"; then
   2495   ac_cv_prog_CC="$CC" # Let the user override the test.
   2496 else
   2497   ac_prog_rejected=no
   2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2499 for as_dir in $PATH
   2500 do
   2501   IFS=$as_save_IFS
   2502   test -z "$as_dir" && as_dir=.
   2503     for ac_exec_ext in '' $ac_executable_extensions; do
   2504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2505     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2506        ac_prog_rejected=yes
   2507        continue
   2508      fi
   2509     ac_cv_prog_CC="cc"
   2510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2511     break 2
   2512   fi
   2513 done
   2514   done
   2515 IFS=$as_save_IFS
   2516 
   2517 if test $ac_prog_rejected = yes; then
   2518   # We found a bogon in the path, so make sure we never use it.
   2519   set dummy $ac_cv_prog_CC
   2520   shift
   2521   if test $# != 0; then
   2522     # We chose a different compiler from the bogus one.
   2523     # However, it has the same basename, so the bogon will be chosen
   2524     # first if we set CC to just the basename; use the full file name.
   2525     shift
   2526     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2527   fi
   2528 fi
   2529 fi
   2530 fi
   2531 CC=$ac_cv_prog_CC
   2532 if test -n "$CC"; then
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2534 $as_echo "$CC" >&6; }
   2535 else
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538 fi
   2539 
   2540 
   2541 fi
   2542 if test -z "$CC"; then
   2543   if test -n "$ac_tool_prefix"; then
   2544   for ac_prog in cl.exe
   2545   do
   2546     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2549 $as_echo_n "checking for $ac_word... " >&6; }
   2550 if test "${ac_cv_prog_CC+set}" = set; then :
   2551   $as_echo_n "(cached) " >&6
   2552 else
   2553   if test -n "$CC"; then
   2554   ac_cv_prog_CC="$CC" # Let the user override the test.
   2555 else
   2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2557 for as_dir in $PATH
   2558 do
   2559   IFS=$as_save_IFS
   2560   test -z "$as_dir" && as_dir=.
   2561     for ac_exec_ext in '' $ac_executable_extensions; do
   2562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2563     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2565     break 2
   2566   fi
   2567 done
   2568   done
   2569 IFS=$as_save_IFS
   2570 
   2571 fi
   2572 fi
   2573 CC=$ac_cv_prog_CC
   2574 if test -n "$CC"; then
   2575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2576 $as_echo "$CC" >&6; }
   2577 else
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2579 $as_echo "no" >&6; }
   2580 fi
   2581 
   2582 
   2583     test -n "$CC" && break
   2584   done
   2585 fi
   2586 if test -z "$CC"; then
   2587   ac_ct_CC=$CC
   2588   for ac_prog in cl.exe
   2589 do
   2590   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2591 set dummy $ac_prog; ac_word=$2
   2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2593 $as_echo_n "checking for $ac_word... " >&6; }
   2594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2595   $as_echo_n "(cached) " >&6
   2596 else
   2597   if test -n "$ac_ct_CC"; then
   2598   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2599 else
   2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2601 for as_dir in $PATH
   2602 do
   2603   IFS=$as_save_IFS
   2604   test -z "$as_dir" && as_dir=.
   2605     for ac_exec_ext in '' $ac_executable_extensions; do
   2606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2607     ac_cv_prog_ac_ct_CC="$ac_prog"
   2608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2609     break 2
   2610   fi
   2611 done
   2612   done
   2613 IFS=$as_save_IFS
   2614 
   2615 fi
   2616 fi
   2617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2618 if test -n "$ac_ct_CC"; then
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2620 $as_echo "$ac_ct_CC" >&6; }
   2621 else
   2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2623 $as_echo "no" >&6; }
   2624 fi
   2625 
   2626 
   2627   test -n "$ac_ct_CC" && break
   2628 done
   2629 
   2630   if test "x$ac_ct_CC" = x; then
   2631     CC=""
   2632   else
   2633     case $cross_compiling:$ac_tool_warned in
   2634 yes:)
   2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2637 ac_tool_warned=yes ;;
   2638 esac
   2639     CC=$ac_ct_CC
   2640   fi
   2641 fi
   2642 
   2643 fi
   2644 
   2645 
   2646 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2648 as_fn_error "no acceptable C compiler found in \$PATH
   2649 See \`config.log' for more details." "$LINENO" 5; }
   2650 
   2651 # Provide some information about the compiler.
   2652 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2653 set X $ac_compile
   2654 ac_compiler=$2
   2655 for ac_option in --version -v -V -qversion; do
   2656   { { ac_try="$ac_compiler $ac_option >&5"
   2657 case "(($ac_try" in
   2658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2659   *) ac_try_echo=$ac_try;;
   2660 esac
   2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2662 $as_echo "$ac_try_echo"; } >&5
   2663   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2664   ac_status=$?
   2665   if test -s conftest.err; then
   2666     sed '10a\
   2667 ... rest of stderr output deleted ...
   2668          10q' conftest.err >conftest.er1
   2669     cat conftest.er1 >&5
   2670     rm -f conftest.er1 conftest.err
   2671   fi
   2672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2673   test $ac_status = 0; }
   2674 done
   2675 
   2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2677 /* end confdefs.h.  */
   2678 #include <stdio.h>
   2679 int
   2680 main ()
   2681 {
   2682 FILE *f = fopen ("conftest.out", "w");
   2683  return ferror (f) || fclose (f) != 0;
   2684 
   2685   ;
   2686   return 0;
   2687 }
   2688 _ACEOF
   2689 ac_clean_files_save=$ac_clean_files
   2690 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   2691 # Try to create an executable without -o first, disregard a.out.
   2692 # It will help us diagnose broken compilers, and finding out an intuition
   2693 # of exeext.
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2695 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2696 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2697 
   2698 # The possible output files:
   2699 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2700 
   2701 ac_rmfiles=
   2702 for ac_file in $ac_files
   2703 do
   2704   case $ac_file in
   2705     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2706     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2707   esac
   2708 done
   2709 rm -f $ac_rmfiles
   2710 
   2711 if { { ac_try="$ac_link_default"
   2712 case "(($ac_try" in
   2713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2714   *) ac_try_echo=$ac_try;;
   2715 esac
   2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2717 $as_echo "$ac_try_echo"; } >&5
   2718   (eval "$ac_link_default") 2>&5
   2719   ac_status=$?
   2720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2721   test $ac_status = 0; }; then :
   2722   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2723 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2724 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2725 # so that the user can short-circuit this test for compilers unknown to
   2726 # Autoconf.
   2727 for ac_file in $ac_files ''
   2728 do
   2729   test -f "$ac_file" || continue
   2730   case $ac_file in
   2731     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2732 	;;
   2733     [ab].out )
   2734 	# We found the default executable, but exeext='' is most
   2735 	# certainly right.
   2736 	break;;
   2737     *.* )
   2738 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2739 	then :; else
   2740 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2741 	fi
   2742 	# We set ac_cv_exeext here because the later test for it is not
   2743 	# safe: cross compilers may not add the suffix if given an `-o'
   2744 	# argument, so we may need to know it at that point already.
   2745 	# Even if this section looks crufty: it has the advantage of
   2746 	# actually working.
   2747 	break;;
   2748     * )
   2749 	break;;
   2750   esac
   2751 done
   2752 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2753 
   2754 else
   2755   ac_file=''
   2756 fi
   2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2758 $as_echo "$ac_file" >&6; }
   2759 if test -z "$ac_file"; then :
   2760   $as_echo "$as_me: failed program was:" >&5
   2761 sed 's/^/| /' conftest.$ac_ext >&5
   2762 
   2763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2765 { as_fn_set_status 77
   2766 as_fn_error "C compiler cannot create executables
   2767 See \`config.log' for more details." "$LINENO" 5; }; }
   2768 fi
   2769 ac_exeext=$ac_cv_exeext
   2770 
   2771 # Check that the compiler produces executables we can run.  If not, either
   2772 # the compiler is broken, or we cross compile.
   2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2774 $as_echo_n "checking whether the C compiler works... " >&6; }
   2775 # If not cross compiling, check that we can run a simple program.
   2776 if test "$cross_compiling" != yes; then
   2777   if { ac_try='./$ac_file'
   2778   { { case "(($ac_try" in
   2779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2780   *) ac_try_echo=$ac_try;;
   2781 esac
   2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2783 $as_echo "$ac_try_echo"; } >&5
   2784   (eval "$ac_try") 2>&5
   2785   ac_status=$?
   2786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2787   test $ac_status = 0; }; }; then
   2788     cross_compiling=no
   2789   else
   2790     if test "$cross_compiling" = maybe; then
   2791 	cross_compiling=yes
   2792     else
   2793 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2795 as_fn_error "cannot run C compiled programs.
   2796 If you meant to cross compile, use \`--host'.
   2797 See \`config.log' for more details." "$LINENO" 5; }
   2798     fi
   2799   fi
   2800 fi
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2802 $as_echo "yes" >&6; }
   2803 
   2804 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   2805 ac_clean_files=$ac_clean_files_save
   2806 # Check that the compiler produces executables we can run.  If not, either
   2807 # the compiler is broken, or we cross compile.
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2809 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2811 $as_echo "$cross_compiling" >&6; }
   2812 
   2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2814 $as_echo_n "checking for suffix of executables... " >&6; }
   2815 if { { ac_try="$ac_link"
   2816 case "(($ac_try" in
   2817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2818   *) ac_try_echo=$ac_try;;
   2819 esac
   2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2821 $as_echo "$ac_try_echo"; } >&5
   2822   (eval "$ac_link") 2>&5
   2823   ac_status=$?
   2824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2825   test $ac_status = 0; }; then :
   2826   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2827 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2828 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2829 # `rm'.
   2830 for ac_file in conftest.exe conftest conftest.*; do
   2831   test -f "$ac_file" || continue
   2832   case $ac_file in
   2833     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2834     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2835 	  break;;
   2836     * ) break;;
   2837   esac
   2838 done
   2839 else
   2840   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2842 as_fn_error "cannot compute suffix of executables: cannot compile and link
   2843 See \`config.log' for more details." "$LINENO" 5; }
   2844 fi
   2845 rm -f conftest$ac_cv_exeext
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2847 $as_echo "$ac_cv_exeext" >&6; }
   2848 
   2849 rm -f conftest.$ac_ext
   2850 EXEEXT=$ac_cv_exeext
   2851 ac_exeext=$EXEEXT
   2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2853 $as_echo_n "checking for suffix of object files... " >&6; }
   2854 if test "${ac_cv_objext+set}" = set; then :
   2855   $as_echo_n "(cached) " >&6
   2856 else
   2857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2858 /* end confdefs.h.  */
   2859 
   2860 int
   2861 main ()
   2862 {
   2863 
   2864   ;
   2865   return 0;
   2866 }
   2867 _ACEOF
   2868 rm -f conftest.o conftest.obj
   2869 if { { ac_try="$ac_compile"
   2870 case "(($ac_try" in
   2871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2872   *) ac_try_echo=$ac_try;;
   2873 esac
   2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2875 $as_echo "$ac_try_echo"; } >&5
   2876   (eval "$ac_compile") 2>&5
   2877   ac_status=$?
   2878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2879   test $ac_status = 0; }; then :
   2880   for ac_file in conftest.o conftest.obj conftest.*; do
   2881   test -f "$ac_file" || continue;
   2882   case $ac_file in
   2883     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2884     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2885        break;;
   2886   esac
   2887 done
   2888 else
   2889   $as_echo "$as_me: failed program was:" >&5
   2890 sed 's/^/| /' conftest.$ac_ext >&5
   2891 
   2892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2894 as_fn_error "cannot compute suffix of object files: cannot compile
   2895 See \`config.log' for more details." "$LINENO" 5; }
   2896 fi
   2897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2898 fi
   2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2900 $as_echo "$ac_cv_objext" >&6; }
   2901 OBJEXT=$ac_cv_objext
   2902 ac_objext=$OBJEXT
   2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2904 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2905 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   2906   $as_echo_n "(cached) " >&6
   2907 else
   2908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2909 /* end confdefs.h.  */
   2910 
   2911 int
   2912 main ()
   2913 {
   2914 #ifndef __GNUC__
   2915        choke me
   2916 #endif
   2917 
   2918   ;
   2919   return 0;
   2920 }
   2921 _ACEOF
   2922 if ac_fn_c_try_compile "$LINENO"; then :
   2923   ac_compiler_gnu=yes
   2924 else
   2925   ac_compiler_gnu=no
   2926 fi
   2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2929 
   2930 fi
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2932 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2933 if test $ac_compiler_gnu = yes; then
   2934   GCC=yes
   2935 else
   2936   GCC=
   2937 fi
   2938 ac_test_CFLAGS=${CFLAGS+set}
   2939 ac_save_CFLAGS=$CFLAGS
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2941 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2942 if test "${ac_cv_prog_cc_g+set}" = set; then :
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   ac_save_c_werror_flag=$ac_c_werror_flag
   2946    ac_c_werror_flag=yes
   2947    ac_cv_prog_cc_g=no
   2948    CFLAGS="-g"
   2949    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2950 /* end confdefs.h.  */
   2951 
   2952 int
   2953 main ()
   2954 {
   2955 
   2956   ;
   2957   return 0;
   2958 }
   2959 _ACEOF
   2960 if ac_fn_c_try_compile "$LINENO"; then :
   2961   ac_cv_prog_cc_g=yes
   2962 else
   2963   CFLAGS=""
   2964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2965 /* end confdefs.h.  */
   2966 
   2967 int
   2968 main ()
   2969 {
   2970 
   2971   ;
   2972   return 0;
   2973 }
   2974 _ACEOF
   2975 if ac_fn_c_try_compile "$LINENO"; then :
   2976 
   2977 else
   2978   ac_c_werror_flag=$ac_save_c_werror_flag
   2979 	 CFLAGS="-g"
   2980 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2981 /* end confdefs.h.  */
   2982 
   2983 int
   2984 main ()
   2985 {
   2986 
   2987   ;
   2988   return 0;
   2989 }
   2990 _ACEOF
   2991 if ac_fn_c_try_compile "$LINENO"; then :
   2992   ac_cv_prog_cc_g=yes
   2993 fi
   2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2995 fi
   2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2997 fi
   2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2999    ac_c_werror_flag=$ac_save_c_werror_flag
   3000 fi
   3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3002 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3003 if test "$ac_test_CFLAGS" = set; then
   3004   CFLAGS=$ac_save_CFLAGS
   3005 elif test $ac_cv_prog_cc_g = yes; then
   3006   if test "$GCC" = yes; then
   3007     CFLAGS="-g -O2"
   3008   else
   3009     CFLAGS="-g"
   3010   fi
   3011 else
   3012   if test "$GCC" = yes; then
   3013     CFLAGS="-O2"
   3014   else
   3015     CFLAGS=
   3016   fi
   3017 fi
   3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3019 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3020 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3021   $as_echo_n "(cached) " >&6
   3022 else
   3023   ac_cv_prog_cc_c89=no
   3024 ac_save_CC=$CC
   3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3026 /* end confdefs.h.  */
   3027 #include <stdarg.h>
   3028 #include <stdio.h>
   3029 #include <sys/types.h>
   3030 #include <sys/stat.h>
   3031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3032 struct buf { int x; };
   3033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3034 static char *e (p, i)
   3035      char **p;
   3036      int i;
   3037 {
   3038   return p[i];
   3039 }
   3040 static char *f (char * (*g) (char **, int), char **p, ...)
   3041 {
   3042   char *s;
   3043   va_list v;
   3044   va_start (v,p);
   3045   s = g (p, va_arg (v,int));
   3046   va_end (v);
   3047   return s;
   3048 }
   3049 
   3050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3051    function prototypes and stuff, but not '\xHH' hex character constants.
   3052    These don't provoke an error unfortunately, instead are silently treated
   3053    as 'x'.  The following induces an error, until -std is added to get
   3054    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3055    array size at least.  It's necessary to write '\x00'==0 to get something
   3056    that's true only with -std.  */
   3057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3058 
   3059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3060    inside strings and character constants.  */
   3061 #define FOO(x) 'x'
   3062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3063 
   3064 int test (int i, double x);
   3065 struct s1 {int (*f) (int a);};
   3066 struct s2 {int (*f) (double a);};
   3067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3068 int argc;
   3069 char **argv;
   3070 int
   3071 main ()
   3072 {
   3073 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3074   ;
   3075   return 0;
   3076 }
   3077 _ACEOF
   3078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3079 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3080 do
   3081   CC="$ac_save_CC $ac_arg"
   3082   if ac_fn_c_try_compile "$LINENO"; then :
   3083   ac_cv_prog_cc_c89=$ac_arg
   3084 fi
   3085 rm -f core conftest.err conftest.$ac_objext
   3086   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3087 done
   3088 rm -f conftest.$ac_ext
   3089 CC=$ac_save_CC
   3090 
   3091 fi
   3092 # AC_CACHE_VAL
   3093 case "x$ac_cv_prog_cc_c89" in
   3094   x)
   3095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3096 $as_echo "none needed" >&6; } ;;
   3097   xno)
   3098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3099 $as_echo "unsupported" >&6; } ;;
   3100   *)
   3101     CC="$CC $ac_cv_prog_cc_c89"
   3102     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3104 esac
   3105 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3106 
   3107 fi
   3108 
   3109 ac_ext=c
   3110 ac_cpp='$CPP $CPPFLAGS'
   3111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3114 
   3115 
   3116 ac_ext=c
   3117 ac_cpp='$CPP $CPPFLAGS'
   3118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3122 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3123 # On Suns, sometimes $CPP names a directory.
   3124 if test -n "$CPP" && test -d "$CPP"; then
   3125   CPP=
   3126 fi
   3127 if test -z "$CPP"; then
   3128   if test "${ac_cv_prog_CPP+set}" = set; then :
   3129   $as_echo_n "(cached) " >&6
   3130 else
   3131       # Double quotes because CPP needs to be expanded
   3132     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3133     do
   3134       ac_preproc_ok=false
   3135 for ac_c_preproc_warn_flag in '' yes
   3136 do
   3137   # Use a header file that comes with gcc, so configuring glibc
   3138   # with a fresh cross-compiler works.
   3139   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3140   # <limits.h> exists even on freestanding compilers.
   3141   # On the NeXT, cc -E runs the code through the compiler's parser,
   3142   # not just through cpp. "Syntax error" is here to catch this case.
   3143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3144 /* end confdefs.h.  */
   3145 #ifdef __STDC__
   3146 # include <limits.h>
   3147 #else
   3148 # include <assert.h>
   3149 #endif
   3150 		     Syntax error
   3151 _ACEOF
   3152 if ac_fn_c_try_cpp "$LINENO"; then :
   3153 
   3154 else
   3155   # Broken: fails on valid input.
   3156 continue
   3157 fi
   3158 rm -f conftest.err conftest.$ac_ext
   3159 
   3160   # OK, works on sane cases.  Now check whether nonexistent headers
   3161   # can be detected and how.
   3162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3163 /* end confdefs.h.  */
   3164 #include <ac_nonexistent.h>
   3165 _ACEOF
   3166 if ac_fn_c_try_cpp "$LINENO"; then :
   3167   # Broken: success on invalid input.
   3168 continue
   3169 else
   3170   # Passes both tests.
   3171 ac_preproc_ok=:
   3172 break
   3173 fi
   3174 rm -f conftest.err conftest.$ac_ext
   3175 
   3176 done
   3177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3178 rm -f conftest.err conftest.$ac_ext
   3179 if $ac_preproc_ok; then :
   3180   break
   3181 fi
   3182 
   3183     done
   3184     ac_cv_prog_CPP=$CPP
   3185 
   3186 fi
   3187   CPP=$ac_cv_prog_CPP
   3188 else
   3189   ac_cv_prog_CPP=$CPP
   3190 fi
   3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3192 $as_echo "$CPP" >&6; }
   3193 ac_preproc_ok=false
   3194 for ac_c_preproc_warn_flag in '' yes
   3195 do
   3196   # Use a header file that comes with gcc, so configuring glibc
   3197   # with a fresh cross-compiler works.
   3198   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3199   # <limits.h> exists even on freestanding compilers.
   3200   # On the NeXT, cc -E runs the code through the compiler's parser,
   3201   # not just through cpp. "Syntax error" is here to catch this case.
   3202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3203 /* end confdefs.h.  */
   3204 #ifdef __STDC__
   3205 # include <limits.h>
   3206 #else
   3207 # include <assert.h>
   3208 #endif
   3209 		     Syntax error
   3210 _ACEOF
   3211 if ac_fn_c_try_cpp "$LINENO"; then :
   3212 
   3213 else
   3214   # Broken: fails on valid input.
   3215 continue
   3216 fi
   3217 rm -f conftest.err conftest.$ac_ext
   3218 
   3219   # OK, works on sane cases.  Now check whether nonexistent headers
   3220   # can be detected and how.
   3221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3222 /* end confdefs.h.  */
   3223 #include <ac_nonexistent.h>
   3224 _ACEOF
   3225 if ac_fn_c_try_cpp "$LINENO"; then :
   3226   # Broken: success on invalid input.
   3227 continue
   3228 else
   3229   # Passes both tests.
   3230 ac_preproc_ok=:
   3231 break
   3232 fi
   3233 rm -f conftest.err conftest.$ac_ext
   3234 
   3235 done
   3236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3237 rm -f conftest.err conftest.$ac_ext
   3238 if $ac_preproc_ok; then :
   3239 
   3240 else
   3241   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3243 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   3244 See \`config.log' for more details." "$LINENO" 5; }
   3245 fi
   3246 
   3247 ac_ext=c
   3248 ac_cpp='$CPP $CPPFLAGS'
   3249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3252 
   3253 
   3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3255 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3256 if test "${ac_cv_path_GREP+set}" = set; then :
   3257   $as_echo_n "(cached) " >&6
   3258 else
   3259   if test -z "$GREP"; then
   3260   ac_path_GREP_found=false
   3261   # Loop through the user's path and test for each of PROGNAME-LIST
   3262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3263 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3264 do
   3265   IFS=$as_save_IFS
   3266   test -z "$as_dir" && as_dir=.
   3267     for ac_prog in grep ggrep; do
   3268     for ac_exec_ext in '' $ac_executable_extensions; do
   3269       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3270       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3271 # Check for GNU ac_path_GREP and select it if it is found.
   3272   # Check for GNU $ac_path_GREP
   3273 case `"$ac_path_GREP" --version 2>&1` in
   3274 *GNU*)
   3275   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3276 *)
   3277   ac_count=0
   3278   $as_echo_n 0123456789 >"conftest.in"
   3279   while :
   3280   do
   3281     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3282     mv "conftest.tmp" "conftest.in"
   3283     cp "conftest.in" "conftest.nl"
   3284     $as_echo 'GREP' >> "conftest.nl"
   3285     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3286     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3287     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3288     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3289       # Best one so far, save it but keep looking for a better one
   3290       ac_cv_path_GREP="$ac_path_GREP"
   3291       ac_path_GREP_max=$ac_count
   3292     fi
   3293     # 10*(2^10) chars as input seems more than enough
   3294     test $ac_count -gt 10 && break
   3295   done
   3296   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3297 esac
   3298 
   3299       $ac_path_GREP_found && break 3
   3300     done
   3301   done
   3302   done
   3303 IFS=$as_save_IFS
   3304   if test -z "$ac_cv_path_GREP"; then
   3305     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3306   fi
   3307 else
   3308   ac_cv_path_GREP=$GREP
   3309 fi
   3310 
   3311 fi
   3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3313 $as_echo "$ac_cv_path_GREP" >&6; }
   3314  GREP="$ac_cv_path_GREP"
   3315 
   3316 
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3318 $as_echo_n "checking for egrep... " >&6; }
   3319 if test "${ac_cv_path_EGREP+set}" = set; then :
   3320   $as_echo_n "(cached) " >&6
   3321 else
   3322   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3323    then ac_cv_path_EGREP="$GREP -E"
   3324    else
   3325      if test -z "$EGREP"; then
   3326   ac_path_EGREP_found=false
   3327   # Loop through the user's path and test for each of PROGNAME-LIST
   3328   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3329 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3330 do
   3331   IFS=$as_save_IFS
   3332   test -z "$as_dir" && as_dir=.
   3333     for ac_prog in egrep; do
   3334     for ac_exec_ext in '' $ac_executable_extensions; do
   3335       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3336       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3337 # Check for GNU ac_path_EGREP and select it if it is found.
   3338   # Check for GNU $ac_path_EGREP
   3339 case `"$ac_path_EGREP" --version 2>&1` in
   3340 *GNU*)
   3341   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3342 *)
   3343   ac_count=0
   3344   $as_echo_n 0123456789 >"conftest.in"
   3345   while :
   3346   do
   3347     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3348     mv "conftest.tmp" "conftest.in"
   3349     cp "conftest.in" "conftest.nl"
   3350     $as_echo 'EGREP' >> "conftest.nl"
   3351     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3352     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3353     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3354     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3355       # Best one so far, save it but keep looking for a better one
   3356       ac_cv_path_EGREP="$ac_path_EGREP"
   3357       ac_path_EGREP_max=$ac_count
   3358     fi
   3359     # 10*(2^10) chars as input seems more than enough
   3360     test $ac_count -gt 10 && break
   3361   done
   3362   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3363 esac
   3364 
   3365       $ac_path_EGREP_found && break 3
   3366     done
   3367   done
   3368   done
   3369 IFS=$as_save_IFS
   3370   if test -z "$ac_cv_path_EGREP"; then
   3371     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3372   fi
   3373 else
   3374   ac_cv_path_EGREP=$EGREP
   3375 fi
   3376 
   3377    fi
   3378 fi
   3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3380 $as_echo "$ac_cv_path_EGREP" >&6; }
   3381  EGREP="$ac_cv_path_EGREP"
   3382 
   3383 
   3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3385 $as_echo_n "checking for ANSI C header files... " >&6; }
   3386 if test "${ac_cv_header_stdc+set}" = set; then :
   3387   $as_echo_n "(cached) " >&6
   3388 else
   3389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3390 /* end confdefs.h.  */
   3391 #include <stdlib.h>
   3392 #include <stdarg.h>
   3393 #include <string.h>
   3394 #include <float.h>
   3395 
   3396 int
   3397 main ()
   3398 {
   3399 
   3400   ;
   3401   return 0;
   3402 }
   3403 _ACEOF
   3404 if ac_fn_c_try_compile "$LINENO"; then :
   3405   ac_cv_header_stdc=yes
   3406 else
   3407   ac_cv_header_stdc=no
   3408 fi
   3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3410 
   3411 if test $ac_cv_header_stdc = yes; then
   3412   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3414 /* end confdefs.h.  */
   3415 #include <string.h>
   3416 
   3417 _ACEOF
   3418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3419   $EGREP "memchr" >/dev/null 2>&1; then :
   3420 
   3421 else
   3422   ac_cv_header_stdc=no
   3423 fi
   3424 rm -f conftest*
   3425 
   3426 fi
   3427 
   3428 if test $ac_cv_header_stdc = yes; then
   3429   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3431 /* end confdefs.h.  */
   3432 #include <stdlib.h>
   3433 
   3434 _ACEOF
   3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3436   $EGREP "free" >/dev/null 2>&1; then :
   3437 
   3438 else
   3439   ac_cv_header_stdc=no
   3440 fi
   3441 rm -f conftest*
   3442 
   3443 fi
   3444 
   3445 if test $ac_cv_header_stdc = yes; then
   3446   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3447   if test "$cross_compiling" = yes; then :
   3448   :
   3449 else
   3450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3451 /* end confdefs.h.  */
   3452 #include <ctype.h>
   3453 #include <stdlib.h>
   3454 #if ((' ' & 0x0FF) == 0x020)
   3455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3456 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3457 #else
   3458 # define ISLOWER(c) \
   3459 		   (('a' <= (c) && (c) <= 'i') \
   3460 		     || ('j' <= (c) && (c) <= 'r') \
   3461 		     || ('s' <= (c) && (c) <= 'z'))
   3462 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3463 #endif
   3464 
   3465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3466 int
   3467 main ()
   3468 {
   3469   int i;
   3470   for (i = 0; i < 256; i++)
   3471     if (XOR (islower (i), ISLOWER (i))
   3472 	|| toupper (i) != TOUPPER (i))
   3473       return 2;
   3474   return 0;
   3475 }
   3476 _ACEOF
   3477 if ac_fn_c_try_run "$LINENO"; then :
   3478 
   3479 else
   3480   ac_cv_header_stdc=no
   3481 fi
   3482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3483   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3484 fi
   3485 
   3486 fi
   3487 fi
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3489 $as_echo "$ac_cv_header_stdc" >&6; }
   3490 if test $ac_cv_header_stdc = yes; then
   3491 
   3492 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3493 
   3494 fi
   3495 
   3496 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3497 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3498 		  inttypes.h stdint.h unistd.h
   3499 do :
   3500   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3501 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3502 "
   3503 eval as_val=\$$as_ac_Header
   3504    if test "x$as_val" = x""yes; then :
   3505   cat >>confdefs.h <<_ACEOF
   3506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3507 _ACEOF
   3508 
   3509 fi
   3510 
   3511 done
   3512 
   3513 
   3514 
   3515   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3516 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
   3517   MINIX=yes
   3518 else
   3519   MINIX=
   3520 fi
   3521 
   3522 
   3523   if test "$MINIX" = yes; then
   3524 
   3525 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3526 
   3527 
   3528 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3529 
   3530 
   3531 $as_echo "#define _MINIX 1" >>confdefs.h
   3532 
   3533   fi
   3534 
   3535 
   3536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3537 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3538 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
   3539   $as_echo_n "(cached) " >&6
   3540 else
   3541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3542 /* end confdefs.h.  */
   3543 
   3544 #	  define __EXTENSIONS__ 1
   3545 	  $ac_includes_default
   3546 int
   3547 main ()
   3548 {
   3549 
   3550   ;
   3551   return 0;
   3552 }
   3553 _ACEOF
   3554 if ac_fn_c_try_compile "$LINENO"; then :
   3555   ac_cv_safe_to_define___extensions__=yes
   3556 else
   3557   ac_cv_safe_to_define___extensions__=no
   3558 fi
   3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3562 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3563   test $ac_cv_safe_to_define___extensions__ = yes &&
   3564     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3565 
   3566   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3567 
   3568   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3569 
   3570   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3571 
   3572   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3573 
   3574 
   3575 
   3576 am__api_version='1.10'
   3577 
   3578 ac_aux_dir=
   3579 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3580   for ac_t in install-sh install.sh shtool; do
   3581     if test -f "$ac_dir/$ac_t"; then
   3582       ac_aux_dir=$ac_dir
   3583       ac_install_sh="$ac_aux_dir/$ac_t -c"
   3584       break 2
   3585     fi
   3586   done
   3587 done
   3588 if test -z "$ac_aux_dir"; then
   3589   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3590 fi
   3591 
   3592 # These three variables are undocumented and unsupported,
   3593 # and are intended to be withdrawn in a future Autoconf release.
   3594 # They can cause serious problems if a builder's source tree is in a directory
   3595 # whose full name contains unusual characters.
   3596 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3597 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3598 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3599 
   3600 
   3601 # Find a good install program.  We prefer a C program (faster),
   3602 # so one script is as good as another.  But avoid the broken or
   3603 # incompatible versions:
   3604 # SysV /etc/install, /usr/sbin/install
   3605 # SunOS /usr/etc/install
   3606 # IRIX /sbin/install
   3607 # AIX /bin/install
   3608 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3612 # OS/2's system install, which has a completely different semantic
   3613 # ./install, which can be erroneously created by make from ./install.sh.
   3614 # Reject install programs that cannot install multiple files.
   3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3616 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3617 if test -z "$INSTALL"; then
   3618 if test "${ac_cv_path_install+set}" = set; then :
   3619   $as_echo_n "(cached) " >&6
   3620 else
   3621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3622 for as_dir in $PATH
   3623 do
   3624   IFS=$as_save_IFS
   3625   test -z "$as_dir" && as_dir=.
   3626     # Account for people who put trailing slashes in PATH elements.
   3627 case $as_dir/ in #((
   3628   ./ | .// | /[cC]/* | \
   3629   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3630   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3631   /usr/ucb/* ) ;;
   3632   *)
   3633     # OSF1 and SCO ODT 3.0 have their own names for install.
   3634     # Don't use installbsd from OSF since it installs stuff as root
   3635     # by default.
   3636     for ac_prog in ginstall scoinst install; do
   3637       for ac_exec_ext in '' $ac_executable_extensions; do
   3638 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3639 	  if test $ac_prog = install &&
   3640 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3641 	    # AIX install.  It has an incompatible calling convention.
   3642 	    :
   3643 	  elif test $ac_prog = install &&
   3644 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3645 	    # program-specific install script used by HP pwplus--don't use.
   3646 	    :
   3647 	  else
   3648 	    rm -rf conftest.one conftest.two conftest.dir
   3649 	    echo one > conftest.one
   3650 	    echo two > conftest.two
   3651 	    mkdir conftest.dir
   3652 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3653 	      test -s conftest.one && test -s conftest.two &&
   3654 	      test -s conftest.dir/conftest.one &&
   3655 	      test -s conftest.dir/conftest.two
   3656 	    then
   3657 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3658 	      break 3
   3659 	    fi
   3660 	  fi
   3661 	fi
   3662       done
   3663     done
   3664     ;;
   3665 esac
   3666 
   3667   done
   3668 IFS=$as_save_IFS
   3669 
   3670 rm -rf conftest.one conftest.two conftest.dir
   3671 
   3672 fi
   3673   if test "${ac_cv_path_install+set}" = set; then
   3674     INSTALL=$ac_cv_path_install
   3675   else
   3676     # As a last resort, use the slow shell script.  Don't cache a
   3677     # value for INSTALL within a source directory, because that will
   3678     # break other packages using the cache if that directory is
   3679     # removed, or if the value is a relative name.
   3680     INSTALL=$ac_install_sh
   3681   fi
   3682 fi
   3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3684 $as_echo "$INSTALL" >&6; }
   3685 
   3686 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3687 # It thinks the first close brace ends the variable substitution.
   3688 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3689 
   3690 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3691 
   3692 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3693 
   3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3695 $as_echo_n "checking whether build environment is sane... " >&6; }
   3696 # Just in case
   3697 sleep 1
   3698 echo timestamp > conftest.file
   3699 # Do `set' in a subshell so we don't clobber the current shell's
   3700 # arguments.  Must try -L first in case configure is actually a
   3701 # symlink; some systems play weird games with the mod time of symlinks
   3702 # (eg FreeBSD returns the mod time of the symlink's containing
   3703 # directory).
   3704 if (
   3705    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   3706    if test "$*" = "X"; then
   3707       # -L didn't work.
   3708       set X `ls -t $srcdir/configure conftest.file`
   3709    fi
   3710    rm -f conftest.file
   3711    if test "$*" != "X $srcdir/configure conftest.file" \
   3712       && test "$*" != "X conftest.file $srcdir/configure"; then
   3713 
   3714       # If neither matched, then we have a broken ls.  This can happen
   3715       # if, for instance, CONFIG_SHELL is bash and it inherits a
   3716       # broken ls alias from the environment.  This has actually
   3717       # happened.  Such a system could not be considered "sane".
   3718       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   3719 alias in your environment" "$LINENO" 5
   3720    fi
   3721 
   3722    test "$2" = conftest.file
   3723    )
   3724 then
   3725    # Ok.
   3726    :
   3727 else
   3728    as_fn_error "newly created file is older than distributed files!
   3729 Check your system clock" "$LINENO" 5
   3730 fi
   3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3732 $as_echo "yes" >&6; }
   3733 test "$program_prefix" != NONE &&
   3734   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3735 # Use a double $ so make ignores it.
   3736 test "$program_suffix" != NONE &&
   3737   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3738 # Double any \ or $.
   3739 # By default was `s,x,x', remove it if useless.
   3740 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3741 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3742 
   3743 # expand $ac_aux_dir to an absolute path
   3744 am_aux_dir=`cd $ac_aux_dir && pwd`
   3745 
   3746 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   3747 # Use eval to expand $SHELL
   3748 if eval "$MISSING --run true"; then
   3749   am_missing_run="$MISSING --run "
   3750 else
   3751   am_missing_run=
   3752   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   3753 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   3754 fi
   3755 
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3757 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3758 if test -z "$MKDIR_P"; then
   3759   if test "${ac_cv_path_mkdir+set}" = set; then :
   3760   $as_echo_n "(cached) " >&6
   3761 else
   3762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3763 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3764 do
   3765   IFS=$as_save_IFS
   3766   test -z "$as_dir" && as_dir=.
   3767     for ac_prog in mkdir gmkdir; do
   3768 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3769 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   3770 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3771 	     'mkdir (GNU coreutils) '* | \
   3772 	     'mkdir (coreutils) '* | \
   3773 	     'mkdir (fileutils) '4.1*)
   3774 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3775 	       break 3;;
   3776 	   esac
   3777 	 done
   3778        done
   3779   done
   3780 IFS=$as_save_IFS
   3781 
   3782 fi
   3783 
   3784   if test "${ac_cv_path_mkdir+set}" = set; then
   3785     MKDIR_P="$ac_cv_path_mkdir -p"
   3786   else
   3787     # As a last resort, use the slow shell script.  Don't cache a
   3788     # value for MKDIR_P within a source directory, because that will
   3789     # break other packages using the cache if that directory is
   3790     # removed, or if the value is a relative name.
   3791     test -d ./--version && rmdir ./--version
   3792     MKDIR_P="$ac_install_sh -d"
   3793   fi
   3794 fi
   3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3796 $as_echo "$MKDIR_P" >&6; }
   3797 
   3798 mkdir_p="$MKDIR_P"
   3799 case $mkdir_p in
   3800   [\\/$]* | ?:[\\/]*) ;;
   3801   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   3802 esac
   3803 
   3804 for ac_prog in gawk mawk nawk awk
   3805 do
   3806   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3807 set dummy $ac_prog; ac_word=$2
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3809 $as_echo_n "checking for $ac_word... " >&6; }
   3810 if test "${ac_cv_prog_AWK+set}" = set; then :
   3811   $as_echo_n "(cached) " >&6
   3812 else
   3813   if test -n "$AWK"; then
   3814   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3815 else
   3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3817 for as_dir in $PATH
   3818 do
   3819   IFS=$as_save_IFS
   3820   test -z "$as_dir" && as_dir=.
   3821     for ac_exec_ext in '' $ac_executable_extensions; do
   3822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3823     ac_cv_prog_AWK="$ac_prog"
   3824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3825     break 2
   3826   fi
   3827 done
   3828   done
   3829 IFS=$as_save_IFS
   3830 
   3831 fi
   3832 fi
   3833 AWK=$ac_cv_prog_AWK
   3834 if test -n "$AWK"; then
   3835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3836 $as_echo "$AWK" >&6; }
   3837 else
   3838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3839 $as_echo "no" >&6; }
   3840 fi
   3841 
   3842 
   3843   test -n "$AWK" && break
   3844 done
   3845 
   3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3847 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3848 set x ${MAKE-make}
   3849 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3850 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   3851   $as_echo_n "(cached) " >&6
   3852 else
   3853   cat >conftest.make <<\_ACEOF
   3854 SHELL = /bin/sh
   3855 all:
   3856 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3857 _ACEOF
   3858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   3859 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3860   *@@@%%%=?*=@@@%%%*)
   3861     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3862   *)
   3863     eval ac_cv_prog_make_${ac_make}_set=no;;
   3864 esac
   3865 rm -f conftest.make
   3866 fi
   3867 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3869 $as_echo "yes" >&6; }
   3870   SET_MAKE=
   3871 else
   3872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3873 $as_echo "no" >&6; }
   3874   SET_MAKE="MAKE=${MAKE-make}"
   3875 fi
   3876 
   3877 rm -rf .tst 2>/dev/null
   3878 mkdir .tst 2>/dev/null
   3879 if test -d .tst; then
   3880   am__leading_dot=.
   3881 else
   3882   am__leading_dot=_
   3883 fi
   3884 rmdir .tst 2>/dev/null
   3885 
   3886 DEPDIR="${am__leading_dot}deps"
   3887 
   3888 ac_config_commands="$ac_config_commands depfiles"
   3889 
   3890 
   3891 am_make=${MAKE-make}
   3892 cat > confinc << 'END'
   3893 am__doit:
   3894 	@echo done
   3895 .PHONY: am__doit
   3896 END
   3897 # If we don't find an include directive, just comment out the code.
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3899 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3900 am__include="#"
   3901 am__quote=
   3902 _am_result=none
   3903 # First try GNU make style include.
   3904 echo "include confinc" > confmf
   3905 # We grep out `Entering directory' and `Leaving directory'
   3906 # messages which can occur if `w' ends up in MAKEFLAGS.
   3907 # In particular we don't look at `^make:' because GNU make might
   3908 # be invoked under some other name (usually "gmake"), in which
   3909 # case it prints its new name instead of `make'.
   3910 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3911    am__include=include
   3912    am__quote=
   3913    _am_result=GNU
   3914 fi
   3915 # Now try BSD make style include.
   3916 if test "$am__include" = "#"; then
   3917    echo '.include "confinc"' > confmf
   3918    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3919       am__include=.include
   3920       am__quote="\""
   3921       _am_result=BSD
   3922    fi
   3923 fi
   3924 
   3925 
   3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3927 $as_echo "$_am_result" >&6; }
   3928 rm -f confinc confmf
   3929 
   3930 # Check whether --enable-dependency-tracking was given.
   3931 if test "${enable_dependency_tracking+set}" = set; then :
   3932   enableval=$enable_dependency_tracking;
   3933 fi
   3934 
   3935 if test "x$enable_dependency_tracking" != xno; then
   3936   am_depcomp="$ac_aux_dir/depcomp"
   3937   AMDEPBACKSLASH='\'
   3938 fi
   3939  if test "x$enable_dependency_tracking" != xno; then
   3940   AMDEP_TRUE=
   3941   AMDEP_FALSE='#'
   3942 else
   3943   AMDEP_TRUE='#'
   3944   AMDEP_FALSE=
   3945 fi
   3946 
   3947 
   3948 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3949   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3950   # is not polluted with repeated "-I."
   3951   am__isrc=' -I$(srcdir)'
   3952   # test to see if srcdir already configured
   3953   if test -f $srcdir/config.status; then
   3954     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3955   fi
   3956 fi
   3957 
   3958 # test whether we have cygpath
   3959 if test -z "$CYGPATH_W"; then
   3960   if (cygpath --version) >/dev/null 2>/dev/null; then
   3961     CYGPATH_W='cygpath -w'
   3962   else
   3963     CYGPATH_W=echo
   3964   fi
   3965 fi
   3966 
   3967 
   3968 # Define the identity of the package.
   3969  PACKAGE='libdrm'
   3970  VERSION='2.4.14'
   3971 
   3972 
   3973 cat >>confdefs.h <<_ACEOF
   3974 #define PACKAGE "$PACKAGE"
   3975 _ACEOF
   3976 
   3977 
   3978 cat >>confdefs.h <<_ACEOF
   3979 #define VERSION "$VERSION"
   3980 _ACEOF
   3981 
   3982 # Some tools Automake needs.
   3983 
   3984 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3985 
   3986 
   3987 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3988 
   3989 
   3990 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3991 
   3992 
   3993 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3994 
   3995 
   3996 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3997 
   3998 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   3999 
   4000 # Installed binaries are usually stripped using `strip' when the user
   4001 # run `make install-strip'.  However `strip' might not be the right
   4002 # tool to use in cross-compilation environments, therefore Automake
   4003 # will honor the `STRIP' environment variable to overrule this program.
   4004 if test "$cross_compiling" != no; then
   4005   if test -n "$ac_tool_prefix"; then
   4006   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4007 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4009 $as_echo_n "checking for $ac_word... " >&6; }
   4010 if test "${ac_cv_prog_STRIP+set}" = set; then :
   4011   $as_echo_n "(cached) " >&6
   4012 else
   4013   if test -n "$STRIP"; then
   4014   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4015 else
   4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4017 for as_dir in $PATH
   4018 do
   4019   IFS=$as_save_IFS
   4020   test -z "$as_dir" && as_dir=.
   4021     for ac_exec_ext in '' $ac_executable_extensions; do
   4022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4023     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4025     break 2
   4026   fi
   4027 done
   4028   done
   4029 IFS=$as_save_IFS
   4030 
   4031 fi
   4032 fi
   4033 STRIP=$ac_cv_prog_STRIP
   4034 if test -n "$STRIP"; then
   4035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4036 $as_echo "$STRIP" >&6; }
   4037 else
   4038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4039 $as_echo "no" >&6; }
   4040 fi
   4041 
   4042 
   4043 fi
   4044 if test -z "$ac_cv_prog_STRIP"; then
   4045   ac_ct_STRIP=$STRIP
   4046   # Extract the first word of "strip", so it can be a program name with args.
   4047 set dummy strip; ac_word=$2
   4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4049 $as_echo_n "checking for $ac_word... " >&6; }
   4050 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   4051   $as_echo_n "(cached) " >&6
   4052 else
   4053   if test -n "$ac_ct_STRIP"; then
   4054   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4055 else
   4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4057 for as_dir in $PATH
   4058 do
   4059   IFS=$as_save_IFS
   4060   test -z "$as_dir" && as_dir=.
   4061     for ac_exec_ext in '' $ac_executable_extensions; do
   4062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4063     ac_cv_prog_ac_ct_STRIP="strip"
   4064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4065     break 2
   4066   fi
   4067 done
   4068   done
   4069 IFS=$as_save_IFS
   4070 
   4071 fi
   4072 fi
   4073 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4074 if test -n "$ac_ct_STRIP"; then
   4075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4076 $as_echo "$ac_ct_STRIP" >&6; }
   4077 else
   4078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4079 $as_echo "no" >&6; }
   4080 fi
   4081 
   4082   if test "x$ac_ct_STRIP" = x; then
   4083     STRIP=":"
   4084   else
   4085     case $cross_compiling:$ac_tool_warned in
   4086 yes:)
   4087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4089 ac_tool_warned=yes ;;
   4090 esac
   4091     STRIP=$ac_ct_STRIP
   4092   fi
   4093 else
   4094   STRIP="$ac_cv_prog_STRIP"
   4095 fi
   4096 
   4097 fi
   4098 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4099 
   4100 # We need awk for the "check" target.  The system "awk" is bad on
   4101 # some platforms.
   4102 # Always define AMTAR for backward compatibility.
   4103 
   4104 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4105 
   4106 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4107 
   4108 
   4109 
   4110 
   4111 depcc="$CC"   am_compiler_list=
   4112 
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4114 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4115 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   4116   $as_echo_n "(cached) " >&6
   4117 else
   4118   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4119   # We make a subdir and do the tests there.  Otherwise we can end up
   4120   # making bogus files that we don't know about and never remove.  For
   4121   # instance it was reported that on HP-UX the gcc test will end up
   4122   # making a dummy file named `D' -- because `-MD' means `put the output
   4123   # in D'.
   4124   mkdir conftest.dir
   4125   # Copy depcomp to subdir because otherwise we won't find it if we're
   4126   # using a relative directory.
   4127   cp "$am_depcomp" conftest.dir
   4128   cd conftest.dir
   4129   # We will build objects and dependencies in a subdirectory because
   4130   # it helps to detect inapplicable dependency modes.  For instance
   4131   # both Tru64's cc and ICC support -MD to output dependencies as a
   4132   # side effect of compilation, but ICC will put the dependencies in
   4133   # the current directory while Tru64 will put them in the object
   4134   # directory.
   4135   mkdir sub
   4136 
   4137   am_cv_CC_dependencies_compiler_type=none
   4138   if test "$am_compiler_list" = ""; then
   4139      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4140   fi
   4141   for depmode in $am_compiler_list; do
   4142     # Setup a source with many dependencies, because some compilers
   4143     # like to wrap large dependency lists on column 80 (with \), and
   4144     # we should not choose a depcomp mode which is confused by this.
   4145     #
   4146     # We need to recreate these files for each test, as the compiler may
   4147     # overwrite some of them when testing with obscure command lines.
   4148     # This happens at least with the AIX C compiler.
   4149     : > sub/conftest.c
   4150     for i in 1 2 3 4 5 6; do
   4151       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4152       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4153       # Solaris 8's {/usr,}/bin/sh.
   4154       touch sub/conftst$i.h
   4155     done
   4156     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4157 
   4158     case $depmode in
   4159     nosideeffect)
   4160       # after this tag, mechanisms are not by side-effect, so they'll
   4161       # only be used when explicitly requested
   4162       if test "x$enable_dependency_tracking" = xyes; then
   4163 	continue
   4164       else
   4165 	break
   4166       fi
   4167       ;;
   4168     none) break ;;
   4169     esac
   4170     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4171     # mode.  It turns out that the SunPro C++ compiler does not properly
   4172     # handle `-M -o', and we need to detect this.
   4173     if depmode=$depmode \
   4174        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4175        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4176        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4177          >/dev/null 2>conftest.err &&
   4178        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4179        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4180        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4181        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4182       # icc doesn't choke on unknown options, it will just issue warnings
   4183       # or remarks (even with -Werror).  So we grep stderr for any message
   4184       # that says an option was ignored or not supported.
   4185       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4186       #   icc: Command line warning: ignoring option '-M'; no argument required
   4187       # The diagnosis changed in icc 8.0:
   4188       #   icc: Command line remark: option '-MP' not supported
   4189       if (grep 'ignoring option' conftest.err ||
   4190           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4191         am_cv_CC_dependencies_compiler_type=$depmode
   4192         break
   4193       fi
   4194     fi
   4195   done
   4196 
   4197   cd ..
   4198   rm -rf conftest.dir
   4199 else
   4200   am_cv_CC_dependencies_compiler_type=none
   4201 fi
   4202 
   4203 fi
   4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4205 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4206 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4207 
   4208  if
   4209   test "x$enable_dependency_tracking" != xno \
   4210   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4211   am__fastdepCC_TRUE=
   4212   am__fastdepCC_FALSE='#'
   4213 else
   4214   am__fastdepCC_TRUE='#'
   4215   am__fastdepCC_FALSE=
   4216 fi
   4217 
   4218 
   4219 
   4220 
   4221 ac_config_headers="$ac_config_headers libdrm/config.h"
   4222 
   4223 
   4224 # Check whether --enable-static was given.
   4225 if test "${enable_static+set}" = set; then :
   4226   enableval=$enable_static; p=${PACKAGE-default}
   4227     case $enableval in
   4228     yes) enable_static=yes ;;
   4229     no) enable_static=no ;;
   4230     *)
   4231      enable_static=no
   4232       # Look at the argument we got.  We use all the common list separators.
   4233       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4234       for pkg in $enableval; do
   4235 	IFS="$lt_save_ifs"
   4236 	if test "X$pkg" = "X$p"; then
   4237 	  enable_static=yes
   4238 	fi
   4239       done
   4240       IFS="$lt_save_ifs"
   4241       ;;
   4242     esac
   4243 else
   4244   enable_static=no
   4245 fi
   4246 
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 case `pwd` in
   4256   *\ * | *\	*)
   4257     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4258 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4259 esac
   4260 
   4261 
   4262 
   4263 macro_version='2.2.6'
   4264 macro_revision='1.3012'
   4265 
   4266 
   4267 
   4268 
   4269 
   4270 
   4271 
   4272 
   4273 
   4274 
   4275 
   4276 
   4277 
   4278 ltmain="$ac_aux_dir/ltmain.sh"
   4279 
   4280 # Make sure we can run config.sub.
   4281 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4282   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4283 
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4285 $as_echo_n "checking build system type... " >&6; }
   4286 if test "${ac_cv_build+set}" = set; then :
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   ac_build_alias=$build_alias
   4290 test "x$ac_build_alias" = x &&
   4291   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4292 test "x$ac_build_alias" = x &&
   4293   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   4294 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4295   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4296 
   4297 fi
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4299 $as_echo "$ac_cv_build" >&6; }
   4300 case $ac_cv_build in
   4301 *-*-*) ;;
   4302 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   4303 esac
   4304 build=$ac_cv_build
   4305 ac_save_IFS=$IFS; IFS='-'
   4306 set x $ac_cv_build
   4307 shift
   4308 build_cpu=$1
   4309 build_vendor=$2
   4310 shift; shift
   4311 # Remember, the first character of IFS is used to create $*,
   4312 # except with old shells:
   4313 build_os=$*
   4314 IFS=$ac_save_IFS
   4315 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4316 
   4317 
   4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4319 $as_echo_n "checking host system type... " >&6; }
   4320 if test "${ac_cv_host+set}" = set; then :
   4321   $as_echo_n "(cached) " >&6
   4322 else
   4323   if test "x$host_alias" = x; then
   4324   ac_cv_host=$ac_cv_build
   4325 else
   4326   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4327     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4328 fi
   4329 
   4330 fi
   4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4332 $as_echo "$ac_cv_host" >&6; }
   4333 case $ac_cv_host in
   4334 *-*-*) ;;
   4335 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   4336 esac
   4337 host=$ac_cv_host
   4338 ac_save_IFS=$IFS; IFS='-'
   4339 set x $ac_cv_host
   4340 shift
   4341 host_cpu=$1
   4342 host_vendor=$2
   4343 shift; shift
   4344 # Remember, the first character of IFS is used to create $*,
   4345 # except with old shells:
   4346 host_os=$*
   4347 IFS=$ac_save_IFS
   4348 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4349 
   4350 
   4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4352 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4353 if test "${ac_cv_path_SED+set}" = set; then :
   4354   $as_echo_n "(cached) " >&6
   4355 else
   4356             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4357      for ac_i in 1 2 3 4 5 6 7; do
   4358        ac_script="$ac_script$as_nl$ac_script"
   4359      done
   4360      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4361      { ac_script=; unset ac_script;}
   4362      if test -z "$SED"; then
   4363   ac_path_SED_found=false
   4364   # Loop through the user's path and test for each of PROGNAME-LIST
   4365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4366 for as_dir in $PATH
   4367 do
   4368   IFS=$as_save_IFS
   4369   test -z "$as_dir" && as_dir=.
   4370     for ac_prog in sed gsed; do
   4371     for ac_exec_ext in '' $ac_executable_extensions; do
   4372       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4373       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4374 # Check for GNU ac_path_SED and select it if it is found.
   4375   # Check for GNU $ac_path_SED
   4376 case `"$ac_path_SED" --version 2>&1` in
   4377 *GNU*)
   4378   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4379 *)
   4380   ac_count=0
   4381   $as_echo_n 0123456789 >"conftest.in"
   4382   while :
   4383   do
   4384     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4385     mv "conftest.tmp" "conftest.in"
   4386     cp "conftest.in" "conftest.nl"
   4387     $as_echo '' >> "conftest.nl"
   4388     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4389     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4390     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4391     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4392       # Best one so far, save it but keep looking for a better one
   4393       ac_cv_path_SED="$ac_path_SED"
   4394       ac_path_SED_max=$ac_count
   4395     fi
   4396     # 10*(2^10) chars as input seems more than enough
   4397     test $ac_count -gt 10 && break
   4398   done
   4399   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4400 esac
   4401 
   4402       $ac_path_SED_found && break 3
   4403     done
   4404   done
   4405   done
   4406 IFS=$as_save_IFS
   4407   if test -z "$ac_cv_path_SED"; then
   4408     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4409   fi
   4410 else
   4411   ac_cv_path_SED=$SED
   4412 fi
   4413 
   4414 fi
   4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4416 $as_echo "$ac_cv_path_SED" >&6; }
   4417  SED="$ac_cv_path_SED"
   4418   rm -f conftest.sed
   4419 
   4420 test -z "$SED" && SED=sed
   4421 Xsed="$SED -e 1s/^X//"
   4422 
   4423 
   4424 
   4425 
   4426 
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 
   4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4434 $as_echo_n "checking for fgrep... " >&6; }
   4435 if test "${ac_cv_path_FGREP+set}" = set; then :
   4436   $as_echo_n "(cached) " >&6
   4437 else
   4438   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4439    then ac_cv_path_FGREP="$GREP -F"
   4440    else
   4441      if test -z "$FGREP"; then
   4442   ac_path_FGREP_found=false
   4443   # Loop through the user's path and test for each of PROGNAME-LIST
   4444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4446 do
   4447   IFS=$as_save_IFS
   4448   test -z "$as_dir" && as_dir=.
   4449     for ac_prog in fgrep; do
   4450     for ac_exec_ext in '' $ac_executable_extensions; do
   4451       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4452       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4453 # Check for GNU ac_path_FGREP and select it if it is found.
   4454   # Check for GNU $ac_path_FGREP
   4455 case `"$ac_path_FGREP" --version 2>&1` in
   4456 *GNU*)
   4457   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4458 *)
   4459   ac_count=0
   4460   $as_echo_n 0123456789 >"conftest.in"
   4461   while :
   4462   do
   4463     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4464     mv "conftest.tmp" "conftest.in"
   4465     cp "conftest.in" "conftest.nl"
   4466     $as_echo 'FGREP' >> "conftest.nl"
   4467     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4468     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4469     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4470     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4471       # Best one so far, save it but keep looking for a better one
   4472       ac_cv_path_FGREP="$ac_path_FGREP"
   4473       ac_path_FGREP_max=$ac_count
   4474     fi
   4475     # 10*(2^10) chars as input seems more than enough
   4476     test $ac_count -gt 10 && break
   4477   done
   4478   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4479 esac
   4480 
   4481       $ac_path_FGREP_found && break 3
   4482     done
   4483   done
   4484   done
   4485 IFS=$as_save_IFS
   4486   if test -z "$ac_cv_path_FGREP"; then
   4487     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4488   fi
   4489 else
   4490   ac_cv_path_FGREP=$FGREP
   4491 fi
   4492 
   4493    fi
   4494 fi
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4496 $as_echo "$ac_cv_path_FGREP" >&6; }
   4497  FGREP="$ac_cv_path_FGREP"
   4498 
   4499 
   4500 test -z "$GREP" && GREP=grep
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 
   4517 
   4518 
   4519 
   4520 # Check whether --with-gnu-ld was given.
   4521 if test "${with_gnu_ld+set}" = set; then :
   4522   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4523 else
   4524   with_gnu_ld=no
   4525 fi
   4526 
   4527 ac_prog=ld
   4528 if test "$GCC" = yes; then
   4529   # Check if gcc -print-prog-name=ld gives a path.
   4530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4531 $as_echo_n "checking for ld used by $CC... " >&6; }
   4532   case $host in
   4533   *-*-mingw*)
   4534     # gcc leaves a trailing carriage return which upsets mingw
   4535     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4536   *)
   4537     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4538   esac
   4539   case $ac_prog in
   4540     # Accept absolute paths.
   4541     [\\/]* | ?:[\\/]*)
   4542       re_direlt='/[^/][^/]*/\.\./'
   4543       # Canonicalize the pathname of ld
   4544       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4545       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4546 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4547       done
   4548       test -z "$LD" && LD="$ac_prog"
   4549       ;;
   4550   "")
   4551     # If it fails, then pretend we aren't using GCC.
   4552     ac_prog=ld
   4553     ;;
   4554   *)
   4555     # If it is relative, then search for the first ld in PATH.
   4556     with_gnu_ld=unknown
   4557     ;;
   4558   esac
   4559 elif test "$with_gnu_ld" = yes; then
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4561 $as_echo_n "checking for GNU ld... " >&6; }
   4562 else
   4563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4564 $as_echo_n "checking for non-GNU ld... " >&6; }
   4565 fi
   4566 if test "${lt_cv_path_LD+set}" = set; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   if test -z "$LD"; then
   4570   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4571   for ac_dir in $PATH; do
   4572     IFS="$lt_save_ifs"
   4573     test -z "$ac_dir" && ac_dir=.
   4574     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4575       lt_cv_path_LD="$ac_dir/$ac_prog"
   4576       # Check to see if the program is GNU ld.  I'd rather use --version,
   4577       # but apparently some variants of GNU ld only accept -v.
   4578       # Break only if it was the GNU/non-GNU ld that we prefer.
   4579       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4580       *GNU* | *'with BFD'*)
   4581 	test "$with_gnu_ld" != no && break
   4582 	;;
   4583       *)
   4584 	test "$with_gnu_ld" != yes && break
   4585 	;;
   4586       esac
   4587     fi
   4588   done
   4589   IFS="$lt_save_ifs"
   4590 else
   4591   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4592 fi
   4593 fi
   4594 
   4595 LD="$lt_cv_path_LD"
   4596 if test -n "$LD"; then
   4597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4598 $as_echo "$LD" >&6; }
   4599 else
   4600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4601 $as_echo "no" >&6; }
   4602 fi
   4603 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4605 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4606 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4610 case `$LD -v 2>&1 </dev/null` in
   4611 *GNU* | *'with BFD'*)
   4612   lt_cv_prog_gnu_ld=yes
   4613   ;;
   4614 *)
   4615   lt_cv_prog_gnu_ld=no
   4616   ;;
   4617 esac
   4618 fi
   4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4620 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4621 with_gnu_ld=$lt_cv_prog_gnu_ld
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4632 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4633 if test "${lt_cv_path_NM+set}" = set; then :
   4634   $as_echo_n "(cached) " >&6
   4635 else
   4636   if test -n "$NM"; then
   4637   # Let the user override the test.
   4638   lt_cv_path_NM="$NM"
   4639 else
   4640   lt_nm_to_check="${ac_tool_prefix}nm"
   4641   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4642     lt_nm_to_check="$lt_nm_to_check nm"
   4643   fi
   4644   for lt_tmp_nm in $lt_nm_to_check; do
   4645     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4646     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4647       IFS="$lt_save_ifs"
   4648       test -z "$ac_dir" && ac_dir=.
   4649       tmp_nm="$ac_dir/$lt_tmp_nm"
   4650       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4651 	# Check to see if the nm accepts a BSD-compat flag.
   4652 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4653 	#   nm: unknown option "B" ignored
   4654 	# Tru64's nm complains that /dev/null is an invalid object file
   4655 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4656 	*/dev/null* | *'Invalid file or object type'*)
   4657 	  lt_cv_path_NM="$tmp_nm -B"
   4658 	  break
   4659 	  ;;
   4660 	*)
   4661 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4662 	  */dev/null*)
   4663 	    lt_cv_path_NM="$tmp_nm -p"
   4664 	    break
   4665 	    ;;
   4666 	  *)
   4667 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4668 	    continue # so that we can try to find one that supports BSD flags
   4669 	    ;;
   4670 	  esac
   4671 	  ;;
   4672 	esac
   4673       fi
   4674     done
   4675     IFS="$lt_save_ifs"
   4676   done
   4677   : ${lt_cv_path_NM=no}
   4678 fi
   4679 fi
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4681 $as_echo "$lt_cv_path_NM" >&6; }
   4682 if test "$lt_cv_path_NM" != "no"; then
   4683   NM="$lt_cv_path_NM"
   4684 else
   4685   # Didn't find any BSD compatible name lister, look for dumpbin.
   4686   if test -n "$ac_tool_prefix"; then
   4687   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4688   do
   4689     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4692 $as_echo_n "checking for $ac_word... " >&6; }
   4693 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   4694   $as_echo_n "(cached) " >&6
   4695 else
   4696   if test -n "$DUMPBIN"; then
   4697   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4698 else
   4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4700 for as_dir in $PATH
   4701 do
   4702   IFS=$as_save_IFS
   4703   test -z "$as_dir" && as_dir=.
   4704     for ac_exec_ext in '' $ac_executable_extensions; do
   4705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4706     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4708     break 2
   4709   fi
   4710 done
   4711   done
   4712 IFS=$as_save_IFS
   4713 
   4714 fi
   4715 fi
   4716 DUMPBIN=$ac_cv_prog_DUMPBIN
   4717 if test -n "$DUMPBIN"; then
   4718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4719 $as_echo "$DUMPBIN" >&6; }
   4720 else
   4721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4722 $as_echo "no" >&6; }
   4723 fi
   4724 
   4725 
   4726     test -n "$DUMPBIN" && break
   4727   done
   4728 fi
   4729 if test -z "$DUMPBIN"; then
   4730   ac_ct_DUMPBIN=$DUMPBIN
   4731   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4732 do
   4733   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4734 set dummy $ac_prog; ac_word=$2
   4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4736 $as_echo_n "checking for $ac_word... " >&6; }
   4737 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   4738   $as_echo_n "(cached) " >&6
   4739 else
   4740   if test -n "$ac_ct_DUMPBIN"; then
   4741   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4742 else
   4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4744 for as_dir in $PATH
   4745 do
   4746   IFS=$as_save_IFS
   4747   test -z "$as_dir" && as_dir=.
   4748     for ac_exec_ext in '' $ac_executable_extensions; do
   4749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4750     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4752     break 2
   4753   fi
   4754 done
   4755   done
   4756 IFS=$as_save_IFS
   4757 
   4758 fi
   4759 fi
   4760 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4761 if test -n "$ac_ct_DUMPBIN"; then
   4762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4763 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4764 else
   4765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4766 $as_echo "no" >&6; }
   4767 fi
   4768 
   4769 
   4770   test -n "$ac_ct_DUMPBIN" && break
   4771 done
   4772 
   4773   if test "x$ac_ct_DUMPBIN" = x; then
   4774     DUMPBIN=":"
   4775   else
   4776     case $cross_compiling:$ac_tool_warned in
   4777 yes:)
   4778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4780 ac_tool_warned=yes ;;
   4781 esac
   4782     DUMPBIN=$ac_ct_DUMPBIN
   4783   fi
   4784 fi
   4785 
   4786 
   4787   if test "$DUMPBIN" != ":"; then
   4788     NM="$DUMPBIN"
   4789   fi
   4790 fi
   4791 test -z "$NM" && NM=nm
   4792 
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4799 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4800 if test "${lt_cv_nm_interface+set}" = set; then :
   4801   $as_echo_n "(cached) " >&6
   4802 else
   4803   lt_cv_nm_interface="BSD nm"
   4804   echo "int some_variable = 0;" > conftest.$ac_ext
   4805   (eval echo "\"\$as_me:4805: $ac_compile\"" >&5)
   4806   (eval "$ac_compile" 2>conftest.err)
   4807   cat conftest.err >&5
   4808   (eval echo "\"\$as_me:4808: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4809   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4810   cat conftest.err >&5
   4811   (eval echo "\"\$as_me:4811: output\"" >&5)
   4812   cat conftest.out >&5
   4813   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4814     lt_cv_nm_interface="MS dumpbin"
   4815   fi
   4816   rm -f conftest*
   4817 fi
   4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4819 $as_echo "$lt_cv_nm_interface" >&6; }
   4820 
   4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4822 $as_echo_n "checking whether ln -s works... " >&6; }
   4823 LN_S=$as_ln_s
   4824 if test "$LN_S" = "ln -s"; then
   4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4826 $as_echo "yes" >&6; }
   4827 else
   4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4829 $as_echo "no, using $LN_S" >&6; }
   4830 fi
   4831 
   4832 # find the maximum length of command line arguments
   4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4834 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4835 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   4836   $as_echo_n "(cached) " >&6
   4837 else
   4838     i=0
   4839   teststring="ABCD"
   4840 
   4841   case $build_os in
   4842   msdosdjgpp*)
   4843     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4844     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4845     # during glob expansion).  Even if it were fixed, the result of this
   4846     # check would be larger than it should be.
   4847     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4848     ;;
   4849 
   4850   gnu*)
   4851     # Under GNU Hurd, this test is not required because there is
   4852     # no limit to the length of command line arguments.
   4853     # Libtool will interpret -1 as no limit whatsoever
   4854     lt_cv_sys_max_cmd_len=-1;
   4855     ;;
   4856 
   4857   cygwin* | mingw* | cegcc*)
   4858     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4859     # about 5 minutes as the teststring grows exponentially.
   4860     # Worse, since 9x/ME are not pre-emptively multitasking,
   4861     # you end up with a "frozen" computer, even though with patience
   4862     # the test eventually succeeds (with a max line length of 256k).
   4863     # Instead, let's just punt: use the minimum linelength reported by
   4864     # all of the supported platforms: 8192 (on NT/2K/XP).
   4865     lt_cv_sys_max_cmd_len=8192;
   4866     ;;
   4867 
   4868   amigaos*)
   4869     # On AmigaOS with pdksh, this test takes hours, literally.
   4870     # So we just punt and use a minimum line length of 8192.
   4871     lt_cv_sys_max_cmd_len=8192;
   4872     ;;
   4873 
   4874   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4875     # This has been around since 386BSD, at least.  Likely further.
   4876     if test -x /sbin/sysctl; then
   4877       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4878     elif test -x /usr/sbin/sysctl; then
   4879       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4880     else
   4881       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4882     fi
   4883     # And add a safety zone
   4884     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4885     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4886     ;;
   4887 
   4888   interix*)
   4889     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4890     lt_cv_sys_max_cmd_len=196608
   4891     ;;
   4892 
   4893   osf*)
   4894     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4895     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4896     # nice to cause kernel panics so lets avoid the loop below.
   4897     # First set a reasonable default.
   4898     lt_cv_sys_max_cmd_len=16384
   4899     #
   4900     if test -x /sbin/sysconfig; then
   4901       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4902         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4903       esac
   4904     fi
   4905     ;;
   4906   sco3.2v5*)
   4907     lt_cv_sys_max_cmd_len=102400
   4908     ;;
   4909   sysv5* | sco5v6* | sysv4.2uw2*)
   4910     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4911     if test -n "$kargmax"; then
   4912       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4913     else
   4914       lt_cv_sys_max_cmd_len=32768
   4915     fi
   4916     ;;
   4917   *)
   4918     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4919     if test -n "$lt_cv_sys_max_cmd_len"; then
   4920       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4921       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4922     else
   4923       # Make teststring a little bigger before we do anything with it.
   4924       # a 1K string should be a reasonable start.
   4925       for i in 1 2 3 4 5 6 7 8 ; do
   4926         teststring=$teststring$teststring
   4927       done
   4928       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4929       # If test is not a shell built-in, we'll probably end up computing a
   4930       # maximum length that is only half of the actual maximum length, but
   4931       # we can't tell.
   4932       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4933 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4934 	      test $i != 17 # 1/2 MB should be enough
   4935       do
   4936         i=`expr $i + 1`
   4937         teststring=$teststring$teststring
   4938       done
   4939       # Only check the string length outside the loop.
   4940       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4941       teststring=
   4942       # Add a significant safety factor because C++ compilers can tack on
   4943       # massive amounts of additional arguments before passing them to the
   4944       # linker.  It appears as though 1/2 is a usable value.
   4945       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4946     fi
   4947     ;;
   4948   esac
   4949 
   4950 fi
   4951 
   4952 if test -n $lt_cv_sys_max_cmd_len ; then
   4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4954 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4955 else
   4956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4957 $as_echo "none" >&6; }
   4958 fi
   4959 max_cmd_len=$lt_cv_sys_max_cmd_len
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 : ${CP="cp -f"}
   4967 : ${MV="mv -f"}
   4968 : ${RM="rm -f"}
   4969 
   4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4971 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4972 # Try some XSI features
   4973 xsi_shell=no
   4974 ( _lt_dummy="a/b/c"
   4975   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4976       = c,a/b,, \
   4977     && eval 'test $(( 1 + 1 )) -eq 2 \
   4978     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4979   && xsi_shell=yes
   4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4981 $as_echo "$xsi_shell" >&6; }
   4982 
   4983 
   4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4985 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4986 lt_shell_append=no
   4987 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4988     >/dev/null 2>&1 \
   4989   && lt_shell_append=yes
   4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4991 $as_echo "$lt_shell_append" >&6; }
   4992 
   4993 
   4994 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4995   lt_unset=unset
   4996 else
   4997   lt_unset=false
   4998 fi
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 # test EBCDIC or ASCII
   5005 case `echo X|tr X '\101'` in
   5006  A) # ASCII based system
   5007     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5008   lt_SP2NL='tr \040 \012'
   5009   lt_NL2SP='tr \015\012 \040\040'
   5010   ;;
   5011  *) # EBCDIC based system
   5012   lt_SP2NL='tr \100 \n'
   5013   lt_NL2SP='tr \r\n \100\100'
   5014   ;;
   5015 esac
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5026 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5027 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5028   $as_echo_n "(cached) " >&6
   5029 else
   5030   lt_cv_ld_reload_flag='-r'
   5031 fi
   5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5033 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5034 reload_flag=$lt_cv_ld_reload_flag
   5035 case $reload_flag in
   5036 "" | " "*) ;;
   5037 *) reload_flag=" $reload_flag" ;;
   5038 esac
   5039 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5040 case $host_os in
   5041   darwin*)
   5042     if test "$GCC" = yes; then
   5043       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5044     else
   5045       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5046     fi
   5047     ;;
   5048 esac
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 if test -n "$ac_tool_prefix"; then
   5059   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5060 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5062 $as_echo_n "checking for $ac_word... " >&6; }
   5063 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5064   $as_echo_n "(cached) " >&6
   5065 else
   5066   if test -n "$OBJDUMP"; then
   5067   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5068 else
   5069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5070 for as_dir in $PATH
   5071 do
   5072   IFS=$as_save_IFS
   5073   test -z "$as_dir" && as_dir=.
   5074     for ac_exec_ext in '' $ac_executable_extensions; do
   5075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5076     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5078     break 2
   5079   fi
   5080 done
   5081   done
   5082 IFS=$as_save_IFS
   5083 
   5084 fi
   5085 fi
   5086 OBJDUMP=$ac_cv_prog_OBJDUMP
   5087 if test -n "$OBJDUMP"; then
   5088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5089 $as_echo "$OBJDUMP" >&6; }
   5090 else
   5091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5092 $as_echo "no" >&6; }
   5093 fi
   5094 
   5095 
   5096 fi
   5097 if test -z "$ac_cv_prog_OBJDUMP"; then
   5098   ac_ct_OBJDUMP=$OBJDUMP
   5099   # Extract the first word of "objdump", so it can be a program name with args.
   5100 set dummy objdump; ac_word=$2
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5102 $as_echo_n "checking for $ac_word... " >&6; }
   5103 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5104   $as_echo_n "(cached) " >&6
   5105 else
   5106   if test -n "$ac_ct_OBJDUMP"; then
   5107   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5108 else
   5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5110 for as_dir in $PATH
   5111 do
   5112   IFS=$as_save_IFS
   5113   test -z "$as_dir" && as_dir=.
   5114     for ac_exec_ext in '' $ac_executable_extensions; do
   5115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5116     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5118     break 2
   5119   fi
   5120 done
   5121   done
   5122 IFS=$as_save_IFS
   5123 
   5124 fi
   5125 fi
   5126 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5127 if test -n "$ac_ct_OBJDUMP"; then
   5128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5129 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5130 else
   5131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5132 $as_echo "no" >&6; }
   5133 fi
   5134 
   5135   if test "x$ac_ct_OBJDUMP" = x; then
   5136     OBJDUMP="false"
   5137   else
   5138     case $cross_compiling:$ac_tool_warned in
   5139 yes:)
   5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5142 ac_tool_warned=yes ;;
   5143 esac
   5144     OBJDUMP=$ac_ct_OBJDUMP
   5145   fi
   5146 else
   5147   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5148 fi
   5149 
   5150 test -z "$OBJDUMP" && OBJDUMP=objdump
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5161 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5162 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5163   $as_echo_n "(cached) " >&6
   5164 else
   5165   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5166 lt_cv_file_magic_test_file=
   5167 lt_cv_deplibs_check_method='unknown'
   5168 # Need to set the preceding variable on all platforms that support
   5169 # interlibrary dependencies.
   5170 # 'none' -- dependencies not supported.
   5171 # `unknown' -- same as none, but documents that we really don't know.
   5172 # 'pass_all' -- all dependencies passed with no checks.
   5173 # 'test_compile' -- check by making test program.
   5174 # 'file_magic [[regex]]' -- check by looking for files in library path
   5175 # which responds to the $file_magic_cmd with a given extended regex.
   5176 # If you have `file' or equivalent on your system and you're not sure
   5177 # whether `pass_all' will *always* work, you probably want this one.
   5178 
   5179 case $host_os in
   5180 aix[4-9]*)
   5181   lt_cv_deplibs_check_method=pass_all
   5182   ;;
   5183 
   5184 beos*)
   5185   lt_cv_deplibs_check_method=pass_all
   5186   ;;
   5187 
   5188 bsdi[45]*)
   5189   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5190   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5191   lt_cv_file_magic_test_file=/shlib/libc.so
   5192   ;;
   5193 
   5194 cygwin*)
   5195   # func_win32_libid is a shell function defined in ltmain.sh
   5196   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5197   lt_cv_file_magic_cmd='func_win32_libid'
   5198   ;;
   5199 
   5200 mingw* | pw32*)
   5201   # Base MSYS/MinGW do not provide the 'file' command needed by
   5202   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5203   # unless we find 'file', for example because we are cross-compiling.
   5204   if ( file / ) >/dev/null 2>&1; then
   5205     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5206     lt_cv_file_magic_cmd='func_win32_libid'
   5207   else
   5208     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5209     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5210   fi
   5211   ;;
   5212 
   5213 cegcc)
   5214   # use the weaker test based on 'objdump'. See mingw*.
   5215   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5216   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5217   ;;
   5218 
   5219 darwin* | rhapsody*)
   5220   lt_cv_deplibs_check_method=pass_all
   5221   ;;
   5222 
   5223 freebsd* | dragonfly*)
   5224   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5225     case $host_cpu in
   5226     i*86 )
   5227       # Not sure whether the presence of OpenBSD here was a mistake.
   5228       # Let's accept both of them until this is cleared up.
   5229       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5230       lt_cv_file_magic_cmd=/usr/bin/file
   5231       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5232       ;;
   5233     esac
   5234   else
   5235     lt_cv_deplibs_check_method=pass_all
   5236   fi
   5237   ;;
   5238 
   5239 gnu*)
   5240   lt_cv_deplibs_check_method=pass_all
   5241   ;;
   5242 
   5243 hpux10.20* | hpux11*)
   5244   lt_cv_file_magic_cmd=/usr/bin/file
   5245   case $host_cpu in
   5246   ia64*)
   5247     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5248     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5249     ;;
   5250   hppa*64*)
   5251     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5252     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5253     ;;
   5254   *)
   5255     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5256     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5257     ;;
   5258   esac
   5259   ;;
   5260 
   5261 interix[3-9]*)
   5262   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5263   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5264   ;;
   5265 
   5266 irix5* | irix6* | nonstopux*)
   5267   case $LD in
   5268   *-32|*"-32 ") libmagic=32-bit;;
   5269   *-n32|*"-n32 ") libmagic=N32;;
   5270   *-64|*"-64 ") libmagic=64-bit;;
   5271   *) libmagic=never-match;;
   5272   esac
   5273   lt_cv_deplibs_check_method=pass_all
   5274   ;;
   5275 
   5276 # This must be Linux ELF.
   5277 linux* | k*bsd*-gnu)
   5278   lt_cv_deplibs_check_method=pass_all
   5279   ;;
   5280 
   5281 netbsd* | netbsdelf*-gnu)
   5282   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5283     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5284   else
   5285     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5286   fi
   5287   ;;
   5288 
   5289 newos6*)
   5290   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5291   lt_cv_file_magic_cmd=/usr/bin/file
   5292   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5293   ;;
   5294 
   5295 *nto* | *qnx*)
   5296   lt_cv_deplibs_check_method=pass_all
   5297   ;;
   5298 
   5299 openbsd*)
   5300   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5301     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5302   else
   5303     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5304   fi
   5305   ;;
   5306 
   5307 osf3* | osf4* | osf5*)
   5308   lt_cv_deplibs_check_method=pass_all
   5309   ;;
   5310 
   5311 rdos*)
   5312   lt_cv_deplibs_check_method=pass_all
   5313   ;;
   5314 
   5315 solaris*)
   5316   lt_cv_deplibs_check_method=pass_all
   5317   ;;
   5318 
   5319 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5320   lt_cv_deplibs_check_method=pass_all
   5321   ;;
   5322 
   5323 sysv4 | sysv4.3*)
   5324   case $host_vendor in
   5325   motorola)
   5326     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]'
   5327     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5328     ;;
   5329   ncr)
   5330     lt_cv_deplibs_check_method=pass_all
   5331     ;;
   5332   sequent)
   5333     lt_cv_file_magic_cmd='/bin/file'
   5334     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5335     ;;
   5336   sni)
   5337     lt_cv_file_magic_cmd='/bin/file'
   5338     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5339     lt_cv_file_magic_test_file=/lib/libc.so
   5340     ;;
   5341   siemens)
   5342     lt_cv_deplibs_check_method=pass_all
   5343     ;;
   5344   pc)
   5345     lt_cv_deplibs_check_method=pass_all
   5346     ;;
   5347   esac
   5348   ;;
   5349 
   5350 tpf*)
   5351   lt_cv_deplibs_check_method=pass_all
   5352   ;;
   5353 esac
   5354 
   5355 fi
   5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5357 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5358 file_magic_cmd=$lt_cv_file_magic_cmd
   5359 deplibs_check_method=$lt_cv_deplibs_check_method
   5360 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 if test -n "$ac_tool_prefix"; then
   5374   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5375 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5377 $as_echo_n "checking for $ac_word... " >&6; }
   5378 if test "${ac_cv_prog_AR+set}" = set; then :
   5379   $as_echo_n "(cached) " >&6
   5380 else
   5381   if test -n "$AR"; then
   5382   ac_cv_prog_AR="$AR" # Let the user override the test.
   5383 else
   5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5385 for as_dir in $PATH
   5386 do
   5387   IFS=$as_save_IFS
   5388   test -z "$as_dir" && as_dir=.
   5389     for ac_exec_ext in '' $ac_executable_extensions; do
   5390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5391     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5393     break 2
   5394   fi
   5395 done
   5396   done
   5397 IFS=$as_save_IFS
   5398 
   5399 fi
   5400 fi
   5401 AR=$ac_cv_prog_AR
   5402 if test -n "$AR"; then
   5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5404 $as_echo "$AR" >&6; }
   5405 else
   5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5407 $as_echo "no" >&6; }
   5408 fi
   5409 
   5410 
   5411 fi
   5412 if test -z "$ac_cv_prog_AR"; then
   5413   ac_ct_AR=$AR
   5414   # Extract the first word of "ar", so it can be a program name with args.
   5415 set dummy ar; ac_word=$2
   5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5417 $as_echo_n "checking for $ac_word... " >&6; }
   5418 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5419   $as_echo_n "(cached) " >&6
   5420 else
   5421   if test -n "$ac_ct_AR"; then
   5422   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5423 else
   5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5425 for as_dir in $PATH
   5426 do
   5427   IFS=$as_save_IFS
   5428   test -z "$as_dir" && as_dir=.
   5429     for ac_exec_ext in '' $ac_executable_extensions; do
   5430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5431     ac_cv_prog_ac_ct_AR="ar"
   5432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5433     break 2
   5434   fi
   5435 done
   5436   done
   5437 IFS=$as_save_IFS
   5438 
   5439 fi
   5440 fi
   5441 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5442 if test -n "$ac_ct_AR"; then
   5443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5444 $as_echo "$ac_ct_AR" >&6; }
   5445 else
   5446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5447 $as_echo "no" >&6; }
   5448 fi
   5449 
   5450   if test "x$ac_ct_AR" = x; then
   5451     AR="false"
   5452   else
   5453     case $cross_compiling:$ac_tool_warned in
   5454 yes:)
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5457 ac_tool_warned=yes ;;
   5458 esac
   5459     AR=$ac_ct_AR
   5460   fi
   5461 else
   5462   AR="$ac_cv_prog_AR"
   5463 fi
   5464 
   5465 test -z "$AR" && AR=ar
   5466 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 if test -n "$ac_tool_prefix"; then
   5479   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5480 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5482 $as_echo_n "checking for $ac_word... " >&6; }
   5483 if test "${ac_cv_prog_STRIP+set}" = set; then :
   5484   $as_echo_n "(cached) " >&6
   5485 else
   5486   if test -n "$STRIP"; then
   5487   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5488 else
   5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5490 for as_dir in $PATH
   5491 do
   5492   IFS=$as_save_IFS
   5493   test -z "$as_dir" && as_dir=.
   5494     for ac_exec_ext in '' $ac_executable_extensions; do
   5495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5496     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5498     break 2
   5499   fi
   5500 done
   5501   done
   5502 IFS=$as_save_IFS
   5503 
   5504 fi
   5505 fi
   5506 STRIP=$ac_cv_prog_STRIP
   5507 if test -n "$STRIP"; then
   5508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5509 $as_echo "$STRIP" >&6; }
   5510 else
   5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5512 $as_echo "no" >&6; }
   5513 fi
   5514 
   5515 
   5516 fi
   5517 if test -z "$ac_cv_prog_STRIP"; then
   5518   ac_ct_STRIP=$STRIP
   5519   # Extract the first word of "strip", so it can be a program name with args.
   5520 set dummy strip; ac_word=$2
   5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5522 $as_echo_n "checking for $ac_word... " >&6; }
   5523 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   5524   $as_echo_n "(cached) " >&6
   5525 else
   5526   if test -n "$ac_ct_STRIP"; then
   5527   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5528 else
   5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5530 for as_dir in $PATH
   5531 do
   5532   IFS=$as_save_IFS
   5533   test -z "$as_dir" && as_dir=.
   5534     for ac_exec_ext in '' $ac_executable_extensions; do
   5535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5536     ac_cv_prog_ac_ct_STRIP="strip"
   5537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5538     break 2
   5539   fi
   5540 done
   5541   done
   5542 IFS=$as_save_IFS
   5543 
   5544 fi
   5545 fi
   5546 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5547 if test -n "$ac_ct_STRIP"; then
   5548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5549 $as_echo "$ac_ct_STRIP" >&6; }
   5550 else
   5551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5552 $as_echo "no" >&6; }
   5553 fi
   5554 
   5555   if test "x$ac_ct_STRIP" = x; then
   5556     STRIP=":"
   5557   else
   5558     case $cross_compiling:$ac_tool_warned in
   5559 yes:)
   5560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5562 ac_tool_warned=yes ;;
   5563 esac
   5564     STRIP=$ac_ct_STRIP
   5565   fi
   5566 else
   5567   STRIP="$ac_cv_prog_STRIP"
   5568 fi
   5569 
   5570 test -z "$STRIP" && STRIP=:
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 if test -n "$ac_tool_prefix"; then
   5578   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5579 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5581 $as_echo_n "checking for $ac_word... " >&6; }
   5582 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5583   $as_echo_n "(cached) " >&6
   5584 else
   5585   if test -n "$RANLIB"; then
   5586   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5587 else
   5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5589 for as_dir in $PATH
   5590 do
   5591   IFS=$as_save_IFS
   5592   test -z "$as_dir" && as_dir=.
   5593     for ac_exec_ext in '' $ac_executable_extensions; do
   5594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5595     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5597     break 2
   5598   fi
   5599 done
   5600   done
   5601 IFS=$as_save_IFS
   5602 
   5603 fi
   5604 fi
   5605 RANLIB=$ac_cv_prog_RANLIB
   5606 if test -n "$RANLIB"; then
   5607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5608 $as_echo "$RANLIB" >&6; }
   5609 else
   5610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5611 $as_echo "no" >&6; }
   5612 fi
   5613 
   5614 
   5615 fi
   5616 if test -z "$ac_cv_prog_RANLIB"; then
   5617   ac_ct_RANLIB=$RANLIB
   5618   # Extract the first word of "ranlib", so it can be a program name with args.
   5619 set dummy ranlib; ac_word=$2
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5621 $as_echo_n "checking for $ac_word... " >&6; }
   5622 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5623   $as_echo_n "(cached) " >&6
   5624 else
   5625   if test -n "$ac_ct_RANLIB"; then
   5626   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5627 else
   5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5629 for as_dir in $PATH
   5630 do
   5631   IFS=$as_save_IFS
   5632   test -z "$as_dir" && as_dir=.
   5633     for ac_exec_ext in '' $ac_executable_extensions; do
   5634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5635     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5637     break 2
   5638   fi
   5639 done
   5640   done
   5641 IFS=$as_save_IFS
   5642 
   5643 fi
   5644 fi
   5645 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5646 if test -n "$ac_ct_RANLIB"; then
   5647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5648 $as_echo "$ac_ct_RANLIB" >&6; }
   5649 else
   5650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5651 $as_echo "no" >&6; }
   5652 fi
   5653 
   5654   if test "x$ac_ct_RANLIB" = x; then
   5655     RANLIB=":"
   5656   else
   5657     case $cross_compiling:$ac_tool_warned in
   5658 yes:)
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5661 ac_tool_warned=yes ;;
   5662 esac
   5663     RANLIB=$ac_ct_RANLIB
   5664   fi
   5665 else
   5666   RANLIB="$ac_cv_prog_RANLIB"
   5667 fi
   5668 
   5669 test -z "$RANLIB" && RANLIB=:
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 # Determine commands to create old-style static archives.
   5677 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5678 old_postinstall_cmds='chmod 644 $oldlib'
   5679 old_postuninstall_cmds=
   5680 
   5681 if test -n "$RANLIB"; then
   5682   case $host_os in
   5683   openbsd*)
   5684     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5685     ;;
   5686   *)
   5687     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5688     ;;
   5689   esac
   5690   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5691 fi
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 # If no C compiler was specified, use CC.
   5727 LTCC=${LTCC-"$CC"}
   5728 
   5729 # If no C compiler flags were specified, use CFLAGS.
   5730 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5731 
   5732 # Allow CC to be a program name with arguments.
   5733 compiler=$CC
   5734 
   5735 
   5736 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5738 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5739 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   5740   $as_echo_n "(cached) " >&6
   5741 else
   5742 
   5743 # These are sane defaults that work on at least a few old systems.
   5744 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5745 
   5746 # Character class describing NM global symbol codes.
   5747 symcode='[BCDEGRST]'
   5748 
   5749 # Regexp to match symbols that can be accessed directly from C.
   5750 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5751 
   5752 # Define system-specific variables.
   5753 case $host_os in
   5754 aix*)
   5755   symcode='[BCDT]'
   5756   ;;
   5757 cygwin* | mingw* | pw32* | cegcc*)
   5758   symcode='[ABCDGISTW]'
   5759   ;;
   5760 hpux*)
   5761   if test "$host_cpu" = ia64; then
   5762     symcode='[ABCDEGRST]'
   5763   fi
   5764   ;;
   5765 irix* | nonstopux*)
   5766   symcode='[BCDEGRST]'
   5767   ;;
   5768 osf*)
   5769   symcode='[BCDEGQRST]'
   5770   ;;
   5771 solaris*)
   5772   symcode='[BDRT]'
   5773   ;;
   5774 sco3.2v5*)
   5775   symcode='[DT]'
   5776   ;;
   5777 sysv4.2uw2*)
   5778   symcode='[DT]'
   5779   ;;
   5780 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5781   symcode='[ABDT]'
   5782   ;;
   5783 sysv4)
   5784   symcode='[DFNSTU]'
   5785   ;;
   5786 esac
   5787 
   5788 # If we're using GNU nm, then use its standard symbol codes.
   5789 case `$NM -V 2>&1` in
   5790 *GNU* | *'with BFD'*)
   5791   symcode='[ABCDGIRSTW]' ;;
   5792 esac
   5793 
   5794 # Transform an extracted symbol line into a proper C declaration.
   5795 # Some systems (esp. on ia64) link data and code symbols differently,
   5796 # so use this general approach.
   5797 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5798 
   5799 # Transform an extracted symbol line into symbol name and symbol address
   5800 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5801 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'"
   5802 
   5803 # Handle CRLF in mingw tool chain
   5804 opt_cr=
   5805 case $build_os in
   5806 mingw*)
   5807   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5808   ;;
   5809 esac
   5810 
   5811 # Try without a prefix underscore, then with it.
   5812 for ac_symprfx in "" "_"; do
   5813 
   5814   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5815   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5816 
   5817   # Write the raw and C identifiers.
   5818   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5819     # Fake it for dumpbin and say T for any non-static function
   5820     # and D for any global variable.
   5821     # Also find C++ and __fastcall symbols from MSVC++,
   5822     # which start with @ or ?.
   5823     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5824 "     {last_section=section; section=\$ 3};"\
   5825 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5826 "     \$ 0!~/External *\|/{next};"\
   5827 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5828 "     {if(hide[section]) next};"\
   5829 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5830 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5831 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5832 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5833 "     ' prfx=^$ac_symprfx"
   5834   else
   5835     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5836   fi
   5837 
   5838   # Check to see that the pipe works correctly.
   5839   pipe_works=no
   5840 
   5841   rm -f conftest*
   5842   cat > conftest.$ac_ext <<_LT_EOF
   5843 #ifdef __cplusplus
   5844 extern "C" {
   5845 #endif
   5846 char nm_test_var;
   5847 void nm_test_func(void);
   5848 void nm_test_func(void){}
   5849 #ifdef __cplusplus
   5850 }
   5851 #endif
   5852 int main(){nm_test_var='a';nm_test_func();return(0);}
   5853 _LT_EOF
   5854 
   5855   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5856   (eval $ac_compile) 2>&5
   5857   ac_status=$?
   5858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5859   test $ac_status = 0; }; then
   5860     # Now try to grab the symbols.
   5861     nlist=conftest.nm
   5862     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   5863   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5864   ac_status=$?
   5865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5866   test $ac_status = 0; } && test -s "$nlist"; then
   5867       # Try sorting and uniquifying the output.
   5868       if sort "$nlist" | uniq > "$nlist"T; then
   5869 	mv -f "$nlist"T "$nlist"
   5870       else
   5871 	rm -f "$nlist"T
   5872       fi
   5873 
   5874       # Make sure that we snagged all the symbols we need.
   5875       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5876 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5877 	  cat <<_LT_EOF > conftest.$ac_ext
   5878 #ifdef __cplusplus
   5879 extern "C" {
   5880 #endif
   5881 
   5882 _LT_EOF
   5883 	  # Now generate the symbol file.
   5884 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5885 
   5886 	  cat <<_LT_EOF >> conftest.$ac_ext
   5887 
   5888 /* The mapping between symbol names and symbols.  */
   5889 const struct {
   5890   const char *name;
   5891   void       *address;
   5892 }
   5893 lt__PROGRAM__LTX_preloaded_symbols[] =
   5894 {
   5895   { "@PROGRAM@", (void *) 0 },
   5896 _LT_EOF
   5897 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5898 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5899   {0, (void *) 0}
   5900 };
   5901 
   5902 /* This works around a problem in FreeBSD linker */
   5903 #ifdef FREEBSD_WORKAROUND
   5904 static const void *lt_preloaded_setup() {
   5905   return lt__PROGRAM__LTX_preloaded_symbols;
   5906 }
   5907 #endif
   5908 
   5909 #ifdef __cplusplus
   5910 }
   5911 #endif
   5912 _LT_EOF
   5913 	  # Now try linking the two files.
   5914 	  mv conftest.$ac_objext conftstm.$ac_objext
   5915 	  lt_save_LIBS="$LIBS"
   5916 	  lt_save_CFLAGS="$CFLAGS"
   5917 	  LIBS="conftstm.$ac_objext"
   5918 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5919 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5920   (eval $ac_link) 2>&5
   5921   ac_status=$?
   5922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5923   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5924 	    pipe_works=yes
   5925 	  fi
   5926 	  LIBS="$lt_save_LIBS"
   5927 	  CFLAGS="$lt_save_CFLAGS"
   5928 	else
   5929 	  echo "cannot find nm_test_func in $nlist" >&5
   5930 	fi
   5931       else
   5932 	echo "cannot find nm_test_var in $nlist" >&5
   5933       fi
   5934     else
   5935       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5936     fi
   5937   else
   5938     echo "$progname: failed program was:" >&5
   5939     cat conftest.$ac_ext >&5
   5940   fi
   5941   rm -rf conftest* conftst*
   5942 
   5943   # Do not use the global_symbol_pipe unless it works.
   5944   if test "$pipe_works" = yes; then
   5945     break
   5946   else
   5947     lt_cv_sys_global_symbol_pipe=
   5948   fi
   5949 done
   5950 
   5951 fi
   5952 
   5953 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5954   lt_cv_sys_global_symbol_to_cdecl=
   5955 fi
   5956 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5958 $as_echo "failed" >&6; }
   5959 else
   5960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5961 $as_echo "ok" >&6; }
   5962 fi
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 # Check whether --enable-libtool-lock was given.
   5986 if test "${enable_libtool_lock+set}" = set; then :
   5987   enableval=$enable_libtool_lock;
   5988 fi
   5989 
   5990 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5991 
   5992 # Some flags need to be propagated to the compiler or linker for good
   5993 # libtool support.
   5994 case $host in
   5995 ia64-*-hpux*)
   5996   # Find out which ABI we are using.
   5997   echo 'int i;' > conftest.$ac_ext
   5998   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5999   (eval $ac_compile) 2>&5
   6000   ac_status=$?
   6001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6002   test $ac_status = 0; }; then
   6003     case `/usr/bin/file conftest.$ac_objext` in
   6004       *ELF-32*)
   6005 	HPUX_IA64_MODE="32"
   6006 	;;
   6007       *ELF-64*)
   6008 	HPUX_IA64_MODE="64"
   6009 	;;
   6010     esac
   6011   fi
   6012   rm -rf conftest*
   6013   ;;
   6014 *-*-irix6*)
   6015   # Find out which ABI we are using.
   6016   echo '#line 6016 "configure"' > conftest.$ac_ext
   6017   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6018   (eval $ac_compile) 2>&5
   6019   ac_status=$?
   6020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6021   test $ac_status = 0; }; then
   6022     if test "$lt_cv_prog_gnu_ld" = yes; then
   6023       case `/usr/bin/file conftest.$ac_objext` in
   6024 	*32-bit*)
   6025 	  LD="${LD-ld} -melf32bsmip"
   6026 	  ;;
   6027 	*N32*)
   6028 	  LD="${LD-ld} -melf32bmipn32"
   6029 	  ;;
   6030 	*64-bit*)
   6031 	  LD="${LD-ld} -melf64bmip"
   6032 	;;
   6033       esac
   6034     else
   6035       case `/usr/bin/file conftest.$ac_objext` in
   6036 	*32-bit*)
   6037 	  LD="${LD-ld} -32"
   6038 	  ;;
   6039 	*N32*)
   6040 	  LD="${LD-ld} -n32"
   6041 	  ;;
   6042 	*64-bit*)
   6043 	  LD="${LD-ld} -64"
   6044 	  ;;
   6045       esac
   6046     fi
   6047   fi
   6048   rm -rf conftest*
   6049   ;;
   6050 
   6051 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6052 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6053   # Find out which ABI we are using.
   6054   echo 'int i;' > conftest.$ac_ext
   6055   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6056   (eval $ac_compile) 2>&5
   6057   ac_status=$?
   6058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6059   test $ac_status = 0; }; then
   6060     case `/usr/bin/file conftest.o` in
   6061       *32-bit*)
   6062 	case $host in
   6063 	  x86_64-*kfreebsd*-gnu)
   6064 	    LD="${LD-ld} -m elf_i386_fbsd"
   6065 	    ;;
   6066 	  x86_64-*linux*)
   6067 	    LD="${LD-ld} -m elf_i386"
   6068 	    ;;
   6069 	  ppc64-*linux*|powerpc64-*linux*)
   6070 	    LD="${LD-ld} -m elf32ppclinux"
   6071 	    ;;
   6072 	  s390x-*linux*)
   6073 	    LD="${LD-ld} -m elf_s390"
   6074 	    ;;
   6075 	  sparc64-*linux*)
   6076 	    LD="${LD-ld} -m elf32_sparc"
   6077 	    ;;
   6078 	esac
   6079 	;;
   6080       *64-bit*)
   6081 	case $host in
   6082 	  x86_64-*kfreebsd*-gnu)
   6083 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6084 	    ;;
   6085 	  x86_64-*linux*)
   6086 	    LD="${LD-ld} -m elf_x86_64"
   6087 	    ;;
   6088 	  ppc*-*linux*|powerpc*-*linux*)
   6089 	    LD="${LD-ld} -m elf64ppc"
   6090 	    ;;
   6091 	  s390*-*linux*|s390*-*tpf*)
   6092 	    LD="${LD-ld} -m elf64_s390"
   6093 	    ;;
   6094 	  sparc*-*linux*)
   6095 	    LD="${LD-ld} -m elf64_sparc"
   6096 	    ;;
   6097 	esac
   6098 	;;
   6099     esac
   6100   fi
   6101   rm -rf conftest*
   6102   ;;
   6103 
   6104 *-*-sco3.2v5*)
   6105   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6106   SAVE_CFLAGS="$CFLAGS"
   6107   CFLAGS="$CFLAGS -belf"
   6108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6109 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6110 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6111   $as_echo_n "(cached) " >&6
   6112 else
   6113   ac_ext=c
   6114 ac_cpp='$CPP $CPPFLAGS'
   6115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6118 
   6119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 
   6122 int
   6123 main ()
   6124 {
   6125 
   6126   ;
   6127   return 0;
   6128 }
   6129 _ACEOF
   6130 if ac_fn_c_try_link "$LINENO"; then :
   6131   lt_cv_cc_needs_belf=yes
   6132 else
   6133   lt_cv_cc_needs_belf=no
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext \
   6136     conftest$ac_exeext conftest.$ac_ext
   6137      ac_ext=c
   6138 ac_cpp='$CPP $CPPFLAGS'
   6139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6142 
   6143 fi
   6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6145 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6146   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6147     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6148     CFLAGS="$SAVE_CFLAGS"
   6149   fi
   6150   ;;
   6151 sparc*-*solaris*)
   6152   # Find out which ABI we are using.
   6153   echo 'int i;' > conftest.$ac_ext
   6154   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6155   (eval $ac_compile) 2>&5
   6156   ac_status=$?
   6157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6158   test $ac_status = 0; }; then
   6159     case `/usr/bin/file conftest.o` in
   6160     *64-bit*)
   6161       case $lt_cv_prog_gnu_ld in
   6162       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6163       *)
   6164 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6165 	  LD="${LD-ld} -64"
   6166 	fi
   6167 	;;
   6168       esac
   6169       ;;
   6170     esac
   6171   fi
   6172   rm -rf conftest*
   6173   ;;
   6174 esac
   6175 
   6176 need_locks="$enable_libtool_lock"
   6177 
   6178 
   6179   case $host_os in
   6180     rhapsody* | darwin*)
   6181     if test -n "$ac_tool_prefix"; then
   6182   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6183 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6185 $as_echo_n "checking for $ac_word... " >&6; }
   6186 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6187   $as_echo_n "(cached) " >&6
   6188 else
   6189   if test -n "$DSYMUTIL"; then
   6190   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6191 else
   6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6193 for as_dir in $PATH
   6194 do
   6195   IFS=$as_save_IFS
   6196   test -z "$as_dir" && as_dir=.
   6197     for ac_exec_ext in '' $ac_executable_extensions; do
   6198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6199     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6201     break 2
   6202   fi
   6203 done
   6204   done
   6205 IFS=$as_save_IFS
   6206 
   6207 fi
   6208 fi
   6209 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6210 if test -n "$DSYMUTIL"; then
   6211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6212 $as_echo "$DSYMUTIL" >&6; }
   6213 else
   6214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6215 $as_echo "no" >&6; }
   6216 fi
   6217 
   6218 
   6219 fi
   6220 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6221   ac_ct_DSYMUTIL=$DSYMUTIL
   6222   # Extract the first word of "dsymutil", so it can be a program name with args.
   6223 set dummy dsymutil; ac_word=$2
   6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6225 $as_echo_n "checking for $ac_word... " >&6; }
   6226 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6227   $as_echo_n "(cached) " >&6
   6228 else
   6229   if test -n "$ac_ct_DSYMUTIL"; then
   6230   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6231 else
   6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6233 for as_dir in $PATH
   6234 do
   6235   IFS=$as_save_IFS
   6236   test -z "$as_dir" && as_dir=.
   6237     for ac_exec_ext in '' $ac_executable_extensions; do
   6238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6239     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6241     break 2
   6242   fi
   6243 done
   6244   done
   6245 IFS=$as_save_IFS
   6246 
   6247 fi
   6248 fi
   6249 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6250 if test -n "$ac_ct_DSYMUTIL"; then
   6251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6252 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6253 else
   6254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6255 $as_echo "no" >&6; }
   6256 fi
   6257 
   6258   if test "x$ac_ct_DSYMUTIL" = x; then
   6259     DSYMUTIL=":"
   6260   else
   6261     case $cross_compiling:$ac_tool_warned in
   6262 yes:)
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6265 ac_tool_warned=yes ;;
   6266 esac
   6267     DSYMUTIL=$ac_ct_DSYMUTIL
   6268   fi
   6269 else
   6270   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6271 fi
   6272 
   6273     if test -n "$ac_tool_prefix"; then
   6274   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6275 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 $as_echo_n "checking for $ac_word... " >&6; }
   6278 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   if test -n "$NMEDIT"; then
   6282   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6283 else
   6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   test -z "$as_dir" && as_dir=.
   6289     for ac_exec_ext in '' $ac_executable_extensions; do
   6290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6291     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293     break 2
   6294   fi
   6295 done
   6296   done
   6297 IFS=$as_save_IFS
   6298 
   6299 fi
   6300 fi
   6301 NMEDIT=$ac_cv_prog_NMEDIT
   6302 if test -n "$NMEDIT"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6304 $as_echo "$NMEDIT" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 
   6310 
   6311 fi
   6312 if test -z "$ac_cv_prog_NMEDIT"; then
   6313   ac_ct_NMEDIT=$NMEDIT
   6314   # Extract the first word of "nmedit", so it can be a program name with args.
   6315 set dummy nmedit; ac_word=$2
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6317 $as_echo_n "checking for $ac_word... " >&6; }
   6318 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6319   $as_echo_n "(cached) " >&6
   6320 else
   6321   if test -n "$ac_ct_NMEDIT"; then
   6322   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6323 else
   6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6325 for as_dir in $PATH
   6326 do
   6327   IFS=$as_save_IFS
   6328   test -z "$as_dir" && as_dir=.
   6329     for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6331     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336   done
   6337 IFS=$as_save_IFS
   6338 
   6339 fi
   6340 fi
   6341 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6342 if test -n "$ac_ct_NMEDIT"; then
   6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6344 $as_echo "$ac_ct_NMEDIT" >&6; }
   6345 else
   6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6347 $as_echo "no" >&6; }
   6348 fi
   6349 
   6350   if test "x$ac_ct_NMEDIT" = x; then
   6351     NMEDIT=":"
   6352   else
   6353     case $cross_compiling:$ac_tool_warned in
   6354 yes:)
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6357 ac_tool_warned=yes ;;
   6358 esac
   6359     NMEDIT=$ac_ct_NMEDIT
   6360   fi
   6361 else
   6362   NMEDIT="$ac_cv_prog_NMEDIT"
   6363 fi
   6364 
   6365     if test -n "$ac_tool_prefix"; then
   6366   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6367 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6369 $as_echo_n "checking for $ac_word... " >&6; }
   6370 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6371   $as_echo_n "(cached) " >&6
   6372 else
   6373   if test -n "$LIPO"; then
   6374   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6375 else
   6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6377 for as_dir in $PATH
   6378 do
   6379   IFS=$as_save_IFS
   6380   test -z "$as_dir" && as_dir=.
   6381     for ac_exec_ext in '' $ac_executable_extensions; do
   6382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6383     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6385     break 2
   6386   fi
   6387 done
   6388   done
   6389 IFS=$as_save_IFS
   6390 
   6391 fi
   6392 fi
   6393 LIPO=$ac_cv_prog_LIPO
   6394 if test -n "$LIPO"; then
   6395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6396 $as_echo "$LIPO" >&6; }
   6397 else
   6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6399 $as_echo "no" >&6; }
   6400 fi
   6401 
   6402 
   6403 fi
   6404 if test -z "$ac_cv_prog_LIPO"; then
   6405   ac_ct_LIPO=$LIPO
   6406   # Extract the first word of "lipo", so it can be a program name with args.
   6407 set dummy lipo; ac_word=$2
   6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6409 $as_echo_n "checking for $ac_word... " >&6; }
   6410 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6411   $as_echo_n "(cached) " >&6
   6412 else
   6413   if test -n "$ac_ct_LIPO"; then
   6414   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6415 else
   6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6417 for as_dir in $PATH
   6418 do
   6419   IFS=$as_save_IFS
   6420   test -z "$as_dir" && as_dir=.
   6421     for ac_exec_ext in '' $ac_executable_extensions; do
   6422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6423     ac_cv_prog_ac_ct_LIPO="lipo"
   6424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6425     break 2
   6426   fi
   6427 done
   6428   done
   6429 IFS=$as_save_IFS
   6430 
   6431 fi
   6432 fi
   6433 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6434 if test -n "$ac_ct_LIPO"; then
   6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6436 $as_echo "$ac_ct_LIPO" >&6; }
   6437 else
   6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6439 $as_echo "no" >&6; }
   6440 fi
   6441 
   6442   if test "x$ac_ct_LIPO" = x; then
   6443     LIPO=":"
   6444   else
   6445     case $cross_compiling:$ac_tool_warned in
   6446 yes:)
   6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6449 ac_tool_warned=yes ;;
   6450 esac
   6451     LIPO=$ac_ct_LIPO
   6452   fi
   6453 else
   6454   LIPO="$ac_cv_prog_LIPO"
   6455 fi
   6456 
   6457     if test -n "$ac_tool_prefix"; then
   6458   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6459 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6461 $as_echo_n "checking for $ac_word... " >&6; }
   6462 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   if test -n "$OTOOL"; then
   6466   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6467 else
   6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6469 for as_dir in $PATH
   6470 do
   6471   IFS=$as_save_IFS
   6472   test -z "$as_dir" && as_dir=.
   6473     for ac_exec_ext in '' $ac_executable_extensions; do
   6474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6475     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6477     break 2
   6478   fi
   6479 done
   6480   done
   6481 IFS=$as_save_IFS
   6482 
   6483 fi
   6484 fi
   6485 OTOOL=$ac_cv_prog_OTOOL
   6486 if test -n "$OTOOL"; then
   6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6488 $as_echo "$OTOOL" >&6; }
   6489 else
   6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6491 $as_echo "no" >&6; }
   6492 fi
   6493 
   6494 
   6495 fi
   6496 if test -z "$ac_cv_prog_OTOOL"; then
   6497   ac_ct_OTOOL=$OTOOL
   6498   # Extract the first word of "otool", so it can be a program name with args.
   6499 set dummy otool; ac_word=$2
   6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6501 $as_echo_n "checking for $ac_word... " >&6; }
   6502 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505   if test -n "$ac_ct_OTOOL"; then
   6506   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6507 else
   6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6509 for as_dir in $PATH
   6510 do
   6511   IFS=$as_save_IFS
   6512   test -z "$as_dir" && as_dir=.
   6513     for ac_exec_ext in '' $ac_executable_extensions; do
   6514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6515     ac_cv_prog_ac_ct_OTOOL="otool"
   6516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6517     break 2
   6518   fi
   6519 done
   6520   done
   6521 IFS=$as_save_IFS
   6522 
   6523 fi
   6524 fi
   6525 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6526 if test -n "$ac_ct_OTOOL"; then
   6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6528 $as_echo "$ac_ct_OTOOL" >&6; }
   6529 else
   6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6531 $as_echo "no" >&6; }
   6532 fi
   6533 
   6534   if test "x$ac_ct_OTOOL" = x; then
   6535     OTOOL=":"
   6536   else
   6537     case $cross_compiling:$ac_tool_warned in
   6538 yes:)
   6539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6541 ac_tool_warned=yes ;;
   6542 esac
   6543     OTOOL=$ac_ct_OTOOL
   6544   fi
   6545 else
   6546   OTOOL="$ac_cv_prog_OTOOL"
   6547 fi
   6548 
   6549     if test -n "$ac_tool_prefix"; then
   6550   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6551 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6553 $as_echo_n "checking for $ac_word... " >&6; }
   6554 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   6555   $as_echo_n "(cached) " >&6
   6556 else
   6557   if test -n "$OTOOL64"; then
   6558   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6559 else
   6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6561 for as_dir in $PATH
   6562 do
   6563   IFS=$as_save_IFS
   6564   test -z "$as_dir" && as_dir=.
   6565     for ac_exec_ext in '' $ac_executable_extensions; do
   6566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6567     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6569     break 2
   6570   fi
   6571 done
   6572   done
   6573 IFS=$as_save_IFS
   6574 
   6575 fi
   6576 fi
   6577 OTOOL64=$ac_cv_prog_OTOOL64
   6578 if test -n "$OTOOL64"; then
   6579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6580 $as_echo "$OTOOL64" >&6; }
   6581 else
   6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6583 $as_echo "no" >&6; }
   6584 fi
   6585 
   6586 
   6587 fi
   6588 if test -z "$ac_cv_prog_OTOOL64"; then
   6589   ac_ct_OTOOL64=$OTOOL64
   6590   # Extract the first word of "otool64", so it can be a program name with args.
   6591 set dummy otool64; ac_word=$2
   6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6593 $as_echo_n "checking for $ac_word... " >&6; }
   6594 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   6595   $as_echo_n "(cached) " >&6
   6596 else
   6597   if test -n "$ac_ct_OTOOL64"; then
   6598   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6599 else
   6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6601 for as_dir in $PATH
   6602 do
   6603   IFS=$as_save_IFS
   6604   test -z "$as_dir" && as_dir=.
   6605     for ac_exec_ext in '' $ac_executable_extensions; do
   6606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6607     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6609     break 2
   6610   fi
   6611 done
   6612   done
   6613 IFS=$as_save_IFS
   6614 
   6615 fi
   6616 fi
   6617 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6618 if test -n "$ac_ct_OTOOL64"; then
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6620 $as_echo "$ac_ct_OTOOL64" >&6; }
   6621 else
   6622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6623 $as_echo "no" >&6; }
   6624 fi
   6625 
   6626   if test "x$ac_ct_OTOOL64" = x; then
   6627     OTOOL64=":"
   6628   else
   6629     case $cross_compiling:$ac_tool_warned in
   6630 yes:)
   6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6633 ac_tool_warned=yes ;;
   6634 esac
   6635     OTOOL64=$ac_ct_OTOOL64
   6636   fi
   6637 else
   6638   OTOOL64="$ac_cv_prog_OTOOL64"
   6639 fi
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6668 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6669 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   6670   $as_echo_n "(cached) " >&6
   6671 else
   6672   lt_cv_apple_cc_single_mod=no
   6673       if test -z "${LT_MULTI_MODULE}"; then
   6674 	# By default we will add the -single_module flag. You can override
   6675 	# by either setting the environment variable LT_MULTI_MODULE
   6676 	# non-empty at configure time, or by adding -multi_module to the
   6677 	# link flags.
   6678 	rm -rf libconftest.dylib*
   6679 	echo "int foo(void){return 1;}" > conftest.c
   6680 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6681 -dynamiclib -Wl,-single_module conftest.c" >&5
   6682 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6683 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6684         _lt_result=$?
   6685 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6686 	  lt_cv_apple_cc_single_mod=yes
   6687 	else
   6688 	  cat conftest.err >&5
   6689 	fi
   6690 	rm -rf libconftest.dylib*
   6691 	rm -f conftest.*
   6692       fi
   6693 fi
   6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6695 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6697 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6698 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   lt_cv_ld_exported_symbols_list=no
   6702       save_LDFLAGS=$LDFLAGS
   6703       echo "_main" > conftest.sym
   6704       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6706 /* end confdefs.h.  */
   6707 
   6708 int
   6709 main ()
   6710 {
   6711 
   6712   ;
   6713   return 0;
   6714 }
   6715 _ACEOF
   6716 if ac_fn_c_try_link "$LINENO"; then :
   6717   lt_cv_ld_exported_symbols_list=yes
   6718 else
   6719   lt_cv_ld_exported_symbols_list=no
   6720 fi
   6721 rm -f core conftest.err conftest.$ac_objext \
   6722     conftest$ac_exeext conftest.$ac_ext
   6723 	LDFLAGS="$save_LDFLAGS"
   6724 
   6725 fi
   6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6727 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6728     case $host_os in
   6729     rhapsody* | darwin1.[012])
   6730       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6731     darwin1.*)
   6732       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6733     darwin*) # darwin 5.x on
   6734       # if running on 10.5 or later, the deployment target defaults
   6735       # to the OS version, if on x86, and 10.4, the deployment
   6736       # target defaults to 10.4. Don't you love it?
   6737       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6738 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6739 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6740 	10.[012]*)
   6741 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6742 	10.*)
   6743 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6744       esac
   6745     ;;
   6746   esac
   6747     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6748       _lt_dar_single_mod='$single_module'
   6749     fi
   6750     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6751       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6752     else
   6753       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6754     fi
   6755     if test "$DSYMUTIL" != ":"; then
   6756       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6757     else
   6758       _lt_dsymutil=
   6759     fi
   6760     ;;
   6761   esac
   6762 
   6763 for ac_header in dlfcn.h
   6764 do :
   6765   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   6766 "
   6767 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   6768   cat >>confdefs.h <<_ACEOF
   6769 #define HAVE_DLFCN_H 1
   6770 _ACEOF
   6771 
   6772 fi
   6773 
   6774 done
   6775 
   6776 
   6777 
   6778 # Set options
   6779 
   6780 
   6781 
   6782         enable_dlopen=no
   6783 
   6784 
   6785   enable_win32_dll=no
   6786 
   6787 
   6788             # Check whether --enable-shared was given.
   6789 if test "${enable_shared+set}" = set; then :
   6790   enableval=$enable_shared; p=${PACKAGE-default}
   6791     case $enableval in
   6792     yes) enable_shared=yes ;;
   6793     no) enable_shared=no ;;
   6794     *)
   6795       enable_shared=no
   6796       # Look at the argument we got.  We use all the common list separators.
   6797       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6798       for pkg in $enableval; do
   6799 	IFS="$lt_save_ifs"
   6800 	if test "X$pkg" = "X$p"; then
   6801 	  enable_shared=yes
   6802 	fi
   6803       done
   6804       IFS="$lt_save_ifs"
   6805       ;;
   6806     esac
   6807 else
   6808   enable_shared=yes
   6809 fi
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 # Check whether --with-pic was given.
   6822 if test "${with_pic+set}" = set; then :
   6823   withval=$with_pic; pic_mode="$withval"
   6824 else
   6825   pic_mode=default
   6826 fi
   6827 
   6828 
   6829 test -z "$pic_mode" && pic_mode=default
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837   # Check whether --enable-fast-install was given.
   6838 if test "${enable_fast_install+set}" = set; then :
   6839   enableval=$enable_fast_install; p=${PACKAGE-default}
   6840     case $enableval in
   6841     yes) enable_fast_install=yes ;;
   6842     no) enable_fast_install=no ;;
   6843     *)
   6844       enable_fast_install=no
   6845       # Look at the argument we got.  We use all the common list separators.
   6846       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6847       for pkg in $enableval; do
   6848 	IFS="$lt_save_ifs"
   6849 	if test "X$pkg" = "X$p"; then
   6850 	  enable_fast_install=yes
   6851 	fi
   6852       done
   6853       IFS="$lt_save_ifs"
   6854       ;;
   6855     esac
   6856 else
   6857   enable_fast_install=yes
   6858 fi
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 # This can be used to rebuild libtool when needed
   6871 LIBTOOL_DEPS="$ltmain"
   6872 
   6873 # Always use our own libtool.
   6874 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 test -z "$LN_S" && LN_S="ln -s"
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 if test -n "${ZSH_VERSION+set}" ; then
   6916    setopt NO_GLOB_SUBST
   6917 fi
   6918 
   6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   6920 $as_echo_n "checking for objdir... " >&6; }
   6921 if test "${lt_cv_objdir+set}" = set; then :
   6922   $as_echo_n "(cached) " >&6
   6923 else
   6924   rm -f .libs 2>/dev/null
   6925 mkdir .libs 2>/dev/null
   6926 if test -d .libs; then
   6927   lt_cv_objdir=.libs
   6928 else
   6929   # MS-DOS does not allow filenames that begin with a dot.
   6930   lt_cv_objdir=_libs
   6931 fi
   6932 rmdir .libs 2>/dev/null
   6933 fi
   6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   6935 $as_echo "$lt_cv_objdir" >&6; }
   6936 objdir=$lt_cv_objdir
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 cat >>confdefs.h <<_ACEOF
   6943 #define LT_OBJDIR "$lt_cv_objdir/"
   6944 _ACEOF
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 case $host_os in
   6963 aix3*)
   6964   # AIX sometimes has problems with the GCC collect2 program.  For some
   6965   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6966   # vanish in a puff of smoke.
   6967   if test "X${COLLECT_NAMES+set}" != Xset; then
   6968     COLLECT_NAMES=
   6969     export COLLECT_NAMES
   6970   fi
   6971   ;;
   6972 esac
   6973 
   6974 # Sed substitution that helps us do robust quoting.  It backslashifies
   6975 # metacharacters that are still active within double-quoted strings.
   6976 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6977 
   6978 # Same as above, but do not quote variable references.
   6979 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6980 
   6981 # Sed substitution to delay expansion of an escaped shell variable in a
   6982 # double_quote_subst'ed string.
   6983 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6984 
   6985 # Sed substitution to delay expansion of an escaped single quote.
   6986 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6987 
   6988 # Sed substitution to avoid accidental globbing in evaled expressions
   6989 no_glob_subst='s/\*/\\\*/g'
   6990 
   6991 # Global variables:
   6992 ofile=libtool
   6993 can_build_shared=yes
   6994 
   6995 # All known linkers require a `.a' archive for static linking (except MSVC,
   6996 # which needs '.lib').
   6997 libext=a
   6998 
   6999 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7000 
   7001 old_CC="$CC"
   7002 old_CFLAGS="$CFLAGS"
   7003 
   7004 # Set sane defaults for various variables
   7005 test -z "$CC" && CC=cc
   7006 test -z "$LTCC" && LTCC=$CC
   7007 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7008 test -z "$LD" && LD=ld
   7009 test -z "$ac_objext" && ac_objext=o
   7010 
   7011 for cc_temp in $compiler""; do
   7012   case $cc_temp in
   7013     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7014     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7015     \-*) ;;
   7016     *) break;;
   7017   esac
   7018 done
   7019 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7020 
   7021 
   7022 # Only perform the check for file, if the check method requires it
   7023 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7024 case $deplibs_check_method in
   7025 file_magic*)
   7026   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7028 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7029 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7030   $as_echo_n "(cached) " >&6
   7031 else
   7032   case $MAGIC_CMD in
   7033 [\\/*] |  ?:[\\/]*)
   7034   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7035   ;;
   7036 *)
   7037   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7038   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7039   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7040   for ac_dir in $ac_dummy; do
   7041     IFS="$lt_save_ifs"
   7042     test -z "$ac_dir" && ac_dir=.
   7043     if test -f $ac_dir/${ac_tool_prefix}file; then
   7044       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7045       if test -n "$file_magic_test_file"; then
   7046 	case $deplibs_check_method in
   7047 	"file_magic "*)
   7048 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7049 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7050 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7051 	    $EGREP "$file_magic_regex" > /dev/null; then
   7052 	    :
   7053 	  else
   7054 	    cat <<_LT_EOF 1>&2
   7055 
   7056 *** Warning: the command libtool uses to detect shared libraries,
   7057 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7058 *** The result is that libtool may fail to recognize shared libraries
   7059 *** as such.  This will affect the creation of libtool libraries that
   7060 *** depend on shared libraries, but programs linked with such libtool
   7061 *** libraries will work regardless of this problem.  Nevertheless, you
   7062 *** may want to report the problem to your system manager and/or to
   7063 *** bug-libtool@gnu.org
   7064 
   7065 _LT_EOF
   7066 	  fi ;;
   7067 	esac
   7068       fi
   7069       break
   7070     fi
   7071   done
   7072   IFS="$lt_save_ifs"
   7073   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7074   ;;
   7075 esac
   7076 fi
   7077 
   7078 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7079 if test -n "$MAGIC_CMD"; then
   7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7081 $as_echo "$MAGIC_CMD" >&6; }
   7082 else
   7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7084 $as_echo "no" >&6; }
   7085 fi
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7092   if test -n "$ac_tool_prefix"; then
   7093     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7094 $as_echo_n "checking for file... " >&6; }
   7095 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7096   $as_echo_n "(cached) " >&6
   7097 else
   7098   case $MAGIC_CMD in
   7099 [\\/*] |  ?:[\\/]*)
   7100   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7101   ;;
   7102 *)
   7103   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7104   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7105   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7106   for ac_dir in $ac_dummy; do
   7107     IFS="$lt_save_ifs"
   7108     test -z "$ac_dir" && ac_dir=.
   7109     if test -f $ac_dir/file; then
   7110       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7111       if test -n "$file_magic_test_file"; then
   7112 	case $deplibs_check_method in
   7113 	"file_magic "*)
   7114 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7115 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7116 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7117 	    $EGREP "$file_magic_regex" > /dev/null; then
   7118 	    :
   7119 	  else
   7120 	    cat <<_LT_EOF 1>&2
   7121 
   7122 *** Warning: the command libtool uses to detect shared libraries,
   7123 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7124 *** The result is that libtool may fail to recognize shared libraries
   7125 *** as such.  This will affect the creation of libtool libraries that
   7126 *** depend on shared libraries, but programs linked with such libtool
   7127 *** libraries will work regardless of this problem.  Nevertheless, you
   7128 *** may want to report the problem to your system manager and/or to
   7129 *** bug-libtool@gnu.org
   7130 
   7131 _LT_EOF
   7132 	  fi ;;
   7133 	esac
   7134       fi
   7135       break
   7136     fi
   7137   done
   7138   IFS="$lt_save_ifs"
   7139   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7140   ;;
   7141 esac
   7142 fi
   7143 
   7144 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7145 if test -n "$MAGIC_CMD"; then
   7146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7147 $as_echo "$MAGIC_CMD" >&6; }
   7148 else
   7149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7150 $as_echo "no" >&6; }
   7151 fi
   7152 
   7153 
   7154   else
   7155     MAGIC_CMD=:
   7156   fi
   7157 fi
   7158 
   7159   fi
   7160   ;;
   7161 esac
   7162 
   7163 # Use C for the default configuration in the libtool script
   7164 
   7165 lt_save_CC="$CC"
   7166 ac_ext=c
   7167 ac_cpp='$CPP $CPPFLAGS'
   7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7171 
   7172 
   7173 # Source file extension for C test sources.
   7174 ac_ext=c
   7175 
   7176 # Object file extension for compiled C test sources.
   7177 objext=o
   7178 objext=$objext
   7179 
   7180 # Code to be used in simple compile tests
   7181 lt_simple_compile_test_code="int some_variable = 0;"
   7182 
   7183 # Code to be used in simple link tests
   7184 lt_simple_link_test_code='int main(){return(0);}'
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 # If no C compiler was specified, use CC.
   7193 LTCC=${LTCC-"$CC"}
   7194 
   7195 # If no C compiler flags were specified, use CFLAGS.
   7196 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7197 
   7198 # Allow CC to be a program name with arguments.
   7199 compiler=$CC
   7200 
   7201 # Save the default compiler, since it gets overwritten when the other
   7202 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7203 compiler_DEFAULT=$CC
   7204 
   7205 # save warnings/boilerplate of simple test code
   7206 ac_outfile=conftest.$ac_objext
   7207 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7208 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7209 _lt_compiler_boilerplate=`cat conftest.err`
   7210 $RM conftest*
   7211 
   7212 ac_outfile=conftest.$ac_objext
   7213 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7214 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7215 _lt_linker_boilerplate=`cat conftest.err`
   7216 $RM -r conftest*
   7217 
   7218 
   7219 if test -n "$compiler"; then
   7220 
   7221 lt_prog_compiler_no_builtin_flag=
   7222 
   7223 if test "$GCC" = yes; then
   7224   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7225 
   7226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7227 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7228 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7229   $as_echo_n "(cached) " >&6
   7230 else
   7231   lt_cv_prog_compiler_rtti_exceptions=no
   7232    ac_outfile=conftest.$ac_objext
   7233    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7234    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7235    # Insert the option either (1) after the last *FLAGS variable, or
   7236    # (2) before a word containing "conftest.", or (3) at the end.
   7237    # Note that $ac_compile itself does not contain backslashes and begins
   7238    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7239    # The option is referenced via a variable to avoid confusing sed.
   7240    lt_compile=`echo "$ac_compile" | $SED \
   7241    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7242    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7243    -e 's:$: $lt_compiler_flag:'`
   7244    (eval echo "\"\$as_me:7244: $lt_compile\"" >&5)
   7245    (eval "$lt_compile" 2>conftest.err)
   7246    ac_status=$?
   7247    cat conftest.err >&5
   7248    echo "$as_me:7248: \$? = $ac_status" >&5
   7249    if (exit $ac_status) && test -s "$ac_outfile"; then
   7250      # The compiler can only warn and ignore the option if not recognized
   7251      # So say no if there are warnings other than the usual output.
   7252      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7253      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7254      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7255        lt_cv_prog_compiler_rtti_exceptions=yes
   7256      fi
   7257    fi
   7258    $RM conftest*
   7259 
   7260 fi
   7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7262 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7263 
   7264 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7265     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7266 else
   7267     :
   7268 fi
   7269 
   7270 fi
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277   lt_prog_compiler_wl=
   7278 lt_prog_compiler_pic=
   7279 lt_prog_compiler_static=
   7280 
   7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7282 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7283 
   7284   if test "$GCC" = yes; then
   7285     lt_prog_compiler_wl='-Wl,'
   7286     lt_prog_compiler_static='-static'
   7287 
   7288     case $host_os in
   7289       aix*)
   7290       # All AIX code is PIC.
   7291       if test "$host_cpu" = ia64; then
   7292 	# AIX 5 now supports IA64 processor
   7293 	lt_prog_compiler_static='-Bstatic'
   7294       fi
   7295       ;;
   7296 
   7297     amigaos*)
   7298       case $host_cpu in
   7299       powerpc)
   7300             # see comment about AmigaOS4 .so support
   7301             lt_prog_compiler_pic='-fPIC'
   7302         ;;
   7303       m68k)
   7304             # FIXME: we need at least 68020 code to build shared libraries, but
   7305             # adding the `-m68020' flag to GCC prevents building anything better,
   7306             # like `-m68040'.
   7307             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7308         ;;
   7309       esac
   7310       ;;
   7311 
   7312     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7313       # PIC is the default for these OSes.
   7314       ;;
   7315 
   7316     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7317       # This hack is so that the source file can tell whether it is being
   7318       # built for inclusion in a dll (and should export symbols for example).
   7319       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7320       # (--disable-auto-import) libraries
   7321       lt_prog_compiler_pic='-DDLL_EXPORT'
   7322       ;;
   7323 
   7324     darwin* | rhapsody*)
   7325       # PIC is the default on this platform
   7326       # Common symbols not allowed in MH_DYLIB files
   7327       lt_prog_compiler_pic='-fno-common'
   7328       ;;
   7329 
   7330     hpux*)
   7331       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7332       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7333       # sets the default TLS model and affects inlining.
   7334       case $host_cpu in
   7335       hppa*64*)
   7336 	# +Z the default
   7337 	;;
   7338       *)
   7339 	lt_prog_compiler_pic='-fPIC'
   7340 	;;
   7341       esac
   7342       ;;
   7343 
   7344     interix[3-9]*)
   7345       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7346       # Instead, we relocate shared libraries at runtime.
   7347       ;;
   7348 
   7349     msdosdjgpp*)
   7350       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7351       # on systems that don't support them.
   7352       lt_prog_compiler_can_build_shared=no
   7353       enable_shared=no
   7354       ;;
   7355 
   7356     *nto* | *qnx*)
   7357       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7358       # it will coredump.
   7359       lt_prog_compiler_pic='-fPIC -shared'
   7360       ;;
   7361 
   7362     sysv4*MP*)
   7363       if test -d /usr/nec; then
   7364 	lt_prog_compiler_pic=-Kconform_pic
   7365       fi
   7366       ;;
   7367 
   7368     *)
   7369       lt_prog_compiler_pic='-fPIC'
   7370       ;;
   7371     esac
   7372   else
   7373     # PORTME Check for flag to pass linker flags through the system compiler.
   7374     case $host_os in
   7375     aix*)
   7376       lt_prog_compiler_wl='-Wl,'
   7377       if test "$host_cpu" = ia64; then
   7378 	# AIX 5 now supports IA64 processor
   7379 	lt_prog_compiler_static='-Bstatic'
   7380       else
   7381 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7382       fi
   7383       ;;
   7384 
   7385     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7386       # This hack is so that the source file can tell whether it is being
   7387       # built for inclusion in a dll (and should export symbols for example).
   7388       lt_prog_compiler_pic='-DDLL_EXPORT'
   7389       ;;
   7390 
   7391     hpux9* | hpux10* | hpux11*)
   7392       lt_prog_compiler_wl='-Wl,'
   7393       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7394       # not for PA HP-UX.
   7395       case $host_cpu in
   7396       hppa*64*|ia64*)
   7397 	# +Z the default
   7398 	;;
   7399       *)
   7400 	lt_prog_compiler_pic='+Z'
   7401 	;;
   7402       esac
   7403       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7404       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7405       ;;
   7406 
   7407     irix5* | irix6* | nonstopux*)
   7408       lt_prog_compiler_wl='-Wl,'
   7409       # PIC (with -KPIC) is the default.
   7410       lt_prog_compiler_static='-non_shared'
   7411       ;;
   7412 
   7413     linux* | k*bsd*-gnu)
   7414       case $cc_basename in
   7415       # old Intel for x86_64 which still supported -KPIC.
   7416       ecc*)
   7417 	lt_prog_compiler_wl='-Wl,'
   7418 	lt_prog_compiler_pic='-KPIC'
   7419 	lt_prog_compiler_static='-static'
   7420         ;;
   7421       # icc used to be incompatible with GCC.
   7422       # ICC 10 doesn't accept -KPIC any more.
   7423       icc* | ifort*)
   7424 	lt_prog_compiler_wl='-Wl,'
   7425 	lt_prog_compiler_pic='-fPIC'
   7426 	lt_prog_compiler_static='-static'
   7427         ;;
   7428       # Lahey Fortran 8.1.
   7429       lf95*)
   7430 	lt_prog_compiler_wl='-Wl,'
   7431 	lt_prog_compiler_pic='--shared'
   7432 	lt_prog_compiler_static='--static'
   7433 	;;
   7434       pgcc* | pgf77* | pgf90* | pgf95*)
   7435         # Portland Group compilers (*not* the Pentium gcc compiler,
   7436 	# which looks to be a dead project)
   7437 	lt_prog_compiler_wl='-Wl,'
   7438 	lt_prog_compiler_pic='-fpic'
   7439 	lt_prog_compiler_static='-Bstatic'
   7440         ;;
   7441       ccc*)
   7442         lt_prog_compiler_wl='-Wl,'
   7443         # All Alpha code is PIC.
   7444         lt_prog_compiler_static='-non_shared'
   7445         ;;
   7446       xl*)
   7447 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7448 	lt_prog_compiler_wl='-Wl,'
   7449 	lt_prog_compiler_pic='-qpic'
   7450 	lt_prog_compiler_static='-qstaticlink'
   7451 	;;
   7452       *)
   7453 	case `$CC -V 2>&1 | sed 5q` in
   7454 	*Sun\ C*)
   7455 	  # Sun C 5.9
   7456 	  lt_prog_compiler_pic='-KPIC'
   7457 	  lt_prog_compiler_static='-Bstatic'
   7458 	  lt_prog_compiler_wl='-Wl,'
   7459 	  ;;
   7460 	*Sun\ F*)
   7461 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7462 	  lt_prog_compiler_pic='-KPIC'
   7463 	  lt_prog_compiler_static='-Bstatic'
   7464 	  lt_prog_compiler_wl=''
   7465 	  ;;
   7466 	esac
   7467 	;;
   7468       esac
   7469       ;;
   7470 
   7471     newsos6)
   7472       lt_prog_compiler_pic='-KPIC'
   7473       lt_prog_compiler_static='-Bstatic'
   7474       ;;
   7475 
   7476     *nto* | *qnx*)
   7477       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7478       # it will coredump.
   7479       lt_prog_compiler_pic='-fPIC -shared'
   7480       ;;
   7481 
   7482     osf3* | osf4* | osf5*)
   7483       lt_prog_compiler_wl='-Wl,'
   7484       # All OSF/1 code is PIC.
   7485       lt_prog_compiler_static='-non_shared'
   7486       ;;
   7487 
   7488     rdos*)
   7489       lt_prog_compiler_static='-non_shared'
   7490       ;;
   7491 
   7492     solaris*)
   7493       lt_prog_compiler_pic='-KPIC'
   7494       lt_prog_compiler_static='-Bstatic'
   7495       case $cc_basename in
   7496       f77* | f90* | f95*)
   7497 	lt_prog_compiler_wl='-Qoption ld ';;
   7498       *)
   7499 	lt_prog_compiler_wl='-Wl,';;
   7500       esac
   7501       ;;
   7502 
   7503     sunos4*)
   7504       lt_prog_compiler_wl='-Qoption ld '
   7505       lt_prog_compiler_pic='-PIC'
   7506       lt_prog_compiler_static='-Bstatic'
   7507       ;;
   7508 
   7509     sysv4 | sysv4.2uw2* | sysv4.3*)
   7510       lt_prog_compiler_wl='-Wl,'
   7511       lt_prog_compiler_pic='-KPIC'
   7512       lt_prog_compiler_static='-Bstatic'
   7513       ;;
   7514 
   7515     sysv4*MP*)
   7516       if test -d /usr/nec ;then
   7517 	lt_prog_compiler_pic='-Kconform_pic'
   7518 	lt_prog_compiler_static='-Bstatic'
   7519       fi
   7520       ;;
   7521 
   7522     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7523       lt_prog_compiler_wl='-Wl,'
   7524       lt_prog_compiler_pic='-KPIC'
   7525       lt_prog_compiler_static='-Bstatic'
   7526       ;;
   7527 
   7528     unicos*)
   7529       lt_prog_compiler_wl='-Wl,'
   7530       lt_prog_compiler_can_build_shared=no
   7531       ;;
   7532 
   7533     uts4*)
   7534       lt_prog_compiler_pic='-pic'
   7535       lt_prog_compiler_static='-Bstatic'
   7536       ;;
   7537 
   7538     *)
   7539       lt_prog_compiler_can_build_shared=no
   7540       ;;
   7541     esac
   7542   fi
   7543 
   7544 case $host_os in
   7545   # For platforms which do not support PIC, -DPIC is meaningless:
   7546   *djgpp*)
   7547     lt_prog_compiler_pic=
   7548     ;;
   7549   *)
   7550     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7551     ;;
   7552 esac
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   7554 $as_echo "$lt_prog_compiler_pic" >&6; }
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 #
   7562 # Check to make sure the PIC flag actually works.
   7563 #
   7564 if test -n "$lt_prog_compiler_pic"; then
   7565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7566 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7567 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   7568   $as_echo_n "(cached) " >&6
   7569 else
   7570   lt_cv_prog_compiler_pic_works=no
   7571    ac_outfile=conftest.$ac_objext
   7572    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7573    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7574    # Insert the option either (1) after the last *FLAGS variable, or
   7575    # (2) before a word containing "conftest.", or (3) at the end.
   7576    # Note that $ac_compile itself does not contain backslashes and begins
   7577    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7578    # The option is referenced via a variable to avoid confusing sed.
   7579    lt_compile=`echo "$ac_compile" | $SED \
   7580    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7581    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7582    -e 's:$: $lt_compiler_flag:'`
   7583    (eval echo "\"\$as_me:7583: $lt_compile\"" >&5)
   7584    (eval "$lt_compile" 2>conftest.err)
   7585    ac_status=$?
   7586    cat conftest.err >&5
   7587    echo "$as_me:7587: \$? = $ac_status" >&5
   7588    if (exit $ac_status) && test -s "$ac_outfile"; then
   7589      # The compiler can only warn and ignore the option if not recognized
   7590      # So say no if there are warnings other than the usual output.
   7591      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7592      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7593      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7594        lt_cv_prog_compiler_pic_works=yes
   7595      fi
   7596    fi
   7597    $RM conftest*
   7598 
   7599 fi
   7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   7601 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7602 
   7603 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7604     case $lt_prog_compiler_pic in
   7605      "" | " "*) ;;
   7606      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7607      esac
   7608 else
   7609     lt_prog_compiler_pic=
   7610      lt_prog_compiler_can_build_shared=no
   7611 fi
   7612 
   7613 fi
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 #
   7621 # Check to make sure the static flag actually works.
   7622 #
   7623 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7625 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7626 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   7627   $as_echo_n "(cached) " >&6
   7628 else
   7629   lt_cv_prog_compiler_static_works=no
   7630    save_LDFLAGS="$LDFLAGS"
   7631    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7632    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7633    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7634      # The linker can only warn and ignore the option if not recognized
   7635      # So say no if there are warnings
   7636      if test -s conftest.err; then
   7637        # Append any errors to the config.log.
   7638        cat conftest.err 1>&5
   7639        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7640        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7641        if diff conftest.exp conftest.er2 >/dev/null; then
   7642          lt_cv_prog_compiler_static_works=yes
   7643        fi
   7644      else
   7645        lt_cv_prog_compiler_static_works=yes
   7646      fi
   7647    fi
   7648    $RM -r conftest*
   7649    LDFLAGS="$save_LDFLAGS"
   7650 
   7651 fi
   7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   7653 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7654 
   7655 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7656     :
   7657 else
   7658     lt_prog_compiler_static=
   7659 fi
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7668 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7669 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   7670   $as_echo_n "(cached) " >&6
   7671 else
   7672   lt_cv_prog_compiler_c_o=no
   7673    $RM -r conftest 2>/dev/null
   7674    mkdir conftest
   7675    cd conftest
   7676    mkdir out
   7677    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7678 
   7679    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7680    # Insert the option either (1) after the last *FLAGS variable, or
   7681    # (2) before a word containing "conftest.", or (3) at the end.
   7682    # Note that $ac_compile itself does not contain backslashes and begins
   7683    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7684    lt_compile=`echo "$ac_compile" | $SED \
   7685    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7686    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7687    -e 's:$: $lt_compiler_flag:'`
   7688    (eval echo "\"\$as_me:7688: $lt_compile\"" >&5)
   7689    (eval "$lt_compile" 2>out/conftest.err)
   7690    ac_status=$?
   7691    cat out/conftest.err >&5
   7692    echo "$as_me:7692: \$? = $ac_status" >&5
   7693    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7694    then
   7695      # The compiler can only warn and ignore the option if not recognized
   7696      # So say no if there are warnings
   7697      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7698      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7699      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7700        lt_cv_prog_compiler_c_o=yes
   7701      fi
   7702    fi
   7703    chmod u+w . 2>&5
   7704    $RM conftest*
   7705    # SGI C++ compiler will create directory out/ii_files/ for
   7706    # template instantiation
   7707    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7708    $RM out/* && rmdir out
   7709    cd ..
   7710    $RM -r conftest
   7711    $RM conftest*
   7712 
   7713 fi
   7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7715 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7723 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7724 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   7725   $as_echo_n "(cached) " >&6
   7726 else
   7727   lt_cv_prog_compiler_c_o=no
   7728    $RM -r conftest 2>/dev/null
   7729    mkdir conftest
   7730    cd conftest
   7731    mkdir out
   7732    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7733 
   7734    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7735    # Insert the option either (1) after the last *FLAGS variable, or
   7736    # (2) before a word containing "conftest.", or (3) at the end.
   7737    # Note that $ac_compile itself does not contain backslashes and begins
   7738    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7739    lt_compile=`echo "$ac_compile" | $SED \
   7740    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7741    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7742    -e 's:$: $lt_compiler_flag:'`
   7743    (eval echo "\"\$as_me:7743: $lt_compile\"" >&5)
   7744    (eval "$lt_compile" 2>out/conftest.err)
   7745    ac_status=$?
   7746    cat out/conftest.err >&5
   7747    echo "$as_me:7747: \$? = $ac_status" >&5
   7748    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7749    then
   7750      # The compiler can only warn and ignore the option if not recognized
   7751      # So say no if there are warnings
   7752      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7753      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7754      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7755        lt_cv_prog_compiler_c_o=yes
   7756      fi
   7757    fi
   7758    chmod u+w . 2>&5
   7759    $RM conftest*
   7760    # SGI C++ compiler will create directory out/ii_files/ for
   7761    # template instantiation
   7762    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7763    $RM out/* && rmdir out
   7764    cd ..
   7765    $RM -r conftest
   7766    $RM conftest*
   7767 
   7768 fi
   7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7770 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7771 
   7772 
   7773 
   7774 
   7775 hard_links="nottested"
   7776 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7777   # do not overwrite the value of need_locks provided by the user
   7778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   7779 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7780   hard_links=yes
   7781   $RM conftest*
   7782   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7783   touch conftest.a
   7784   ln conftest.a conftest.b 2>&5 || hard_links=no
   7785   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   7787 $as_echo "$hard_links" >&6; }
   7788   if test "$hard_links" = no; then
   7789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7790 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7791     need_locks=warn
   7792   fi
   7793 else
   7794   need_locks=no
   7795 fi
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7803 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   7804 
   7805   runpath_var=
   7806   allow_undefined_flag=
   7807   always_export_symbols=no
   7808   archive_cmds=
   7809   archive_expsym_cmds=
   7810   compiler_needs_object=no
   7811   enable_shared_with_static_runtimes=no
   7812   export_dynamic_flag_spec=
   7813   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7814   hardcode_automatic=no
   7815   hardcode_direct=no
   7816   hardcode_direct_absolute=no
   7817   hardcode_libdir_flag_spec=
   7818   hardcode_libdir_flag_spec_ld=
   7819   hardcode_libdir_separator=
   7820   hardcode_minus_L=no
   7821   hardcode_shlibpath_var=unsupported
   7822   inherit_rpath=no
   7823   link_all_deplibs=unknown
   7824   module_cmds=
   7825   module_expsym_cmds=
   7826   old_archive_from_new_cmds=
   7827   old_archive_from_expsyms_cmds=
   7828   thread_safe_flag_spec=
   7829   whole_archive_flag_spec=
   7830   # include_expsyms should be a list of space-separated symbols to be *always*
   7831   # included in the symbol list
   7832   include_expsyms=
   7833   # exclude_expsyms can be an extended regexp of symbols to exclude
   7834   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7835   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7836   # as well as any symbol that contains `d'.
   7837   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   7838   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7839   # platforms (ab)use it in PIC code, but their linkers get confused if
   7840   # the symbol is explicitly referenced.  Since portable code cannot
   7841   # rely on this symbol name, it's probably fine to never include it in
   7842   # preloaded symbol tables.
   7843   # Exclude shared library initialization/finalization symbols.
   7844   extract_expsyms_cmds=
   7845 
   7846   case $host_os in
   7847   cygwin* | mingw* | pw32* | cegcc*)
   7848     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7849     # When not using gcc, we currently assume that we are using
   7850     # Microsoft Visual C++.
   7851     if test "$GCC" != yes; then
   7852       with_gnu_ld=no
   7853     fi
   7854     ;;
   7855   interix*)
   7856     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7857     with_gnu_ld=yes
   7858     ;;
   7859   openbsd*)
   7860     with_gnu_ld=no
   7861     ;;
   7862   linux* | k*bsd*-gnu)
   7863     link_all_deplibs=no
   7864     ;;
   7865   esac
   7866 
   7867   ld_shlibs=yes
   7868   if test "$with_gnu_ld" = yes; then
   7869     # If archive_cmds runs LD, not CC, wlarc should be empty
   7870     wlarc='${wl}'
   7871 
   7872     # Set some defaults for GNU ld with shared library support. These
   7873     # are reset later if shared libraries are not supported. Putting them
   7874     # here allows them to be overridden if necessary.
   7875     runpath_var=LD_RUN_PATH
   7876     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7877     export_dynamic_flag_spec='${wl}--export-dynamic'
   7878     # ancient GNU ld didn't support --whole-archive et. al.
   7879     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   7880       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7881     else
   7882       whole_archive_flag_spec=
   7883     fi
   7884     supports_anon_versioning=no
   7885     case `$LD -v 2>&1` in
   7886       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7887       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7888       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7889       *\ 2.11.*) ;; # other 2.11 versions
   7890       *) supports_anon_versioning=yes ;;
   7891     esac
   7892 
   7893     # See if GNU ld supports shared libraries.
   7894     case $host_os in
   7895     aix[3-9]*)
   7896       # On AIX/PPC, the GNU linker is very broken
   7897       if test "$host_cpu" != ia64; then
   7898 	ld_shlibs=no
   7899 	cat <<_LT_EOF 1>&2
   7900 
   7901 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7902 *** to be unable to reliably create shared libraries on AIX.
   7903 *** Therefore, libtool is disabling shared libraries support.  If you
   7904 *** really care for shared libraries, you may want to modify your PATH
   7905 *** so that a non-GNU linker is found, and then restart.
   7906 
   7907 _LT_EOF
   7908       fi
   7909       ;;
   7910 
   7911     amigaos*)
   7912       case $host_cpu in
   7913       powerpc)
   7914             # see comment about AmigaOS4 .so support
   7915             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7916             archive_expsym_cmds=''
   7917         ;;
   7918       m68k)
   7919             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)'
   7920             hardcode_libdir_flag_spec='-L$libdir'
   7921             hardcode_minus_L=yes
   7922         ;;
   7923       esac
   7924       ;;
   7925 
   7926     beos*)
   7927       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7928 	allow_undefined_flag=unsupported
   7929 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7930 	# support --undefined.  This deserves some investigation.  FIXME
   7931 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7932       else
   7933 	ld_shlibs=no
   7934       fi
   7935       ;;
   7936 
   7937     cygwin* | mingw* | pw32* | cegcc*)
   7938       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7939       # as there is no search path for DLLs.
   7940       hardcode_libdir_flag_spec='-L$libdir'
   7941       allow_undefined_flag=unsupported
   7942       always_export_symbols=no
   7943       enable_shared_with_static_runtimes=yes
   7944       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7945 
   7946       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   7947         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7948 	# If the export-symbols file already is a .def file (1st line
   7949 	# is EXPORTS), use it as is; otherwise, prepend...
   7950 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7951 	  cp $export_symbols $output_objdir/$soname.def;
   7952 	else
   7953 	  echo EXPORTS > $output_objdir/$soname.def;
   7954 	  cat $export_symbols >> $output_objdir/$soname.def;
   7955 	fi~
   7956 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7957       else
   7958 	ld_shlibs=no
   7959       fi
   7960       ;;
   7961 
   7962     interix[3-9]*)
   7963       hardcode_direct=no
   7964       hardcode_shlibpath_var=no
   7965       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7966       export_dynamic_flag_spec='${wl}-E'
   7967       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7968       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7969       # default) and relocated if they conflict, which is a slow very memory
   7970       # consuming and fragmenting process.  To avoid this, we pick a random,
   7971       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7972       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7973       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7974       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'
   7975       ;;
   7976 
   7977     gnu* | linux* | tpf* | k*bsd*-gnu)
   7978       tmp_diet=no
   7979       if test "$host_os" = linux-dietlibc; then
   7980 	case $cc_basename in
   7981 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   7982 	esac
   7983       fi
   7984       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   7985 	 && test "$tmp_diet" = no
   7986       then
   7987 	tmp_addflag=
   7988 	tmp_sharedflag='-shared'
   7989 	case $cc_basename,$host_cpu in
   7990         pgcc*)				# Portland Group C compiler
   7991 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7992 	  tmp_addflag=' $pic_flag'
   7993 	  ;;
   7994 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7995 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7996 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7997 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   7998 	  tmp_addflag=' -i_dynamic' ;;
   7999 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8000 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8001 	ifc* | ifort*)			# Intel Fortran compiler
   8002 	  tmp_addflag=' -nofor_main' ;;
   8003 	lf95*)				# Lahey Fortran 8.1
   8004 	  whole_archive_flag_spec=
   8005 	  tmp_sharedflag='--shared' ;;
   8006 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8007 	  tmp_sharedflag='-qmkshrobj'
   8008 	  tmp_addflag= ;;
   8009 	esac
   8010 	case `$CC -V 2>&1 | sed 5q` in
   8011 	*Sun\ C*)			# Sun C 5.9
   8012 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8013 	  compiler_needs_object=yes
   8014 	  tmp_sharedflag='-G' ;;
   8015 	*Sun\ F*)			# Sun Fortran 8.3
   8016 	  tmp_sharedflag='-G' ;;
   8017 	esac
   8018 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8019 
   8020         if test "x$supports_anon_versioning" = xyes; then
   8021           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8022 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8023 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8024 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8025         fi
   8026 
   8027 	case $cc_basename in
   8028 	xlf*)
   8029 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8030 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8031 	  hardcode_libdir_flag_spec=
   8032 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8033 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8034 	  if test "x$supports_anon_versioning" = xyes; then
   8035 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8036 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8037 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8038 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8039 	  fi
   8040 	  ;;
   8041 	esac
   8042       else
   8043         ld_shlibs=no
   8044       fi
   8045       ;;
   8046 
   8047     netbsd* | netbsdelf*-gnu)
   8048       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8049 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8050 	wlarc=
   8051       else
   8052 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8053 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8054       fi
   8055       ;;
   8056 
   8057     solaris*)
   8058       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8059 	ld_shlibs=no
   8060 	cat <<_LT_EOF 1>&2
   8061 
   8062 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8063 *** create shared libraries on Solaris systems.  Therefore, libtool
   8064 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8065 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8066 *** your PATH or compiler configuration so that the native linker is
   8067 *** used, and then restart.
   8068 
   8069 _LT_EOF
   8070       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8071 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8072 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8073       else
   8074 	ld_shlibs=no
   8075       fi
   8076       ;;
   8077 
   8078     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8079       case `$LD -v 2>&1` in
   8080         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8081 	ld_shlibs=no
   8082 	cat <<_LT_EOF 1>&2
   8083 
   8084 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8085 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8086 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8087 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8088 *** your PATH or compiler configuration so that the native linker is
   8089 *** used, and then restart.
   8090 
   8091 _LT_EOF
   8092 	;;
   8093 	*)
   8094 	  # For security reasons, it is highly recommended that you always
   8095 	  # use absolute paths for naming shared libraries, and exclude the
   8096 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8097 	  # requires that you compile everything twice, which is a pain.
   8098 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8099 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8100 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8101 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8102 	  else
   8103 	    ld_shlibs=no
   8104 	  fi
   8105 	;;
   8106       esac
   8107       ;;
   8108 
   8109     sunos4*)
   8110       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8111       wlarc=
   8112       hardcode_direct=yes
   8113       hardcode_shlibpath_var=no
   8114       ;;
   8115 
   8116     *)
   8117       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8118 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8119 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8120       else
   8121 	ld_shlibs=no
   8122       fi
   8123       ;;
   8124     esac
   8125 
   8126     if test "$ld_shlibs" = no; then
   8127       runpath_var=
   8128       hardcode_libdir_flag_spec=
   8129       export_dynamic_flag_spec=
   8130       whole_archive_flag_spec=
   8131     fi
   8132   else
   8133     # PORTME fill in a description of your system's linker (not GNU ld)
   8134     case $host_os in
   8135     aix3*)
   8136       allow_undefined_flag=unsupported
   8137       always_export_symbols=yes
   8138       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'
   8139       # Note: this linker hardcodes the directories in LIBPATH if there
   8140       # are no directories specified by -L.
   8141       hardcode_minus_L=yes
   8142       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8143 	# Neither direct hardcoding nor static linking is supported with a
   8144 	# broken collect2.
   8145 	hardcode_direct=unsupported
   8146       fi
   8147       ;;
   8148 
   8149     aix[4-9]*)
   8150       if test "$host_cpu" = ia64; then
   8151 	# On IA64, the linker does run time linking by default, so we don't
   8152 	# have to do anything special.
   8153 	aix_use_runtimelinking=no
   8154 	exp_sym_flag='-Bexport'
   8155 	no_entry_flag=""
   8156       else
   8157 	# If we're using GNU nm, then we don't want the "-C" option.
   8158 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8159 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8160 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8161 	else
   8162 	  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'
   8163 	fi
   8164 	aix_use_runtimelinking=no
   8165 
   8166 	# Test if we are trying to use run time linking or normal
   8167 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8168 	# need to do runtime linking.
   8169 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8170 	  for ld_flag in $LDFLAGS; do
   8171 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8172 	    aix_use_runtimelinking=yes
   8173 	    break
   8174 	  fi
   8175 	  done
   8176 	  ;;
   8177 	esac
   8178 
   8179 	exp_sym_flag='-bexport'
   8180 	no_entry_flag='-bnoentry'
   8181       fi
   8182 
   8183       # When large executables or shared objects are built, AIX ld can
   8184       # have problems creating the table of contents.  If linking a library
   8185       # or program results in "error TOC overflow" add -mminimal-toc to
   8186       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8187       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8188 
   8189       archive_cmds=''
   8190       hardcode_direct=yes
   8191       hardcode_direct_absolute=yes
   8192       hardcode_libdir_separator=':'
   8193       link_all_deplibs=yes
   8194       file_list_spec='${wl}-f,'
   8195 
   8196       if test "$GCC" = yes; then
   8197 	case $host_os in aix4.[012]|aix4.[012].*)
   8198 	# We only want to do this on AIX 4.2 and lower, the check
   8199 	# below for broken collect2 doesn't work under 4.3+
   8200 	  collect2name=`${CC} -print-prog-name=collect2`
   8201 	  if test -f "$collect2name" &&
   8202 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8203 	  then
   8204 	  # We have reworked collect2
   8205 	  :
   8206 	  else
   8207 	  # We have old collect2
   8208 	  hardcode_direct=unsupported
   8209 	  # It fails to find uninstalled libraries when the uninstalled
   8210 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8211 	  # to unsupported forces relinking
   8212 	  hardcode_minus_L=yes
   8213 	  hardcode_libdir_flag_spec='-L$libdir'
   8214 	  hardcode_libdir_separator=
   8215 	  fi
   8216 	  ;;
   8217 	esac
   8218 	shared_flag='-shared'
   8219 	if test "$aix_use_runtimelinking" = yes; then
   8220 	  shared_flag="$shared_flag "'${wl}-G'
   8221 	fi
   8222 	link_all_deplibs=no
   8223       else
   8224 	# not using gcc
   8225 	if test "$host_cpu" = ia64; then
   8226 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8227 	# chokes on -Wl,-G. The following line is correct:
   8228 	  shared_flag='-G'
   8229 	else
   8230 	  if test "$aix_use_runtimelinking" = yes; then
   8231 	    shared_flag='${wl}-G'
   8232 	  else
   8233 	    shared_flag='${wl}-bM:SRE'
   8234 	  fi
   8235 	fi
   8236       fi
   8237 
   8238       export_dynamic_flag_spec='${wl}-bexpall'
   8239       # It seems that -bexpall does not export symbols beginning with
   8240       # underscore (_), so it is better to generate a list of symbols to export.
   8241       always_export_symbols=yes
   8242       if test "$aix_use_runtimelinking" = yes; then
   8243 	# Warning - without using the other runtime loading flags (-brtl),
   8244 	# -berok will link without error, but may produce a broken library.
   8245 	allow_undefined_flag='-berok'
   8246         # Determine the default libpath from the value encoded in an
   8247         # empty executable.
   8248         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8249 /* end confdefs.h.  */
   8250 
   8251 int
   8252 main ()
   8253 {
   8254 
   8255   ;
   8256   return 0;
   8257 }
   8258 _ACEOF
   8259 if ac_fn_c_try_link "$LINENO"; then :
   8260 
   8261 lt_aix_libpath_sed='
   8262     /Import File Strings/,/^$/ {
   8263 	/^0/ {
   8264 	    s/^0  *\(.*\)$/\1/
   8265 	    p
   8266 	}
   8267     }'
   8268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8269 # Check for a 64-bit object if we didn't find anything.
   8270 if test -z "$aix_libpath"; then
   8271   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8272 fi
   8273 fi
   8274 rm -f core conftest.err conftest.$ac_objext \
   8275     conftest$ac_exeext conftest.$ac_ext
   8276 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8277 
   8278         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8279         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8280       else
   8281 	if test "$host_cpu" = ia64; then
   8282 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8283 	  allow_undefined_flag="-z nodefs"
   8284 	  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"
   8285 	else
   8286 	 # Determine the default libpath from the value encoded in an
   8287 	 # empty executable.
   8288 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8289 /* end confdefs.h.  */
   8290 
   8291 int
   8292 main ()
   8293 {
   8294 
   8295   ;
   8296   return 0;
   8297 }
   8298 _ACEOF
   8299 if ac_fn_c_try_link "$LINENO"; then :
   8300 
   8301 lt_aix_libpath_sed='
   8302     /Import File Strings/,/^$/ {
   8303 	/^0/ {
   8304 	    s/^0  *\(.*\)$/\1/
   8305 	    p
   8306 	}
   8307     }'
   8308 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8309 # Check for a 64-bit object if we didn't find anything.
   8310 if test -z "$aix_libpath"; then
   8311   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8312 fi
   8313 fi
   8314 rm -f core conftest.err conftest.$ac_objext \
   8315     conftest$ac_exeext conftest.$ac_ext
   8316 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8317 
   8318 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8319 	  # Warning - without using the other run time loading flags,
   8320 	  # -berok will link without error, but may produce a broken library.
   8321 	  no_undefined_flag=' ${wl}-bernotok'
   8322 	  allow_undefined_flag=' ${wl}-berok'
   8323 	  # Exported symbols can be pulled into shared objects from archives
   8324 	  whole_archive_flag_spec='$convenience'
   8325 	  archive_cmds_need_lc=yes
   8326 	  # This is similar to how AIX traditionally builds its shared libraries.
   8327 	  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'
   8328 	fi
   8329       fi
   8330       ;;
   8331 
   8332     amigaos*)
   8333       case $host_cpu in
   8334       powerpc)
   8335             # see comment about AmigaOS4 .so support
   8336             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8337             archive_expsym_cmds=''
   8338         ;;
   8339       m68k)
   8340             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)'
   8341             hardcode_libdir_flag_spec='-L$libdir'
   8342             hardcode_minus_L=yes
   8343         ;;
   8344       esac
   8345       ;;
   8346 
   8347     bsdi[45]*)
   8348       export_dynamic_flag_spec=-rdynamic
   8349       ;;
   8350 
   8351     cygwin* | mingw* | pw32* | cegcc*)
   8352       # When not using gcc, we currently assume that we are using
   8353       # Microsoft Visual C++.
   8354       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8355       # no search path for DLLs.
   8356       hardcode_libdir_flag_spec=' '
   8357       allow_undefined_flag=unsupported
   8358       # Tell ltmain to make .lib files, not .a files.
   8359       libext=lib
   8360       # Tell ltmain to make .dll files, not .so files.
   8361       shrext_cmds=".dll"
   8362       # FIXME: Setting linknames here is a bad hack.
   8363       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8364       # The linker will automatically build a .lib file if we build a DLL.
   8365       old_archive_from_new_cmds='true'
   8366       # FIXME: Should let the user specify the lib program.
   8367       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8368       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8369       enable_shared_with_static_runtimes=yes
   8370       ;;
   8371 
   8372     darwin* | rhapsody*)
   8373 
   8374 
   8375   archive_cmds_need_lc=no
   8376   hardcode_direct=no
   8377   hardcode_automatic=yes
   8378   hardcode_shlibpath_var=unsupported
   8379   whole_archive_flag_spec=''
   8380   link_all_deplibs=yes
   8381   allow_undefined_flag="$_lt_dar_allow_undefined"
   8382   case $cc_basename in
   8383      ifort*) _lt_dar_can_shared=yes ;;
   8384      *) _lt_dar_can_shared=$GCC ;;
   8385   esac
   8386   if test "$_lt_dar_can_shared" = "yes"; then
   8387     output_verbose_link_cmd=echo
   8388     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8389     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8390     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}"
   8391     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}"
   8392 
   8393   else
   8394   ld_shlibs=no
   8395   fi
   8396 
   8397       ;;
   8398 
   8399     dgux*)
   8400       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8401       hardcode_libdir_flag_spec='-L$libdir'
   8402       hardcode_shlibpath_var=no
   8403       ;;
   8404 
   8405     freebsd1*)
   8406       ld_shlibs=no
   8407       ;;
   8408 
   8409     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8410     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8411     # does not break anything, and helps significantly (at the cost of a little
   8412     # extra space).
   8413     freebsd2.2*)
   8414       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8415       hardcode_libdir_flag_spec='-R$libdir'
   8416       hardcode_direct=yes
   8417       hardcode_shlibpath_var=no
   8418       ;;
   8419 
   8420     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8421     freebsd2*)
   8422       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8423       hardcode_direct=yes
   8424       hardcode_minus_L=yes
   8425       hardcode_shlibpath_var=no
   8426       ;;
   8427 
   8428     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8429     freebsd* | dragonfly*)
   8430       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8431       hardcode_libdir_flag_spec='-R$libdir'
   8432       hardcode_direct=yes
   8433       hardcode_shlibpath_var=no
   8434       ;;
   8435 
   8436     hpux9*)
   8437       if test "$GCC" = yes; then
   8438 	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'
   8439       else
   8440 	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'
   8441       fi
   8442       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8443       hardcode_libdir_separator=:
   8444       hardcode_direct=yes
   8445 
   8446       # hardcode_minus_L: Not really in the search PATH,
   8447       # but as the default location of the library.
   8448       hardcode_minus_L=yes
   8449       export_dynamic_flag_spec='${wl}-E'
   8450       ;;
   8451 
   8452     hpux10*)
   8453       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8454 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8455       else
   8456 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8457       fi
   8458       if test "$with_gnu_ld" = no; then
   8459 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8460 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8461 	hardcode_libdir_separator=:
   8462 	hardcode_direct=yes
   8463 	hardcode_direct_absolute=yes
   8464 	export_dynamic_flag_spec='${wl}-E'
   8465 	# hardcode_minus_L: Not really in the search PATH,
   8466 	# but as the default location of the library.
   8467 	hardcode_minus_L=yes
   8468       fi
   8469       ;;
   8470 
   8471     hpux11*)
   8472       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8473 	case $host_cpu in
   8474 	hppa*64*)
   8475 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8476 	  ;;
   8477 	ia64*)
   8478 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8479 	  ;;
   8480 	*)
   8481 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8482 	  ;;
   8483 	esac
   8484       else
   8485 	case $host_cpu in
   8486 	hppa*64*)
   8487 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8488 	  ;;
   8489 	ia64*)
   8490 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8491 	  ;;
   8492 	*)
   8493 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8494 	  ;;
   8495 	esac
   8496       fi
   8497       if test "$with_gnu_ld" = no; then
   8498 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8499 	hardcode_libdir_separator=:
   8500 
   8501 	case $host_cpu in
   8502 	hppa*64*|ia64*)
   8503 	  hardcode_direct=no
   8504 	  hardcode_shlibpath_var=no
   8505 	  ;;
   8506 	*)
   8507 	  hardcode_direct=yes
   8508 	  hardcode_direct_absolute=yes
   8509 	  export_dynamic_flag_spec='${wl}-E'
   8510 
   8511 	  # hardcode_minus_L: Not really in the search PATH,
   8512 	  # but as the default location of the library.
   8513 	  hardcode_minus_L=yes
   8514 	  ;;
   8515 	esac
   8516       fi
   8517       ;;
   8518 
   8519     irix5* | irix6* | nonstopux*)
   8520       if test "$GCC" = yes; then
   8521 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8522 	# Try to use the -exported_symbol ld option, if it does not
   8523 	# work, assume that -exports_file does not work either and
   8524 	# implicitly export all symbols.
   8525         save_LDFLAGS="$LDFLAGS"
   8526         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8527         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8528 /* end confdefs.h.  */
   8529 int foo(void) {}
   8530 _ACEOF
   8531 if ac_fn_c_try_link "$LINENO"; then :
   8532   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   8533 
   8534 fi
   8535 rm -f core conftest.err conftest.$ac_objext \
   8536     conftest$ac_exeext conftest.$ac_ext
   8537         LDFLAGS="$save_LDFLAGS"
   8538       else
   8539 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8540 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   8541       fi
   8542       archive_cmds_need_lc='no'
   8543       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8544       hardcode_libdir_separator=:
   8545       inherit_rpath=yes
   8546       link_all_deplibs=yes
   8547       ;;
   8548 
   8549     netbsd* | netbsdelf*-gnu)
   8550       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8551 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8552       else
   8553 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8554       fi
   8555       hardcode_libdir_flag_spec='-R$libdir'
   8556       hardcode_direct=yes
   8557       hardcode_shlibpath_var=no
   8558       ;;
   8559 
   8560     newsos6)
   8561       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8562       hardcode_direct=yes
   8563       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8564       hardcode_libdir_separator=:
   8565       hardcode_shlibpath_var=no
   8566       ;;
   8567 
   8568     *nto* | *qnx*)
   8569       ;;
   8570 
   8571     openbsd*)
   8572       if test -f /usr/libexec/ld.so; then
   8573 	hardcode_direct=yes
   8574 	hardcode_shlibpath_var=no
   8575 	hardcode_direct_absolute=yes
   8576 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8577 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8578 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8579 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8580 	  export_dynamic_flag_spec='${wl}-E'
   8581 	else
   8582 	  case $host_os in
   8583 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8584 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8585 	     hardcode_libdir_flag_spec='-R$libdir'
   8586 	     ;;
   8587 	   *)
   8588 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8589 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8590 	     ;;
   8591 	  esac
   8592 	fi
   8593       else
   8594 	ld_shlibs=no
   8595       fi
   8596       ;;
   8597 
   8598     os2*)
   8599       hardcode_libdir_flag_spec='-L$libdir'
   8600       hardcode_minus_L=yes
   8601       allow_undefined_flag=unsupported
   8602       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'
   8603       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8604       ;;
   8605 
   8606     osf3*)
   8607       if test "$GCC" = yes; then
   8608 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8609 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8610       else
   8611 	allow_undefined_flag=' -expect_unresolved \*'
   8612 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8613       fi
   8614       archive_cmds_need_lc='no'
   8615       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8616       hardcode_libdir_separator=:
   8617       ;;
   8618 
   8619     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8620       if test "$GCC" = yes; then
   8621 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8622 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8623 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8624       else
   8625 	allow_undefined_flag=' -expect_unresolved \*'
   8626 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8627 	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~
   8628 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   8629 
   8630 	# Both c and cxx compiler support -rpath directly
   8631 	hardcode_libdir_flag_spec='-rpath $libdir'
   8632       fi
   8633       archive_cmds_need_lc='no'
   8634       hardcode_libdir_separator=:
   8635       ;;
   8636 
   8637     solaris*)
   8638       no_undefined_flag=' -z defs'
   8639       if test "$GCC" = yes; then
   8640 	wlarc='${wl}'
   8641 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8642 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8643 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8644       else
   8645 	case `$CC -V 2>&1` in
   8646 	*"Compilers 5.0"*)
   8647 	  wlarc=''
   8648 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8649 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8650 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8651 	  ;;
   8652 	*)
   8653 	  wlarc='${wl}'
   8654 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8655 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8656 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8657 	  ;;
   8658 	esac
   8659       fi
   8660       hardcode_libdir_flag_spec='-R$libdir'
   8661       hardcode_shlibpath_var=no
   8662       case $host_os in
   8663       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8664       *)
   8665 	# The compiler driver will combine and reorder linker options,
   8666 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8667 	# but is careful enough not to reorder.
   8668 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8669 	if test "$GCC" = yes; then
   8670 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8671 	else
   8672 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8673 	fi
   8674 	;;
   8675       esac
   8676       link_all_deplibs=yes
   8677       ;;
   8678 
   8679     sunos4*)
   8680       if test "x$host_vendor" = xsequent; then
   8681 	# Use $CC to link under sequent, because it throws in some extra .o
   8682 	# files that make .init and .fini sections work.
   8683 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8684       else
   8685 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8686       fi
   8687       hardcode_libdir_flag_spec='-L$libdir'
   8688       hardcode_direct=yes
   8689       hardcode_minus_L=yes
   8690       hardcode_shlibpath_var=no
   8691       ;;
   8692 
   8693     sysv4)
   8694       case $host_vendor in
   8695 	sni)
   8696 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8697 	  hardcode_direct=yes # is this really true???
   8698 	;;
   8699 	siemens)
   8700 	  ## LD is ld it makes a PLAMLIB
   8701 	  ## CC just makes a GrossModule.
   8702 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8703 	  reload_cmds='$CC -r -o $output$reload_objs'
   8704 	  hardcode_direct=no
   8705         ;;
   8706 	motorola)
   8707 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8708 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8709 	;;
   8710       esac
   8711       runpath_var='LD_RUN_PATH'
   8712       hardcode_shlibpath_var=no
   8713       ;;
   8714 
   8715     sysv4.3*)
   8716       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8717       hardcode_shlibpath_var=no
   8718       export_dynamic_flag_spec='-Bexport'
   8719       ;;
   8720 
   8721     sysv4*MP*)
   8722       if test -d /usr/nec; then
   8723 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8724 	hardcode_shlibpath_var=no
   8725 	runpath_var=LD_RUN_PATH
   8726 	hardcode_runpath_var=yes
   8727 	ld_shlibs=yes
   8728       fi
   8729       ;;
   8730 
   8731     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8732       no_undefined_flag='${wl}-z,text'
   8733       archive_cmds_need_lc=no
   8734       hardcode_shlibpath_var=no
   8735       runpath_var='LD_RUN_PATH'
   8736 
   8737       if test "$GCC" = yes; then
   8738 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8739 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8740       else
   8741 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8742 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8743       fi
   8744       ;;
   8745 
   8746     sysv5* | sco3.2v5* | sco5v6*)
   8747       # Note: We can NOT use -z defs as we might desire, because we do not
   8748       # link with -lc, and that would cause any symbols used from libc to
   8749       # always be unresolved, which means just about no library would
   8750       # ever link correctly.  If we're not using GNU ld we use -z text
   8751       # though, which does catch some bad symbols but isn't as heavy-handed
   8752       # as -z defs.
   8753       no_undefined_flag='${wl}-z,text'
   8754       allow_undefined_flag='${wl}-z,nodefs'
   8755       archive_cmds_need_lc=no
   8756       hardcode_shlibpath_var=no
   8757       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   8758       hardcode_libdir_separator=':'
   8759       link_all_deplibs=yes
   8760       export_dynamic_flag_spec='${wl}-Bexport'
   8761       runpath_var='LD_RUN_PATH'
   8762 
   8763       if test "$GCC" = yes; then
   8764 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8765 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8766       else
   8767 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8768 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8769       fi
   8770       ;;
   8771 
   8772     uts4*)
   8773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8774       hardcode_libdir_flag_spec='-L$libdir'
   8775       hardcode_shlibpath_var=no
   8776       ;;
   8777 
   8778     *)
   8779       ld_shlibs=no
   8780       ;;
   8781     esac
   8782 
   8783     if test x$host_vendor = xsni; then
   8784       case $host in
   8785       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   8786 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   8787 	;;
   8788       esac
   8789     fi
   8790   fi
   8791 
   8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   8793 $as_echo "$ld_shlibs" >&6; }
   8794 test "$ld_shlibs" = no && can_build_shared=no
   8795 
   8796 with_gnu_ld=$with_gnu_ld
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 #
   8813 # Do we need to explicitly link libc?
   8814 #
   8815 case "x$archive_cmds_need_lc" in
   8816 x|xyes)
   8817   # Assume -lc should be added
   8818   archive_cmds_need_lc=yes
   8819 
   8820   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8821     case $archive_cmds in
   8822     *'~'*)
   8823       # FIXME: we may have to deal with multi-command sequences.
   8824       ;;
   8825     '$CC '*)
   8826       # Test whether the compiler implicitly links with -lc since on some
   8827       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8828       # to ld, don't add -lc before -lgcc.
   8829       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   8830 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   8831       $RM conftest*
   8832       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8833 
   8834       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8835   (eval $ac_compile) 2>&5
   8836   ac_status=$?
   8837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8838   test $ac_status = 0; } 2>conftest.err; then
   8839         soname=conftest
   8840         lib=conftest
   8841         libobjs=conftest.$ac_objext
   8842         deplibs=
   8843         wl=$lt_prog_compiler_wl
   8844 	pic_flag=$lt_prog_compiler_pic
   8845         compiler_flags=-v
   8846         linker_flags=-v
   8847         verstring=
   8848         output_objdir=.
   8849         libname=conftest
   8850         lt_save_allow_undefined_flag=$allow_undefined_flag
   8851         allow_undefined_flag=
   8852         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   8853   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8854   ac_status=$?
   8855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8856   test $ac_status = 0; }
   8857         then
   8858 	  archive_cmds_need_lc=no
   8859         else
   8860 	  archive_cmds_need_lc=yes
   8861         fi
   8862         allow_undefined_flag=$lt_save_allow_undefined_flag
   8863       else
   8864         cat conftest.err 1>&5
   8865       fi
   8866       $RM conftest*
   8867       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   8868 $as_echo "$archive_cmds_need_lc" >&6; }
   8869       ;;
   8870     esac
   8871   fi
   8872   ;;
   8873 esac
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9032 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9033 
   9034 if test "$GCC" = yes; then
   9035   case $host_os in
   9036     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9037     *) lt_awk_arg="/^libraries:/" ;;
   9038   esac
   9039   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9040   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9041     # if the path contains ";" then we assume it to be the separator
   9042     # otherwise default to the standard path separator (i.e. ":") - it is
   9043     # assumed that no part of a normal pathname contains ";" but that should
   9044     # okay in the real world where ";" in dirpaths is itself problematic.
   9045     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9046   else
   9047     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9048   fi
   9049   # Ok, now we have the path, separated by spaces, we can step through it
   9050   # and add multilib dir if necessary.
   9051   lt_tmp_lt_search_path_spec=
   9052   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9053   for lt_sys_path in $lt_search_path_spec; do
   9054     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9055       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9056     else
   9057       test -d "$lt_sys_path" && \
   9058 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9059     fi
   9060   done
   9061   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9062 BEGIN {RS=" "; FS="/|\n";} {
   9063   lt_foo="";
   9064   lt_count=0;
   9065   for (lt_i = NF; lt_i > 0; lt_i--) {
   9066     if ($lt_i != "" && $lt_i != ".") {
   9067       if ($lt_i == "..") {
   9068         lt_count++;
   9069       } else {
   9070         if (lt_count == 0) {
   9071           lt_foo="/" $lt_i lt_foo;
   9072         } else {
   9073           lt_count--;
   9074         }
   9075       }
   9076     }
   9077   }
   9078   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9079   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9080 }'`
   9081   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9082 else
   9083   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9084 fi
   9085 library_names_spec=
   9086 libname_spec='lib$name'
   9087 soname_spec=
   9088 shrext_cmds=".so"
   9089 postinstall_cmds=
   9090 postuninstall_cmds=
   9091 finish_cmds=
   9092 finish_eval=
   9093 shlibpath_var=
   9094 shlibpath_overrides_runpath=unknown
   9095 version_type=none
   9096 dynamic_linker="$host_os ld.so"
   9097 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9098 need_lib_prefix=unknown
   9099 hardcode_into_libs=no
   9100 
   9101 # when you set need_version to no, make sure it does not cause -set_version
   9102 # flags to be left without arguments
   9103 need_version=unknown
   9104 
   9105 case $host_os in
   9106 aix3*)
   9107   version_type=linux
   9108   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9109   shlibpath_var=LIBPATH
   9110 
   9111   # AIX 3 has no versioning support, so we append a major version to the name.
   9112   soname_spec='${libname}${release}${shared_ext}$major'
   9113   ;;
   9114 
   9115 aix[4-9]*)
   9116   version_type=linux
   9117   need_lib_prefix=no
   9118   need_version=no
   9119   hardcode_into_libs=yes
   9120   if test "$host_cpu" = ia64; then
   9121     # AIX 5 supports IA64
   9122     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9123     shlibpath_var=LD_LIBRARY_PATH
   9124   else
   9125     # With GCC up to 2.95.x, collect2 would create an import file
   9126     # for dependence libraries.  The import file would start with
   9127     # the line `#! .'.  This would cause the generated library to
   9128     # depend on `.', always an invalid library.  This was fixed in
   9129     # development snapshots of GCC prior to 3.0.
   9130     case $host_os in
   9131       aix4 | aix4.[01] | aix4.[01].*)
   9132       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9133 	   echo ' yes '
   9134 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9135 	:
   9136       else
   9137 	can_build_shared=no
   9138       fi
   9139       ;;
   9140     esac
   9141     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9142     # soname into executable. Probably we can add versioning support to
   9143     # collect2, so additional links can be useful in future.
   9144     if test "$aix_use_runtimelinking" = yes; then
   9145       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9146       # instead of lib<name>.a to let people know that these are not
   9147       # typical AIX shared libraries.
   9148       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9149     else
   9150       # We preserve .a as extension for shared libraries through AIX4.2
   9151       # and later when we are not doing run time linking.
   9152       library_names_spec='${libname}${release}.a $libname.a'
   9153       soname_spec='${libname}${release}${shared_ext}$major'
   9154     fi
   9155     shlibpath_var=LIBPATH
   9156   fi
   9157   ;;
   9158 
   9159 amigaos*)
   9160   case $host_cpu in
   9161   powerpc)
   9162     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9163     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9164     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9165     ;;
   9166   m68k)
   9167     library_names_spec='$libname.ixlibrary $libname.a'
   9168     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9169     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9170     ;;
   9171   esac
   9172   ;;
   9173 
   9174 beos*)
   9175   library_names_spec='${libname}${shared_ext}'
   9176   dynamic_linker="$host_os ld.so"
   9177   shlibpath_var=LIBRARY_PATH
   9178   ;;
   9179 
   9180 bsdi[45]*)
   9181   version_type=linux
   9182   need_version=no
   9183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9184   soname_spec='${libname}${release}${shared_ext}$major'
   9185   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9186   shlibpath_var=LD_LIBRARY_PATH
   9187   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9188   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9189   # the default ld.so.conf also contains /usr/contrib/lib and
   9190   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9191   # libtool to hard-code these into programs
   9192   ;;
   9193 
   9194 cygwin* | mingw* | pw32* | cegcc*)
   9195   version_type=windows
   9196   shrext_cmds=".dll"
   9197   need_version=no
   9198   need_lib_prefix=no
   9199 
   9200   case $GCC,$host_os in
   9201   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9202     library_names_spec='$libname.dll.a'
   9203     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9204     postinstall_cmds='base_file=`basename \${file}`~
   9205       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9206       dldir=$destdir/`dirname \$dlpath`~
   9207       test -d \$dldir || mkdir -p \$dldir~
   9208       $install_prog $dir/$dlname \$dldir/$dlname~
   9209       chmod a+x \$dldir/$dlname~
   9210       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9211         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9212       fi'
   9213     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9214       dlpath=$dir/\$dldll~
   9215        $RM \$dlpath'
   9216     shlibpath_overrides_runpath=yes
   9217 
   9218     case $host_os in
   9219     cygwin*)
   9220       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9221       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9222       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9223       ;;
   9224     mingw* | cegcc*)
   9225       # MinGW DLLs use traditional 'lib' prefix
   9226       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9227       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9228       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9229         # It is most probably a Windows format PATH printed by
   9230         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9231         # path with ; separators, and with drive letters. We can handle the
   9232         # drive letters (cygwin fileutils understands them), so leave them,
   9233         # especially as we might pass files found there to a mingw objdump,
   9234         # which wouldn't understand a cygwinified path. Ahh.
   9235         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9236       else
   9237         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9238       fi
   9239       ;;
   9240     pw32*)
   9241       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9242       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9243       ;;
   9244     esac
   9245     ;;
   9246 
   9247   *)
   9248     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9249     ;;
   9250   esac
   9251   dynamic_linker='Win32 ld.exe'
   9252   # FIXME: first we should search . and the directory the executable is in
   9253   shlibpath_var=PATH
   9254   ;;
   9255 
   9256 darwin* | rhapsody*)
   9257   dynamic_linker="$host_os dyld"
   9258   version_type=darwin
   9259   need_lib_prefix=no
   9260   need_version=no
   9261   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9262   soname_spec='${libname}${release}${major}$shared_ext'
   9263   shlibpath_overrides_runpath=yes
   9264   shlibpath_var=DYLD_LIBRARY_PATH
   9265   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9266 
   9267   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9268   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9269   ;;
   9270 
   9271 dgux*)
   9272   version_type=linux
   9273   need_lib_prefix=no
   9274   need_version=no
   9275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9276   soname_spec='${libname}${release}${shared_ext}$major'
   9277   shlibpath_var=LD_LIBRARY_PATH
   9278   ;;
   9279 
   9280 freebsd1*)
   9281   dynamic_linker=no
   9282   ;;
   9283 
   9284 freebsd* | dragonfly*)
   9285   # DragonFly does not have aout.  When/if they implement a new
   9286   # versioning mechanism, adjust this.
   9287   if test -x /usr/bin/objformat; then
   9288     objformat=`/usr/bin/objformat`
   9289   else
   9290     case $host_os in
   9291     freebsd[123]*) objformat=aout ;;
   9292     *) objformat=elf ;;
   9293     esac
   9294   fi
   9295   version_type=freebsd-$objformat
   9296   case $version_type in
   9297     freebsd-elf*)
   9298       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9299       need_version=no
   9300       need_lib_prefix=no
   9301       ;;
   9302     freebsd-*)
   9303       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9304       need_version=yes
   9305       ;;
   9306   esac
   9307   shlibpath_var=LD_LIBRARY_PATH
   9308   case $host_os in
   9309   freebsd2*)
   9310     shlibpath_overrides_runpath=yes
   9311     ;;
   9312   freebsd3.[01]* | freebsdelf3.[01]*)
   9313     shlibpath_overrides_runpath=yes
   9314     hardcode_into_libs=yes
   9315     ;;
   9316   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9317   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9318     shlibpath_overrides_runpath=no
   9319     hardcode_into_libs=yes
   9320     ;;
   9321   *) # from 4.6 on, and DragonFly
   9322     shlibpath_overrides_runpath=yes
   9323     hardcode_into_libs=yes
   9324     ;;
   9325   esac
   9326   ;;
   9327 
   9328 gnu*)
   9329   version_type=linux
   9330   need_lib_prefix=no
   9331   need_version=no
   9332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9333   soname_spec='${libname}${release}${shared_ext}$major'
   9334   shlibpath_var=LD_LIBRARY_PATH
   9335   hardcode_into_libs=yes
   9336   ;;
   9337 
   9338 hpux9* | hpux10* | hpux11*)
   9339   # Give a soname corresponding to the major version so that dld.sl refuses to
   9340   # link against other versions.
   9341   version_type=sunos
   9342   need_lib_prefix=no
   9343   need_version=no
   9344   case $host_cpu in
   9345   ia64*)
   9346     shrext_cmds='.so'
   9347     hardcode_into_libs=yes
   9348     dynamic_linker="$host_os dld.so"
   9349     shlibpath_var=LD_LIBRARY_PATH
   9350     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9352     soname_spec='${libname}${release}${shared_ext}$major'
   9353     if test "X$HPUX_IA64_MODE" = X32; then
   9354       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9355     else
   9356       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9357     fi
   9358     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9359     ;;
   9360   hppa*64*)
   9361     shrext_cmds='.sl'
   9362     hardcode_into_libs=yes
   9363     dynamic_linker="$host_os dld.sl"
   9364     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9365     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9366     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9367     soname_spec='${libname}${release}${shared_ext}$major'
   9368     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9369     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9370     ;;
   9371   *)
   9372     shrext_cmds='.sl'
   9373     dynamic_linker="$host_os dld.sl"
   9374     shlibpath_var=SHLIB_PATH
   9375     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9377     soname_spec='${libname}${release}${shared_ext}$major'
   9378     ;;
   9379   esac
   9380   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9381   postinstall_cmds='chmod 555 $lib'
   9382   ;;
   9383 
   9384 interix[3-9]*)
   9385   version_type=linux
   9386   need_lib_prefix=no
   9387   need_version=no
   9388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9389   soname_spec='${libname}${release}${shared_ext}$major'
   9390   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9391   shlibpath_var=LD_LIBRARY_PATH
   9392   shlibpath_overrides_runpath=no
   9393   hardcode_into_libs=yes
   9394   ;;
   9395 
   9396 irix5* | irix6* | nonstopux*)
   9397   case $host_os in
   9398     nonstopux*) version_type=nonstopux ;;
   9399     *)
   9400 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9401 		version_type=linux
   9402 	else
   9403 		version_type=irix
   9404 	fi ;;
   9405   esac
   9406   need_lib_prefix=no
   9407   need_version=no
   9408   soname_spec='${libname}${release}${shared_ext}$major'
   9409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9410   case $host_os in
   9411   irix5* | nonstopux*)
   9412     libsuff= shlibsuff=
   9413     ;;
   9414   *)
   9415     case $LD in # libtool.m4 will add one of these switches to LD
   9416     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9417       libsuff= shlibsuff= libmagic=32-bit;;
   9418     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9419       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9420     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9421       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9422     *) libsuff= shlibsuff= libmagic=never-match;;
   9423     esac
   9424     ;;
   9425   esac
   9426   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9427   shlibpath_overrides_runpath=no
   9428   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9429   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9430   hardcode_into_libs=yes
   9431   ;;
   9432 
   9433 # No shared lib support for Linux oldld, aout, or coff.
   9434 linux*oldld* | linux*aout* | linux*coff*)
   9435   dynamic_linker=no
   9436   ;;
   9437 
   9438 # This must be Linux ELF.
   9439 linux* | k*bsd*-gnu)
   9440   version_type=linux
   9441   need_lib_prefix=no
   9442   need_version=no
   9443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9444   soname_spec='${libname}${release}${shared_ext}$major'
   9445   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9446   shlibpath_var=LD_LIBRARY_PATH
   9447   shlibpath_overrides_runpath=no
   9448   # Some binutils ld are patched to set DT_RUNPATH
   9449   save_LDFLAGS=$LDFLAGS
   9450   save_libdir=$libdir
   9451   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9452        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9454 /* end confdefs.h.  */
   9455 
   9456 int
   9457 main ()
   9458 {
   9459 
   9460   ;
   9461   return 0;
   9462 }
   9463 _ACEOF
   9464 if ac_fn_c_try_link "$LINENO"; then :
   9465   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   9466   shlibpath_overrides_runpath=yes
   9467 fi
   9468 fi
   9469 rm -f core conftest.err conftest.$ac_objext \
   9470     conftest$ac_exeext conftest.$ac_ext
   9471   LDFLAGS=$save_LDFLAGS
   9472   libdir=$save_libdir
   9473 
   9474   # This implies no fast_install, which is unacceptable.
   9475   # Some rework will be needed to allow for fast_install
   9476   # before this can be enabled.
   9477   hardcode_into_libs=yes
   9478 
   9479   # Append ld.so.conf contents to the search path
   9480   if test -f /etc/ld.so.conf; then
   9481     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9482     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9483   fi
   9484 
   9485   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9486   # powerpc, because MkLinux only supported shared libraries with the
   9487   # GNU dynamic linker.  Since this was broken with cross compilers,
   9488   # most powerpc-linux boxes support dynamic linking these days and
   9489   # people can always --disable-shared, the test was removed, and we
   9490   # assume the GNU/Linux dynamic linker is in use.
   9491   dynamic_linker='GNU/Linux ld.so'
   9492   ;;
   9493 
   9494 netbsdelf*-gnu)
   9495   version_type=linux
   9496   need_lib_prefix=no
   9497   need_version=no
   9498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9499   soname_spec='${libname}${release}${shared_ext}$major'
   9500   shlibpath_var=LD_LIBRARY_PATH
   9501   shlibpath_overrides_runpath=no
   9502   hardcode_into_libs=yes
   9503   dynamic_linker='NetBSD ld.elf_so'
   9504   ;;
   9505 
   9506 netbsd*)
   9507   version_type=sunos
   9508   need_lib_prefix=no
   9509   need_version=no
   9510   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9511     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9512     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9513     dynamic_linker='NetBSD (a.out) ld.so'
   9514   else
   9515     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9516     soname_spec='${libname}${release}${shared_ext}$major'
   9517     dynamic_linker='NetBSD ld.elf_so'
   9518   fi
   9519   shlibpath_var=LD_LIBRARY_PATH
   9520   shlibpath_overrides_runpath=yes
   9521   hardcode_into_libs=yes
   9522   ;;
   9523 
   9524 newsos6)
   9525   version_type=linux
   9526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9527   shlibpath_var=LD_LIBRARY_PATH
   9528   shlibpath_overrides_runpath=yes
   9529   ;;
   9530 
   9531 *nto* | *qnx*)
   9532   version_type=qnx
   9533   need_lib_prefix=no
   9534   need_version=no
   9535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9536   soname_spec='${libname}${release}${shared_ext}$major'
   9537   shlibpath_var=LD_LIBRARY_PATH
   9538   shlibpath_overrides_runpath=no
   9539   hardcode_into_libs=yes
   9540   dynamic_linker='ldqnx.so'
   9541   ;;
   9542 
   9543 openbsd*)
   9544   version_type=sunos
   9545   sys_lib_dlsearch_path_spec="/usr/lib"
   9546   need_lib_prefix=no
   9547   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9548   case $host_os in
   9549     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9550     *)				need_version=no  ;;
   9551   esac
   9552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9553   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9554   shlibpath_var=LD_LIBRARY_PATH
   9555   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9556     case $host_os in
   9557       openbsd2.[89] | openbsd2.[89].*)
   9558 	shlibpath_overrides_runpath=no
   9559 	;;
   9560       *)
   9561 	shlibpath_overrides_runpath=yes
   9562 	;;
   9563       esac
   9564   else
   9565     shlibpath_overrides_runpath=yes
   9566   fi
   9567   ;;
   9568 
   9569 os2*)
   9570   libname_spec='$name'
   9571   shrext_cmds=".dll"
   9572   need_lib_prefix=no
   9573   library_names_spec='$libname${shared_ext} $libname.a'
   9574   dynamic_linker='OS/2 ld.exe'
   9575   shlibpath_var=LIBPATH
   9576   ;;
   9577 
   9578 osf3* | osf4* | osf5*)
   9579   version_type=osf
   9580   need_lib_prefix=no
   9581   need_version=no
   9582   soname_spec='${libname}${release}${shared_ext}$major'
   9583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9584   shlibpath_var=LD_LIBRARY_PATH
   9585   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9586   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9587   ;;
   9588 
   9589 rdos*)
   9590   dynamic_linker=no
   9591   ;;
   9592 
   9593 solaris*)
   9594   version_type=linux
   9595   need_lib_prefix=no
   9596   need_version=no
   9597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9598   soname_spec='${libname}${release}${shared_ext}$major'
   9599   shlibpath_var=LD_LIBRARY_PATH
   9600   shlibpath_overrides_runpath=yes
   9601   hardcode_into_libs=yes
   9602   # ldd complains unless libraries are executable
   9603   postinstall_cmds='chmod +x $lib'
   9604   ;;
   9605 
   9606 sunos4*)
   9607   version_type=sunos
   9608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9609   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9610   shlibpath_var=LD_LIBRARY_PATH
   9611   shlibpath_overrides_runpath=yes
   9612   if test "$with_gnu_ld" = yes; then
   9613     need_lib_prefix=no
   9614   fi
   9615   need_version=yes
   9616   ;;
   9617 
   9618 sysv4 | sysv4.3*)
   9619   version_type=linux
   9620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9621   soname_spec='${libname}${release}${shared_ext}$major'
   9622   shlibpath_var=LD_LIBRARY_PATH
   9623   case $host_vendor in
   9624     sni)
   9625       shlibpath_overrides_runpath=no
   9626       need_lib_prefix=no
   9627       runpath_var=LD_RUN_PATH
   9628       ;;
   9629     siemens)
   9630       need_lib_prefix=no
   9631       ;;
   9632     motorola)
   9633       need_lib_prefix=no
   9634       need_version=no
   9635       shlibpath_overrides_runpath=no
   9636       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9637       ;;
   9638   esac
   9639   ;;
   9640 
   9641 sysv4*MP*)
   9642   if test -d /usr/nec ;then
   9643     version_type=linux
   9644     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9645     soname_spec='$libname${shared_ext}.$major'
   9646     shlibpath_var=LD_LIBRARY_PATH
   9647   fi
   9648   ;;
   9649 
   9650 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9651   version_type=freebsd-elf
   9652   need_lib_prefix=no
   9653   need_version=no
   9654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9655   soname_spec='${libname}${release}${shared_ext}$major'
   9656   shlibpath_var=LD_LIBRARY_PATH
   9657   shlibpath_overrides_runpath=yes
   9658   hardcode_into_libs=yes
   9659   if test "$with_gnu_ld" = yes; then
   9660     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9661   else
   9662     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9663     case $host_os in
   9664       sco3.2v5*)
   9665         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9666 	;;
   9667     esac
   9668   fi
   9669   sys_lib_dlsearch_path_spec='/usr/lib'
   9670   ;;
   9671 
   9672 tpf*)
   9673   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9674   version_type=linux
   9675   need_lib_prefix=no
   9676   need_version=no
   9677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9678   shlibpath_var=LD_LIBRARY_PATH
   9679   shlibpath_overrides_runpath=no
   9680   hardcode_into_libs=yes
   9681   ;;
   9682 
   9683 uts4*)
   9684   version_type=linux
   9685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9686   soname_spec='${libname}${release}${shared_ext}$major'
   9687   shlibpath_var=LD_LIBRARY_PATH
   9688   ;;
   9689 
   9690 *)
   9691   dynamic_linker=no
   9692   ;;
   9693 esac
   9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   9695 $as_echo "$dynamic_linker" >&6; }
   9696 test "$dynamic_linker" = no && can_build_shared=no
   9697 
   9698 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9699 if test "$GCC" = yes; then
   9700   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9701 fi
   9702 
   9703 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9704   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9705 fi
   9706 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9707   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9708 fi
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   9797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9798 hardcode_action=
   9799 if test -n "$hardcode_libdir_flag_spec" ||
   9800    test -n "$runpath_var" ||
   9801    test "X$hardcode_automatic" = "Xyes" ; then
   9802 
   9803   # We can hardcode non-existent directories.
   9804   if test "$hardcode_direct" != no &&
   9805      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9806      # have to relink, otherwise we might link with an installed library
   9807      # when we should be linking with a yet-to-be-installed one
   9808      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9809      test "$hardcode_minus_L" != no; then
   9810     # Linking always hardcodes the temporary library directory.
   9811     hardcode_action=relink
   9812   else
   9813     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9814     hardcode_action=immediate
   9815   fi
   9816 else
   9817   # We cannot hardcode anything, or else we can only hardcode existing
   9818   # directories.
   9819   hardcode_action=unsupported
   9820 fi
   9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   9822 $as_echo "$hardcode_action" >&6; }
   9823 
   9824 if test "$hardcode_action" = relink ||
   9825    test "$inherit_rpath" = yes; then
   9826   # Fast installation is not supported
   9827   enable_fast_install=no
   9828 elif test "$shlibpath_overrides_runpath" = yes ||
   9829      test "$enable_shared" = no; then
   9830   # Fast installation is not necessary
   9831   enable_fast_install=needless
   9832 fi
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839   if test "x$enable_dlopen" != xyes; then
   9840   enable_dlopen=unknown
   9841   enable_dlopen_self=unknown
   9842   enable_dlopen_self_static=unknown
   9843 else
   9844   lt_cv_dlopen=no
   9845   lt_cv_dlopen_libs=
   9846 
   9847   case $host_os in
   9848   beos*)
   9849     lt_cv_dlopen="load_add_on"
   9850     lt_cv_dlopen_libs=
   9851     lt_cv_dlopen_self=yes
   9852     ;;
   9853 
   9854   mingw* | pw32* | cegcc*)
   9855     lt_cv_dlopen="LoadLibrary"
   9856     lt_cv_dlopen_libs=
   9857     ;;
   9858 
   9859   cygwin*)
   9860     lt_cv_dlopen="dlopen"
   9861     lt_cv_dlopen_libs=
   9862     ;;
   9863 
   9864   darwin*)
   9865   # if libdl is installed we need to link against it
   9866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   9867 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9868 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   9869   $as_echo_n "(cached) " >&6
   9870 else
   9871   ac_check_lib_save_LIBS=$LIBS
   9872 LIBS="-ldl  $LIBS"
   9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9874 /* end confdefs.h.  */
   9875 
   9876 /* Override any GCC internal prototype to avoid an error.
   9877    Use char because int might match the return type of a GCC
   9878    builtin and then its argument prototype would still apply.  */
   9879 #ifdef __cplusplus
   9880 extern "C"
   9881 #endif
   9882 char dlopen ();
   9883 int
   9884 main ()
   9885 {
   9886 return dlopen ();
   9887   ;
   9888   return 0;
   9889 }
   9890 _ACEOF
   9891 if ac_fn_c_try_link "$LINENO"; then :
   9892   ac_cv_lib_dl_dlopen=yes
   9893 else
   9894   ac_cv_lib_dl_dlopen=no
   9895 fi
   9896 rm -f core conftest.err conftest.$ac_objext \
   9897     conftest$ac_exeext conftest.$ac_ext
   9898 LIBS=$ac_check_lib_save_LIBS
   9899 fi
   9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   9901 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9902 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   9903   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9904 else
   9905 
   9906     lt_cv_dlopen="dyld"
   9907     lt_cv_dlopen_libs=
   9908     lt_cv_dlopen_self=yes
   9909 
   9910 fi
   9911 
   9912     ;;
   9913 
   9914   *)
   9915     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   9916 if test "x$ac_cv_func_shl_load" = x""yes; then :
   9917   lt_cv_dlopen="shl_load"
   9918 else
   9919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   9920 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   9921 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   9922   $as_echo_n "(cached) " >&6
   9923 else
   9924   ac_check_lib_save_LIBS=$LIBS
   9925 LIBS="-ldld  $LIBS"
   9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9927 /* end confdefs.h.  */
   9928 
   9929 /* Override any GCC internal prototype to avoid an error.
   9930    Use char because int might match the return type of a GCC
   9931    builtin and then its argument prototype would still apply.  */
   9932 #ifdef __cplusplus
   9933 extern "C"
   9934 #endif
   9935 char shl_load ();
   9936 int
   9937 main ()
   9938 {
   9939 return shl_load ();
   9940   ;
   9941   return 0;
   9942 }
   9943 _ACEOF
   9944 if ac_fn_c_try_link "$LINENO"; then :
   9945   ac_cv_lib_dld_shl_load=yes
   9946 else
   9947   ac_cv_lib_dld_shl_load=no
   9948 fi
   9949 rm -f core conftest.err conftest.$ac_objext \
   9950     conftest$ac_exeext conftest.$ac_ext
   9951 LIBS=$ac_check_lib_save_LIBS
   9952 fi
   9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   9954 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   9955 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   9956   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   9957 else
   9958   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   9959 if test "x$ac_cv_func_dlopen" = x""yes; then :
   9960   lt_cv_dlopen="dlopen"
   9961 else
   9962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   9963 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9964 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   9965   $as_echo_n "(cached) " >&6
   9966 else
   9967   ac_check_lib_save_LIBS=$LIBS
   9968 LIBS="-ldl  $LIBS"
   9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9970 /* end confdefs.h.  */
   9971 
   9972 /* Override any GCC internal prototype to avoid an error.
   9973    Use char because int might match the return type of a GCC
   9974    builtin and then its argument prototype would still apply.  */
   9975 #ifdef __cplusplus
   9976 extern "C"
   9977 #endif
   9978 char dlopen ();
   9979 int
   9980 main ()
   9981 {
   9982 return dlopen ();
   9983   ;
   9984   return 0;
   9985 }
   9986 _ACEOF
   9987 if ac_fn_c_try_link "$LINENO"; then :
   9988   ac_cv_lib_dl_dlopen=yes
   9989 else
   9990   ac_cv_lib_dl_dlopen=no
   9991 fi
   9992 rm -f core conftest.err conftest.$ac_objext \
   9993     conftest$ac_exeext conftest.$ac_ext
   9994 LIBS=$ac_check_lib_save_LIBS
   9995 fi
   9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   9997 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9998 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   9999   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10000 else
   10001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10002 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10003 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10004   $as_echo_n "(cached) " >&6
   10005 else
   10006   ac_check_lib_save_LIBS=$LIBS
   10007 LIBS="-lsvld  $LIBS"
   10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10009 /* end confdefs.h.  */
   10010 
   10011 /* Override any GCC internal prototype to avoid an error.
   10012    Use char because int might match the return type of a GCC
   10013    builtin and then its argument prototype would still apply.  */
   10014 #ifdef __cplusplus
   10015 extern "C"
   10016 #endif
   10017 char dlopen ();
   10018 int
   10019 main ()
   10020 {
   10021 return dlopen ();
   10022   ;
   10023   return 0;
   10024 }
   10025 _ACEOF
   10026 if ac_fn_c_try_link "$LINENO"; then :
   10027   ac_cv_lib_svld_dlopen=yes
   10028 else
   10029   ac_cv_lib_svld_dlopen=no
   10030 fi
   10031 rm -f core conftest.err conftest.$ac_objext \
   10032     conftest$ac_exeext conftest.$ac_ext
   10033 LIBS=$ac_check_lib_save_LIBS
   10034 fi
   10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10036 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10037 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10038   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10039 else
   10040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10041 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10042 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10043   $as_echo_n "(cached) " >&6
   10044 else
   10045   ac_check_lib_save_LIBS=$LIBS
   10046 LIBS="-ldld  $LIBS"
   10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10048 /* end confdefs.h.  */
   10049 
   10050 /* Override any GCC internal prototype to avoid an error.
   10051    Use char because int might match the return type of a GCC
   10052    builtin and then its argument prototype would still apply.  */
   10053 #ifdef __cplusplus
   10054 extern "C"
   10055 #endif
   10056 char dld_link ();
   10057 int
   10058 main ()
   10059 {
   10060 return dld_link ();
   10061   ;
   10062   return 0;
   10063 }
   10064 _ACEOF
   10065 if ac_fn_c_try_link "$LINENO"; then :
   10066   ac_cv_lib_dld_dld_link=yes
   10067 else
   10068   ac_cv_lib_dld_dld_link=no
   10069 fi
   10070 rm -f core conftest.err conftest.$ac_objext \
   10071     conftest$ac_exeext conftest.$ac_ext
   10072 LIBS=$ac_check_lib_save_LIBS
   10073 fi
   10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10075 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10076 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10077   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10078 fi
   10079 
   10080 
   10081 fi
   10082 
   10083 
   10084 fi
   10085 
   10086 
   10087 fi
   10088 
   10089 
   10090 fi
   10091 
   10092 
   10093 fi
   10094 
   10095     ;;
   10096   esac
   10097 
   10098   if test "x$lt_cv_dlopen" != xno; then
   10099     enable_dlopen=yes
   10100   else
   10101     enable_dlopen=no
   10102   fi
   10103 
   10104   case $lt_cv_dlopen in
   10105   dlopen)
   10106     save_CPPFLAGS="$CPPFLAGS"
   10107     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10108 
   10109     save_LDFLAGS="$LDFLAGS"
   10110     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10111 
   10112     save_LIBS="$LIBS"
   10113     LIBS="$lt_cv_dlopen_libs $LIBS"
   10114 
   10115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10116 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10117 if test "${lt_cv_dlopen_self+set}" = set; then :
   10118   $as_echo_n "(cached) " >&6
   10119 else
   10120   	  if test "$cross_compiling" = yes; then :
   10121   lt_cv_dlopen_self=cross
   10122 else
   10123   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10124   lt_status=$lt_dlunknown
   10125   cat > conftest.$ac_ext <<_LT_EOF
   10126 #line 10126 "configure"
   10127 #include "confdefs.h"
   10128 
   10129 #if HAVE_DLFCN_H
   10130 #include <dlfcn.h>
   10131 #endif
   10132 
   10133 #include <stdio.h>
   10134 
   10135 #ifdef RTLD_GLOBAL
   10136 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10137 #else
   10138 #  ifdef DL_GLOBAL
   10139 #    define LT_DLGLOBAL		DL_GLOBAL
   10140 #  else
   10141 #    define LT_DLGLOBAL		0
   10142 #  endif
   10143 #endif
   10144 
   10145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10146    find out it does not work in some platform. */
   10147 #ifndef LT_DLLAZY_OR_NOW
   10148 #  ifdef RTLD_LAZY
   10149 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10150 #  else
   10151 #    ifdef DL_LAZY
   10152 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10153 #    else
   10154 #      ifdef RTLD_NOW
   10155 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10156 #      else
   10157 #        ifdef DL_NOW
   10158 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10159 #        else
   10160 #          define LT_DLLAZY_OR_NOW	0
   10161 #        endif
   10162 #      endif
   10163 #    endif
   10164 #  endif
   10165 #endif
   10166 
   10167 void fnord() { int i=42;}
   10168 int main ()
   10169 {
   10170   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10171   int status = $lt_dlunknown;
   10172 
   10173   if (self)
   10174     {
   10175       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10176       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10177       /* dlclose (self); */
   10178     }
   10179   else
   10180     puts (dlerror ());
   10181 
   10182   return status;
   10183 }
   10184 _LT_EOF
   10185   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10186   (eval $ac_link) 2>&5
   10187   ac_status=$?
   10188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10189   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10190     (./conftest; exit; ) >&5 2>/dev/null
   10191     lt_status=$?
   10192     case x$lt_status in
   10193       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10194       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10195       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10196     esac
   10197   else :
   10198     # compilation failed
   10199     lt_cv_dlopen_self=no
   10200   fi
   10201 fi
   10202 rm -fr conftest*
   10203 
   10204 
   10205 fi
   10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10207 $as_echo "$lt_cv_dlopen_self" >&6; }
   10208 
   10209     if test "x$lt_cv_dlopen_self" = xyes; then
   10210       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10211       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10212 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10213 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10214   $as_echo_n "(cached) " >&6
   10215 else
   10216   	  if test "$cross_compiling" = yes; then :
   10217   lt_cv_dlopen_self_static=cross
   10218 else
   10219   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10220   lt_status=$lt_dlunknown
   10221   cat > conftest.$ac_ext <<_LT_EOF
   10222 #line 10222 "configure"
   10223 #include "confdefs.h"
   10224 
   10225 #if HAVE_DLFCN_H
   10226 #include <dlfcn.h>
   10227 #endif
   10228 
   10229 #include <stdio.h>
   10230 
   10231 #ifdef RTLD_GLOBAL
   10232 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10233 #else
   10234 #  ifdef DL_GLOBAL
   10235 #    define LT_DLGLOBAL		DL_GLOBAL
   10236 #  else
   10237 #    define LT_DLGLOBAL		0
   10238 #  endif
   10239 #endif
   10240 
   10241 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10242    find out it does not work in some platform. */
   10243 #ifndef LT_DLLAZY_OR_NOW
   10244 #  ifdef RTLD_LAZY
   10245 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10246 #  else
   10247 #    ifdef DL_LAZY
   10248 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10249 #    else
   10250 #      ifdef RTLD_NOW
   10251 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10252 #      else
   10253 #        ifdef DL_NOW
   10254 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10255 #        else
   10256 #          define LT_DLLAZY_OR_NOW	0
   10257 #        endif
   10258 #      endif
   10259 #    endif
   10260 #  endif
   10261 #endif
   10262 
   10263 void fnord() { int i=42;}
   10264 int main ()
   10265 {
   10266   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10267   int status = $lt_dlunknown;
   10268 
   10269   if (self)
   10270     {
   10271       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10272       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10273       /* dlclose (self); */
   10274     }
   10275   else
   10276     puts (dlerror ());
   10277 
   10278   return status;
   10279 }
   10280 _LT_EOF
   10281   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10282   (eval $ac_link) 2>&5
   10283   ac_status=$?
   10284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10285   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10286     (./conftest; exit; ) >&5 2>/dev/null
   10287     lt_status=$?
   10288     case x$lt_status in
   10289       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10290       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10291       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10292     esac
   10293   else :
   10294     # compilation failed
   10295     lt_cv_dlopen_self_static=no
   10296   fi
   10297 fi
   10298 rm -fr conftest*
   10299 
   10300 
   10301 fi
   10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10303 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10304     fi
   10305 
   10306     CPPFLAGS="$save_CPPFLAGS"
   10307     LDFLAGS="$save_LDFLAGS"
   10308     LIBS="$save_LIBS"
   10309     ;;
   10310   esac
   10311 
   10312   case $lt_cv_dlopen_self in
   10313   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10314   *) enable_dlopen_self=unknown ;;
   10315   esac
   10316 
   10317   case $lt_cv_dlopen_self_static in
   10318   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10319   *) enable_dlopen_self_static=unknown ;;
   10320   esac
   10321 fi
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 striplib=
   10340 old_striplib=
   10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10342 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10343 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10344   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10345   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10347 $as_echo "yes" >&6; }
   10348 else
   10349 # FIXME - insert some real tests, host_os isn't really good enough
   10350   case $host_os in
   10351   darwin*)
   10352     if test -n "$STRIP" ; then
   10353       striplib="$STRIP -x"
   10354       old_striplib="$STRIP -S"
   10355       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10356 $as_echo "yes" >&6; }
   10357     else
   10358       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10359 $as_echo "no" >&6; }
   10360     fi
   10361     ;;
   10362   *)
   10363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10364 $as_echo "no" >&6; }
   10365     ;;
   10366   esac
   10367 fi
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380   # Report which library types will actually be built
   10381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10382 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10384 $as_echo "$can_build_shared" >&6; }
   10385 
   10386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10387 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10388   test "$can_build_shared" = "no" && enable_shared=no
   10389 
   10390   # On AIX, shared libraries and static libraries use the same namespace, and
   10391   # are all built from PIC.
   10392   case $host_os in
   10393   aix3*)
   10394     test "$enable_shared" = yes && enable_static=no
   10395     if test -n "$RANLIB"; then
   10396       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10397       postinstall_cmds='$RANLIB $lib'
   10398     fi
   10399     ;;
   10400 
   10401   aix[4-9]*)
   10402     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10403       test "$enable_shared" = yes && enable_static=no
   10404     fi
   10405     ;;
   10406   esac
   10407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10408 $as_echo "$enable_shared" >&6; }
   10409 
   10410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10411 $as_echo_n "checking whether to build static libraries... " >&6; }
   10412   # Make sure either enable_shared or enable_static is yes.
   10413   test "$enable_shared" = yes || enable_static=yes
   10414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10415 $as_echo "$enable_static" >&6; }
   10416 
   10417 
   10418 
   10419 
   10420 fi
   10421 ac_ext=c
   10422 ac_cpp='$CPP $CPPFLAGS'
   10423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10426 
   10427 CC="$lt_save_CC"
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441         ac_config_commands="$ac_config_commands libtool"
   10442 
   10443 
   10444 
   10445 
   10446 # Only expand once:
   10447 
   10448 
   10449 ac_ext=c
   10450 ac_cpp='$CPP $CPPFLAGS'
   10451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10454 if test -n "$ac_tool_prefix"; then
   10455   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   10456 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10458 $as_echo_n "checking for $ac_word... " >&6; }
   10459 if test "${ac_cv_prog_CC+set}" = set; then :
   10460   $as_echo_n "(cached) " >&6
   10461 else
   10462   if test -n "$CC"; then
   10463   ac_cv_prog_CC="$CC" # Let the user override the test.
   10464 else
   10465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10466 for as_dir in $PATH
   10467 do
   10468   IFS=$as_save_IFS
   10469   test -z "$as_dir" && as_dir=.
   10470     for ac_exec_ext in '' $ac_executable_extensions; do
   10471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10472     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   10473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10474     break 2
   10475   fi
   10476 done
   10477   done
   10478 IFS=$as_save_IFS
   10479 
   10480 fi
   10481 fi
   10482 CC=$ac_cv_prog_CC
   10483 if test -n "$CC"; then
   10484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10485 $as_echo "$CC" >&6; }
   10486 else
   10487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10488 $as_echo "no" >&6; }
   10489 fi
   10490 
   10491 
   10492 fi
   10493 if test -z "$ac_cv_prog_CC"; then
   10494   ac_ct_CC=$CC
   10495   # Extract the first word of "gcc", so it can be a program name with args.
   10496 set dummy gcc; ac_word=$2
   10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10498 $as_echo_n "checking for $ac_word... " >&6; }
   10499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   10500   $as_echo_n "(cached) " >&6
   10501 else
   10502   if test -n "$ac_ct_CC"; then
   10503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   10504 else
   10505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10506 for as_dir in $PATH
   10507 do
   10508   IFS=$as_save_IFS
   10509   test -z "$as_dir" && as_dir=.
   10510     for ac_exec_ext in '' $ac_executable_extensions; do
   10511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10512     ac_cv_prog_ac_ct_CC="gcc"
   10513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10514     break 2
   10515   fi
   10516 done
   10517   done
   10518 IFS=$as_save_IFS
   10519 
   10520 fi
   10521 fi
   10522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   10523 if test -n "$ac_ct_CC"; then
   10524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   10525 $as_echo "$ac_ct_CC" >&6; }
   10526 else
   10527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10528 $as_echo "no" >&6; }
   10529 fi
   10530 
   10531   if test "x$ac_ct_CC" = x; then
   10532     CC=""
   10533   else
   10534     case $cross_compiling:$ac_tool_warned in
   10535 yes:)
   10536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10538 ac_tool_warned=yes ;;
   10539 esac
   10540     CC=$ac_ct_CC
   10541   fi
   10542 else
   10543   CC="$ac_cv_prog_CC"
   10544 fi
   10545 
   10546 if test -z "$CC"; then
   10547           if test -n "$ac_tool_prefix"; then
   10548     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   10549 set dummy ${ac_tool_prefix}cc; ac_word=$2
   10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10551 $as_echo_n "checking for $ac_word... " >&6; }
   10552 if test "${ac_cv_prog_CC+set}" = set; then :
   10553   $as_echo_n "(cached) " >&6
   10554 else
   10555   if test -n "$CC"; then
   10556   ac_cv_prog_CC="$CC" # Let the user override the test.
   10557 else
   10558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10559 for as_dir in $PATH
   10560 do
   10561   IFS=$as_save_IFS
   10562   test -z "$as_dir" && as_dir=.
   10563     for ac_exec_ext in '' $ac_executable_extensions; do
   10564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10565     ac_cv_prog_CC="${ac_tool_prefix}cc"
   10566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10567     break 2
   10568   fi
   10569 done
   10570   done
   10571 IFS=$as_save_IFS
   10572 
   10573 fi
   10574 fi
   10575 CC=$ac_cv_prog_CC
   10576 if test -n "$CC"; then
   10577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10578 $as_echo "$CC" >&6; }
   10579 else
   10580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10581 $as_echo "no" >&6; }
   10582 fi
   10583 
   10584 
   10585   fi
   10586 fi
   10587 if test -z "$CC"; then
   10588   # Extract the first word of "cc", so it can be a program name with args.
   10589 set dummy cc; ac_word=$2
   10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10591 $as_echo_n "checking for $ac_word... " >&6; }
   10592 if test "${ac_cv_prog_CC+set}" = set; then :
   10593   $as_echo_n "(cached) " >&6
   10594 else
   10595   if test -n "$CC"; then
   10596   ac_cv_prog_CC="$CC" # Let the user override the test.
   10597 else
   10598   ac_prog_rejected=no
   10599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10600 for as_dir in $PATH
   10601 do
   10602   IFS=$as_save_IFS
   10603   test -z "$as_dir" && as_dir=.
   10604     for ac_exec_ext in '' $ac_executable_extensions; do
   10605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10606     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   10607        ac_prog_rejected=yes
   10608        continue
   10609      fi
   10610     ac_cv_prog_CC="cc"
   10611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10612     break 2
   10613   fi
   10614 done
   10615   done
   10616 IFS=$as_save_IFS
   10617 
   10618 if test $ac_prog_rejected = yes; then
   10619   # We found a bogon in the path, so make sure we never use it.
   10620   set dummy $ac_cv_prog_CC
   10621   shift
   10622   if test $# != 0; then
   10623     # We chose a different compiler from the bogus one.
   10624     # However, it has the same basename, so the bogon will be chosen
   10625     # first if we set CC to just the basename; use the full file name.
   10626     shift
   10627     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   10628   fi
   10629 fi
   10630 fi
   10631 fi
   10632 CC=$ac_cv_prog_CC
   10633 if test -n "$CC"; then
   10634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10635 $as_echo "$CC" >&6; }
   10636 else
   10637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10638 $as_echo "no" >&6; }
   10639 fi
   10640 
   10641 
   10642 fi
   10643 if test -z "$CC"; then
   10644   if test -n "$ac_tool_prefix"; then
   10645   for ac_prog in cl.exe
   10646   do
   10647     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10650 $as_echo_n "checking for $ac_word... " >&6; }
   10651 if test "${ac_cv_prog_CC+set}" = set; then :
   10652   $as_echo_n "(cached) " >&6
   10653 else
   10654   if test -n "$CC"; then
   10655   ac_cv_prog_CC="$CC" # Let the user override the test.
   10656 else
   10657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10658 for as_dir in $PATH
   10659 do
   10660   IFS=$as_save_IFS
   10661   test -z "$as_dir" && as_dir=.
   10662     for ac_exec_ext in '' $ac_executable_extensions; do
   10663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10664     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   10665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10666     break 2
   10667   fi
   10668 done
   10669   done
   10670 IFS=$as_save_IFS
   10671 
   10672 fi
   10673 fi
   10674 CC=$ac_cv_prog_CC
   10675 if test -n "$CC"; then
   10676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10677 $as_echo "$CC" >&6; }
   10678 else
   10679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10680 $as_echo "no" >&6; }
   10681 fi
   10682 
   10683 
   10684     test -n "$CC" && break
   10685   done
   10686 fi
   10687 if test -z "$CC"; then
   10688   ac_ct_CC=$CC
   10689   for ac_prog in cl.exe
   10690 do
   10691   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10692 set dummy $ac_prog; ac_word=$2
   10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10694 $as_echo_n "checking for $ac_word... " >&6; }
   10695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   10696   $as_echo_n "(cached) " >&6
   10697 else
   10698   if test -n "$ac_ct_CC"; then
   10699   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   10700 else
   10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10702 for as_dir in $PATH
   10703 do
   10704   IFS=$as_save_IFS
   10705   test -z "$as_dir" && as_dir=.
   10706     for ac_exec_ext in '' $ac_executable_extensions; do
   10707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10708     ac_cv_prog_ac_ct_CC="$ac_prog"
   10709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10710     break 2
   10711   fi
   10712 done
   10713   done
   10714 IFS=$as_save_IFS
   10715 
   10716 fi
   10717 fi
   10718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   10719 if test -n "$ac_ct_CC"; then
   10720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   10721 $as_echo "$ac_ct_CC" >&6; }
   10722 else
   10723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10724 $as_echo "no" >&6; }
   10725 fi
   10726 
   10727 
   10728   test -n "$ac_ct_CC" && break
   10729 done
   10730 
   10731   if test "x$ac_ct_CC" = x; then
   10732     CC=""
   10733   else
   10734     case $cross_compiling:$ac_tool_warned in
   10735 yes:)
   10736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10738 ac_tool_warned=yes ;;
   10739 esac
   10740     CC=$ac_ct_CC
   10741   fi
   10742 fi
   10743 
   10744 fi
   10745 
   10746 
   10747 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10749 as_fn_error "no acceptable C compiler found in \$PATH
   10750 See \`config.log' for more details." "$LINENO" 5; }
   10751 
   10752 # Provide some information about the compiler.
   10753 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   10754 set X $ac_compile
   10755 ac_compiler=$2
   10756 for ac_option in --version -v -V -qversion; do
   10757   { { ac_try="$ac_compiler $ac_option >&5"
   10758 case "(($ac_try" in
   10759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10760   *) ac_try_echo=$ac_try;;
   10761 esac
   10762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10763 $as_echo "$ac_try_echo"; } >&5
   10764   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   10765   ac_status=$?
   10766   if test -s conftest.err; then
   10767     sed '10a\
   10768 ... rest of stderr output deleted ...
   10769          10q' conftest.err >conftest.er1
   10770     cat conftest.er1 >&5
   10771     rm -f conftest.er1 conftest.err
   10772   fi
   10773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10774   test $ac_status = 0; }
   10775 done
   10776 
   10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   10778 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   10779 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   10780   $as_echo_n "(cached) " >&6
   10781 else
   10782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10783 /* end confdefs.h.  */
   10784 
   10785 int
   10786 main ()
   10787 {
   10788 #ifndef __GNUC__
   10789        choke me
   10790 #endif
   10791 
   10792   ;
   10793   return 0;
   10794 }
   10795 _ACEOF
   10796 if ac_fn_c_try_compile "$LINENO"; then :
   10797   ac_compiler_gnu=yes
   10798 else
   10799   ac_compiler_gnu=no
   10800 fi
   10801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10802 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   10803 
   10804 fi
   10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   10806 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   10807 if test $ac_compiler_gnu = yes; then
   10808   GCC=yes
   10809 else
   10810   GCC=
   10811 fi
   10812 ac_test_CFLAGS=${CFLAGS+set}
   10813 ac_save_CFLAGS=$CFLAGS
   10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   10815 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   10816 if test "${ac_cv_prog_cc_g+set}" = set; then :
   10817   $as_echo_n "(cached) " >&6
   10818 else
   10819   ac_save_c_werror_flag=$ac_c_werror_flag
   10820    ac_c_werror_flag=yes
   10821    ac_cv_prog_cc_g=no
   10822    CFLAGS="-g"
   10823    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10824 /* end confdefs.h.  */
   10825 
   10826 int
   10827 main ()
   10828 {
   10829 
   10830   ;
   10831   return 0;
   10832 }
   10833 _ACEOF
   10834 if ac_fn_c_try_compile "$LINENO"; then :
   10835   ac_cv_prog_cc_g=yes
   10836 else
   10837   CFLAGS=""
   10838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10839 /* end confdefs.h.  */
   10840 
   10841 int
   10842 main ()
   10843 {
   10844 
   10845   ;
   10846   return 0;
   10847 }
   10848 _ACEOF
   10849 if ac_fn_c_try_compile "$LINENO"; then :
   10850 
   10851 else
   10852   ac_c_werror_flag=$ac_save_c_werror_flag
   10853 	 CFLAGS="-g"
   10854 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10855 /* end confdefs.h.  */
   10856 
   10857 int
   10858 main ()
   10859 {
   10860 
   10861   ;
   10862   return 0;
   10863 }
   10864 _ACEOF
   10865 if ac_fn_c_try_compile "$LINENO"; then :
   10866   ac_cv_prog_cc_g=yes
   10867 fi
   10868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10869 fi
   10870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10871 fi
   10872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10873    ac_c_werror_flag=$ac_save_c_werror_flag
   10874 fi
   10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   10876 $as_echo "$ac_cv_prog_cc_g" >&6; }
   10877 if test "$ac_test_CFLAGS" = set; then
   10878   CFLAGS=$ac_save_CFLAGS
   10879 elif test $ac_cv_prog_cc_g = yes; then
   10880   if test "$GCC" = yes; then
   10881     CFLAGS="-g -O2"
   10882   else
   10883     CFLAGS="-g"
   10884   fi
   10885 else
   10886   if test "$GCC" = yes; then
   10887     CFLAGS="-O2"
   10888   else
   10889     CFLAGS=
   10890   fi
   10891 fi
   10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   10893 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   10894 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   10895   $as_echo_n "(cached) " >&6
   10896 else
   10897   ac_cv_prog_cc_c89=no
   10898 ac_save_CC=$CC
   10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10900 /* end confdefs.h.  */
   10901 #include <stdarg.h>
   10902 #include <stdio.h>
   10903 #include <sys/types.h>
   10904 #include <sys/stat.h>
   10905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   10906 struct buf { int x; };
   10907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   10908 static char *e (p, i)
   10909      char **p;
   10910      int i;
   10911 {
   10912   return p[i];
   10913 }
   10914 static char *f (char * (*g) (char **, int), char **p, ...)
   10915 {
   10916   char *s;
   10917   va_list v;
   10918   va_start (v,p);
   10919   s = g (p, va_arg (v,int));
   10920   va_end (v);
   10921   return s;
   10922 }
   10923 
   10924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   10925    function prototypes and stuff, but not '\xHH' hex character constants.
   10926    These don't provoke an error unfortunately, instead are silently treated
   10927    as 'x'.  The following induces an error, until -std is added to get
   10928    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   10929    array size at least.  It's necessary to write '\x00'==0 to get something
   10930    that's true only with -std.  */
   10931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   10932 
   10933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   10934    inside strings and character constants.  */
   10935 #define FOO(x) 'x'
   10936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   10937 
   10938 int test (int i, double x);
   10939 struct s1 {int (*f) (int a);};
   10940 struct s2 {int (*f) (double a);};
   10941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   10942 int argc;
   10943 char **argv;
   10944 int
   10945 main ()
   10946 {
   10947 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   10948   ;
   10949   return 0;
   10950 }
   10951 _ACEOF
   10952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   10953 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   10954 do
   10955   CC="$ac_save_CC $ac_arg"
   10956   if ac_fn_c_try_compile "$LINENO"; then :
   10957   ac_cv_prog_cc_c89=$ac_arg
   10958 fi
   10959 rm -f core conftest.err conftest.$ac_objext
   10960   test "x$ac_cv_prog_cc_c89" != "xno" && break
   10961 done
   10962 rm -f conftest.$ac_ext
   10963 CC=$ac_save_CC
   10964 
   10965 fi
   10966 # AC_CACHE_VAL
   10967 case "x$ac_cv_prog_cc_c89" in
   10968   x)
   10969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   10970 $as_echo "none needed" >&6; } ;;
   10971   xno)
   10972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   10973 $as_echo "unsupported" >&6; } ;;
   10974   *)
   10975     CC="$CC $ac_cv_prog_cc_c89"
   10976     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   10977 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   10978 esac
   10979 if test "x$ac_cv_prog_cc_c89" != xno; then :
   10980 
   10981 fi
   10982 
   10983 ac_ext=c
   10984 ac_cpp='$CPP $CPPFLAGS'
   10985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10988 
   10989 
   10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   10991 $as_echo_n "checking for ANSI C header files... " >&6; }
   10992 if test "${ac_cv_header_stdc+set}" = set; then :
   10993   $as_echo_n "(cached) " >&6
   10994 else
   10995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10996 /* end confdefs.h.  */
   10997 #include <stdlib.h>
   10998 #include <stdarg.h>
   10999 #include <string.h>
   11000 #include <float.h>
   11001 
   11002 int
   11003 main ()
   11004 {
   11005 
   11006   ;
   11007   return 0;
   11008 }
   11009 _ACEOF
   11010 if ac_fn_c_try_compile "$LINENO"; then :
   11011   ac_cv_header_stdc=yes
   11012 else
   11013   ac_cv_header_stdc=no
   11014 fi
   11015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11016 
   11017 if test $ac_cv_header_stdc = yes; then
   11018   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   11019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11020 /* end confdefs.h.  */
   11021 #include <string.h>
   11022 
   11023 _ACEOF
   11024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11025   $EGREP "memchr" >/dev/null 2>&1; then :
   11026 
   11027 else
   11028   ac_cv_header_stdc=no
   11029 fi
   11030 rm -f conftest*
   11031 
   11032 fi
   11033 
   11034 if test $ac_cv_header_stdc = yes; then
   11035   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   11036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11037 /* end confdefs.h.  */
   11038 #include <stdlib.h>
   11039 
   11040 _ACEOF
   11041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11042   $EGREP "free" >/dev/null 2>&1; then :
   11043 
   11044 else
   11045   ac_cv_header_stdc=no
   11046 fi
   11047 rm -f conftest*
   11048 
   11049 fi
   11050 
   11051 if test $ac_cv_header_stdc = yes; then
   11052   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   11053   if test "$cross_compiling" = yes; then :
   11054   :
   11055 else
   11056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11057 /* end confdefs.h.  */
   11058 #include <ctype.h>
   11059 #include <stdlib.h>
   11060 #if ((' ' & 0x0FF) == 0x020)
   11061 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   11062 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   11063 #else
   11064 # define ISLOWER(c) \
   11065 		   (('a' <= (c) && (c) <= 'i') \
   11066 		     || ('j' <= (c) && (c) <= 'r') \
   11067 		     || ('s' <= (c) && (c) <= 'z'))
   11068 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   11069 #endif
   11070 
   11071 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   11072 int
   11073 main ()
   11074 {
   11075   int i;
   11076   for (i = 0; i < 256; i++)
   11077     if (XOR (islower (i), ISLOWER (i))
   11078 	|| toupper (i) != TOUPPER (i))
   11079       return 2;
   11080   return 0;
   11081 }
   11082 _ACEOF
   11083 if ac_fn_c_try_run "$LINENO"; then :
   11084 
   11085 else
   11086   ac_cv_header_stdc=no
   11087 fi
   11088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11089   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11090 fi
   11091 
   11092 fi
   11093 fi
   11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   11095 $as_echo "$ac_cv_header_stdc" >&6; }
   11096 if test $ac_cv_header_stdc = yes; then
   11097 
   11098 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   11099 
   11100 fi
   11101 
   11102 # Check whether --enable-largefile was given.
   11103 if test "${enable_largefile+set}" = set; then :
   11104   enableval=$enable_largefile;
   11105 fi
   11106 
   11107 if test "$enable_largefile" != no; then
   11108 
   11109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11110 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11111 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
   11112   $as_echo_n "(cached) " >&6
   11113 else
   11114   ac_cv_sys_largefile_CC=no
   11115      if test "$GCC" != yes; then
   11116        ac_save_CC=$CC
   11117        while :; do
   11118 	 # IRIX 6.2 and later do not support large files by default,
   11119 	 # so use the C compiler's -n32 option if that helps.
   11120 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11121 /* end confdefs.h.  */
   11122 #include <sys/types.h>
   11123  /* Check that off_t can represent 2**63 - 1 correctly.
   11124     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11125     since some C++ compilers masquerading as C compilers
   11126     incorrectly reject 9223372036854775807.  */
   11127 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11128   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11129 		       && LARGE_OFF_T % 2147483647 == 1)
   11130 		      ? 1 : -1];
   11131 int
   11132 main ()
   11133 {
   11134 
   11135   ;
   11136   return 0;
   11137 }
   11138 _ACEOF
   11139 	 if ac_fn_c_try_compile "$LINENO"; then :
   11140   break
   11141 fi
   11142 rm -f core conftest.err conftest.$ac_objext
   11143 	 CC="$CC -n32"
   11144 	 if ac_fn_c_try_compile "$LINENO"; then :
   11145   ac_cv_sys_largefile_CC=' -n32'; break
   11146 fi
   11147 rm -f core conftest.err conftest.$ac_objext
   11148 	 break
   11149        done
   11150        CC=$ac_save_CC
   11151        rm -f conftest.$ac_ext
   11152     fi
   11153 fi
   11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11155 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11156   if test "$ac_cv_sys_largefile_CC" != no; then
   11157     CC=$CC$ac_cv_sys_largefile_CC
   11158   fi
   11159 
   11160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11161 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11162 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
   11163   $as_echo_n "(cached) " >&6
   11164 else
   11165   while :; do
   11166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11167 /* end confdefs.h.  */
   11168 #include <sys/types.h>
   11169  /* Check that off_t can represent 2**63 - 1 correctly.
   11170     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11171     since some C++ compilers masquerading as C compilers
   11172     incorrectly reject 9223372036854775807.  */
   11173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11174   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11175 		       && LARGE_OFF_T % 2147483647 == 1)
   11176 		      ? 1 : -1];
   11177 int
   11178 main ()
   11179 {
   11180 
   11181   ;
   11182   return 0;
   11183 }
   11184 _ACEOF
   11185 if ac_fn_c_try_compile "$LINENO"; then :
   11186   ac_cv_sys_file_offset_bits=no; break
   11187 fi
   11188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11190 /* end confdefs.h.  */
   11191 #define _FILE_OFFSET_BITS 64
   11192 #include <sys/types.h>
   11193  /* Check that off_t can represent 2**63 - 1 correctly.
   11194     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11195     since some C++ compilers masquerading as C compilers
   11196     incorrectly reject 9223372036854775807.  */
   11197 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11198   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11199 		       && LARGE_OFF_T % 2147483647 == 1)
   11200 		      ? 1 : -1];
   11201 int
   11202 main ()
   11203 {
   11204 
   11205   ;
   11206   return 0;
   11207 }
   11208 _ACEOF
   11209 if ac_fn_c_try_compile "$LINENO"; then :
   11210   ac_cv_sys_file_offset_bits=64; break
   11211 fi
   11212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11213   ac_cv_sys_file_offset_bits=unknown
   11214   break
   11215 done
   11216 fi
   11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11218 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11219 case $ac_cv_sys_file_offset_bits in #(
   11220   no | unknown) ;;
   11221   *)
   11222 cat >>confdefs.h <<_ACEOF
   11223 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11224 _ACEOF
   11225 ;;
   11226 esac
   11227 rm -rf conftest*
   11228   if test $ac_cv_sys_file_offset_bits = unknown; then
   11229     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11230 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11231 if test "${ac_cv_sys_large_files+set}" = set; then :
   11232   $as_echo_n "(cached) " >&6
   11233 else
   11234   while :; do
   11235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11236 /* end confdefs.h.  */
   11237 #include <sys/types.h>
   11238  /* Check that off_t can represent 2**63 - 1 correctly.
   11239     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11240     since some C++ compilers masquerading as C compilers
   11241     incorrectly reject 9223372036854775807.  */
   11242 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11243   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11244 		       && LARGE_OFF_T % 2147483647 == 1)
   11245 		      ? 1 : -1];
   11246 int
   11247 main ()
   11248 {
   11249 
   11250   ;
   11251   return 0;
   11252 }
   11253 _ACEOF
   11254 if ac_fn_c_try_compile "$LINENO"; then :
   11255   ac_cv_sys_large_files=no; break
   11256 fi
   11257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11259 /* end confdefs.h.  */
   11260 #define _LARGE_FILES 1
   11261 #include <sys/types.h>
   11262  /* Check that off_t can represent 2**63 - 1 correctly.
   11263     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11264     since some C++ compilers masquerading as C compilers
   11265     incorrectly reject 9223372036854775807.  */
   11266 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11267   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11268 		       && LARGE_OFF_T % 2147483647 == 1)
   11269 		      ? 1 : -1];
   11270 int
   11271 main ()
   11272 {
   11273 
   11274   ;
   11275   return 0;
   11276 }
   11277 _ACEOF
   11278 if ac_fn_c_try_compile "$LINENO"; then :
   11279   ac_cv_sys_large_files=1; break
   11280 fi
   11281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11282   ac_cv_sys_large_files=unknown
   11283   break
   11284 done
   11285 fi
   11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11287 $as_echo "$ac_cv_sys_large_files" >&6; }
   11288 case $ac_cv_sys_large_files in #(
   11289   no | unknown) ;;
   11290   *)
   11291 cat >>confdefs.h <<_ACEOF
   11292 #define _LARGE_FILES $ac_cv_sys_large_files
   11293 _ACEOF
   11294 ;;
   11295 esac
   11296 rm -rf conftest*
   11297   fi
   11298 fi
   11299 
   11300 
   11301 
   11302 
   11303 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11304 	if test -n "$ac_tool_prefix"; then
   11305   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11306 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11308 $as_echo_n "checking for $ac_word... " >&6; }
   11309 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   11310   $as_echo_n "(cached) " >&6
   11311 else
   11312   case $PKG_CONFIG in
   11313   [\\/]* | ?:[\\/]*)
   11314   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11315   ;;
   11316   *)
   11317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11318 for as_dir in $PATH
   11319 do
   11320   IFS=$as_save_IFS
   11321   test -z "$as_dir" && as_dir=.
   11322     for ac_exec_ext in '' $ac_executable_extensions; do
   11323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11324     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11326     break 2
   11327   fi
   11328 done
   11329   done
   11330 IFS=$as_save_IFS
   11331 
   11332   ;;
   11333 esac
   11334 fi
   11335 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11336 if test -n "$PKG_CONFIG"; then
   11337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11338 $as_echo "$PKG_CONFIG" >&6; }
   11339 else
   11340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11341 $as_echo "no" >&6; }
   11342 fi
   11343 
   11344 
   11345 fi
   11346 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11347   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11348   # Extract the first word of "pkg-config", so it can be a program name with args.
   11349 set dummy pkg-config; ac_word=$2
   11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11351 $as_echo_n "checking for $ac_word... " >&6; }
   11352 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   11353   $as_echo_n "(cached) " >&6
   11354 else
   11355   case $ac_pt_PKG_CONFIG in
   11356   [\\/]* | ?:[\\/]*)
   11357   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11358   ;;
   11359   *)
   11360   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11361 for as_dir in $PATH
   11362 do
   11363   IFS=$as_save_IFS
   11364   test -z "$as_dir" && as_dir=.
   11365     for ac_exec_ext in '' $ac_executable_extensions; do
   11366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11367     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11369     break 2
   11370   fi
   11371 done
   11372   done
   11373 IFS=$as_save_IFS
   11374 
   11375   ;;
   11376 esac
   11377 fi
   11378 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11379 if test -n "$ac_pt_PKG_CONFIG"; then
   11380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11381 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11382 else
   11383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11384 $as_echo "no" >&6; }
   11385 fi
   11386 
   11387   if test "x$ac_pt_PKG_CONFIG" = x; then
   11388     PKG_CONFIG=""
   11389   else
   11390     case $cross_compiling:$ac_tool_warned in
   11391 yes:)
   11392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11394 ac_tool_warned=yes ;;
   11395 esac
   11396     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11397   fi
   11398 else
   11399   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11400 fi
   11401 
   11402 fi
   11403 if test -n "$PKG_CONFIG"; then
   11404 	_pkg_min_version=0.9.0
   11405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11406 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11407 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11409 $as_echo "yes" >&6; }
   11410 	else
   11411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11412 $as_echo "no" >&6; }
   11413 		PKG_CONFIG=""
   11414 	fi
   11415 
   11416 fi
   11417 
   11418 pkg_failed=no
   11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREADSTUBS" >&5
   11420 $as_echo_n "checking for PTHREADSTUBS... " >&6; }
   11421 
   11422 if test -n "$PKG_CONFIG"; then
   11423     if test -n "$PTHREADSTUBS_CFLAGS"; then
   11424         pkg_cv_PTHREADSTUBS_CFLAGS="$PTHREADSTUBS_CFLAGS"
   11425     else
   11426         if test -n "$PKG_CONFIG" && \
   11427     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pthread-stubs\""; } >&5
   11428   ($PKG_CONFIG --exists --print-errors "pthread-stubs") 2>&5
   11429   ac_status=$?
   11430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11431   test $ac_status = 0; }; then
   11432   pkg_cv_PTHREADSTUBS_CFLAGS=`$PKG_CONFIG --cflags "pthread-stubs" 2>/dev/null`
   11433 else
   11434   pkg_failed=yes
   11435 fi
   11436     fi
   11437 else
   11438 	pkg_failed=untried
   11439 fi
   11440 if test -n "$PKG_CONFIG"; then
   11441     if test -n "$PTHREADSTUBS_LIBS"; then
   11442         pkg_cv_PTHREADSTUBS_LIBS="$PTHREADSTUBS_LIBS"
   11443     else
   11444         if test -n "$PKG_CONFIG" && \
   11445     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pthread-stubs\""; } >&5
   11446   ($PKG_CONFIG --exists --print-errors "pthread-stubs") 2>&5
   11447   ac_status=$?
   11448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11449   test $ac_status = 0; }; then
   11450   pkg_cv_PTHREADSTUBS_LIBS=`$PKG_CONFIG --libs "pthread-stubs" 2>/dev/null`
   11451 else
   11452   pkg_failed=yes
   11453 fi
   11454     fi
   11455 else
   11456 	pkg_failed=untried
   11457 fi
   11458 
   11459 
   11460 
   11461 if test $pkg_failed = yes; then
   11462 
   11463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11464         _pkg_short_errors_supported=yes
   11465 else
   11466         _pkg_short_errors_supported=no
   11467 fi
   11468         if test $_pkg_short_errors_supported = yes; then
   11469 	        PTHREADSTUBS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pthread-stubs"`
   11470         else
   11471 	        PTHREADSTUBS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pthread-stubs"`
   11472         fi
   11473 	# Put the nasty error message in config.log where it belongs
   11474 	echo "$PTHREADSTUBS_PKG_ERRORS" >&5
   11475 
   11476 	as_fn_error "Package requirements (pthread-stubs) were not met:
   11477 
   11478 $PTHREADSTUBS_PKG_ERRORS
   11479 
   11480 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11481 installed software in a non-standard prefix.
   11482 
   11483 Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
   11484 and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
   11485 See the pkg-config man page for more details.
   11486 " "$LINENO" 5
   11487 elif test $pkg_failed = untried; then
   11488 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11490 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11491 is in your PATH or set the PKG_CONFIG environment variable to the full
   11492 path to pkg-config.
   11493 
   11494 Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
   11495 and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
   11496 See the pkg-config man page for more details.
   11497 
   11498 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11499 See \`config.log' for more details." "$LINENO" 5; }
   11500 else
   11501 	PTHREADSTUBS_CFLAGS=$pkg_cv_PTHREADSTUBS_CFLAGS
   11502 	PTHREADSTUBS_LIBS=$pkg_cv_PTHREADSTUBS_LIBS
   11503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11504 $as_echo "yes" >&6; }
   11505 	:
   11506 fi
   11507 
   11508 
   11509 
   11510 pkgconfigdir=${libdir}/pkgconfig
   11511 
   11512 # Check whether --enable-udev was given.
   11513 if test "${enable_udev+set}" = set; then :
   11514   enableval=$enable_udev; UDEV=$enableval
   11515 else
   11516   UDEV=no
   11517 fi
   11518 
   11519 
   11520 # Check whether --enable-nouveau-experimental-api was given.
   11521 if test "${enable_nouveau_experimental_api+set}" = set; then :
   11522   enableval=$enable_nouveau_experimental_api; NOUVEAU=$enableval
   11523 else
   11524   NOUVEAU=no
   11525 fi
   11526 
   11527 
   11528 # Check whether --enable-radeon-experimental-api was given.
   11529 if test "${enable_radeon_experimental_api+set}" = set; then :
   11530   enableval=$enable_radeon_experimental_api; RADEON=$enableval
   11531 else
   11532   RADEON=no
   11533 fi
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 for ac_func in clock_gettime
   11540 do :
   11541   ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   11542 if test "x$ac_cv_func_clock_gettime" = x""yes; then :
   11543   cat >>confdefs.h <<_ACEOF
   11544 #define HAVE_CLOCK_GETTIME 1
   11545 _ACEOF
   11546  CLOCK_LIB=
   11547 else
   11548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   11549 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   11550 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
   11551   $as_echo_n "(cached) " >&6
   11552 else
   11553   ac_check_lib_save_LIBS=$LIBS
   11554 LIBS="-lrt  $LIBS"
   11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11556 /* end confdefs.h.  */
   11557 
   11558 /* Override any GCC internal prototype to avoid an error.
   11559    Use char because int might match the return type of a GCC
   11560    builtin and then its argument prototype would still apply.  */
   11561 #ifdef __cplusplus
   11562 extern "C"
   11563 #endif
   11564 char clock_gettime ();
   11565 int
   11566 main ()
   11567 {
   11568 return clock_gettime ();
   11569   ;
   11570   return 0;
   11571 }
   11572 _ACEOF
   11573 if ac_fn_c_try_link "$LINENO"; then :
   11574   ac_cv_lib_rt_clock_gettime=yes
   11575 else
   11576   ac_cv_lib_rt_clock_gettime=no
   11577 fi
   11578 rm -f core conftest.err conftest.$ac_objext \
   11579     conftest$ac_exeext conftest.$ac_ext
   11580 LIBS=$ac_check_lib_save_LIBS
   11581 fi
   11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   11583 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   11584 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
   11585   CLOCK_LIB=-lrt
   11586 else
   11587   as_fn_error "Couldn't find clock_gettime" "$LINENO" 5
   11588 fi
   11589 
   11590 fi
   11591 done
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 MAYBE_WARN="-Wall -Wextra \
   11598 -Wsign-compare -Werror-implicit-function-declaration \
   11599 -Wpointer-arith -Wwrite-strings -Wstrict-prototypes \
   11600 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
   11601 -Wpacked -Wswitch-enum -Wmissing-format-attribute \
   11602 -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
   11603 -Wdeclaration-after-statement -Wold-style-definition \
   11604 -Wno-missing-field-initializers -Wno-unused-parameter \
   11605 -Wno-attributes -Wno-long-long -Winline"
   11606 
   11607 # invalidate cached value if MAYBE_WARN has changed
   11608 if test "x$libdrm_cv_warn_maybe" != "x$MAYBE_WARN"; then
   11609 	unset libdrm_cv_warn_cflags
   11610 fi
   11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported warning flags" >&5
   11612 $as_echo_n "checking for supported warning flags... " >&6; }
   11613 if test "${libdrm_cv_warn_cflags+set}" = set; then :
   11614   $as_echo_n "(cached) " >&6
   11615 else
   11616 
   11617 	echo
   11618 	WARN_CFLAGS=""
   11619 
   11620 	# Some warning options are not supported by all versions of
   11621 	# gcc, so test all desired options against the current
   11622 	# compiler.
   11623 	#
   11624 	# Note that there are some order dependencies
   11625 	# here. Specifically, an option that disables a warning will
   11626 	# have no net effect if a later option then enables that
   11627 	# warnings, (perhaps implicitly). So we put some grouped
   11628 	# options (-Wall and -Wextra) up front and the -Wno options
   11629 	# last.
   11630 
   11631 	for W in $MAYBE_WARN; do
   11632 
   11633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $W" >&5
   11634 $as_echo_n "checking whether $CC supports $W... " >&6; }
   11635 
   11636   libdrm_save_CFLAGS="$CFLAGS"
   11637   CFLAGS="$CFLAGS $W"
   11638 
   11639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11640 /* end confdefs.h.  */
   11641 
   11642 _ACEOF
   11643 if ac_fn_c_try_compile "$LINENO"; then :
   11644   libdrm_cc_flag=yes
   11645 else
   11646   libdrm_cc_flag=no
   11647 fi
   11648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11649   CFLAGS="$libdrm_save_CFLAGS"
   11650 
   11651   if test "x$libdrm_cc_flag" = "xyes"; then
   11652     WARN_CFLAGS="$WARN_CFLAGS $W"
   11653   else
   11654     :
   11655   fi
   11656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libdrm_cc_flag" >&5
   11657 $as_echo "$libdrm_cc_flag" >&6; }
   11658 
   11659 	done
   11660 
   11661 	libdrm_cv_warn_cflags=$WARN_CFLAGS
   11662 	libdrm_cv_warn_maybe=$MAYBE_WARN
   11663 
   11664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which warning flags were supported" >&5
   11665 $as_echo_n "checking which warning flags were supported... " >&6; }
   11666 fi
   11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libdrm_cv_warn_cflags" >&5
   11668 $as_echo "$libdrm_cv_warn_cflags" >&6; }
   11669 WARN_CFLAGS="$libdrm_cv_warn_cflags"
   11670 
   11671 if test "x$UDEV" = xyes; then
   11672 
   11673 $as_echo "#define UDEV 1" >>confdefs.h
   11674 
   11675 fi
   11676 
   11677  if test "x$NOUVEAU" = xyes; then
   11678   HAVE_NOUVEAU_TRUE=
   11679   HAVE_NOUVEAU_FALSE='#'
   11680 else
   11681   HAVE_NOUVEAU_TRUE='#'
   11682   HAVE_NOUVEAU_FALSE=
   11683 fi
   11684 
   11685 
   11686  if test "x$RADEON" = xyes; then
   11687   HAVE_RADEON_TRUE=
   11688   HAVE_RADEON_FALSE='#'
   11689 else
   11690   HAVE_RADEON_TRUE='#'
   11691   HAVE_RADEON_FALSE=
   11692 fi
   11693 
   11694 
   11695 
   11696 pkg_failed=no
   11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
   11698 $as_echo_n "checking for CAIRO... " >&6; }
   11699 
   11700 if test -n "$PKG_CONFIG"; then
   11701     if test -n "$CAIRO_CFLAGS"; then
   11702         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
   11703     else
   11704         if test -n "$PKG_CONFIG" && \
   11705     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
   11706   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
   11707   ac_status=$?
   11708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11709   test $ac_status = 0; }; then
   11710   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
   11711 else
   11712   pkg_failed=yes
   11713 fi
   11714     fi
   11715 else
   11716 	pkg_failed=untried
   11717 fi
   11718 if test -n "$PKG_CONFIG"; then
   11719     if test -n "$CAIRO_LIBS"; then
   11720         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
   11721     else
   11722         if test -n "$PKG_CONFIG" && \
   11723     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
   11724   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
   11725   ac_status=$?
   11726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11727   test $ac_status = 0; }; then
   11728   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
   11729 else
   11730   pkg_failed=yes
   11731 fi
   11732     fi
   11733 else
   11734 	pkg_failed=untried
   11735 fi
   11736 
   11737 
   11738 
   11739 if test $pkg_failed = yes; then
   11740 
   11741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11742         _pkg_short_errors_supported=yes
   11743 else
   11744         _pkg_short_errors_supported=no
   11745 fi
   11746         if test $_pkg_short_errors_supported = yes; then
   11747 	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
   11748         else
   11749 	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
   11750         fi
   11751 	# Put the nasty error message in config.log where it belongs
   11752 	echo "$CAIRO_PKG_ERRORS" >&5
   11753 
   11754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11755 $as_echo "no" >&6; }
   11756                 HAVE_CAIRO=no
   11757 elif test $pkg_failed = untried; then
   11758 	HAVE_CAIRO=no
   11759 else
   11760 	CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
   11761 	CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
   11762         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11763 $as_echo "yes" >&6; }
   11764 	HAVE_CAIRO=yes
   11765 fi
   11766 if test "x$HAVE_CAIRO" = xyes; then
   11767 
   11768 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
   11769 
   11770 fi
   11771  if test "x$HAVE_CAIRO" = xyes; then
   11772   HAVE_CAIRO_TRUE=
   11773   HAVE_CAIRO_FALSE='#'
   11774 else
   11775   HAVE_CAIRO_TRUE='#'
   11776   HAVE_CAIRO_FALSE=
   11777 fi
   11778 
   11779 
   11780 # For enumerating devices in test case
   11781 
   11782 pkg_failed=no
   11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
   11784 $as_echo_n "checking for LIBUDEV... " >&6; }
   11785 
   11786 if test -n "$PKG_CONFIG"; then
   11787     if test -n "$LIBUDEV_CFLAGS"; then
   11788         pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   11789     else
   11790         if test -n "$PKG_CONFIG" && \
   11791     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   11792   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   11793   ac_status=$?
   11794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11795   test $ac_status = 0; }; then
   11796   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   11797 else
   11798   pkg_failed=yes
   11799 fi
   11800     fi
   11801 else
   11802 	pkg_failed=untried
   11803 fi
   11804 if test -n "$PKG_CONFIG"; then
   11805     if test -n "$LIBUDEV_LIBS"; then
   11806         pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   11807     else
   11808         if test -n "$PKG_CONFIG" && \
   11809     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   11810   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   11811   ac_status=$?
   11812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11813   test $ac_status = 0; }; then
   11814   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   11815 else
   11816   pkg_failed=yes
   11817 fi
   11818     fi
   11819 else
   11820 	pkg_failed=untried
   11821 fi
   11822 
   11823 
   11824 
   11825 if test $pkg_failed = yes; then
   11826 
   11827 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11828         _pkg_short_errors_supported=yes
   11829 else
   11830         _pkg_short_errors_supported=no
   11831 fi
   11832         if test $_pkg_short_errors_supported = yes; then
   11833 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libudev"`
   11834         else
   11835 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libudev"`
   11836         fi
   11837 	# Put the nasty error message in config.log where it belongs
   11838 	echo "$LIBUDEV_PKG_ERRORS" >&5
   11839 
   11840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11841 $as_echo "no" >&6; }
   11842                 HAVE_LIBUDEV=no
   11843 elif test $pkg_failed = untried; then
   11844 	HAVE_LIBUDEV=no
   11845 else
   11846 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   11847 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   11848         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11849 $as_echo "yes" >&6; }
   11850 	HAVE_LIBUDEV=yes
   11851 fi
   11852 if test "x$HAVE_LIBUDEV" = xyes; then
   11853 
   11854 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
   11855 
   11856 fi
   11857  if test "x$HAVE_LIBUDEV" = xyes; then
   11858   HAVE_LIBUDEV_TRUE=
   11859   HAVE_LIBUDEV_FALSE='#'
   11860 else
   11861   HAVE_LIBUDEV_TRUE='#'
   11862   HAVE_LIBUDEV_FALSE=
   11863 fi
   11864 
   11865 
   11866 
   11867 ac_config_files="$ac_config_files Makefile libdrm/Makefile libdrm/intel/Makefile libdrm/radeon/Makefile libdrm/radeon/libdrm_radeon.pc libdrm/nouveau/Makefile libdrm/nouveau/libdrm_nouveau.pc shared-core/Makefile tests/Makefile tests/modeprint/Makefile tests/modetest/Makefile libdrm.pc libdrm_intel.pc"
   11868 
   11869 cat >confcache <<\_ACEOF
   11870 # This file is a shell script that caches the results of configure
   11871 # tests run on this system so they can be shared between configure
   11872 # scripts and configure runs, see configure's option --config-cache.
   11873 # It is not useful on other systems.  If it contains results you don't
   11874 # want to keep, you may remove or edit it.
   11875 #
   11876 # config.status only pays attention to the cache file if you give it
   11877 # the --recheck option to rerun configure.
   11878 #
   11879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11881 # following values.
   11882 
   11883 _ACEOF
   11884 
   11885 # The following way of writing the cache mishandles newlines in values,
   11886 # but we know of no workaround that is simple, portable, and efficient.
   11887 # So, we kill variables containing newlines.
   11888 # Ultrix sh set writes to stderr and can't be redirected directly,
   11889 # and sets the high bit in the cache file unless we assign to the vars.
   11890 (
   11891   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11892     eval ac_val=\$$ac_var
   11893     case $ac_val in #(
   11894     *${as_nl}*)
   11895       case $ac_var in #(
   11896       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11898       esac
   11899       case $ac_var in #(
   11900       _ | IFS | as_nl) ;; #(
   11901       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11902       *) { eval $ac_var=; unset $ac_var;} ;;
   11903       esac ;;
   11904     esac
   11905   done
   11906 
   11907   (set) 2>&1 |
   11908     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11909     *${as_nl}ac_space=\ *)
   11910       # `set' does not quote correctly, so add quotes: double-quote
   11911       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11912       sed -n \
   11913 	"s/'/'\\\\''/g;
   11914 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11915       ;; #(
   11916     *)
   11917       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11918       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11919       ;;
   11920     esac |
   11921     sort
   11922 ) |
   11923   sed '
   11924      /^ac_cv_env_/b end
   11925      t clear
   11926      :clear
   11927      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11928      t end
   11929      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11930      :end' >>confcache
   11931 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11932   if test -w "$cache_file"; then
   11933     test "x$cache_file" != "x/dev/null" &&
   11934       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11935 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11936     cat confcache >$cache_file
   11937   else
   11938     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11939 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11940   fi
   11941 fi
   11942 rm -f confcache
   11943 
   11944 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11945 # Let make expand exec_prefix.
   11946 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11947 
   11948 DEFS=-DHAVE_CONFIG_H
   11949 
   11950 ac_libobjs=
   11951 ac_ltlibobjs=
   11952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11953   # 1. Remove the extension, and $U if already installed.
   11954   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11955   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11956   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11957   #    will be set to the directory where LIBOBJS objects are built.
   11958   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11959   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11960 done
   11961 LIBOBJS=$ac_libobjs
   11962 
   11963 LTLIBOBJS=$ac_ltlibobjs
   11964 
   11965 
   11966 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11967   as_fn_error "conditional \"AMDEP\" was never defined.
   11968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11969 fi
   11970 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11971   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   11972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11973 fi
   11974 if test -z "${HAVE_NOUVEAU_TRUE}" && test -z "${HAVE_NOUVEAU_FALSE}"; then
   11975   as_fn_error "conditional \"HAVE_NOUVEAU\" was never defined.
   11976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11977 fi
   11978 if test -z "${HAVE_RADEON_TRUE}" && test -z "${HAVE_RADEON_FALSE}"; then
   11979   as_fn_error "conditional \"HAVE_RADEON\" was never defined.
   11980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11981 fi
   11982 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
   11983   as_fn_error "conditional \"HAVE_CAIRO\" was never defined.
   11984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11985 fi
   11986 if test -z "${HAVE_LIBUDEV_TRUE}" && test -z "${HAVE_LIBUDEV_FALSE}"; then
   11987   as_fn_error "conditional \"HAVE_LIBUDEV\" was never defined.
   11988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11989 fi
   11990 
   11991 : ${CONFIG_STATUS=./config.status}
   11992 ac_write_fail=0
   11993 ac_clean_files_save=$ac_clean_files
   11994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11996 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11997 as_write_fail=0
   11998 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11999 #! $SHELL
   12000 # Generated by $as_me.
   12001 # Run this file to recreate the current configuration.
   12002 # Compiler output produced by configure, useful for debugging
   12003 # configure, is in config.log if it exists.
   12004 
   12005 debug=false
   12006 ac_cs_recheck=false
   12007 ac_cs_silent=false
   12008 
   12009 SHELL=\${CONFIG_SHELL-$SHELL}
   12010 export SHELL
   12011 _ASEOF
   12012 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12013 ## -------------------- ##
   12014 ## M4sh Initialization. ##
   12015 ## -------------------- ##
   12016 
   12017 # Be more Bourne compatible
   12018 DUALCASE=1; export DUALCASE # for MKS sh
   12019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12020   emulate sh
   12021   NULLCMD=:
   12022   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12023   # is contrary to our usage.  Disable this feature.
   12024   alias -g '${1+"$@"}'='"$@"'
   12025   setopt NO_GLOB_SUBST
   12026 else
   12027   case `(set -o) 2>/dev/null` in #(
   12028   *posix*) :
   12029     set -o posix ;; #(
   12030   *) :
   12031      ;;
   12032 esac
   12033 fi
   12034 
   12035 
   12036 as_nl='
   12037 '
   12038 export as_nl
   12039 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12040 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12041 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12043 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12044 # but without wasting forks for bash or zsh.
   12045 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12046     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12047   as_echo='print -r --'
   12048   as_echo_n='print -rn --'
   12049 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12050   as_echo='printf %s\n'
   12051   as_echo_n='printf %s'
   12052 else
   12053   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12054     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12055     as_echo_n='/usr/ucb/echo -n'
   12056   else
   12057     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12058     as_echo_n_body='eval
   12059       arg=$1;
   12060       case $arg in #(
   12061       *"$as_nl"*)
   12062 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12063 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12064       esac;
   12065       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12066     '
   12067     export as_echo_n_body
   12068     as_echo_n='sh -c $as_echo_n_body as_echo'
   12069   fi
   12070   export as_echo_body
   12071   as_echo='sh -c $as_echo_body as_echo'
   12072 fi
   12073 
   12074 # The user is always right.
   12075 if test "${PATH_SEPARATOR+set}" != set; then
   12076   PATH_SEPARATOR=:
   12077   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12078     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12079       PATH_SEPARATOR=';'
   12080   }
   12081 fi
   12082 
   12083 
   12084 # IFS
   12085 # We need space, tab and new line, in precisely that order.  Quoting is
   12086 # there to prevent editors from complaining about space-tab.
   12087 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12088 # splitting by setting IFS to empty value.)
   12089 IFS=" ""	$as_nl"
   12090 
   12091 # Find who we are.  Look in the path if we contain no directory separator.
   12092 case $0 in #((
   12093   *[\\/]* ) as_myself=$0 ;;
   12094   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12095 for as_dir in $PATH
   12096 do
   12097   IFS=$as_save_IFS
   12098   test -z "$as_dir" && as_dir=.
   12099     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12100   done
   12101 IFS=$as_save_IFS
   12102 
   12103      ;;
   12104 esac
   12105 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12106 # in which case we are not to be found in the path.
   12107 if test "x$as_myself" = x; then
   12108   as_myself=$0
   12109 fi
   12110 if test ! -f "$as_myself"; then
   12111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12112   exit 1
   12113 fi
   12114 
   12115 # Unset variables that we do not need and which cause bugs (e.g. in
   12116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12117 # suppresses any "Segmentation fault" message there.  '((' could
   12118 # trigger a bug in pdksh 5.2.14.
   12119 for as_var in BASH_ENV ENV MAIL MAILPATH
   12120 do eval test x\${$as_var+set} = xset \
   12121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12122 done
   12123 PS1='$ '
   12124 PS2='> '
   12125 PS4='+ '
   12126 
   12127 # NLS nuisances.
   12128 LC_ALL=C
   12129 export LC_ALL
   12130 LANGUAGE=C
   12131 export LANGUAGE
   12132 
   12133 # CDPATH.
   12134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12135 
   12136 
   12137 # as_fn_error ERROR [LINENO LOG_FD]
   12138 # ---------------------------------
   12139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12141 # script with status $?, using 1 if that was 0.
   12142 as_fn_error ()
   12143 {
   12144   as_status=$?; test $as_status -eq 0 && as_status=1
   12145   if test "$3"; then
   12146     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12147     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   12148   fi
   12149   $as_echo "$as_me: error: $1" >&2
   12150   as_fn_exit $as_status
   12151 } # as_fn_error
   12152 
   12153 
   12154 # as_fn_set_status STATUS
   12155 # -----------------------
   12156 # Set $? to STATUS, without forking.
   12157 as_fn_set_status ()
   12158 {
   12159   return $1
   12160 } # as_fn_set_status
   12161 
   12162 # as_fn_exit STATUS
   12163 # -----------------
   12164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12165 as_fn_exit ()
   12166 {
   12167   set +e
   12168   as_fn_set_status $1
   12169   exit $1
   12170 } # as_fn_exit
   12171 
   12172 # as_fn_unset VAR
   12173 # ---------------
   12174 # Portably unset VAR.
   12175 as_fn_unset ()
   12176 {
   12177   { eval $1=; unset $1;}
   12178 }
   12179 as_unset=as_fn_unset
   12180 # as_fn_append VAR VALUE
   12181 # ----------------------
   12182 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12183 # advantage of any shell optimizations that allow amortized linear growth over
   12184 # repeated appends, instead of the typical quadratic growth present in naive
   12185 # implementations.
   12186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12187   eval 'as_fn_append ()
   12188   {
   12189     eval $1+=\$2
   12190   }'
   12191 else
   12192   as_fn_append ()
   12193   {
   12194     eval $1=\$$1\$2
   12195   }
   12196 fi # as_fn_append
   12197 
   12198 # as_fn_arith ARG...
   12199 # ------------------
   12200 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12201 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12202 # must be portable across $(()) and expr.
   12203 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12204   eval 'as_fn_arith ()
   12205   {
   12206     as_val=$(( $* ))
   12207   }'
   12208 else
   12209   as_fn_arith ()
   12210   {
   12211     as_val=`expr "$@" || test $? -eq 1`
   12212   }
   12213 fi # as_fn_arith
   12214 
   12215 
   12216 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12217    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12218   as_expr=expr
   12219 else
   12220   as_expr=false
   12221 fi
   12222 
   12223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12224   as_basename=basename
   12225 else
   12226   as_basename=false
   12227 fi
   12228 
   12229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12230   as_dirname=dirname
   12231 else
   12232   as_dirname=false
   12233 fi
   12234 
   12235 as_me=`$as_basename -- "$0" ||
   12236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12237 	 X"$0" : 'X\(//\)$' \| \
   12238 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12239 $as_echo X/"$0" |
   12240     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12241 	    s//\1/
   12242 	    q
   12243 	  }
   12244 	  /^X\/\(\/\/\)$/{
   12245 	    s//\1/
   12246 	    q
   12247 	  }
   12248 	  /^X\/\(\/\).*/{
   12249 	    s//\1/
   12250 	    q
   12251 	  }
   12252 	  s/.*/./; q'`
   12253 
   12254 # Avoid depending upon Character Ranges.
   12255 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12256 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12257 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12258 as_cr_digits='0123456789'
   12259 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12260 
   12261 ECHO_C= ECHO_N= ECHO_T=
   12262 case `echo -n x` in #(((((
   12263 -n*)
   12264   case `echo 'xy\c'` in
   12265   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12266   xy)  ECHO_C='\c';;
   12267   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12268        ECHO_T='	';;
   12269   esac;;
   12270 *)
   12271   ECHO_N='-n';;
   12272 esac
   12273 
   12274 rm -f conf$$ conf$$.exe conf$$.file
   12275 if test -d conf$$.dir; then
   12276   rm -f conf$$.dir/conf$$.file
   12277 else
   12278   rm -f conf$$.dir
   12279   mkdir conf$$.dir 2>/dev/null
   12280 fi
   12281 if (echo >conf$$.file) 2>/dev/null; then
   12282   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12283     as_ln_s='ln -s'
   12284     # ... but there are two gotchas:
   12285     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12286     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12287     # In both cases, we have to default to `cp -p'.
   12288     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12289       as_ln_s='cp -p'
   12290   elif ln conf$$.file conf$$ 2>/dev/null; then
   12291     as_ln_s=ln
   12292   else
   12293     as_ln_s='cp -p'
   12294   fi
   12295 else
   12296   as_ln_s='cp -p'
   12297 fi
   12298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12299 rmdir conf$$.dir 2>/dev/null
   12300 
   12301 
   12302 # as_fn_mkdir_p
   12303 # -------------
   12304 # Create "$as_dir" as a directory, including parents if necessary.
   12305 as_fn_mkdir_p ()
   12306 {
   12307 
   12308   case $as_dir in #(
   12309   -*) as_dir=./$as_dir;;
   12310   esac
   12311   test -d "$as_dir" || eval $as_mkdir_p || {
   12312     as_dirs=
   12313     while :; do
   12314       case $as_dir in #(
   12315       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12316       *) as_qdir=$as_dir;;
   12317       esac
   12318       as_dirs="'$as_qdir' $as_dirs"
   12319       as_dir=`$as_dirname -- "$as_dir" ||
   12320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12321 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12322 	 X"$as_dir" : 'X\(//\)$' \| \
   12323 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12324 $as_echo X"$as_dir" |
   12325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12326 	    s//\1/
   12327 	    q
   12328 	  }
   12329 	  /^X\(\/\/\)[^/].*/{
   12330 	    s//\1/
   12331 	    q
   12332 	  }
   12333 	  /^X\(\/\/\)$/{
   12334 	    s//\1/
   12335 	    q
   12336 	  }
   12337 	  /^X\(\/\).*/{
   12338 	    s//\1/
   12339 	    q
   12340 	  }
   12341 	  s/.*/./; q'`
   12342       test -d "$as_dir" && break
   12343     done
   12344     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12345   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   12346 
   12347 
   12348 } # as_fn_mkdir_p
   12349 if mkdir -p . 2>/dev/null; then
   12350   as_mkdir_p='mkdir -p "$as_dir"'
   12351 else
   12352   test -d ./-p && rmdir ./-p
   12353   as_mkdir_p=false
   12354 fi
   12355 
   12356 if test -x / >/dev/null 2>&1; then
   12357   as_test_x='test -x'
   12358 else
   12359   if ls -dL / >/dev/null 2>&1; then
   12360     as_ls_L_option=L
   12361   else
   12362     as_ls_L_option=
   12363   fi
   12364   as_test_x='
   12365     eval sh -c '\''
   12366       if test -d "$1"; then
   12367 	test -d "$1/.";
   12368       else
   12369 	case $1 in #(
   12370 	-*)set "./$1";;
   12371 	esac;
   12372 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12373 	???[sx]*):;;*)false;;esac;fi
   12374     '\'' sh
   12375   '
   12376 fi
   12377 as_executable_p=$as_test_x
   12378 
   12379 # Sed expression to map a string onto a valid CPP name.
   12380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12381 
   12382 # Sed expression to map a string onto a valid variable name.
   12383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12384 
   12385 
   12386 exec 6>&1
   12387 ## ----------------------------------- ##
   12388 ## Main body of $CONFIG_STATUS script. ##
   12389 ## ----------------------------------- ##
   12390 _ASEOF
   12391 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12392 
   12393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12394 # Save the log message, to keep $0 and so on meaningful, and to
   12395 # report actual input values of CONFIG_FILES etc. instead of their
   12396 # values after options handling.
   12397 ac_log="
   12398 This file was extended by libdrm $as_me 2.4.14, which was
   12399 generated by GNU Autoconf 2.64.  Invocation command line was
   12400 
   12401   CONFIG_FILES    = $CONFIG_FILES
   12402   CONFIG_HEADERS  = $CONFIG_HEADERS
   12403   CONFIG_LINKS    = $CONFIG_LINKS
   12404   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12405   $ $0 $@
   12406 
   12407 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12408 "
   12409 
   12410 _ACEOF
   12411 
   12412 case $ac_config_files in *"
   12413 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12414 esac
   12415 
   12416 case $ac_config_headers in *"
   12417 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12418 esac
   12419 
   12420 
   12421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12422 # Files that config.status was made for.
   12423 config_files="$ac_config_files"
   12424 config_headers="$ac_config_headers"
   12425 config_commands="$ac_config_commands"
   12426 
   12427 _ACEOF
   12428 
   12429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12430 ac_cs_usage="\
   12431 \`$as_me' instantiates files and other configuration actions
   12432 from templates according to the current configuration.  Unless the files
   12433 and actions are specified as TAGs, all are instantiated by default.
   12434 
   12435 Usage: $0 [OPTION]... [TAG]...
   12436 
   12437   -h, --help       print this help, then exit
   12438   -V, --version    print version number and configuration settings, then exit
   12439   -q, --quiet, --silent
   12440                    do not print progress messages
   12441   -d, --debug      don't remove temporary files
   12442       --recheck    update $as_me by reconfiguring in the same conditions
   12443       --file=FILE[:TEMPLATE]
   12444                    instantiate the configuration file FILE
   12445       --header=FILE[:TEMPLATE]
   12446                    instantiate the configuration header FILE
   12447 
   12448 Configuration files:
   12449 $config_files
   12450 
   12451 Configuration headers:
   12452 $config_headers
   12453 
   12454 Configuration commands:
   12455 $config_commands
   12456 
   12457 Report bugs to <dri-devel (at] lists.sourceforge.net>."
   12458 
   12459 _ACEOF
   12460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12461 ac_cs_version="\\
   12462 libdrm config.status 2.4.14
   12463 configured by $0, generated by GNU Autoconf 2.64,
   12464   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   12465 
   12466 Copyright (C) 2009 Free Software Foundation, Inc.
   12467 This config.status script is free software; the Free Software Foundation
   12468 gives unlimited permission to copy, distribute and modify it."
   12469 
   12470 ac_pwd='$ac_pwd'
   12471 srcdir='$srcdir'
   12472 INSTALL='$INSTALL'
   12473 MKDIR_P='$MKDIR_P'
   12474 AWK='$AWK'
   12475 test -n "\$AWK" || AWK=awk
   12476 _ACEOF
   12477 
   12478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12479 # The default lists apply if the user does not specify any file.
   12480 ac_need_defaults=:
   12481 while test $# != 0
   12482 do
   12483   case $1 in
   12484   --*=*)
   12485     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12486     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12487     ac_shift=:
   12488     ;;
   12489   *)
   12490     ac_option=$1
   12491     ac_optarg=$2
   12492     ac_shift=shift
   12493     ;;
   12494   esac
   12495 
   12496   case $ac_option in
   12497   # Handling of the options.
   12498   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12499     ac_cs_recheck=: ;;
   12500   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12501     $as_echo "$ac_cs_version"; exit ;;
   12502   --debug | --debu | --deb | --de | --d | -d )
   12503     debug=: ;;
   12504   --file | --fil | --fi | --f )
   12505     $ac_shift
   12506     case $ac_optarg in
   12507     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12508     esac
   12509     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12510     ac_need_defaults=false;;
   12511   --header | --heade | --head | --hea )
   12512     $ac_shift
   12513     case $ac_optarg in
   12514     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12515     esac
   12516     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12517     ac_need_defaults=false;;
   12518   --he | --h)
   12519     # Conflict between --help and --header
   12520     as_fn_error "ambiguous option: \`$1'
   12521 Try \`$0 --help' for more information.";;
   12522   --help | --hel | -h )
   12523     $as_echo "$ac_cs_usage"; exit ;;
   12524   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12525   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12526     ac_cs_silent=: ;;
   12527 
   12528   # This is an error.
   12529   -*) as_fn_error "unrecognized option: \`$1'
   12530 Try \`$0 --help' for more information." ;;
   12531 
   12532   *) as_fn_append ac_config_targets " $1"
   12533      ac_need_defaults=false ;;
   12534 
   12535   esac
   12536   shift
   12537 done
   12538 
   12539 ac_configure_extra_args=
   12540 
   12541 if $ac_cs_silent; then
   12542   exec 6>/dev/null
   12543   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12544 fi
   12545 
   12546 _ACEOF
   12547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12548 if \$ac_cs_recheck; then
   12549   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12550   shift
   12551   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12552   CONFIG_SHELL='$SHELL'
   12553   export CONFIG_SHELL
   12554   exec "\$@"
   12555 fi
   12556 
   12557 _ACEOF
   12558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12559 exec 5>>config.log
   12560 {
   12561   echo
   12562   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12563 ## Running $as_me. ##
   12564 _ASBOX
   12565   $as_echo "$ac_log"
   12566 } >&5
   12567 
   12568 _ACEOF
   12569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12570 #
   12571 # INIT-COMMANDS
   12572 #
   12573 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12574 
   12575 
   12576 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12577 # if CDPATH is set.
   12578 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12579 
   12580 sed_quote_subst='$sed_quote_subst'
   12581 double_quote_subst='$double_quote_subst'
   12582 delay_variable_subst='$delay_variable_subst'
   12583 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12584 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12585 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12586 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12587 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12588 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12589 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12590 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12591 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12592 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12593 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12594 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12595 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12596 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12597 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12598 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12599 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12600 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12601 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12602 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12603 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12604 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12605 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12606 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12607 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12608 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12609 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12610 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12611 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12612 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12613 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12614 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12615 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12616 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12617 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12618 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12619 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12620 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12621 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12622 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12623 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12624 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12625 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12626 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12627 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   12628 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12629 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12630 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12631 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12632 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12633 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12634 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12635 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12636 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12637 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12638 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12639 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12640 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12641 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12642 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12643 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12644 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12645 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12646 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12647 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12648 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12649 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12650 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12651 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12652 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12653 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12654 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12655 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12656 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12657 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12658 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12659 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12660 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12661 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12662 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12663 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12664 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12665 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12666 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12667 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12668 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12669 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12670 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12671 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12672 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12673 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12674 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12675 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12676 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12677 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12678 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12679 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12680 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12681 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12682 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12683 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12684 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12685 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12686 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12687 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12688 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12689 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12690 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12691 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12692 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12693 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12694 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12695 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12696 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12697 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12698 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12699 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12700 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12701 
   12702 LTCC='$LTCC'
   12703 LTCFLAGS='$LTCFLAGS'
   12704 compiler='$compiler_DEFAULT'
   12705 
   12706 # Quote evaled strings.
   12707 for var in SED \
   12708 GREP \
   12709 EGREP \
   12710 FGREP \
   12711 LD \
   12712 NM \
   12713 LN_S \
   12714 lt_SP2NL \
   12715 lt_NL2SP \
   12716 reload_flag \
   12717 OBJDUMP \
   12718 deplibs_check_method \
   12719 file_magic_cmd \
   12720 AR \
   12721 AR_FLAGS \
   12722 STRIP \
   12723 RANLIB \
   12724 CC \
   12725 CFLAGS \
   12726 compiler \
   12727 lt_cv_sys_global_symbol_pipe \
   12728 lt_cv_sys_global_symbol_to_cdecl \
   12729 lt_cv_sys_global_symbol_to_c_name_address \
   12730 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12731 SHELL \
   12732 ECHO \
   12733 lt_prog_compiler_no_builtin_flag \
   12734 lt_prog_compiler_wl \
   12735 lt_prog_compiler_pic \
   12736 lt_prog_compiler_static \
   12737 lt_cv_prog_compiler_c_o \
   12738 need_locks \
   12739 DSYMUTIL \
   12740 NMEDIT \
   12741 LIPO \
   12742 OTOOL \
   12743 OTOOL64 \
   12744 shrext_cmds \
   12745 export_dynamic_flag_spec \
   12746 whole_archive_flag_spec \
   12747 compiler_needs_object \
   12748 with_gnu_ld \
   12749 allow_undefined_flag \
   12750 no_undefined_flag \
   12751 hardcode_libdir_flag_spec \
   12752 hardcode_libdir_flag_spec_ld \
   12753 hardcode_libdir_separator \
   12754 fix_srcfile_path \
   12755 exclude_expsyms \
   12756 include_expsyms \
   12757 file_list_spec \
   12758 variables_saved_for_relink \
   12759 libname_spec \
   12760 library_names_spec \
   12761 soname_spec \
   12762 finish_eval \
   12763 old_striplib \
   12764 striplib; do
   12765     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12766     *[\\\\\\\`\\"\\\$]*)
   12767       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12768       ;;
   12769     *)
   12770       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12771       ;;
   12772     esac
   12773 done
   12774 
   12775 # Double-quote double-evaled strings.
   12776 for var in reload_cmds \
   12777 old_postinstall_cmds \
   12778 old_postuninstall_cmds \
   12779 old_archive_cmds \
   12780 extract_expsyms_cmds \
   12781 old_archive_from_new_cmds \
   12782 old_archive_from_expsyms_cmds \
   12783 archive_cmds \
   12784 archive_expsym_cmds \
   12785 module_cmds \
   12786 module_expsym_cmds \
   12787 export_symbols_cmds \
   12788 prelink_cmds \
   12789 postinstall_cmds \
   12790 postuninstall_cmds \
   12791 finish_cmds \
   12792 sys_lib_search_path_spec \
   12793 sys_lib_dlsearch_path_spec; do
   12794     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12795     *[\\\\\\\`\\"\\\$]*)
   12796       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12797       ;;
   12798     *)
   12799       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12800       ;;
   12801     esac
   12802 done
   12803 
   12804 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12805 case \$lt_ECHO in
   12806 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12807   ;;
   12808 esac
   12809 
   12810 ac_aux_dir='$ac_aux_dir'
   12811 xsi_shell='$xsi_shell'
   12812 lt_shell_append='$lt_shell_append'
   12813 
   12814 # See if we are running on zsh, and set the options which allow our
   12815 # commands through without removal of \ escapes INIT.
   12816 if test -n "\${ZSH_VERSION+set}" ; then
   12817    setopt NO_GLOB_SUBST
   12818 fi
   12819 
   12820 
   12821     PACKAGE='$PACKAGE'
   12822     VERSION='$VERSION'
   12823     TIMESTAMP='$TIMESTAMP'
   12824     RM='$RM'
   12825     ofile='$ofile'
   12826 
   12827 
   12828 
   12829 
   12830 _ACEOF
   12831 
   12832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12833 
   12834 # Handling of arguments.
   12835 for ac_config_target in $ac_config_targets
   12836 do
   12837   case $ac_config_target in
   12838     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12839     "libdrm/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libdrm/config.h" ;;
   12840     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12841     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12842     "libdrm/Makefile") CONFIG_FILES="$CONFIG_FILES libdrm/Makefile" ;;
   12843     "libdrm/intel/Makefile") CONFIG_FILES="$CONFIG_FILES libdrm/intel/Makefile" ;;
   12844     "libdrm/radeon/Makefile") CONFIG_FILES="$CONFIG_FILES libdrm/radeon/Makefile" ;;
   12845     "libdrm/radeon/libdrm_radeon.pc") CONFIG_FILES="$CONFIG_FILES libdrm/radeon/libdrm_radeon.pc" ;;
   12846     "libdrm/nouveau/Makefile") CONFIG_FILES="$CONFIG_FILES libdrm/nouveau/Makefile" ;;
   12847     "libdrm/nouveau/libdrm_nouveau.pc") CONFIG_FILES="$CONFIG_FILES libdrm/nouveau/libdrm_nouveau.pc" ;;
   12848     "shared-core/Makefile") CONFIG_FILES="$CONFIG_FILES shared-core/Makefile" ;;
   12849     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   12850     "tests/modeprint/Makefile") CONFIG_FILES="$CONFIG_FILES tests/modeprint/Makefile" ;;
   12851     "tests/modetest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/modetest/Makefile" ;;
   12852     "libdrm.pc") CONFIG_FILES="$CONFIG_FILES libdrm.pc" ;;
   12853     "libdrm_intel.pc") CONFIG_FILES="$CONFIG_FILES libdrm_intel.pc" ;;
   12854 
   12855   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12856   esac
   12857 done
   12858 
   12859 
   12860 # If the user did not use the arguments to specify the items to instantiate,
   12861 # then the envvar interface is used.  Set only those that are not.
   12862 # We use the long form for the default assignment because of an extremely
   12863 # bizarre bug on SunOS 4.1.3.
   12864 if $ac_need_defaults; then
   12865   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12866   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12867   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12868 fi
   12869 
   12870 # Have a temporary directory for convenience.  Make it in the build tree
   12871 # simply because there is no reason against having it here, and in addition,
   12872 # creating and moving files from /tmp can sometimes cause problems.
   12873 # Hook for its removal unless debugging.
   12874 # Note that there is a small window in which the directory will not be cleaned:
   12875 # after its creation but before its name has been assigned to `$tmp'.
   12876 $debug ||
   12877 {
   12878   tmp=
   12879   trap 'exit_status=$?
   12880   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12881 ' 0
   12882   trap 'as_fn_exit 1' 1 2 13 15
   12883 }
   12884 # Create a (secure) tmp directory for tmp files.
   12885 
   12886 {
   12887   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12888   test -n "$tmp" && test -d "$tmp"
   12889 }  ||
   12890 {
   12891   tmp=./conf$$-$RANDOM
   12892   (umask 077 && mkdir "$tmp")
   12893 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   12894 
   12895 # Set up the scripts for CONFIG_FILES section.
   12896 # No need to generate them if there are no CONFIG_FILES.
   12897 # This happens for instance with `./config.status config.h'.
   12898 if test -n "$CONFIG_FILES"; then
   12899 
   12900 
   12901 ac_cr=`echo X | tr X '\015'`
   12902 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12903 # But we know of no other shell where ac_cr would be empty at this
   12904 # point, so we can use a bashism as a fallback.
   12905 if test "x$ac_cr" = x; then
   12906   eval ac_cr=\$\'\\r\'
   12907 fi
   12908 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12909 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12910   ac_cs_awk_cr='\r'
   12911 else
   12912   ac_cs_awk_cr=$ac_cr
   12913 fi
   12914 
   12915 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12916 _ACEOF
   12917 
   12918 
   12919 {
   12920   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12921   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12922   echo "_ACEOF"
   12923 } >conf$$subs.sh ||
   12924   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12925 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12926 ac_delim='%!_!# '
   12927 for ac_last_try in false false false false false :; do
   12928   . ./conf$$subs.sh ||
   12929     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12930 
   12931   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12932   if test $ac_delim_n = $ac_delim_num; then
   12933     break
   12934   elif $ac_last_try; then
   12935     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12936   else
   12937     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12938   fi
   12939 done
   12940 rm -f conf$$subs.sh
   12941 
   12942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12943 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12944 _ACEOF
   12945 sed -n '
   12946 h
   12947 s/^/S["/; s/!.*/"]=/
   12948 p
   12949 g
   12950 s/^[^!]*!//
   12951 :repl
   12952 t repl
   12953 s/'"$ac_delim"'$//
   12954 t delim
   12955 :nl
   12956 h
   12957 s/\(.\{148\}\).*/\1/
   12958 t more1
   12959 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12960 p
   12961 n
   12962 b repl
   12963 :more1
   12964 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12965 p
   12966 g
   12967 s/.\{148\}//
   12968 t nl
   12969 :delim
   12970 h
   12971 s/\(.\{148\}\).*/\1/
   12972 t more2
   12973 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12974 p
   12975 b
   12976 :more2
   12977 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12978 p
   12979 g
   12980 s/.\{148\}//
   12981 t delim
   12982 ' <conf$$subs.awk | sed '
   12983 /^[^""]/{
   12984   N
   12985   s/\n//
   12986 }
   12987 ' >>$CONFIG_STATUS || ac_write_fail=1
   12988 rm -f conf$$subs.awk
   12989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12990 _ACAWK
   12991 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12992   for (key in S) S_is_set[key] = 1
   12993   FS = ""
   12994 
   12995 }
   12996 {
   12997   line = $ 0
   12998   nfields = split(line, field, "@")
   12999   substed = 0
   13000   len = length(field[1])
   13001   for (i = 2; i < nfields; i++) {
   13002     key = field[i]
   13003     keylen = length(key)
   13004     if (S_is_set[key]) {
   13005       value = S[key]
   13006       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13007       len += length(value) + length(field[++i])
   13008       substed = 1
   13009     } else
   13010       len += 1 + keylen
   13011   }
   13012 
   13013   print line
   13014 }
   13015 
   13016 _ACAWK
   13017 _ACEOF
   13018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13019 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13020   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13021 else
   13022   cat
   13023 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13024   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   13025 _ACEOF
   13026 
   13027 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13028 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13029 # trailing colons and then remove the whole line if VPATH becomes empty
   13030 # (actually we leave an empty line to preserve line numbers).
   13031 if test "x$srcdir" = x.; then
   13032   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13033 s/:*\$(srcdir):*/:/
   13034 s/:*\${srcdir}:*/:/
   13035 s/:*@srcdir@:*/:/
   13036 s/^\([^=]*=[	 ]*\):*/\1/
   13037 s/:*$//
   13038 s/^[^=]*=[	 ]*$//
   13039 }'
   13040 fi
   13041 
   13042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13043 fi # test -n "$CONFIG_FILES"
   13044 
   13045 # Set up the scripts for CONFIG_HEADERS section.
   13046 # No need to generate them if there are no CONFIG_HEADERS.
   13047 # This happens for instance with `./config.status Makefile'.
   13048 if test -n "$CONFIG_HEADERS"; then
   13049 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13050 BEGIN {
   13051 _ACEOF
   13052 
   13053 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13054 # here-document in config.status, that substitutes the proper values into
   13055 # config.h.in to produce config.h.
   13056 
   13057 # Create a delimiter string that does not exist in confdefs.h, to ease
   13058 # handling of long lines.
   13059 ac_delim='%!_!# '
   13060 for ac_last_try in false false :; do
   13061   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13062   if test -z "$ac_t"; then
   13063     break
   13064   elif $ac_last_try; then
   13065     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   13066   else
   13067     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13068   fi
   13069 done
   13070 
   13071 # For the awk script, D is an array of macro values keyed by name,
   13072 # likewise P contains macro parameters if any.  Preserve backslash
   13073 # newline sequences.
   13074 
   13075 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13076 sed -n '
   13077 s/.\{148\}/&'"$ac_delim"'/g
   13078 t rset
   13079 :rset
   13080 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13081 t def
   13082 d
   13083 :def
   13084 s/\\$//
   13085 t bsnl
   13086 s/["\\]/\\&/g
   13087 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13088 D["\1"]=" \3"/p
   13089 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13090 d
   13091 :bsnl
   13092 s/["\\]/\\&/g
   13093 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13094 D["\1"]=" \3\\\\\\n"\\/p
   13095 t cont
   13096 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13097 t cont
   13098 d
   13099 :cont
   13100 n
   13101 s/.\{148\}/&'"$ac_delim"'/g
   13102 t clear
   13103 :clear
   13104 s/\\$//
   13105 t bsnlc
   13106 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13107 d
   13108 :bsnlc
   13109 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13110 b cont
   13111 ' <confdefs.h | sed '
   13112 s/'"$ac_delim"'/"\\\
   13113 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13114 
   13115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13116   for (key in D) D_is_set[key] = 1
   13117   FS = ""
   13118 }
   13119 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13120   line = \$ 0
   13121   split(line, arg, " ")
   13122   if (arg[1] == "#") {
   13123     defundef = arg[2]
   13124     mac1 = arg[3]
   13125   } else {
   13126     defundef = substr(arg[1], 2)
   13127     mac1 = arg[2]
   13128   }
   13129   split(mac1, mac2, "(") #)
   13130   macro = mac2[1]
   13131   prefix = substr(line, 1, index(line, defundef) - 1)
   13132   if (D_is_set[macro]) {
   13133     # Preserve the white space surrounding the "#".
   13134     print prefix "define", macro P[macro] D[macro]
   13135     next
   13136   } else {
   13137     # Replace #undef with comments.  This is necessary, for example,
   13138     # in the case of _POSIX_SOURCE, which is predefined and required
   13139     # on some systems where configure will not decide to define it.
   13140     if (defundef == "undef") {
   13141       print "/*", prefix defundef, macro, "*/"
   13142       next
   13143     }
   13144   }
   13145 }
   13146 { print }
   13147 _ACAWK
   13148 _ACEOF
   13149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13150   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   13151 fi # test -n "$CONFIG_HEADERS"
   13152 
   13153 
   13154 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13155 shift
   13156 for ac_tag
   13157 do
   13158   case $ac_tag in
   13159   :[FHLC]) ac_mode=$ac_tag; continue;;
   13160   esac
   13161   case $ac_mode$ac_tag in
   13162   :[FHL]*:*);;
   13163   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13164   :[FH]-) ac_tag=-:-;;
   13165   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13166   esac
   13167   ac_save_IFS=$IFS
   13168   IFS=:
   13169   set x $ac_tag
   13170   IFS=$ac_save_IFS
   13171   shift
   13172   ac_file=$1
   13173   shift
   13174 
   13175   case $ac_mode in
   13176   :L) ac_source=$1;;
   13177   :[FH])
   13178     ac_file_inputs=
   13179     for ac_f
   13180     do
   13181       case $ac_f in
   13182       -) ac_f="$tmp/stdin";;
   13183       *) # Look for the file first in the build tree, then in the source tree
   13184 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13185 	 # because $ac_f cannot contain `:'.
   13186 	 test -f "$ac_f" ||
   13187 	   case $ac_f in
   13188 	   [\\/$]*) false;;
   13189 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13190 	   esac ||
   13191 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13192       esac
   13193       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13194       as_fn_append ac_file_inputs " '$ac_f'"
   13195     done
   13196 
   13197     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13198     # use $as_me), people would be surprised to read:
   13199     #    /* config.h.  Generated by config.status.  */
   13200     configure_input='Generated from '`
   13201 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13202 	`' by configure.'
   13203     if test x"$ac_file" != x-; then
   13204       configure_input="$ac_file.  $configure_input"
   13205       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13206 $as_echo "$as_me: creating $ac_file" >&6;}
   13207     fi
   13208     # Neutralize special characters interpreted by sed in replacement strings.
   13209     case $configure_input in #(
   13210     *\&* | *\|* | *\\* )
   13211        ac_sed_conf_input=`$as_echo "$configure_input" |
   13212        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13213     *) ac_sed_conf_input=$configure_input;;
   13214     esac
   13215 
   13216     case $ac_tag in
   13217     *:-:* | *:-) cat >"$tmp/stdin" \
   13218       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   13219     esac
   13220     ;;
   13221   esac
   13222 
   13223   ac_dir=`$as_dirname -- "$ac_file" ||
   13224 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13225 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13226 	 X"$ac_file" : 'X\(//\)$' \| \
   13227 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13228 $as_echo X"$ac_file" |
   13229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13230 	    s//\1/
   13231 	    q
   13232 	  }
   13233 	  /^X\(\/\/\)[^/].*/{
   13234 	    s//\1/
   13235 	    q
   13236 	  }
   13237 	  /^X\(\/\/\)$/{
   13238 	    s//\1/
   13239 	    q
   13240 	  }
   13241 	  /^X\(\/\).*/{
   13242 	    s//\1/
   13243 	    q
   13244 	  }
   13245 	  s/.*/./; q'`
   13246   as_dir="$ac_dir"; as_fn_mkdir_p
   13247   ac_builddir=.
   13248 
   13249 case "$ac_dir" in
   13250 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13251 *)
   13252   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13253   # A ".." for each directory in $ac_dir_suffix.
   13254   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13255   case $ac_top_builddir_sub in
   13256   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13257   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13258   esac ;;
   13259 esac
   13260 ac_abs_top_builddir=$ac_pwd
   13261 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13262 # for backward compatibility:
   13263 ac_top_builddir=$ac_top_build_prefix
   13264 
   13265 case $srcdir in
   13266   .)  # We are building in place.
   13267     ac_srcdir=.
   13268     ac_top_srcdir=$ac_top_builddir_sub
   13269     ac_abs_top_srcdir=$ac_pwd ;;
   13270   [\\/]* | ?:[\\/]* )  # Absolute name.
   13271     ac_srcdir=$srcdir$ac_dir_suffix;
   13272     ac_top_srcdir=$srcdir
   13273     ac_abs_top_srcdir=$srcdir ;;
   13274   *) # Relative name.
   13275     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13276     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13277     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13278 esac
   13279 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13280 
   13281 
   13282   case $ac_mode in
   13283   :F)
   13284   #
   13285   # CONFIG_FILE
   13286   #
   13287 
   13288   case $INSTALL in
   13289   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13290   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13291   esac
   13292   ac_MKDIR_P=$MKDIR_P
   13293   case $MKDIR_P in
   13294   [\\/$]* | ?:[\\/]* ) ;;
   13295   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13296   esac
   13297 _ACEOF
   13298 
   13299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13300 # If the template does not know about datarootdir, expand it.
   13301 # FIXME: This hack should be removed a few years after 2.60.
   13302 ac_datarootdir_hack=; ac_datarootdir_seen=
   13303 ac_sed_dataroot='
   13304 /datarootdir/ {
   13305   p
   13306   q
   13307 }
   13308 /@datadir@/p
   13309 /@docdir@/p
   13310 /@infodir@/p
   13311 /@localedir@/p
   13312 /@mandir@/p'
   13313 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13314 *datarootdir*) ac_datarootdir_seen=yes;;
   13315 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13316   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13317 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13318 _ACEOF
   13319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13320   ac_datarootdir_hack='
   13321   s&@datadir@&$datadir&g
   13322   s&@docdir@&$docdir&g
   13323   s&@infodir@&$infodir&g
   13324   s&@localedir@&$localedir&g
   13325   s&@mandir@&$mandir&g
   13326   s&\\\${datarootdir}&$datarootdir&g' ;;
   13327 esac
   13328 _ACEOF
   13329 
   13330 # Neutralize VPATH when `$srcdir' = `.'.
   13331 # Shell code in configure.ac might set extrasub.
   13332 # FIXME: do we really want to maintain this feature?
   13333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13334 ac_sed_extra="$ac_vpsub
   13335 $extrasub
   13336 _ACEOF
   13337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13338 :t
   13339 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13340 s|@configure_input@|$ac_sed_conf_input|;t t
   13341 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13342 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13343 s&@srcdir@&$ac_srcdir&;t t
   13344 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13345 s&@top_srcdir@&$ac_top_srcdir&;t t
   13346 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13347 s&@builddir@&$ac_builddir&;t t
   13348 s&@abs_builddir@&$ac_abs_builddir&;t t
   13349 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13350 s&@INSTALL@&$ac_INSTALL&;t t
   13351 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13352 $ac_datarootdir_hack
   13353 "
   13354 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13355   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13356 
   13357 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13358   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13359   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13360   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13361 which seems to be undefined.  Please make sure it is defined." >&5
   13362 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13363 which seems to be undefined.  Please make sure it is defined." >&2;}
   13364 
   13365   rm -f "$tmp/stdin"
   13366   case $ac_file in
   13367   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13368   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13369   esac \
   13370   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13371  ;;
   13372   :H)
   13373   #
   13374   # CONFIG_HEADER
   13375   #
   13376   if test x"$ac_file" != x-; then
   13377     {
   13378       $as_echo "/* $configure_input  */" \
   13379       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13380     } >"$tmp/config.h" \
   13381       || as_fn_error "could not create $ac_file" "$LINENO" 5
   13382     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13383       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13384 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13385     else
   13386       rm -f "$ac_file"
   13387       mv "$tmp/config.h" "$ac_file" \
   13388 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   13389     fi
   13390   else
   13391     $as_echo "/* $configure_input  */" \
   13392       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13393       || as_fn_error "could not create -" "$LINENO" 5
   13394   fi
   13395 # Compute "$ac_file"'s index in $config_headers.
   13396 _am_arg="$ac_file"
   13397 _am_stamp_count=1
   13398 for _am_header in $config_headers :; do
   13399   case $_am_header in
   13400     $_am_arg | $_am_arg:* )
   13401       break ;;
   13402     * )
   13403       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13404   esac
   13405 done
   13406 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13407 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13408 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13409 	 X"$_am_arg" : 'X\(//\)$' \| \
   13410 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13411 $as_echo X"$_am_arg" |
   13412     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13413 	    s//\1/
   13414 	    q
   13415 	  }
   13416 	  /^X\(\/\/\)[^/].*/{
   13417 	    s//\1/
   13418 	    q
   13419 	  }
   13420 	  /^X\(\/\/\)$/{
   13421 	    s//\1/
   13422 	    q
   13423 	  }
   13424 	  /^X\(\/\).*/{
   13425 	    s//\1/
   13426 	    q
   13427 	  }
   13428 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13429  ;;
   13430 
   13431   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13432 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13433  ;;
   13434   esac
   13435 
   13436 
   13437   case $ac_file$ac_mode in
   13438     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # 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     "libtool":C)
   13532 
   13533     # See if we are running on zsh, and set the options which allow our
   13534     # commands through without removal of \ escapes.
   13535     if test -n "${ZSH_VERSION+set}" ; then
   13536       setopt NO_GLOB_SUBST
   13537     fi
   13538 
   13539     cfgfile="${ofile}T"
   13540     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13541     $RM "$cfgfile"
   13542 
   13543     cat <<_LT_EOF >> "$cfgfile"
   13544 #! $SHELL
   13545 
   13546 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13547 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13548 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13549 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13550 #
   13551 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13552 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13553 #   Written by Gordon Matzigkeit, 1996
   13554 #
   13555 #   This file is part of GNU Libtool.
   13556 #
   13557 # GNU Libtool is free software; you can redistribute it and/or
   13558 # modify it under the terms of the GNU General Public License as
   13559 # published by the Free Software Foundation; either version 2 of
   13560 # the License, or (at your option) any later version.
   13561 #
   13562 # As a special exception to the GNU General Public License,
   13563 # if you distribute this file as part of a program or library that
   13564 # is built using GNU Libtool, you may include this file under the
   13565 # same distribution terms that you use for the rest of that program.
   13566 #
   13567 # GNU Libtool is distributed in the hope that it will be useful,
   13568 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13569 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13570 # GNU General Public License for more details.
   13571 #
   13572 # You should have received a copy of the GNU General Public License
   13573 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13574 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13575 # obtained by writing to the Free Software Foundation, Inc.,
   13576 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13577 
   13578 
   13579 # The names of the tagged configurations supported by this script.
   13580 available_tags=""
   13581 
   13582 # ### BEGIN LIBTOOL CONFIG
   13583 
   13584 # Whether or not to build static libraries.
   13585 build_old_libs=$enable_static
   13586 
   13587 # Which release of libtool.m4 was used?
   13588 macro_version=$macro_version
   13589 macro_revision=$macro_revision
   13590 
   13591 # Whether or not to build shared libraries.
   13592 build_libtool_libs=$enable_shared
   13593 
   13594 # What type of objects to build.
   13595 pic_mode=$pic_mode
   13596 
   13597 # Whether or not to optimize for fast installation.
   13598 fast_install=$enable_fast_install
   13599 
   13600 # The host system.
   13601 host_alias=$host_alias
   13602 host=$host
   13603 host_os=$host_os
   13604 
   13605 # The build system.
   13606 build_alias=$build_alias
   13607 build=$build
   13608 build_os=$build_os
   13609 
   13610 # A sed program that does not truncate output.
   13611 SED=$lt_SED
   13612 
   13613 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13614 Xsed="\$SED -e 1s/^X//"
   13615 
   13616 # A grep program that handles long lines.
   13617 GREP=$lt_GREP
   13618 
   13619 # An ERE matcher.
   13620 EGREP=$lt_EGREP
   13621 
   13622 # A literal string matcher.
   13623 FGREP=$lt_FGREP
   13624 
   13625 # A BSD- or MS-compatible name lister.
   13626 NM=$lt_NM
   13627 
   13628 # Whether we need soft or hard links.
   13629 LN_S=$lt_LN_S
   13630 
   13631 # What is the maximum length of a command?
   13632 max_cmd_len=$max_cmd_len
   13633 
   13634 # Object file suffix (normally "o").
   13635 objext=$ac_objext
   13636 
   13637 # Executable file suffix (normally "").
   13638 exeext=$exeext
   13639 
   13640 # whether the shell understands "unset".
   13641 lt_unset=$lt_unset
   13642 
   13643 # turn spaces into newlines.
   13644 SP2NL=$lt_lt_SP2NL
   13645 
   13646 # turn newlines into spaces.
   13647 NL2SP=$lt_lt_NL2SP
   13648 
   13649 # How to create reloadable object files.
   13650 reload_flag=$lt_reload_flag
   13651 reload_cmds=$lt_reload_cmds
   13652 
   13653 # An object symbol dumper.
   13654 OBJDUMP=$lt_OBJDUMP
   13655 
   13656 # Method to check whether dependent libraries are shared objects.
   13657 deplibs_check_method=$lt_deplibs_check_method
   13658 
   13659 # Command to use when deplibs_check_method == "file_magic".
   13660 file_magic_cmd=$lt_file_magic_cmd
   13661 
   13662 # The archiver.
   13663 AR=$lt_AR
   13664 AR_FLAGS=$lt_AR_FLAGS
   13665 
   13666 # A symbol stripping program.
   13667 STRIP=$lt_STRIP
   13668 
   13669 # Commands used to install an old-style archive.
   13670 RANLIB=$lt_RANLIB
   13671 old_postinstall_cmds=$lt_old_postinstall_cmds
   13672 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13673 
   13674 # A C compiler.
   13675 LTCC=$lt_CC
   13676 
   13677 # LTCC compiler flags.
   13678 LTCFLAGS=$lt_CFLAGS
   13679 
   13680 # Take the output of nm and produce a listing of raw symbols and C names.
   13681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13682 
   13683 # Transform the output of nm in a proper C declaration.
   13684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13685 
   13686 # Transform the output of nm in a C name address pair.
   13687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13688 
   13689 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13690 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13691 
   13692 # The name of the directory that contains temporary libtool files.
   13693 objdir=$objdir
   13694 
   13695 # Shell to use when invoking shell scripts.
   13696 SHELL=$lt_SHELL
   13697 
   13698 # An echo program that does not interpret backslashes.
   13699 ECHO=$lt_ECHO
   13700 
   13701 # Used to examine libraries when file_magic_cmd begins with "file".
   13702 MAGIC_CMD=$MAGIC_CMD
   13703 
   13704 # Must we lock files when doing compilation?
   13705 need_locks=$lt_need_locks
   13706 
   13707 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13708 DSYMUTIL=$lt_DSYMUTIL
   13709 
   13710 # Tool to change global to local symbols on Mac OS X.
   13711 NMEDIT=$lt_NMEDIT
   13712 
   13713 # Tool to manipulate fat objects and archives on Mac OS X.
   13714 LIPO=$lt_LIPO
   13715 
   13716 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13717 OTOOL=$lt_OTOOL
   13718 
   13719 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13720 OTOOL64=$lt_OTOOL64
   13721 
   13722 # Old archive suffix (normally "a").
   13723 libext=$libext
   13724 
   13725 # Shared library suffix (normally ".so").
   13726 shrext_cmds=$lt_shrext_cmds
   13727 
   13728 # The commands to extract the exported symbol list from a shared archive.
   13729 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13730 
   13731 # Variables whose values should be saved in libtool wrapper scripts and
   13732 # restored at link time.
   13733 variables_saved_for_relink=$lt_variables_saved_for_relink
   13734 
   13735 # Do we need the "lib" prefix for modules?
   13736 need_lib_prefix=$need_lib_prefix
   13737 
   13738 # Do we need a version for libraries?
   13739 need_version=$need_version
   13740 
   13741 # Library versioning type.
   13742 version_type=$version_type
   13743 
   13744 # Shared library runtime path variable.
   13745 runpath_var=$runpath_var
   13746 
   13747 # Shared library path variable.
   13748 shlibpath_var=$shlibpath_var
   13749 
   13750 # Is shlibpath searched before the hard-coded library search path?
   13751 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13752 
   13753 # Format of library name prefix.
   13754 libname_spec=$lt_libname_spec
   13755 
   13756 # List of archive names.  First name is the real one, the rest are links.
   13757 # The last name is the one that the linker finds with -lNAME
   13758 library_names_spec=$lt_library_names_spec
   13759 
   13760 # The coded name of the library, if different from the real name.
   13761 soname_spec=$lt_soname_spec
   13762 
   13763 # Command to use after installation of a shared archive.
   13764 postinstall_cmds=$lt_postinstall_cmds
   13765 
   13766 # Command to use after uninstallation of a shared archive.
   13767 postuninstall_cmds=$lt_postuninstall_cmds
   13768 
   13769 # Commands used to finish a libtool library installation in a directory.
   13770 finish_cmds=$lt_finish_cmds
   13771 
   13772 # As "finish_cmds", except a single script fragment to be evaled but
   13773 # not shown.
   13774 finish_eval=$lt_finish_eval
   13775 
   13776 # Whether we should hardcode library paths into libraries.
   13777 hardcode_into_libs=$hardcode_into_libs
   13778 
   13779 # Compile-time system search path for libraries.
   13780 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13781 
   13782 # Run-time system search path for libraries.
   13783 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13784 
   13785 # Whether dlopen is supported.
   13786 dlopen_support=$enable_dlopen
   13787 
   13788 # Whether dlopen of programs is supported.
   13789 dlopen_self=$enable_dlopen_self
   13790 
   13791 # Whether dlopen of statically linked programs is supported.
   13792 dlopen_self_static=$enable_dlopen_self_static
   13793 
   13794 # Commands to strip libraries.
   13795 old_striplib=$lt_old_striplib
   13796 striplib=$lt_striplib
   13797 
   13798 
   13799 # The linker used to build libraries.
   13800 LD=$lt_LD
   13801 
   13802 # Commands used to build an old-style archive.
   13803 old_archive_cmds=$lt_old_archive_cmds
   13804 
   13805 # A language specific compiler.
   13806 CC=$lt_compiler
   13807 
   13808 # Is the compiler the GNU compiler?
   13809 with_gcc=$GCC
   13810 
   13811 # Compiler flag to turn off builtin functions.
   13812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13813 
   13814 # How to pass a linker flag through the compiler.
   13815 wl=$lt_lt_prog_compiler_wl
   13816 
   13817 # Additional compiler flags for building library objects.
   13818 pic_flag=$lt_lt_prog_compiler_pic
   13819 
   13820 # Compiler flag to prevent dynamic linking.
   13821 link_static_flag=$lt_lt_prog_compiler_static
   13822 
   13823 # Does compiler simultaneously support -c and -o options?
   13824 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13825 
   13826 # Whether or not to add -lc for building shared libraries.
   13827 build_libtool_need_lc=$archive_cmds_need_lc
   13828 
   13829 # Whether or not to disallow shared libs when runtime libs are static.
   13830 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13831 
   13832 # Compiler flag to allow reflexive dlopens.
   13833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13834 
   13835 # Compiler flag to generate shared objects directly from archives.
   13836 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13837 
   13838 # Whether the compiler copes with passing no objects directly.
   13839 compiler_needs_object=$lt_compiler_needs_object
   13840 
   13841 # Create an old-style archive from a shared archive.
   13842 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13843 
   13844 # Create a temporary old-style archive to link instead of a shared archive.
   13845 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13846 
   13847 # Commands used to build a shared archive.
   13848 archive_cmds=$lt_archive_cmds
   13849 archive_expsym_cmds=$lt_archive_expsym_cmds
   13850 
   13851 # Commands used to build a loadable module if different from building
   13852 # a shared archive.
   13853 module_cmds=$lt_module_cmds
   13854 module_expsym_cmds=$lt_module_expsym_cmds
   13855 
   13856 # Whether we are building with GNU ld or not.
   13857 with_gnu_ld=$lt_with_gnu_ld
   13858 
   13859 # Flag that allows shared libraries with undefined symbols to be built.
   13860 allow_undefined_flag=$lt_allow_undefined_flag
   13861 
   13862 # Flag that enforces no undefined symbols.
   13863 no_undefined_flag=$lt_no_undefined_flag
   13864 
   13865 # Flag to hardcode \$libdir into a binary during linking.
   13866 # This must work even if \$libdir does not exist
   13867 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13868 
   13869 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13870 # during linking.  This must work even if \$libdir does not exist.
   13871 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13872 
   13873 # Whether we need a single "-rpath" flag with a separated argument.
   13874 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13875 
   13876 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13877 # DIR into the resulting binary.
   13878 hardcode_direct=$hardcode_direct
   13879 
   13880 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13881 # DIR into the resulting binary and the resulting library dependency is
   13882 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13883 # library is relocated.
   13884 hardcode_direct_absolute=$hardcode_direct_absolute
   13885 
   13886 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13887 # into the resulting binary.
   13888 hardcode_minus_L=$hardcode_minus_L
   13889 
   13890 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13891 # into the resulting binary.
   13892 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13893 
   13894 # Set to "yes" if building a shared library automatically hardcodes DIR
   13895 # into the library and all subsequent libraries and executables linked
   13896 # against it.
   13897 hardcode_automatic=$hardcode_automatic
   13898 
   13899 # Set to yes if linker adds runtime paths of dependent libraries
   13900 # to runtime path list.
   13901 inherit_rpath=$inherit_rpath
   13902 
   13903 # Whether libtool must link a program against all its dependency libraries.
   13904 link_all_deplibs=$link_all_deplibs
   13905 
   13906 # Fix the shell variable \$srcfile for the compiler.
   13907 fix_srcfile_path=$lt_fix_srcfile_path
   13908 
   13909 # Set to "yes" if exported symbols are required.
   13910 always_export_symbols=$always_export_symbols
   13911 
   13912 # The commands to list exported symbols.
   13913 export_symbols_cmds=$lt_export_symbols_cmds
   13914 
   13915 # Symbols that should not be listed in the preloaded symbols.
   13916 exclude_expsyms=$lt_exclude_expsyms
   13917 
   13918 # Symbols that must always be exported.
   13919 include_expsyms=$lt_include_expsyms
   13920 
   13921 # Commands necessary for linking programs (against libraries) with templates.
   13922 prelink_cmds=$lt_prelink_cmds
   13923 
   13924 # Specify filename containing input files.
   13925 file_list_spec=$lt_file_list_spec
   13926 
   13927 # How to hardcode a shared library path into an executable.
   13928 hardcode_action=$hardcode_action
   13929 
   13930 # ### END LIBTOOL CONFIG
   13931 
   13932 _LT_EOF
   13933 
   13934   case $host_os in
   13935   aix3*)
   13936     cat <<\_LT_EOF >> "$cfgfile"
   13937 # AIX sometimes has problems with the GCC collect2 program.  For some
   13938 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13939 # vanish in a puff of smoke.
   13940 if test "X${COLLECT_NAMES+set}" != Xset; then
   13941   COLLECT_NAMES=
   13942   export COLLECT_NAMES
   13943 fi
   13944 _LT_EOF
   13945     ;;
   13946   esac
   13947 
   13948 
   13949 ltmain="$ac_aux_dir/ltmain.sh"
   13950 
   13951 
   13952   # We use sed instead of cat because bash on DJGPP gets confused if
   13953   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13954   # text mode, it properly converts lines to CR/LF.  This bash problem
   13955   # is reportedly fixed, but why not run on old versions too?
   13956   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13957     || (rm -f "$cfgfile"; exit 1)
   13958 
   13959   case $xsi_shell in
   13960   yes)
   13961     cat << \_LT_EOF >> "$cfgfile"
   13962 
   13963 # func_dirname file append nondir_replacement
   13964 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13965 # otherwise set result to NONDIR_REPLACEMENT.
   13966 func_dirname ()
   13967 {
   13968   case ${1} in
   13969     */*) func_dirname_result="${1%/*}${2}" ;;
   13970     *  ) func_dirname_result="${3}" ;;
   13971   esac
   13972 }
   13973 
   13974 # func_basename file
   13975 func_basename ()
   13976 {
   13977   func_basename_result="${1##*/}"
   13978 }
   13979 
   13980 # func_dirname_and_basename file append nondir_replacement
   13981 # perform func_basename and func_dirname in a single function
   13982 # call:
   13983 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13984 #             add APPEND to the result, otherwise set result
   13985 #             to NONDIR_REPLACEMENT.
   13986 #             value returned in "$func_dirname_result"
   13987 #   basename: Compute filename of FILE.
   13988 #             value retuned in "$func_basename_result"
   13989 # Implementation must be kept synchronized with func_dirname
   13990 # and func_basename. For efficiency, we do not delegate to
   13991 # those functions but instead duplicate the functionality here.
   13992 func_dirname_and_basename ()
   13993 {
   13994   case ${1} in
   13995     */*) func_dirname_result="${1%/*}${2}" ;;
   13996     *  ) func_dirname_result="${3}" ;;
   13997   esac
   13998   func_basename_result="${1##*/}"
   13999 }
   14000 
   14001 # func_stripname prefix suffix name
   14002 # strip PREFIX and SUFFIX off of NAME.
   14003 # PREFIX and SUFFIX must not contain globbing or regex special
   14004 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14005 # dot (in which case that matches only a dot).
   14006 func_stripname ()
   14007 {
   14008   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14009   # positional parameters, so assign one to ordinary parameter first.
   14010   func_stripname_result=${3}
   14011   func_stripname_result=${func_stripname_result#"${1}"}
   14012   func_stripname_result=${func_stripname_result%"${2}"}
   14013 }
   14014 
   14015 # func_opt_split
   14016 func_opt_split ()
   14017 {
   14018   func_opt_split_opt=${1%%=*}
   14019   func_opt_split_arg=${1#*=}
   14020 }
   14021 
   14022 # func_lo2o object
   14023 func_lo2o ()
   14024 {
   14025   case ${1} in
   14026     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14027     *)    func_lo2o_result=${1} ;;
   14028   esac
   14029 }
   14030 
   14031 # func_xform libobj-or-source
   14032 func_xform ()
   14033 {
   14034   func_xform_result=${1%.*}.lo
   14035 }
   14036 
   14037 # func_arith arithmetic-term...
   14038 func_arith ()
   14039 {
   14040   func_arith_result=$(( $* ))
   14041 }
   14042 
   14043 # func_len string
   14044 # STRING may not start with a hyphen.
   14045 func_len ()
   14046 {
   14047   func_len_result=${#1}
   14048 }
   14049 
   14050 _LT_EOF
   14051     ;;
   14052   *) # Bourne compatible functions.
   14053     cat << \_LT_EOF >> "$cfgfile"
   14054 
   14055 # func_dirname file append nondir_replacement
   14056 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14057 # otherwise set result to NONDIR_REPLACEMENT.
   14058 func_dirname ()
   14059 {
   14060   # Extract subdirectory from the argument.
   14061   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14062   if test "X$func_dirname_result" = "X${1}"; then
   14063     func_dirname_result="${3}"
   14064   else
   14065     func_dirname_result="$func_dirname_result${2}"
   14066   fi
   14067 }
   14068 
   14069 # func_basename file
   14070 func_basename ()
   14071 {
   14072   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14073 }
   14074 
   14075 
   14076 # func_stripname prefix suffix name
   14077 # strip PREFIX and SUFFIX off of NAME.
   14078 # PREFIX and SUFFIX must not contain globbing or regex special
   14079 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14080 # dot (in which case that matches only a dot).
   14081 # func_strip_suffix prefix name
   14082 func_stripname ()
   14083 {
   14084   case ${2} in
   14085     .*) func_stripname_result=`$ECHO "X${3}" \
   14086            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14087     *)  func_stripname_result=`$ECHO "X${3}" \
   14088            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14089   esac
   14090 }
   14091 
   14092 # sed scripts:
   14093 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14094 my_sed_long_arg='1s/^-[^=]*=//'
   14095 
   14096 # func_opt_split
   14097 func_opt_split ()
   14098 {
   14099   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14100   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14101 }
   14102 
   14103 # func_lo2o object
   14104 func_lo2o ()
   14105 {
   14106   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14107 }
   14108 
   14109 # func_xform libobj-or-source
   14110 func_xform ()
   14111 {
   14112   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14113 }
   14114 
   14115 # func_arith arithmetic-term...
   14116 func_arith ()
   14117 {
   14118   func_arith_result=`expr "$@"`
   14119 }
   14120 
   14121 # func_len string
   14122 # STRING may not start with a hyphen.
   14123 func_len ()
   14124 {
   14125   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14126 }
   14127 
   14128 _LT_EOF
   14129 esac
   14130 
   14131 case $lt_shell_append in
   14132   yes)
   14133     cat << \_LT_EOF >> "$cfgfile"
   14134 
   14135 # func_append var value
   14136 # Append VALUE to the end of shell variable VAR.
   14137 func_append ()
   14138 {
   14139   eval "$1+=\$2"
   14140 }
   14141 _LT_EOF
   14142     ;;
   14143   *)
   14144     cat << \_LT_EOF >> "$cfgfile"
   14145 
   14146 # func_append var value
   14147 # Append VALUE to the end of shell variable VAR.
   14148 func_append ()
   14149 {
   14150   eval "$1=\$$1\$2"
   14151 }
   14152 
   14153 _LT_EOF
   14154     ;;
   14155   esac
   14156 
   14157 
   14158   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14159     || (rm -f "$cfgfile"; exit 1)
   14160 
   14161   mv -f "$cfgfile" "$ofile" ||
   14162     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14163   chmod +x "$ofile"
   14164 
   14165  ;;
   14166 
   14167   esac
   14168 done # for ac_tag
   14169 
   14170 
   14171 as_fn_exit 0
   14172 _ACEOF
   14173 ac_clean_files=$ac_clean_files_save
   14174 
   14175 test $ac_write_fail = 0 ||
   14176   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14177 
   14178 
   14179 # configure is writing to config.log, and then calls config.status.
   14180 # config.status does its own redirection, appending to config.log.
   14181 # Unfortunately, on DOS this fails, as config.log is still kept open
   14182 # by configure, so config.status won't be able to write to it; its
   14183 # output is simply discarded.  So we exec the FD to /dev/null,
   14184 # effectively closing config.log, so it can be properly (re)opened and
   14185 # appended to by config.status.  When coming back to configure, we
   14186 # need to make the FD available again.
   14187 if test "$no_create" != yes; then
   14188   ac_cs_success=:
   14189   ac_config_status_args=
   14190   test "$silent" = yes &&
   14191     ac_config_status_args="$ac_config_status_args --quiet"
   14192   exec 5>/dev/null
   14193   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14194   exec 5>>config.log
   14195   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14196   # would make configure fail if this is the last instruction.
   14197   $ac_cs_success || as_fn_exit $?
   14198 fi
   14199 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14200   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14201 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14202 fi
   14203 
   14204