Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for xf86-video-ark 0.7.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10 # Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1"
    177   if (eval "$as_required") 2>/dev/null; then :
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    183 
    184 else
    185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    186 as_found=false
    187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    188 do
    189   IFS=$as_save_IFS
    190   test -z "$as_dir" && as_dir=.
    191   as_found=:
    192   case $as_dir in #(
    193 	 /*)
    194 	   for as_base in sh bash ksh sh5; do
    195 	     # Try only shells that exist, to save several forks.
    196 	     as_shell=$as_dir/$as_base
    197 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    198 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   CONFIG_SHELL=$as_shell as_have_required=yes
    200 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    201   break 2
    202 fi
    203 fi
    204 	   done;;
    205        esac
    206   as_found=false
    207 done
    208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    209 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    210   CONFIG_SHELL=$SHELL as_have_required=yes
    211 fi; }
    212 IFS=$as_save_IFS
    213 
    214 
    215       if test "x$CONFIG_SHELL" != x; then :
    216   # We cannot yet assume a decent shell, so we have to provide a
    217 	# neutralization value for shells without unset; and this also
    218 	# works around shells that cannot unset nonexistent variables.
    219 	BASH_ENV=/dev/null
    220 	ENV=/dev/null
    221 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222 	export CONFIG_SHELL
    223 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    224 fi
    225 
    226     if test x$as_have_required = xno; then :
    227   $as_echo "$0: This script requires a shell more modern than all"
    228   $as_echo "$0: the shells that I found on your system."
    229   if test x${ZSH_VERSION+set} = xset ; then
    230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    232   else
    233     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    235 $0: about your system, including any error possibly output
    236 $0: before this message. Then install a modern shell, or
    237 $0: manually run the script under such a shell if you do
    238 $0: have one."
    239   fi
    240   exit 1
    241 fi
    242 fi
    243 fi
    244 SHELL=${CONFIG_SHELL-/bin/sh}
    245 export SHELL
    246 # Unset more variables known to interfere with behavior of common tools.
    247 CLICOLOR_FORCE= GREP_OPTIONS=
    248 unset CLICOLOR_FORCE GREP_OPTIONS
    249 
    250 ## --------------------- ##
    251 ## M4sh Shell Functions. ##
    252 ## --------------------- ##
    253 # as_fn_unset VAR
    254 # ---------------
    255 # Portably unset VAR.
    256 as_fn_unset ()
    257 {
    258   { eval $1=; unset $1;}
    259 }
    260 as_unset=as_fn_unset
    261 
    262 # as_fn_set_status STATUS
    263 # -----------------------
    264 # Set $? to STATUS, without forking.
    265 as_fn_set_status ()
    266 {
    267   return $1
    268 } # as_fn_set_status
    269 
    270 # as_fn_exit STATUS
    271 # -----------------
    272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    273 as_fn_exit ()
    274 {
    275   set +e
    276   as_fn_set_status $1
    277   exit $1
    278 } # as_fn_exit
    279 
    280 # as_fn_mkdir_p
    281 # -------------
    282 # Create "$as_dir" as a directory, including parents if necessary.
    283 as_fn_mkdir_p ()
    284 {
    285 
    286   case $as_dir in #(
    287   -*) as_dir=./$as_dir;;
    288   esac
    289   test -d "$as_dir" || eval $as_mkdir_p || {
    290     as_dirs=
    291     while :; do
    292       case $as_dir in #(
    293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    294       *) as_qdir=$as_dir;;
    295       esac
    296       as_dirs="'$as_qdir' $as_dirs"
    297       as_dir=`$as_dirname -- "$as_dir" ||
    298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    300 	 X"$as_dir" : 'X\(//\)$' \| \
    301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    302 $as_echo X"$as_dir" |
    303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)[^/].*/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\/\)$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\).*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  s/.*/./; q'`
    320       test -d "$as_dir" && break
    321     done
    322     test -z "$as_dirs" || eval "mkdir $as_dirs"
    323   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    324 
    325 
    326 } # as_fn_mkdir_p
    327 # as_fn_append VAR VALUE
    328 # ----------------------
    329 # Append the text in VALUE to the end of the definition contained in VAR. Take
    330 # advantage of any shell optimizations that allow amortized linear growth over
    331 # repeated appends, instead of the typical quadratic growth present in naive
    332 # implementations.
    333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    334   eval 'as_fn_append ()
    335   {
    336     eval $1+=\$2
    337   }'
    338 else
    339   as_fn_append ()
    340   {
    341     eval $1=\$$1\$2
    342   }
    343 fi # as_fn_append
    344 
    345 # as_fn_arith ARG...
    346 # ------------------
    347 # Perform arithmetic evaluation on the ARGs, and store the result in the
    348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    349 # must be portable across $(()) and expr.
    350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    351   eval 'as_fn_arith ()
    352   {
    353     as_val=$(( $* ))
    354   }'
    355 else
    356   as_fn_arith ()
    357   {
    358     as_val=`expr "$@" || test $? -eq 1`
    359   }
    360 fi # as_fn_arith
    361 
    362 
    363 # as_fn_error ERROR [LINENO LOG_FD]
    364 # ---------------------------------
    365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    367 # script with status $?, using 1 if that was 0.
    368 as_fn_error ()
    369 {
    370   as_status=$?; test $as_status -eq 0 && as_status=1
    371   if test "$3"; then
    372     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    374   fi
    375   $as_echo "$as_me: error: $1" >&2
    376   as_fn_exit $as_status
    377 } # as_fn_error
    378 
    379 if expr a : '\(a\)' >/dev/null 2>&1 &&
    380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    381   as_expr=expr
    382 else
    383   as_expr=false
    384 fi
    385 
    386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    387   as_basename=basename
    388 else
    389   as_basename=false
    390 fi
    391 
    392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    393   as_dirname=dirname
    394 else
    395   as_dirname=false
    396 fi
    397 
    398 as_me=`$as_basename -- "$0" ||
    399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    400 	 X"$0" : 'X\(//\)$' \| \
    401 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    402 $as_echo X/"$0" |
    403     sed '/^.*\/\([^/][^/]*\)\/*$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\/\)$/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  /^X\/\(\/\).*/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  s/.*/./; q'`
    416 
    417 # Avoid depending upon Character Ranges.
    418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    421 as_cr_digits='0123456789'
    422 as_cr_alnum=$as_cr_Letters$as_cr_digits
    423 
    424 
    425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    430   sed -n '
    431     p
    432     /[$]LINENO/=
    433   ' <$as_myself |
    434     sed '
    435       s/[$]LINENO.*/&-/
    436       t lineno
    437       b
    438       :lineno
    439       N
    440       :loop
    441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    442       t loop
    443       s/-\n.*//
    444     ' >$as_me.lineno &&
    445   chmod +x "$as_me.lineno" ||
    446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    447 
    448   # Don't try to exec as it changes $[0], causing all sort of problems
    449   # (the dirname of $[0] is not the place where we might find the
    450   # original and so on.  Autoconf is especially sensitive to this).
    451   . "./$as_me.lineno"
    452   # Exit status is that of the last command.
    453   exit
    454 }
    455 
    456 ECHO_C= ECHO_N= ECHO_T=
    457 case `echo -n x` in #(((((
    458 -n*)
    459   case `echo 'xy\c'` in
    460   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    461   xy)  ECHO_C='\c';;
    462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    463        ECHO_T='	';;
    464   esac;;
    465 *)
    466   ECHO_N='-n';;
    467 esac
    468 
    469 rm -f conf$$ conf$$.exe conf$$.file
    470 if test -d conf$$.dir; then
    471   rm -f conf$$.dir/conf$$.file
    472 else
    473   rm -f conf$$.dir
    474   mkdir conf$$.dir 2>/dev/null
    475 fi
    476 if (echo >conf$$.file) 2>/dev/null; then
    477   if ln -s conf$$.file conf$$ 2>/dev/null; then
    478     as_ln_s='ln -s'
    479     # ... but there are two gotchas:
    480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    482     # In both cases, we have to default to `cp -p'.
    483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    484       as_ln_s='cp -p'
    485   elif ln conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s=ln
    487   else
    488     as_ln_s='cp -p'
    489   fi
    490 else
    491   as_ln_s='cp -p'
    492 fi
    493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    494 rmdir conf$$.dir 2>/dev/null
    495 
    496 if mkdir -p . 2>/dev/null; then
    497   as_mkdir_p='mkdir -p "$as_dir"'
    498 else
    499   test -d ./-p && rmdir ./-p
    500   as_mkdir_p=false
    501 fi
    502 
    503 if test -x / >/dev/null 2>&1; then
    504   as_test_x='test -x'
    505 else
    506   if ls -dL / >/dev/null 2>&1; then
    507     as_ls_L_option=L
    508   else
    509     as_ls_L_option=
    510   fi
    511   as_test_x='
    512     eval sh -c '\''
    513       if test -d "$1"; then
    514 	test -d "$1/.";
    515       else
    516 	case $1 in #(
    517 	-*)set "./$1";;
    518 	esac;
    519 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    520 	???[sx]*):;;*)false;;esac;fi
    521     '\'' sh
    522   '
    523 fi
    524 as_executable_p=$as_test_x
    525 
    526 # Sed expression to map a string onto a valid CPP name.
    527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 # Sed expression to map a string onto a valid variable name.
    530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    531 
    532 
    533 
    534 # Check that we are running under the correct shell.
    535 SHELL=${CONFIG_SHELL-/bin/sh}
    536 
    537 case X$lt_ECHO in
    538 X*--fallback-echo)
    539   # Remove one level of quotation (which was required for Make).
    540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    541   ;;
    542 esac
    543 
    544 ECHO=${lt_ECHO-echo}
    545 if test "X$1" = X--no-reexec; then
    546   # Discard the --no-reexec flag, and continue.
    547   shift
    548 elif test "X$1" = X--fallback-echo; then
    549   # Avoid inline document here, it may be left over
    550   :
    551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    552   # Yippee, $ECHO works!
    553   :
    554 else
    555   # Restart under the correct shell.
    556   exec $SHELL "$0" --no-reexec ${1+"$@"}
    557 fi
    558 
    559 if test "X$1" = X--fallback-echo; then
    560   # used as fallback echo
    561   shift
    562   cat <<_LT_EOF
    563 $*
    564 _LT_EOF
    565   exit 0
    566 fi
    567 
    568 # The HP-UX ksh and POSIX shell print the target directory to stdout
    569 # if CDPATH is set.
    570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    571 
    572 if test -z "$lt_ECHO"; then
    573   if test "X${echo_test_string+set}" != Xset; then
    574     # find a string as large as possible, as long as the shell can cope with it
    575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    578 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    579       then
    580         break
    581       fi
    582     done
    583   fi
    584 
    585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    587      test "X$echo_testing_string" = "X$echo_test_string"; then
    588     :
    589   else
    590     # The Solaris, AIX, and Digital Unix default echo programs unquote
    591     # backslashes.  This makes it impossible to quote backslashes using
    592     #   echo "$something" | sed 's/\\/\\\\/g'
    593     #
    594     # So, first we look for a working echo in the user's PATH.
    595 
    596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    597     for dir in $PATH /usr/ucb; do
    598       IFS="$lt_save_ifs"
    599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    602          test "X$echo_testing_string" = "X$echo_test_string"; then
    603         ECHO="$dir/echo"
    604         break
    605       fi
    606     done
    607     IFS="$lt_save_ifs"
    608 
    609     if test "X$ECHO" = Xecho; then
    610       # We didn't find a better echo, so look for alternatives.
    611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    613          test "X$echo_testing_string" = "X$echo_test_string"; then
    614         # This shell has a builtin print -r that does the trick.
    615         ECHO='print -r'
    616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    617 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    618         # If we have ksh, try running configure again with it.
    619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    620         export ORIGINAL_CONFIG_SHELL
    621         CONFIG_SHELL=/bin/ksh
    622         export CONFIG_SHELL
    623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    624       else
    625         # Try using printf.
    626         ECHO='printf %s\n'
    627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    628 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    629 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    630 	  # Cool, printf works
    631 	  :
    632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    633 	     test "X$echo_testing_string" = 'X\t' &&
    634 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    635 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    636 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    637 	  export CONFIG_SHELL
    638 	  SHELL="$CONFIG_SHELL"
    639 	  export SHELL
    640 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    642 	     test "X$echo_testing_string" = 'X\t' &&
    643 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    644 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    645 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    646         else
    647 	  # maybe with a smaller string...
    648 	  prev=:
    649 
    650 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    651 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    652 	    then
    653 	      break
    654 	    fi
    655 	    prev="$cmd"
    656 	  done
    657 
    658 	  if test "$prev" != 'sed 50q "$0"'; then
    659 	    echo_test_string=`eval $prev`
    660 	    export echo_test_string
    661 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    662 	  else
    663 	    # Oops.  We lost completely, so just stick with echo.
    664 	    ECHO=echo
    665 	  fi
    666         fi
    667       fi
    668     fi
    669   fi
    670 fi
    671 
    672 # Copy echo and quote the copy suitably for passing to libtool from
    673 # the Makefile, instead of quoting the original, which is used later.
    674 lt_ECHO=$ECHO
    675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    677 fi
    678 
    679 
    680 
    681 
    682 test -n "$DJDIR" || exec 7<&0 </dev/null
    683 exec 6>&1
    684 
    685 # Name of the host.
    686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    687 # so uname gets run too.
    688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    689 
    690 #
    691 # Initializations.
    692 #
    693 ac_default_prefix=/usr/local
    694 ac_clean_files=
    695 ac_config_libobj_dir=.
    696 LIBOBJS=
    697 cross_compiling=no
    698 subdirs=
    699 MFLAGS=
    700 MAKEFLAGS=
    701 
    702 # Identity of this package.
    703 PACKAGE_NAME='xf86-video-ark'
    704 PACKAGE_TARNAME='xf86-video-ark'
    705 PACKAGE_VERSION='0.7.3'
    706 PACKAGE_STRING='xf86-video-ark 0.7.3'
    707 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    708 PACKAGE_URL=''
    709 
    710 ac_unique_file="Makefile.am"
    711 # Factoring default headers for most tests.
    712 ac_includes_default="\
    713 #include <stdio.h>
    714 #ifdef HAVE_SYS_TYPES_H
    715 # include <sys/types.h>
    716 #endif
    717 #ifdef HAVE_SYS_STAT_H
    718 # include <sys/stat.h>
    719 #endif
    720 #ifdef STDC_HEADERS
    721 # include <stdlib.h>
    722 # include <stddef.h>
    723 #else
    724 # ifdef HAVE_STDLIB_H
    725 #  include <stdlib.h>
    726 # endif
    727 #endif
    728 #ifdef HAVE_STRING_H
    729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    730 #  include <memory.h>
    731 # endif
    732 # include <string.h>
    733 #endif
    734 #ifdef HAVE_STRINGS_H
    735 # include <strings.h>
    736 #endif
    737 #ifdef HAVE_INTTYPES_H
    738 # include <inttypes.h>
    739 #endif
    740 #ifdef HAVE_STDINT_H
    741 # include <stdint.h>
    742 #endif
    743 #ifdef HAVE_UNISTD_H
    744 # include <unistd.h>
    745 #endif"
    746 
    747 ac_subst_vars='am__EXEEXT_FALSE
    748 am__EXEEXT_TRUE
    749 LTLIBOBJS
    750 LIBOBJS
    751 DRIVER_NAME
    752 XSERVER_LIBPCIACCESS_FALSE
    753 XSERVER_LIBPCIACCESS_TRUE
    754 PCIACCESS_LIBS
    755 PCIACCESS_CFLAGS
    756 XORG_LIBS
    757 XORG_CFLAGS
    758 moduledir
    759 OTOOL64
    760 OTOOL
    761 LIPO
    762 NMEDIT
    763 DSYMUTIL
    764 lt_ECHO
    765 RANLIB
    766 AR
    767 OBJDUMP
    768 LN_S
    769 NM
    770 ac_ct_DUMPBIN
    771 DUMPBIN
    772 LD
    773 FGREP
    774 LIBTOOL
    775 AM_BACKSLASH
    776 AM_DEFAULT_VERBOSITY
    777 MAN_SUBSTS
    778 XORG_MAN_PAGE
    779 ADMIN_MAN_DIR
    780 DRIVER_MAN_DIR
    781 MISC_MAN_DIR
    782 FILE_MAN_DIR
    783 LIB_MAN_DIR
    784 APP_MAN_DIR
    785 ADMIN_MAN_SUFFIX
    786 DRIVER_MAN_SUFFIX
    787 MISC_MAN_SUFFIX
    788 FILE_MAN_SUFFIX
    789 LIB_MAN_SUFFIX
    790 APP_MAN_SUFFIX
    791 SED
    792 host_os
    793 host_vendor
    794 host_cpu
    795 host
    796 build_os
    797 build_vendor
    798 build_cpu
    799 build
    800 INSTALL_CMD
    801 PKG_CONFIG
    802 CHANGELOG_CMD
    803 CWARNFLAGS
    804 EGREP
    805 GREP
    806 CPP
    807 am__fastdepCC_FALSE
    808 am__fastdepCC_TRUE
    809 CCDEPMODE
    810 AMDEPBACKSLASH
    811 AMDEP_FALSE
    812 AMDEP_TRUE
    813 am__quote
    814 am__include
    815 DEPDIR
    816 OBJEXT
    817 EXEEXT
    818 ac_ct_CC
    819 CPPFLAGS
    820 LDFLAGS
    821 CFLAGS
    822 CC
    823 MAINT
    824 MAINTAINER_MODE_FALSE
    825 MAINTAINER_MODE_TRUE
    826 am__untar
    827 am__tar
    828 AMTAR
    829 am__leading_dot
    830 SET_MAKE
    831 AWK
    832 mkdir_p
    833 MKDIR_P
    834 INSTALL_STRIP_PROGRAM
    835 STRIP
    836 install_sh
    837 MAKEINFO
    838 AUTOHEADER
    839 AUTOMAKE
    840 AUTOCONF
    841 ACLOCAL
    842 VERSION
    843 PACKAGE
    844 CYGPATH_W
    845 am__isrc
    846 INSTALL_DATA
    847 INSTALL_SCRIPT
    848 INSTALL_PROGRAM
    849 target_alias
    850 host_alias
    851 build_alias
    852 LIBS
    853 ECHO_T
    854 ECHO_N
    855 ECHO_C
    856 DEFS
    857 mandir
    858 localedir
    859 libdir
    860 psdir
    861 pdfdir
    862 dvidir
    863 htmldir
    864 infodir
    865 docdir
    866 oldincludedir
    867 includedir
    868 localstatedir
    869 sharedstatedir
    870 sysconfdir
    871 datadir
    872 datarootdir
    873 libexecdir
    874 sbindir
    875 bindir
    876 program_transform_name
    877 prefix
    878 exec_prefix
    879 PACKAGE_URL
    880 PACKAGE_BUGREPORT
    881 PACKAGE_STRING
    882 PACKAGE_VERSION
    883 PACKAGE_TARNAME
    884 PACKAGE_NAME
    885 PATH_SEPARATOR
    886 SHELL'
    887 ac_subst_files=''
    888 ac_user_opts='
    889 enable_option_checking
    890 enable_maintainer_mode
    891 enable_dependency_tracking
    892 enable_strict_compilation
    893 enable_silent_rules
    894 enable_static
    895 enable_shared
    896 with_pic
    897 enable_fast_install
    898 with_gnu_ld
    899 enable_libtool_lock
    900 with_xorg_module_dir
    901 '
    902       ac_precious_vars='build_alias
    903 host_alias
    904 target_alias
    905 CC
    906 CFLAGS
    907 LDFLAGS
    908 LIBS
    909 CPPFLAGS
    910 CPP
    911 PKG_CONFIG
    912 XORG_CFLAGS
    913 XORG_LIBS
    914 PCIACCESS_CFLAGS
    915 PCIACCESS_LIBS'
    916 
    917 
    918 # Initialize some variables set by options.
    919 ac_init_help=
    920 ac_init_version=false
    921 ac_unrecognized_opts=
    922 ac_unrecognized_sep=
    923 # The variables have the same names as the options, with
    924 # dashes changed to underlines.
    925 cache_file=/dev/null
    926 exec_prefix=NONE
    927 no_create=
    928 no_recursion=
    929 prefix=NONE
    930 program_prefix=NONE
    931 program_suffix=NONE
    932 program_transform_name=s,x,x,
    933 silent=
    934 site=
    935 srcdir=
    936 verbose=
    937 x_includes=NONE
    938 x_libraries=NONE
    939 
    940 # Installation directory options.
    941 # These are left unexpanded so users can "make install exec_prefix=/foo"
    942 # and all the variables that are supposed to be based on exec_prefix
    943 # by default will actually change.
    944 # Use braces instead of parens because sh, perl, etc. also accept them.
    945 # (The list follows the same order as the GNU Coding Standards.)
    946 bindir='${exec_prefix}/bin'
    947 sbindir='${exec_prefix}/sbin'
    948 libexecdir='${exec_prefix}/libexec'
    949 datarootdir='${prefix}/share'
    950 datadir='${datarootdir}'
    951 sysconfdir='${prefix}/etc'
    952 sharedstatedir='${prefix}/com'
    953 localstatedir='${prefix}/var'
    954 includedir='${prefix}/include'
    955 oldincludedir='/usr/include'
    956 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    957 infodir='${datarootdir}/info'
    958 htmldir='${docdir}'
    959 dvidir='${docdir}'
    960 pdfdir='${docdir}'
    961 psdir='${docdir}'
    962 libdir='${exec_prefix}/lib'
    963 localedir='${datarootdir}/locale'
    964 mandir='${datarootdir}/man'
    965 
    966 ac_prev=
    967 ac_dashdash=
    968 for ac_option
    969 do
    970   # If the previous option needs an argument, assign it.
    971   if test -n "$ac_prev"; then
    972     eval $ac_prev=\$ac_option
    973     ac_prev=
    974     continue
    975   fi
    976 
    977   case $ac_option in
    978   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    979   *)	ac_optarg=yes ;;
    980   esac
    981 
    982   # Accept the important Cygnus configure options, so we can diagnose typos.
    983 
    984   case $ac_dashdash$ac_option in
    985   --)
    986     ac_dashdash=yes ;;
    987 
    988   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    989     ac_prev=bindir ;;
    990   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    991     bindir=$ac_optarg ;;
    992 
    993   -build | --build | --buil | --bui | --bu)
    994     ac_prev=build_alias ;;
    995   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    996     build_alias=$ac_optarg ;;
    997 
    998   -cache-file | --cache-file | --cache-fil | --cache-fi \
    999   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1000     ac_prev=cache_file ;;
   1001   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1002   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1003     cache_file=$ac_optarg ;;
   1004 
   1005   --config-cache | -C)
   1006     cache_file=config.cache ;;
   1007 
   1008   -datadir | --datadir | --datadi | --datad)
   1009     ac_prev=datadir ;;
   1010   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1011     datadir=$ac_optarg ;;
   1012 
   1013   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1014   | --dataroo | --dataro | --datar)
   1015     ac_prev=datarootdir ;;
   1016   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1017   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1018     datarootdir=$ac_optarg ;;
   1019 
   1020   -disable-* | --disable-*)
   1021     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1022     # Reject names that are not valid shell variable names.
   1023     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1024       as_fn_error "invalid feature name: $ac_useropt"
   1025     ac_useropt_orig=$ac_useropt
   1026     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1027     case $ac_user_opts in
   1028       *"
   1029 "enable_$ac_useropt"
   1030 "*) ;;
   1031       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1032 	 ac_unrecognized_sep=', ';;
   1033     esac
   1034     eval enable_$ac_useropt=no ;;
   1035 
   1036   -docdir | --docdir | --docdi | --doc | --do)
   1037     ac_prev=docdir ;;
   1038   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1039     docdir=$ac_optarg ;;
   1040 
   1041   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1042     ac_prev=dvidir ;;
   1043   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1044     dvidir=$ac_optarg ;;
   1045 
   1046   -enable-* | --enable-*)
   1047     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1048     # Reject names that are not valid shell variable names.
   1049     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1050       as_fn_error "invalid feature name: $ac_useropt"
   1051     ac_useropt_orig=$ac_useropt
   1052     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1053     case $ac_user_opts in
   1054       *"
   1055 "enable_$ac_useropt"
   1056 "*) ;;
   1057       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1058 	 ac_unrecognized_sep=', ';;
   1059     esac
   1060     eval enable_$ac_useropt=\$ac_optarg ;;
   1061 
   1062   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1063   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1064   | --exec | --exe | --ex)
   1065     ac_prev=exec_prefix ;;
   1066   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1067   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1068   | --exec=* | --exe=* | --ex=*)
   1069     exec_prefix=$ac_optarg ;;
   1070 
   1071   -gas | --gas | --ga | --g)
   1072     # Obsolete; use --with-gas.
   1073     with_gas=yes ;;
   1074 
   1075   -help | --help | --hel | --he | -h)
   1076     ac_init_help=long ;;
   1077   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1078     ac_init_help=recursive ;;
   1079   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1080     ac_init_help=short ;;
   1081 
   1082   -host | --host | --hos | --ho)
   1083     ac_prev=host_alias ;;
   1084   -host=* | --host=* | --hos=* | --ho=*)
   1085     host_alias=$ac_optarg ;;
   1086 
   1087   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1088     ac_prev=htmldir ;;
   1089   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1090   | --ht=*)
   1091     htmldir=$ac_optarg ;;
   1092 
   1093   -includedir | --includedir | --includedi | --included | --include \
   1094   | --includ | --inclu | --incl | --inc)
   1095     ac_prev=includedir ;;
   1096   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1097   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1098     includedir=$ac_optarg ;;
   1099 
   1100   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1101     ac_prev=infodir ;;
   1102   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1103     infodir=$ac_optarg ;;
   1104 
   1105   -libdir | --libdir | --libdi | --libd)
   1106     ac_prev=libdir ;;
   1107   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1108     libdir=$ac_optarg ;;
   1109 
   1110   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1111   | --libexe | --libex | --libe)
   1112     ac_prev=libexecdir ;;
   1113   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1114   | --libexe=* | --libex=* | --libe=*)
   1115     libexecdir=$ac_optarg ;;
   1116 
   1117   -localedir | --localedir | --localedi | --localed | --locale)
   1118     ac_prev=localedir ;;
   1119   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1120     localedir=$ac_optarg ;;
   1121 
   1122   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1123   | --localstate | --localstat | --localsta | --localst | --locals)
   1124     ac_prev=localstatedir ;;
   1125   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1126   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1127     localstatedir=$ac_optarg ;;
   1128 
   1129   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1130     ac_prev=mandir ;;
   1131   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1132     mandir=$ac_optarg ;;
   1133 
   1134   -nfp | --nfp | --nf)
   1135     # Obsolete; use --without-fp.
   1136     with_fp=no ;;
   1137 
   1138   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1139   | --no-cr | --no-c | -n)
   1140     no_create=yes ;;
   1141 
   1142   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1143   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1144     no_recursion=yes ;;
   1145 
   1146   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1147   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1148   | --oldin | --oldi | --old | --ol | --o)
   1149     ac_prev=oldincludedir ;;
   1150   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1151   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1152   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1153     oldincludedir=$ac_optarg ;;
   1154 
   1155   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1156     ac_prev=prefix ;;
   1157   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1158     prefix=$ac_optarg ;;
   1159 
   1160   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1161   | --program-pre | --program-pr | --program-p)
   1162     ac_prev=program_prefix ;;
   1163   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1164   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1165     program_prefix=$ac_optarg ;;
   1166 
   1167   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1168   | --program-suf | --program-su | --program-s)
   1169     ac_prev=program_suffix ;;
   1170   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1171   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1172     program_suffix=$ac_optarg ;;
   1173 
   1174   -program-transform-name | --program-transform-name \
   1175   | --program-transform-nam | --program-transform-na \
   1176   | --program-transform-n | --program-transform- \
   1177   | --program-transform | --program-transfor \
   1178   | --program-transfo | --program-transf \
   1179   | --program-trans | --program-tran \
   1180   | --progr-tra | --program-tr | --program-t)
   1181     ac_prev=program_transform_name ;;
   1182   -program-transform-name=* | --program-transform-name=* \
   1183   | --program-transform-nam=* | --program-transform-na=* \
   1184   | --program-transform-n=* | --program-transform-=* \
   1185   | --program-transform=* | --program-transfor=* \
   1186   | --program-transfo=* | --program-transf=* \
   1187   | --program-trans=* | --program-tran=* \
   1188   | --progr-tra=* | --program-tr=* | --program-t=*)
   1189     program_transform_name=$ac_optarg ;;
   1190 
   1191   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1192     ac_prev=pdfdir ;;
   1193   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1194     pdfdir=$ac_optarg ;;
   1195 
   1196   -psdir | --psdir | --psdi | --psd | --ps)
   1197     ac_prev=psdir ;;
   1198   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1199     psdir=$ac_optarg ;;
   1200 
   1201   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1202   | -silent | --silent | --silen | --sile | --sil)
   1203     silent=yes ;;
   1204 
   1205   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1206     ac_prev=sbindir ;;
   1207   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1208   | --sbi=* | --sb=*)
   1209     sbindir=$ac_optarg ;;
   1210 
   1211   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1212   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1213   | --sharedst | --shareds | --shared | --share | --shar \
   1214   | --sha | --sh)
   1215     ac_prev=sharedstatedir ;;
   1216   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1217   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1218   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1219   | --sha=* | --sh=*)
   1220     sharedstatedir=$ac_optarg ;;
   1221 
   1222   -site | --site | --sit)
   1223     ac_prev=site ;;
   1224   -site=* | --site=* | --sit=*)
   1225     site=$ac_optarg ;;
   1226 
   1227   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1228     ac_prev=srcdir ;;
   1229   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1230     srcdir=$ac_optarg ;;
   1231 
   1232   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1233   | --syscon | --sysco | --sysc | --sys | --sy)
   1234     ac_prev=sysconfdir ;;
   1235   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1236   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1237     sysconfdir=$ac_optarg ;;
   1238 
   1239   -target | --target | --targe | --targ | --tar | --ta | --t)
   1240     ac_prev=target_alias ;;
   1241   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1242     target_alias=$ac_optarg ;;
   1243 
   1244   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1245     verbose=yes ;;
   1246 
   1247   -version | --version | --versio | --versi | --vers | -V)
   1248     ac_init_version=: ;;
   1249 
   1250   -with-* | --with-*)
   1251     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1252     # Reject names that are not valid shell variable names.
   1253     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1254       as_fn_error "invalid package name: $ac_useropt"
   1255     ac_useropt_orig=$ac_useropt
   1256     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1257     case $ac_user_opts in
   1258       *"
   1259 "with_$ac_useropt"
   1260 "*) ;;
   1261       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1262 	 ac_unrecognized_sep=', ';;
   1263     esac
   1264     eval with_$ac_useropt=\$ac_optarg ;;
   1265 
   1266   -without-* | --without-*)
   1267     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1268     # Reject names that are not valid shell variable names.
   1269     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1270       as_fn_error "invalid package name: $ac_useropt"
   1271     ac_useropt_orig=$ac_useropt
   1272     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1273     case $ac_user_opts in
   1274       *"
   1275 "with_$ac_useropt"
   1276 "*) ;;
   1277       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1278 	 ac_unrecognized_sep=', ';;
   1279     esac
   1280     eval with_$ac_useropt=no ;;
   1281 
   1282   --x)
   1283     # Obsolete; use --with-x.
   1284     with_x=yes ;;
   1285 
   1286   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1287   | --x-incl | --x-inc | --x-in | --x-i)
   1288     ac_prev=x_includes ;;
   1289   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1290   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1291     x_includes=$ac_optarg ;;
   1292 
   1293   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1294   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1295     ac_prev=x_libraries ;;
   1296   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1297   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1298     x_libraries=$ac_optarg ;;
   1299 
   1300   -*) as_fn_error "unrecognized option: \`$ac_option'
   1301 Try \`$0 --help' for more information."
   1302     ;;
   1303 
   1304   *=*)
   1305     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1306     # Reject names that are not valid shell variable names.
   1307     case $ac_envvar in #(
   1308       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1309       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1310     esac
   1311     eval $ac_envvar=\$ac_optarg
   1312     export $ac_envvar ;;
   1313 
   1314   *)
   1315     # FIXME: should be removed in autoconf 3.0.
   1316     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1317     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1318       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1319     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1320     ;;
   1321 
   1322   esac
   1323 done
   1324 
   1325 if test -n "$ac_prev"; then
   1326   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1327   as_fn_error "missing argument to $ac_option"
   1328 fi
   1329 
   1330 if test -n "$ac_unrecognized_opts"; then
   1331   case $enable_option_checking in
   1332     no) ;;
   1333     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1334     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1335   esac
   1336 fi
   1337 
   1338 # Check all directory arguments for consistency.
   1339 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1340 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1341 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1342 		libdir localedir mandir
   1343 do
   1344   eval ac_val=\$$ac_var
   1345   # Remove trailing slashes.
   1346   case $ac_val in
   1347     */ )
   1348       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1349       eval $ac_var=\$ac_val;;
   1350   esac
   1351   # Be sure to have absolute directory names.
   1352   case $ac_val in
   1353     [\\/$]* | ?:[\\/]* )  continue;;
   1354     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1355   esac
   1356   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1357 done
   1358 
   1359 # There might be people who depend on the old broken behavior: `$host'
   1360 # used to hold the argument of --host etc.
   1361 # FIXME: To remove some day.
   1362 build=$build_alias
   1363 host=$host_alias
   1364 target=$target_alias
   1365 
   1366 # FIXME: To remove some day.
   1367 if test "x$host_alias" != x; then
   1368   if test "x$build_alias" = x; then
   1369     cross_compiling=maybe
   1370     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1371     If a cross compiler is detected then cross compile mode will be used." >&2
   1372   elif test "x$build_alias" != "x$host_alias"; then
   1373     cross_compiling=yes
   1374   fi
   1375 fi
   1376 
   1377 ac_tool_prefix=
   1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1379 
   1380 test "$silent" = yes && exec 6>/dev/null
   1381 
   1382 
   1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1384 ac_ls_di=`ls -di .` &&
   1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1386   as_fn_error "working directory cannot be determined"
   1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1388   as_fn_error "pwd does not report name of working directory"
   1389 
   1390 
   1391 # Find the source files, if location was not specified.
   1392 if test -z "$srcdir"; then
   1393   ac_srcdir_defaulted=yes
   1394   # Try the directory containing this script, then the parent directory.
   1395   ac_confdir=`$as_dirname -- "$as_myself" ||
   1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1397 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1398 	 X"$as_myself" : 'X\(//\)$' \| \
   1399 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1400 $as_echo X"$as_myself" |
   1401     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  /^X\(\/\/\)[^/].*/{
   1406 	    s//\1/
   1407 	    q
   1408 	  }
   1409 	  /^X\(\/\/\)$/{
   1410 	    s//\1/
   1411 	    q
   1412 	  }
   1413 	  /^X\(\/\).*/{
   1414 	    s//\1/
   1415 	    q
   1416 	  }
   1417 	  s/.*/./; q'`
   1418   srcdir=$ac_confdir
   1419   if test ! -r "$srcdir/$ac_unique_file"; then
   1420     srcdir=..
   1421   fi
   1422 else
   1423   ac_srcdir_defaulted=no
   1424 fi
   1425 if test ! -r "$srcdir/$ac_unique_file"; then
   1426   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1427   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1428 fi
   1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1430 ac_abs_confdir=`(
   1431 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1432 	pwd)`
   1433 # When building in place, set srcdir=.
   1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1435   srcdir=.
   1436 fi
   1437 # Remove unnecessary trailing slashes from srcdir.
   1438 # Double slashes in file names in object file debugging info
   1439 # mess up M-x gdb in Emacs.
   1440 case $srcdir in
   1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1442 esac
   1443 for ac_var in $ac_precious_vars; do
   1444   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1445   eval ac_env_${ac_var}_value=\$${ac_var}
   1446   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1447   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1448 done
   1449 
   1450 #
   1451 # Report the --help message.
   1452 #
   1453 if test "$ac_init_help" = "long"; then
   1454   # Omit some internal or obsolete options to make the list less imposing.
   1455   # This message is too long to be a string in the A/UX 3.1 sh.
   1456   cat <<_ACEOF
   1457 \`configure' configures xf86-video-ark 0.7.3 to adapt to many kinds of systems.
   1458 
   1459 Usage: $0 [OPTION]... [VAR=VALUE]...
   1460 
   1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1462 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1463 
   1464 Defaults for the options are specified in brackets.
   1465 
   1466 Configuration:
   1467   -h, --help              display this help and exit
   1468       --help=short        display options specific to this package
   1469       --help=recursive    display the short help of all the included packages
   1470   -V, --version           display version information and exit
   1471   -q, --quiet, --silent   do not print \`checking...' messages
   1472       --cache-file=FILE   cache test results in FILE [disabled]
   1473   -C, --config-cache      alias for \`--cache-file=config.cache'
   1474   -n, --no-create         do not create output files
   1475       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1476 
   1477 Installation directories:
   1478   --prefix=PREFIX         install architecture-independent files in PREFIX
   1479                           [$ac_default_prefix]
   1480   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1481                           [PREFIX]
   1482 
   1483 By default, \`make install' will install all the files in
   1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1486 for instance \`--prefix=\$HOME'.
   1487 
   1488 For better control, use the options below.
   1489 
   1490 Fine tuning of the installation directories:
   1491   --bindir=DIR            user executables [EPREFIX/bin]
   1492   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1493   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1494   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1495   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1496   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1497   --libdir=DIR            object code libraries [EPREFIX/lib]
   1498   --includedir=DIR        C header files [PREFIX/include]
   1499   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1500   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1501   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1502   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1503   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1504   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1505   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-ark]
   1506   --htmldir=DIR           html documentation [DOCDIR]
   1507   --dvidir=DIR            dvi documentation [DOCDIR]
   1508   --pdfdir=DIR            pdf documentation [DOCDIR]
   1509   --psdir=DIR             ps documentation [DOCDIR]
   1510 _ACEOF
   1511 
   1512   cat <<\_ACEOF
   1513 
   1514 Program names:
   1515   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1516   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1517   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1518 
   1519 System types:
   1520   --build=BUILD     configure for building on BUILD [guessed]
   1521   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1522 _ACEOF
   1523 fi
   1524 
   1525 if test -n "$ac_init_help"; then
   1526   case $ac_init_help in
   1527      short | recursive ) echo "Configuration of xf86-video-ark 0.7.3:";;
   1528    esac
   1529   cat <<\_ACEOF
   1530 
   1531 Optional Features:
   1532   --disable-option-checking  ignore unrecognized --enable/--with options
   1533   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1534   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1535   --enable-maintainer-mode  enable make rules and dependencies not useful
   1536 			  (and sometimes confusing) to the casual installer
   1537   --disable-dependency-tracking  speeds up one-time build
   1538   --enable-dependency-tracking   do not reject slow dependency extractors
   1539   --enable-strict-compilation
   1540                           Enable all warnings from compiler and make them
   1541                           errors (default: disabled)
   1542   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1543   --disable-silent-rules         verbose build output (undo: `make V=0')
   1544   --enable-static[=PKGS]  build static libraries [default=no]
   1545   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1546   --enable-fast-install[=PKGS]
   1547                           optimize for fast installation [default=yes]
   1548   --disable-libtool-lock  avoid locking (might break parallel builds)
   1549 
   1550 Optional Packages:
   1551   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1552   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1553   --with-pic              try to use only PIC/non-PIC objects [default=use
   1554                           both]
   1555   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1556   --with-xorg-module-dir=DIR
   1557 
   1558 Some influential environment variables:
   1559   CC          C compiler command
   1560   CFLAGS      C compiler flags
   1561   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1562               nonstandard directory <lib dir>
   1563   LIBS        libraries to pass to the linker, e.g. -l<library>
   1564   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1565               you have headers in a nonstandard directory <include dir>
   1566   CPP         C preprocessor
   1567   PKG_CONFIG  path to pkg-config utility
   1568   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1569   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1570   PCIACCESS_CFLAGS
   1571               C compiler flags for PCIACCESS, overriding pkg-config
   1572   PCIACCESS_LIBS
   1573               linker flags for PCIACCESS, overriding pkg-config
   1574 
   1575 Use these variables to override the choices made by `configure' or to help
   1576 it to find libraries and programs with nonstandard names/locations.
   1577 
   1578 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1579 _ACEOF
   1580 ac_status=$?
   1581 fi
   1582 
   1583 if test "$ac_init_help" = "recursive"; then
   1584   # If there are subdirs, report their specific --help.
   1585   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1586     test -d "$ac_dir" ||
   1587       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1588       continue
   1589     ac_builddir=.
   1590 
   1591 case "$ac_dir" in
   1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1593 *)
   1594   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1595   # A ".." for each directory in $ac_dir_suffix.
   1596   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1597   case $ac_top_builddir_sub in
   1598   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1599   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1600   esac ;;
   1601 esac
   1602 ac_abs_top_builddir=$ac_pwd
   1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1604 # for backward compatibility:
   1605 ac_top_builddir=$ac_top_build_prefix
   1606 
   1607 case $srcdir in
   1608   .)  # We are building in place.
   1609     ac_srcdir=.
   1610     ac_top_srcdir=$ac_top_builddir_sub
   1611     ac_abs_top_srcdir=$ac_pwd ;;
   1612   [\\/]* | ?:[\\/]* )  # Absolute name.
   1613     ac_srcdir=$srcdir$ac_dir_suffix;
   1614     ac_top_srcdir=$srcdir
   1615     ac_abs_top_srcdir=$srcdir ;;
   1616   *) # Relative name.
   1617     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1618     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1619     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1620 esac
   1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1622 
   1623     cd "$ac_dir" || { ac_status=$?; continue; }
   1624     # Check for guested configure.
   1625     if test -f "$ac_srcdir/configure.gnu"; then
   1626       echo &&
   1627       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1628     elif test -f "$ac_srcdir/configure"; then
   1629       echo &&
   1630       $SHELL "$ac_srcdir/configure" --help=recursive
   1631     else
   1632       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1633     fi || ac_status=$?
   1634     cd "$ac_pwd" || { ac_status=$?; break; }
   1635   done
   1636 fi
   1637 
   1638 test -n "$ac_init_help" && exit $ac_status
   1639 if $ac_init_version; then
   1640   cat <<\_ACEOF
   1641 xf86-video-ark configure 0.7.3
   1642 generated by GNU Autoconf 2.65
   1643 
   1644 Copyright (C) 2009 Free Software Foundation, Inc.
   1645 This configure script is free software; the Free Software Foundation
   1646 gives unlimited permission to copy, distribute and modify it.
   1647 _ACEOF
   1648   exit
   1649 fi
   1650 
   1651 ## ------------------------ ##
   1652 ## Autoconf initialization. ##
   1653 ## ------------------------ ##
   1654 
   1655 # ac_fn_c_try_compile LINENO
   1656 # --------------------------
   1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_compile ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   rm -f conftest.$ac_objext
   1662   if { { ac_try="$ac_compile"
   1663 case "(($ac_try" in
   1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1665   *) ac_try_echo=$ac_try;;
   1666 esac
   1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1668 $as_echo "$ac_try_echo"; } >&5
   1669   (eval "$ac_compile") 2>conftest.err
   1670   ac_status=$?
   1671   if test -s conftest.err; then
   1672     grep -v '^ *+' conftest.err >conftest.er1
   1673     cat conftest.er1 >&5
   1674     mv -f conftest.er1 conftest.err
   1675   fi
   1676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } && {
   1678 	 test -z "$ac_c_werror_flag" ||
   1679 	 test ! -s conftest.err
   1680        } && test -s conftest.$ac_objext; then :
   1681   ac_retval=0
   1682 else
   1683   $as_echo "$as_me: failed program was:" >&5
   1684 sed 's/^/| /' conftest.$ac_ext >&5
   1685 
   1686 	ac_retval=1
   1687 fi
   1688   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1689   as_fn_set_status $ac_retval
   1690 
   1691 } # ac_fn_c_try_compile
   1692 
   1693 # ac_fn_c_check_decl LINENO SYMBOL VAR
   1694 # ------------------------------------
   1695 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   1696 ac_fn_c_check_decl ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   1700 $as_echo_n "checking whether $2 is declared... " >&6; }
   1701 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1702   $as_echo_n "(cached) " >&6
   1703 else
   1704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1705 /* end confdefs.h.  */
   1706 $4
   1707 int
   1708 main ()
   1709 {
   1710 #ifndef $2
   1711   (void) $2;
   1712 #endif
   1713 
   1714   ;
   1715   return 0;
   1716 }
   1717 _ACEOF
   1718 if ac_fn_c_try_compile "$LINENO"; then :
   1719   eval "$3=yes"
   1720 else
   1721   eval "$3=no"
   1722 fi
   1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1724 fi
   1725 eval ac_res=\$$3
   1726 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1727 $as_echo "$ac_res" >&6; }
   1728   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1729 
   1730 } # ac_fn_c_check_decl
   1731 
   1732 # ac_fn_c_try_cpp LINENO
   1733 # ----------------------
   1734 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1735 ac_fn_c_try_cpp ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1739 case "(($ac_try" in
   1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1741   *) ac_try_echo=$ac_try;;
   1742 esac
   1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1744 $as_echo "$ac_try_echo"; } >&5
   1745   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1746   ac_status=$?
   1747   if test -s conftest.err; then
   1748     grep -v '^ *+' conftest.err >conftest.er1
   1749     cat conftest.er1 >&5
   1750     mv -f conftest.er1 conftest.err
   1751   fi
   1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1753   test $ac_status = 0; } >/dev/null && {
   1754 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1755 	 test ! -s conftest.err
   1756        }; then :
   1757   ac_retval=0
   1758 else
   1759   $as_echo "$as_me: failed program was:" >&5
   1760 sed 's/^/| /' conftest.$ac_ext >&5
   1761 
   1762     ac_retval=1
   1763 fi
   1764   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1765   as_fn_set_status $ac_retval
   1766 
   1767 } # ac_fn_c_try_cpp
   1768 
   1769 # ac_fn_c_try_run LINENO
   1770 # ----------------------
   1771 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1772 # that executables *can* be run.
   1773 ac_fn_c_try_run ()
   1774 {
   1775   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1776   if { { ac_try="$ac_link"
   1777 case "(($ac_try" in
   1778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1779   *) ac_try_echo=$ac_try;;
   1780 esac
   1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1782 $as_echo "$ac_try_echo"; } >&5
   1783   (eval "$ac_link") 2>&5
   1784   ac_status=$?
   1785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1786   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1787   { { case "(($ac_try" in
   1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1789   *) ac_try_echo=$ac_try;;
   1790 esac
   1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1792 $as_echo "$ac_try_echo"; } >&5
   1793   (eval "$ac_try") 2>&5
   1794   ac_status=$?
   1795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1796   test $ac_status = 0; }; }; then :
   1797   ac_retval=0
   1798 else
   1799   $as_echo "$as_me: program exited with status $ac_status" >&5
   1800        $as_echo "$as_me: failed program was:" >&5
   1801 sed 's/^/| /' conftest.$ac_ext >&5
   1802 
   1803        ac_retval=$ac_status
   1804 fi
   1805   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1806   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1807   as_fn_set_status $ac_retval
   1808 
   1809 } # ac_fn_c_try_run
   1810 
   1811 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1812 # -------------------------------------------------------
   1813 # Tests whether HEADER exists and can be compiled using the include files in
   1814 # INCLUDES, setting the cache variable VAR accordingly.
   1815 ac_fn_c_check_header_compile ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1819 $as_echo_n "checking for $2... " >&6; }
   1820 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1821   $as_echo_n "(cached) " >&6
   1822 else
   1823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1824 /* end confdefs.h.  */
   1825 $4
   1826 #include <$2>
   1827 _ACEOF
   1828 if ac_fn_c_try_compile "$LINENO"; then :
   1829   eval "$3=yes"
   1830 else
   1831   eval "$3=no"
   1832 fi
   1833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1834 fi
   1835 eval ac_res=\$$3
   1836 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1837 $as_echo "$ac_res" >&6; }
   1838   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1839 
   1840 } # ac_fn_c_check_header_compile
   1841 
   1842 # ac_fn_c_try_link LINENO
   1843 # -----------------------
   1844 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1845 ac_fn_c_try_link ()
   1846 {
   1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1848   rm -f conftest.$ac_objext conftest$ac_exeext
   1849   if { { ac_try="$ac_link"
   1850 case "(($ac_try" in
   1851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1852   *) ac_try_echo=$ac_try;;
   1853 esac
   1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1855 $as_echo "$ac_try_echo"; } >&5
   1856   (eval "$ac_link") 2>conftest.err
   1857   ac_status=$?
   1858   if test -s conftest.err; then
   1859     grep -v '^ *+' conftest.err >conftest.er1
   1860     cat conftest.er1 >&5
   1861     mv -f conftest.er1 conftest.err
   1862   fi
   1863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1864   test $ac_status = 0; } && {
   1865 	 test -z "$ac_c_werror_flag" ||
   1866 	 test ! -s conftest.err
   1867        } && test -s conftest$ac_exeext && {
   1868 	 test "$cross_compiling" = yes ||
   1869 	 $as_test_x conftest$ac_exeext
   1870        }; then :
   1871   ac_retval=0
   1872 else
   1873   $as_echo "$as_me: failed program was:" >&5
   1874 sed 's/^/| /' conftest.$ac_ext >&5
   1875 
   1876 	ac_retval=1
   1877 fi
   1878   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1879   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1880   # interfere with the next link command; also delete a directory that is
   1881   # left behind by Apple's compiler.  We do this before executing the actions.
   1882   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1883   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1884   as_fn_set_status $ac_retval
   1885 
   1886 } # ac_fn_c_try_link
   1887 
   1888 # ac_fn_c_check_func LINENO FUNC VAR
   1889 # ----------------------------------
   1890 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1891 ac_fn_c_check_func ()
   1892 {
   1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1895 $as_echo_n "checking for $2... " >&6; }
   1896 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1897   $as_echo_n "(cached) " >&6
   1898 else
   1899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1900 /* end confdefs.h.  */
   1901 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1903 #define $2 innocuous_$2
   1904 
   1905 /* System header to define __stub macros and hopefully few prototypes,
   1906     which can conflict with char $2 (); below.
   1907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1908     <limits.h> exists even on freestanding compilers.  */
   1909 
   1910 #ifdef __STDC__
   1911 # include <limits.h>
   1912 #else
   1913 # include <assert.h>
   1914 #endif
   1915 
   1916 #undef $2
   1917 
   1918 /* Override any GCC internal prototype to avoid an error.
   1919    Use char because int might match the return type of a GCC
   1920    builtin and then its argument prototype would still apply.  */
   1921 #ifdef __cplusplus
   1922 extern "C"
   1923 #endif
   1924 char $2 ();
   1925 /* The GNU C library defines this for functions which it implements
   1926     to always fail with ENOSYS.  Some functions are actually named
   1927     something starting with __ and the normal name is an alias.  */
   1928 #if defined __stub_$2 || defined __stub___$2
   1929 choke me
   1930 #endif
   1931 
   1932 int
   1933 main ()
   1934 {
   1935 return $2 ();
   1936   ;
   1937   return 0;
   1938 }
   1939 _ACEOF
   1940 if ac_fn_c_try_link "$LINENO"; then :
   1941   eval "$3=yes"
   1942 else
   1943   eval "$3=no"
   1944 fi
   1945 rm -f core conftest.err conftest.$ac_objext \
   1946     conftest$ac_exeext conftest.$ac_ext
   1947 fi
   1948 eval ac_res=\$$3
   1949 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1950 $as_echo "$ac_res" >&6; }
   1951   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1952 
   1953 } # ac_fn_c_check_func
   1954 cat >config.log <<_ACEOF
   1955 This file contains any messages produced by compilers while
   1956 running configure, to aid debugging if configure makes a mistake.
   1957 
   1958 It was created by xf86-video-ark $as_me 0.7.3, which was
   1959 generated by GNU Autoconf 2.65.  Invocation command line was
   1960 
   1961   $ $0 $@
   1962 
   1963 _ACEOF
   1964 exec 5>>config.log
   1965 {
   1966 cat <<_ASUNAME
   1967 ## --------- ##
   1968 ## Platform. ##
   1969 ## --------- ##
   1970 
   1971 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1972 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1973 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1974 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1975 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1976 
   1977 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1978 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1979 
   1980 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1981 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1982 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1983 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1984 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1985 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1986 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1987 
   1988 _ASUNAME
   1989 
   1990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1991 for as_dir in $PATH
   1992 do
   1993   IFS=$as_save_IFS
   1994   test -z "$as_dir" && as_dir=.
   1995     $as_echo "PATH: $as_dir"
   1996   done
   1997 IFS=$as_save_IFS
   1998 
   1999 } >&5
   2000 
   2001 cat >&5 <<_ACEOF
   2002 
   2003 
   2004 ## ----------- ##
   2005 ## Core tests. ##
   2006 ## ----------- ##
   2007 
   2008 _ACEOF
   2009 
   2010 
   2011 # Keep a trace of the command line.
   2012 # Strip out --no-create and --no-recursion so they do not pile up.
   2013 # Strip out --silent because we don't want to record it for future runs.
   2014 # Also quote any args containing shell meta-characters.
   2015 # Make two passes to allow for proper duplicate-argument suppression.
   2016 ac_configure_args=
   2017 ac_configure_args0=
   2018 ac_configure_args1=
   2019 ac_must_keep_next=false
   2020 for ac_pass in 1 2
   2021 do
   2022   for ac_arg
   2023   do
   2024     case $ac_arg in
   2025     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2026     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2027     | -silent | --silent | --silen | --sile | --sil)
   2028       continue ;;
   2029     *\'*)
   2030       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2031     esac
   2032     case $ac_pass in
   2033     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2034     2)
   2035       as_fn_append ac_configure_args1 " '$ac_arg'"
   2036       if test $ac_must_keep_next = true; then
   2037 	ac_must_keep_next=false # Got value, back to normal.
   2038       else
   2039 	case $ac_arg in
   2040 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2041 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2042 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2043 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2044 	    case "$ac_configure_args0 " in
   2045 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2046 	    esac
   2047 	    ;;
   2048 	  -* ) ac_must_keep_next=true ;;
   2049 	esac
   2050       fi
   2051       as_fn_append ac_configure_args " '$ac_arg'"
   2052       ;;
   2053     esac
   2054   done
   2055 done
   2056 { ac_configure_args0=; unset ac_configure_args0;}
   2057 { ac_configure_args1=; unset ac_configure_args1;}
   2058 
   2059 # When interrupted or exit'd, cleanup temporary files, and complete
   2060 # config.log.  We remove comments because anyway the quotes in there
   2061 # would cause problems or look ugly.
   2062 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2063 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2064 trap 'exit_status=$?
   2065   # Save into config.log some information that might help in debugging.
   2066   {
   2067     echo
   2068 
   2069     cat <<\_ASBOX
   2070 ## ---------------- ##
   2071 ## Cache variables. ##
   2072 ## ---------------- ##
   2073 _ASBOX
   2074     echo
   2075     # The following way of writing the cache mishandles newlines in values,
   2076 (
   2077   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2078     eval ac_val=\$$ac_var
   2079     case $ac_val in #(
   2080     *${as_nl}*)
   2081       case $ac_var in #(
   2082       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2083 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2084       esac
   2085       case $ac_var in #(
   2086       _ | IFS | as_nl) ;; #(
   2087       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2088       *) { eval $ac_var=; unset $ac_var;} ;;
   2089       esac ;;
   2090     esac
   2091   done
   2092   (set) 2>&1 |
   2093     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2094     *${as_nl}ac_space=\ *)
   2095       sed -n \
   2096 	"s/'\''/'\''\\\\'\'''\''/g;
   2097 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2098       ;; #(
   2099     *)
   2100       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2101       ;;
   2102     esac |
   2103     sort
   2104 )
   2105     echo
   2106 
   2107     cat <<\_ASBOX
   2108 ## ----------------- ##
   2109 ## Output variables. ##
   2110 ## ----------------- ##
   2111 _ASBOX
   2112     echo
   2113     for ac_var in $ac_subst_vars
   2114     do
   2115       eval ac_val=\$$ac_var
   2116       case $ac_val in
   2117       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2118       esac
   2119       $as_echo "$ac_var='\''$ac_val'\''"
   2120     done | sort
   2121     echo
   2122 
   2123     if test -n "$ac_subst_files"; then
   2124       cat <<\_ASBOX
   2125 ## ------------------- ##
   2126 ## File substitutions. ##
   2127 ## ------------------- ##
   2128 _ASBOX
   2129       echo
   2130       for ac_var in $ac_subst_files
   2131       do
   2132 	eval ac_val=\$$ac_var
   2133 	case $ac_val in
   2134 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2135 	esac
   2136 	$as_echo "$ac_var='\''$ac_val'\''"
   2137       done | sort
   2138       echo
   2139     fi
   2140 
   2141     if test -s confdefs.h; then
   2142       cat <<\_ASBOX
   2143 ## ----------- ##
   2144 ## confdefs.h. ##
   2145 ## ----------- ##
   2146 _ASBOX
   2147       echo
   2148       cat confdefs.h
   2149       echo
   2150     fi
   2151     test "$ac_signal" != 0 &&
   2152       $as_echo "$as_me: caught signal $ac_signal"
   2153     $as_echo "$as_me: exit $exit_status"
   2154   } >&5
   2155   rm -f core *.core core.conftest.* &&
   2156     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2157     exit $exit_status
   2158 ' 0
   2159 for ac_signal in 1 2 13 15; do
   2160   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2161 done
   2162 ac_signal=0
   2163 
   2164 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2165 rm -f -r conftest* confdefs.h
   2166 
   2167 $as_echo "/* confdefs.h */" > confdefs.h
   2168 
   2169 # Predefined preprocessor variables.
   2170 
   2171 cat >>confdefs.h <<_ACEOF
   2172 #define PACKAGE_NAME "$PACKAGE_NAME"
   2173 _ACEOF
   2174 
   2175 cat >>confdefs.h <<_ACEOF
   2176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2177 _ACEOF
   2178 
   2179 cat >>confdefs.h <<_ACEOF
   2180 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2181 _ACEOF
   2182 
   2183 cat >>confdefs.h <<_ACEOF
   2184 #define PACKAGE_STRING "$PACKAGE_STRING"
   2185 _ACEOF
   2186 
   2187 cat >>confdefs.h <<_ACEOF
   2188 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2189 _ACEOF
   2190 
   2191 cat >>confdefs.h <<_ACEOF
   2192 #define PACKAGE_URL "$PACKAGE_URL"
   2193 _ACEOF
   2194 
   2195 
   2196 # Let the site file select an alternate cache file if it wants to.
   2197 # Prefer an explicitly selected file to automatically selected ones.
   2198 ac_site_file1=NONE
   2199 ac_site_file2=NONE
   2200 if test -n "$CONFIG_SITE"; then
   2201   ac_site_file1=$CONFIG_SITE
   2202 elif test "x$prefix" != xNONE; then
   2203   ac_site_file1=$prefix/share/config.site
   2204   ac_site_file2=$prefix/etc/config.site
   2205 else
   2206   ac_site_file1=$ac_default_prefix/share/config.site
   2207   ac_site_file2=$ac_default_prefix/etc/config.site
   2208 fi
   2209 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2210 do
   2211   test "x$ac_site_file" = xNONE && continue
   2212   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2213     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2215     sed 's/^/| /' "$ac_site_file" >&5
   2216     . "$ac_site_file"
   2217   fi
   2218 done
   2219 
   2220 if test -r "$cache_file"; then
   2221   # Some versions of bash will fail to source /dev/null (special files
   2222   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2223   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2224     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2225 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2226     case $cache_file in
   2227       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2228       *)                      . "./$cache_file";;
   2229     esac
   2230   fi
   2231 else
   2232   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2233 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2234   >$cache_file
   2235 fi
   2236 
   2237 # Check that the precious variables saved in the cache have kept the same
   2238 # value.
   2239 ac_cache_corrupted=false
   2240 for ac_var in $ac_precious_vars; do
   2241   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2242   eval ac_new_set=\$ac_env_${ac_var}_set
   2243   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2244   eval ac_new_val=\$ac_env_${ac_var}_value
   2245   case $ac_old_set,$ac_new_set in
   2246     set,)
   2247       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2248 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2249       ac_cache_corrupted=: ;;
   2250     ,set)
   2251       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2252 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2253       ac_cache_corrupted=: ;;
   2254     ,);;
   2255     *)
   2256       if test "x$ac_old_val" != "x$ac_new_val"; then
   2257 	# differences in whitespace do not lead to failure.
   2258 	ac_old_val_w=`echo x $ac_old_val`
   2259 	ac_new_val_w=`echo x $ac_new_val`
   2260 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2261 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2263 	  ac_cache_corrupted=:
   2264 	else
   2265 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2267 	  eval $ac_var=\$ac_old_val
   2268 	fi
   2269 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2270 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2271 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2272 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2273       fi;;
   2274   esac
   2275   # Pass precious variables to config.status.
   2276   if test "$ac_new_set" = set; then
   2277     case $ac_new_val in
   2278     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2279     *) ac_arg=$ac_var=$ac_new_val ;;
   2280     esac
   2281     case " $ac_configure_args " in
   2282       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2283       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2284     esac
   2285   fi
   2286 done
   2287 if $ac_cache_corrupted; then
   2288   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2290   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2292   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2293 fi
   2294 ## -------------------- ##
   2295 ## Main body of script. ##
   2296 ## -------------------- ##
   2297 
   2298 ac_ext=c
   2299 ac_cpp='$CPP $CPPFLAGS'
   2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2303 
   2304 
   2305 
   2306 ac_config_headers="$ac_config_headers config.h"
   2307 
   2308 ac_aux_dir=
   2309 for ac_dir in . "$srcdir"/.; do
   2310   for ac_t in install-sh install.sh shtool; do
   2311     if test -f "$ac_dir/$ac_t"; then
   2312       ac_aux_dir=$ac_dir
   2313       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2314       break 2
   2315     fi
   2316   done
   2317 done
   2318 if test -z "$ac_aux_dir"; then
   2319   as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2320 fi
   2321 
   2322 # These three variables are undocumented and unsupported,
   2323 # and are intended to be withdrawn in a future Autoconf release.
   2324 # They can cause serious problems if a builder's source tree is in a directory
   2325 # whose full name contains unusual characters.
   2326 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2327 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2328 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2329 
   2330 
   2331 
   2332 # Initialize Automake
   2333 am__api_version='1.11'
   2334 
   2335 # Find a good install program.  We prefer a C program (faster),
   2336 # so one script is as good as another.  But avoid the broken or
   2337 # incompatible versions:
   2338 # SysV /etc/install, /usr/sbin/install
   2339 # SunOS /usr/etc/install
   2340 # IRIX /sbin/install
   2341 # AIX /bin/install
   2342 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2346 # OS/2's system install, which has a completely different semantic
   2347 # ./install, which can be erroneously created by make from ./install.sh.
   2348 # Reject install programs that cannot install multiple files.
   2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2350 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2351 if test -z "$INSTALL"; then
   2352 if test "${ac_cv_path_install+set}" = set; then :
   2353   $as_echo_n "(cached) " >&6
   2354 else
   2355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 for as_dir in $PATH
   2357 do
   2358   IFS=$as_save_IFS
   2359   test -z "$as_dir" && as_dir=.
   2360     # Account for people who put trailing slashes in PATH elements.
   2361 case $as_dir/ in #((
   2362   ./ | .// | /[cC]/* | \
   2363   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2364   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2365   /usr/ucb/* ) ;;
   2366   *)
   2367     # OSF1 and SCO ODT 3.0 have their own names for install.
   2368     # Don't use installbsd from OSF since it installs stuff as root
   2369     # by default.
   2370     for ac_prog in ginstall scoinst install; do
   2371       for ac_exec_ext in '' $ac_executable_extensions; do
   2372 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2373 	  if test $ac_prog = install &&
   2374 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2375 	    # AIX install.  It has an incompatible calling convention.
   2376 	    :
   2377 	  elif test $ac_prog = install &&
   2378 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2379 	    # program-specific install script used by HP pwplus--don't use.
   2380 	    :
   2381 	  else
   2382 	    rm -rf conftest.one conftest.two conftest.dir
   2383 	    echo one > conftest.one
   2384 	    echo two > conftest.two
   2385 	    mkdir conftest.dir
   2386 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2387 	      test -s conftest.one && test -s conftest.two &&
   2388 	      test -s conftest.dir/conftest.one &&
   2389 	      test -s conftest.dir/conftest.two
   2390 	    then
   2391 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2392 	      break 3
   2393 	    fi
   2394 	  fi
   2395 	fi
   2396       done
   2397     done
   2398     ;;
   2399 esac
   2400 
   2401   done
   2402 IFS=$as_save_IFS
   2403 
   2404 rm -rf conftest.one conftest.two conftest.dir
   2405 
   2406 fi
   2407   if test "${ac_cv_path_install+set}" = set; then
   2408     INSTALL=$ac_cv_path_install
   2409   else
   2410     # As a last resort, use the slow shell script.  Don't cache a
   2411     # value for INSTALL within a source directory, because that will
   2412     # break other packages using the cache if that directory is
   2413     # removed, or if the value is a relative name.
   2414     INSTALL=$ac_install_sh
   2415   fi
   2416 fi
   2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2418 $as_echo "$INSTALL" >&6; }
   2419 
   2420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2421 # It thinks the first close brace ends the variable substitution.
   2422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2423 
   2424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2425 
   2426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2427 
   2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2429 $as_echo_n "checking whether build environment is sane... " >&6; }
   2430 # Just in case
   2431 sleep 1
   2432 echo timestamp > conftest.file
   2433 # Reject unsafe characters in $srcdir or the absolute working directory
   2434 # name.  Accept space and tab only in the latter.
   2435 am_lf='
   2436 '
   2437 case `pwd` in
   2438   *[\\\"\#\$\&\'\`$am_lf]*)
   2439     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2440 esac
   2441 case $srcdir in
   2442   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2443     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2444 esac
   2445 
   2446 # Do `set' in a subshell so we don't clobber the current shell's
   2447 # arguments.  Must try -L first in case configure is actually a
   2448 # symlink; some systems play weird games with the mod time of symlinks
   2449 # (eg FreeBSD returns the mod time of the symlink's containing
   2450 # directory).
   2451 if (
   2452    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2453    if test "$*" = "X"; then
   2454       # -L didn't work.
   2455       set X `ls -t "$srcdir/configure" conftest.file`
   2456    fi
   2457    rm -f conftest.file
   2458    if test "$*" != "X $srcdir/configure conftest.file" \
   2459       && test "$*" != "X conftest.file $srcdir/configure"; then
   2460 
   2461       # If neither matched, then we have a broken ls.  This can happen
   2462       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2463       # broken ls alias from the environment.  This has actually
   2464       # happened.  Such a system could not be considered "sane".
   2465       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2466 alias in your environment" "$LINENO" 5
   2467    fi
   2468 
   2469    test "$2" = conftest.file
   2470    )
   2471 then
   2472    # Ok.
   2473    :
   2474 else
   2475    as_fn_error "newly created file is older than distributed files!
   2476 Check your system clock" "$LINENO" 5
   2477 fi
   2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2479 $as_echo "yes" >&6; }
   2480 test "$program_prefix" != NONE &&
   2481   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2482 # Use a double $ so make ignores it.
   2483 test "$program_suffix" != NONE &&
   2484   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2485 # Double any \ or $.
   2486 # By default was `s,x,x', remove it if useless.
   2487 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2488 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2489 
   2490 # expand $ac_aux_dir to an absolute path
   2491 am_aux_dir=`cd $ac_aux_dir && pwd`
   2492 
   2493 if test x"${MISSING+set}" != xset; then
   2494   case $am_aux_dir in
   2495   *\ * | *\	*)
   2496     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2497   *)
   2498     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2499   esac
   2500 fi
   2501 # Use eval to expand $SHELL
   2502 if eval "$MISSING --run true"; then
   2503   am_missing_run="$MISSING --run "
   2504 else
   2505   am_missing_run=
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2507 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2508 fi
   2509 
   2510 if test x"${install_sh}" != xset; then
   2511   case $am_aux_dir in
   2512   *\ * | *\	*)
   2513     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2514   *)
   2515     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2516   esac
   2517 fi
   2518 
   2519 # Installed binaries are usually stripped using `strip' when the user
   2520 # run `make install-strip'.  However `strip' might not be the right
   2521 # tool to use in cross-compilation environments, therefore Automake
   2522 # will honor the `STRIP' environment variable to overrule this program.
   2523 if test "$cross_compiling" != no; then
   2524   if test -n "$ac_tool_prefix"; then
   2525   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2526 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2528 $as_echo_n "checking for $ac_word... " >&6; }
   2529 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2530   $as_echo_n "(cached) " >&6
   2531 else
   2532   if test -n "$STRIP"; then
   2533   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2534 else
   2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2536 for as_dir in $PATH
   2537 do
   2538   IFS=$as_save_IFS
   2539   test -z "$as_dir" && as_dir=.
   2540     for ac_exec_ext in '' $ac_executable_extensions; do
   2541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2542     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2544     break 2
   2545   fi
   2546 done
   2547   done
   2548 IFS=$as_save_IFS
   2549 
   2550 fi
   2551 fi
   2552 STRIP=$ac_cv_prog_STRIP
   2553 if test -n "$STRIP"; then
   2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2555 $as_echo "$STRIP" >&6; }
   2556 else
   2557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2558 $as_echo "no" >&6; }
   2559 fi
   2560 
   2561 
   2562 fi
   2563 if test -z "$ac_cv_prog_STRIP"; then
   2564   ac_ct_STRIP=$STRIP
   2565   # Extract the first word of "strip", so it can be a program name with args.
   2566 set dummy strip; ac_word=$2
   2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2568 $as_echo_n "checking for $ac_word... " >&6; }
   2569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2570   $as_echo_n "(cached) " >&6
   2571 else
   2572   if test -n "$ac_ct_STRIP"; then
   2573   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2574 else
   2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2576 for as_dir in $PATH
   2577 do
   2578   IFS=$as_save_IFS
   2579   test -z "$as_dir" && as_dir=.
   2580     for ac_exec_ext in '' $ac_executable_extensions; do
   2581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2582     ac_cv_prog_ac_ct_STRIP="strip"
   2583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2584     break 2
   2585   fi
   2586 done
   2587   done
   2588 IFS=$as_save_IFS
   2589 
   2590 fi
   2591 fi
   2592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2593 if test -n "$ac_ct_STRIP"; then
   2594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2595 $as_echo "$ac_ct_STRIP" >&6; }
   2596 else
   2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2598 $as_echo "no" >&6; }
   2599 fi
   2600 
   2601   if test "x$ac_ct_STRIP" = x; then
   2602     STRIP=":"
   2603   else
   2604     case $cross_compiling:$ac_tool_warned in
   2605 yes:)
   2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2608 ac_tool_warned=yes ;;
   2609 esac
   2610     STRIP=$ac_ct_STRIP
   2611   fi
   2612 else
   2613   STRIP="$ac_cv_prog_STRIP"
   2614 fi
   2615 
   2616 fi
   2617 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2618 
   2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2620 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2621 if test -z "$MKDIR_P"; then
   2622   if test "${ac_cv_path_mkdir+set}" = set; then :
   2623   $as_echo_n "(cached) " >&6
   2624 else
   2625   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2626 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2627 do
   2628   IFS=$as_save_IFS
   2629   test -z "$as_dir" && as_dir=.
   2630     for ac_prog in mkdir gmkdir; do
   2631 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2632 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2633 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2634 	     'mkdir (GNU coreutils) '* | \
   2635 	     'mkdir (coreutils) '* | \
   2636 	     'mkdir (fileutils) '4.1*)
   2637 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2638 	       break 3;;
   2639 	   esac
   2640 	 done
   2641        done
   2642   done
   2643 IFS=$as_save_IFS
   2644 
   2645 fi
   2646 
   2647   test -d ./--version && rmdir ./--version
   2648   if test "${ac_cv_path_mkdir+set}" = set; then
   2649     MKDIR_P="$ac_cv_path_mkdir -p"
   2650   else
   2651     # As a last resort, use the slow shell script.  Don't cache a
   2652     # value for MKDIR_P within a source directory, because that will
   2653     # break other packages using the cache if that directory is
   2654     # removed, or if the value is a relative name.
   2655     MKDIR_P="$ac_install_sh -d"
   2656   fi
   2657 fi
   2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2659 $as_echo "$MKDIR_P" >&6; }
   2660 
   2661 mkdir_p="$MKDIR_P"
   2662 case $mkdir_p in
   2663   [\\/$]* | ?:[\\/]*) ;;
   2664   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2665 esac
   2666 
   2667 for ac_prog in gawk mawk nawk awk
   2668 do
   2669   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2670 set dummy $ac_prog; ac_word=$2
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2672 $as_echo_n "checking for $ac_word... " >&6; }
   2673 if test "${ac_cv_prog_AWK+set}" = set; then :
   2674   $as_echo_n "(cached) " >&6
   2675 else
   2676   if test -n "$AWK"; then
   2677   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2678 else
   2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2680 for as_dir in $PATH
   2681 do
   2682   IFS=$as_save_IFS
   2683   test -z "$as_dir" && as_dir=.
   2684     for ac_exec_ext in '' $ac_executable_extensions; do
   2685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2686     ac_cv_prog_AWK="$ac_prog"
   2687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2688     break 2
   2689   fi
   2690 done
   2691   done
   2692 IFS=$as_save_IFS
   2693 
   2694 fi
   2695 fi
   2696 AWK=$ac_cv_prog_AWK
   2697 if test -n "$AWK"; then
   2698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2699 $as_echo "$AWK" >&6; }
   2700 else
   2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2702 $as_echo "no" >&6; }
   2703 fi
   2704 
   2705 
   2706   test -n "$AWK" && break
   2707 done
   2708 
   2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2711 set x ${MAKE-make}
   2712 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2713 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2714   $as_echo_n "(cached) " >&6
   2715 else
   2716   cat >conftest.make <<\_ACEOF
   2717 SHELL = /bin/sh
   2718 all:
   2719 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2720 _ACEOF
   2721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2723   *@@@%%%=?*=@@@%%%*)
   2724     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2725   *)
   2726     eval ac_cv_prog_make_${ac_make}_set=no;;
   2727 esac
   2728 rm -f conftest.make
   2729 fi
   2730 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2732 $as_echo "yes" >&6; }
   2733   SET_MAKE=
   2734 else
   2735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2736 $as_echo "no" >&6; }
   2737   SET_MAKE="MAKE=${MAKE-make}"
   2738 fi
   2739 
   2740 rm -rf .tst 2>/dev/null
   2741 mkdir .tst 2>/dev/null
   2742 if test -d .tst; then
   2743   am__leading_dot=.
   2744 else
   2745   am__leading_dot=_
   2746 fi
   2747 rmdir .tst 2>/dev/null
   2748 
   2749 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2750   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2751   # is not polluted with repeated "-I."
   2752   am__isrc=' -I$(srcdir)'
   2753   # test to see if srcdir already configured
   2754   if test -f $srcdir/config.status; then
   2755     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2756   fi
   2757 fi
   2758 
   2759 # test whether we have cygpath
   2760 if test -z "$CYGPATH_W"; then
   2761   if (cygpath --version) >/dev/null 2>/dev/null; then
   2762     CYGPATH_W='cygpath -w'
   2763   else
   2764     CYGPATH_W=echo
   2765   fi
   2766 fi
   2767 
   2768 
   2769 # Define the identity of the package.
   2770  PACKAGE='xf86-video-ark'
   2771  VERSION='0.7.3'
   2772 
   2773 
   2774 cat >>confdefs.h <<_ACEOF
   2775 #define PACKAGE "$PACKAGE"
   2776 _ACEOF
   2777 
   2778 
   2779 cat >>confdefs.h <<_ACEOF
   2780 #define VERSION "$VERSION"
   2781 _ACEOF
   2782 
   2783 # Some tools Automake needs.
   2784 
   2785 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2786 
   2787 
   2788 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2789 
   2790 
   2791 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2792 
   2793 
   2794 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2795 
   2796 
   2797 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2798 
   2799 # We need awk for the "check" target.  The system "awk" is bad on
   2800 # some platforms.
   2801 # Always define AMTAR for backward compatibility.
   2802 
   2803 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2804 
   2805 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2806 
   2807 
   2808 
   2809 
   2810 
   2811 
   2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2813 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2814     # Check whether --enable-maintainer-mode was given.
   2815 if test "${enable_maintainer_mode+set}" = set; then :
   2816   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2817 else
   2818   USE_MAINTAINER_MODE=no
   2819 fi
   2820 
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2822 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2823    if test $USE_MAINTAINER_MODE = yes; then
   2824   MAINTAINER_MODE_TRUE=
   2825   MAINTAINER_MODE_FALSE='#'
   2826 else
   2827   MAINTAINER_MODE_TRUE='#'
   2828   MAINTAINER_MODE_FALSE=
   2829 fi
   2830 
   2831   MAINT=$MAINTAINER_MODE_TRUE
   2832 
   2833 
   2834 
   2835 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2836 
   2837 
   2838 
   2839 
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 
   2846 
   2847 DEPDIR="${am__leading_dot}deps"
   2848 
   2849 ac_config_commands="$ac_config_commands depfiles"
   2850 
   2851 
   2852 am_make=${MAKE-make}
   2853 cat > confinc << 'END'
   2854 am__doit:
   2855 	@echo this is the am__doit target
   2856 .PHONY: am__doit
   2857 END
   2858 # If we don't find an include directive, just comment out the code.
   2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2860 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2861 am__include="#"
   2862 am__quote=
   2863 _am_result=none
   2864 # First try GNU make style include.
   2865 echo "include confinc" > confmf
   2866 # Ignore all kinds of additional output from `make'.
   2867 case `$am_make -s -f confmf 2> /dev/null` in #(
   2868 *the\ am__doit\ target*)
   2869   am__include=include
   2870   am__quote=
   2871   _am_result=GNU
   2872   ;;
   2873 esac
   2874 # Now try BSD make style include.
   2875 if test "$am__include" = "#"; then
   2876    echo '.include "confinc"' > confmf
   2877    case `$am_make -s -f confmf 2> /dev/null` in #(
   2878    *the\ am__doit\ target*)
   2879      am__include=.include
   2880      am__quote="\""
   2881      _am_result=BSD
   2882      ;;
   2883    esac
   2884 fi
   2885 
   2886 
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2888 $as_echo "$_am_result" >&6; }
   2889 rm -f confinc confmf
   2890 
   2891 # Check whether --enable-dependency-tracking was given.
   2892 if test "${enable_dependency_tracking+set}" = set; then :
   2893   enableval=$enable_dependency_tracking;
   2894 fi
   2895 
   2896 if test "x$enable_dependency_tracking" != xno; then
   2897   am_depcomp="$ac_aux_dir/depcomp"
   2898   AMDEPBACKSLASH='\'
   2899 fi
   2900  if test "x$enable_dependency_tracking" != xno; then
   2901   AMDEP_TRUE=
   2902   AMDEP_FALSE='#'
   2903 else
   2904   AMDEP_TRUE='#'
   2905   AMDEP_FALSE=
   2906 fi
   2907 
   2908 
   2909 ac_ext=c
   2910 ac_cpp='$CPP $CPPFLAGS'
   2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2914 if test -n "$ac_tool_prefix"; then
   2915   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2918 $as_echo_n "checking for $ac_word... " >&6; }
   2919 if test "${ac_cv_prog_CC+set}" = set; then :
   2920   $as_echo_n "(cached) " >&6
   2921 else
   2922   if test -n "$CC"; then
   2923   ac_cv_prog_CC="$CC" # Let the user override the test.
   2924 else
   2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2926 for as_dir in $PATH
   2927 do
   2928   IFS=$as_save_IFS
   2929   test -z "$as_dir" && as_dir=.
   2930     for ac_exec_ext in '' $ac_executable_extensions; do
   2931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2932     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2934     break 2
   2935   fi
   2936 done
   2937   done
   2938 IFS=$as_save_IFS
   2939 
   2940 fi
   2941 fi
   2942 CC=$ac_cv_prog_CC
   2943 if test -n "$CC"; then
   2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2945 $as_echo "$CC" >&6; }
   2946 else
   2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2948 $as_echo "no" >&6; }
   2949 fi
   2950 
   2951 
   2952 fi
   2953 if test -z "$ac_cv_prog_CC"; then
   2954   ac_ct_CC=$CC
   2955   # Extract the first word of "gcc", so it can be a program name with args.
   2956 set dummy gcc; ac_word=$2
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2958 $as_echo_n "checking for $ac_word... " >&6; }
   2959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2960   $as_echo_n "(cached) " >&6
   2961 else
   2962   if test -n "$ac_ct_CC"; then
   2963   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2964 else
   2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2966 for as_dir in $PATH
   2967 do
   2968   IFS=$as_save_IFS
   2969   test -z "$as_dir" && as_dir=.
   2970     for ac_exec_ext in '' $ac_executable_extensions; do
   2971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2972     ac_cv_prog_ac_ct_CC="gcc"
   2973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2974     break 2
   2975   fi
   2976 done
   2977   done
   2978 IFS=$as_save_IFS
   2979 
   2980 fi
   2981 fi
   2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2983 if test -n "$ac_ct_CC"; then
   2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2985 $as_echo "$ac_ct_CC" >&6; }
   2986 else
   2987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2988 $as_echo "no" >&6; }
   2989 fi
   2990 
   2991   if test "x$ac_ct_CC" = x; then
   2992     CC=""
   2993   else
   2994     case $cross_compiling:$ac_tool_warned in
   2995 yes:)
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2998 ac_tool_warned=yes ;;
   2999 esac
   3000     CC=$ac_ct_CC
   3001   fi
   3002 else
   3003   CC="$ac_cv_prog_CC"
   3004 fi
   3005 
   3006 if test -z "$CC"; then
   3007           if test -n "$ac_tool_prefix"; then
   3008     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3009 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3011 $as_echo_n "checking for $ac_word... " >&6; }
   3012 if test "${ac_cv_prog_CC+set}" = set; then :
   3013   $as_echo_n "(cached) " >&6
   3014 else
   3015   if test -n "$CC"; then
   3016   ac_cv_prog_CC="$CC" # Let the user override the test.
   3017 else
   3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3019 for as_dir in $PATH
   3020 do
   3021   IFS=$as_save_IFS
   3022   test -z "$as_dir" && as_dir=.
   3023     for ac_exec_ext in '' $ac_executable_extensions; do
   3024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3025     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3027     break 2
   3028   fi
   3029 done
   3030   done
   3031 IFS=$as_save_IFS
   3032 
   3033 fi
   3034 fi
   3035 CC=$ac_cv_prog_CC
   3036 if test -n "$CC"; then
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3038 $as_echo "$CC" >&6; }
   3039 else
   3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3041 $as_echo "no" >&6; }
   3042 fi
   3043 
   3044 
   3045   fi
   3046 fi
   3047 if test -z "$CC"; then
   3048   # Extract the first word of "cc", so it can be a program name with args.
   3049 set dummy cc; ac_word=$2
   3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3051 $as_echo_n "checking for $ac_word... " >&6; }
   3052 if test "${ac_cv_prog_CC+set}" = set; then :
   3053   $as_echo_n "(cached) " >&6
   3054 else
   3055   if test -n "$CC"; then
   3056   ac_cv_prog_CC="$CC" # Let the user override the test.
   3057 else
   3058   ac_prog_rejected=no
   3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3060 for as_dir in $PATH
   3061 do
   3062   IFS=$as_save_IFS
   3063   test -z "$as_dir" && as_dir=.
   3064     for ac_exec_ext in '' $ac_executable_extensions; do
   3065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3066     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3067        ac_prog_rejected=yes
   3068        continue
   3069      fi
   3070     ac_cv_prog_CC="cc"
   3071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3072     break 2
   3073   fi
   3074 done
   3075   done
   3076 IFS=$as_save_IFS
   3077 
   3078 if test $ac_prog_rejected = yes; then
   3079   # We found a bogon in the path, so make sure we never use it.
   3080   set dummy $ac_cv_prog_CC
   3081   shift
   3082   if test $# != 0; then
   3083     # We chose a different compiler from the bogus one.
   3084     # However, it has the same basename, so the bogon will be chosen
   3085     # first if we set CC to just the basename; use the full file name.
   3086     shift
   3087     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3088   fi
   3089 fi
   3090 fi
   3091 fi
   3092 CC=$ac_cv_prog_CC
   3093 if test -n "$CC"; then
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3095 $as_echo "$CC" >&6; }
   3096 else
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3098 $as_echo "no" >&6; }
   3099 fi
   3100 
   3101 
   3102 fi
   3103 if test -z "$CC"; then
   3104   if test -n "$ac_tool_prefix"; then
   3105   for ac_prog in cl.exe
   3106   do
   3107     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3108 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3110 $as_echo_n "checking for $ac_word... " >&6; }
   3111 if test "${ac_cv_prog_CC+set}" = set; then :
   3112   $as_echo_n "(cached) " >&6
   3113 else
   3114   if test -n "$CC"; then
   3115   ac_cv_prog_CC="$CC" # Let the user override the test.
   3116 else
   3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3118 for as_dir in $PATH
   3119 do
   3120   IFS=$as_save_IFS
   3121   test -z "$as_dir" && as_dir=.
   3122     for ac_exec_ext in '' $ac_executable_extensions; do
   3123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3124     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3126     break 2
   3127   fi
   3128 done
   3129   done
   3130 IFS=$as_save_IFS
   3131 
   3132 fi
   3133 fi
   3134 CC=$ac_cv_prog_CC
   3135 if test -n "$CC"; then
   3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3137 $as_echo "$CC" >&6; }
   3138 else
   3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3140 $as_echo "no" >&6; }
   3141 fi
   3142 
   3143 
   3144     test -n "$CC" && break
   3145   done
   3146 fi
   3147 if test -z "$CC"; then
   3148   ac_ct_CC=$CC
   3149   for ac_prog in cl.exe
   3150 do
   3151   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3152 set dummy $ac_prog; ac_word=$2
   3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3154 $as_echo_n "checking for $ac_word... " >&6; }
   3155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3156   $as_echo_n "(cached) " >&6
   3157 else
   3158   if test -n "$ac_ct_CC"; then
   3159   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3160 else
   3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3162 for as_dir in $PATH
   3163 do
   3164   IFS=$as_save_IFS
   3165   test -z "$as_dir" && as_dir=.
   3166     for ac_exec_ext in '' $ac_executable_extensions; do
   3167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3168     ac_cv_prog_ac_ct_CC="$ac_prog"
   3169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3170     break 2
   3171   fi
   3172 done
   3173   done
   3174 IFS=$as_save_IFS
   3175 
   3176 fi
   3177 fi
   3178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3179 if test -n "$ac_ct_CC"; then
   3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3181 $as_echo "$ac_ct_CC" >&6; }
   3182 else
   3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3184 $as_echo "no" >&6; }
   3185 fi
   3186 
   3187 
   3188   test -n "$ac_ct_CC" && break
   3189 done
   3190 
   3191   if test "x$ac_ct_CC" = x; then
   3192     CC=""
   3193   else
   3194     case $cross_compiling:$ac_tool_warned in
   3195 yes:)
   3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3198 ac_tool_warned=yes ;;
   3199 esac
   3200     CC=$ac_ct_CC
   3201   fi
   3202 fi
   3203 
   3204 fi
   3205 
   3206 
   3207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3209 as_fn_error "no acceptable C compiler found in \$PATH
   3210 See \`config.log' for more details." "$LINENO" 5; }
   3211 
   3212 # Provide some information about the compiler.
   3213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3214 set X $ac_compile
   3215 ac_compiler=$2
   3216 for ac_option in --version -v -V -qversion; do
   3217   { { ac_try="$ac_compiler $ac_option >&5"
   3218 case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3223 $as_echo "$ac_try_echo"; } >&5
   3224   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3225   ac_status=$?
   3226   if test -s conftest.err; then
   3227     sed '10a\
   3228 ... rest of stderr output deleted ...
   3229          10q' conftest.err >conftest.er1
   3230     cat conftest.er1 >&5
   3231   fi
   3232   rm -f conftest.er1 conftest.err
   3233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3234   test $ac_status = 0; }
   3235 done
   3236 
   3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3238 /* end confdefs.h.  */
   3239 
   3240 int
   3241 main ()
   3242 {
   3243 
   3244   ;
   3245   return 0;
   3246 }
   3247 _ACEOF
   3248 ac_clean_files_save=$ac_clean_files
   3249 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3250 # Try to create an executable without -o first, disregard a.out.
   3251 # It will help us diagnose broken compilers, and finding out an intuition
   3252 # of exeext.
   3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3254 $as_echo_n "checking whether the C compiler works... " >&6; }
   3255 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3256 
   3257 # The possible output files:
   3258 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3259 
   3260 ac_rmfiles=
   3261 for ac_file in $ac_files
   3262 do
   3263   case $ac_file in
   3264     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3265     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3266   esac
   3267 done
   3268 rm -f $ac_rmfiles
   3269 
   3270 if { { ac_try="$ac_link_default"
   3271 case "(($ac_try" in
   3272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3273   *) ac_try_echo=$ac_try;;
   3274 esac
   3275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3276 $as_echo "$ac_try_echo"; } >&5
   3277   (eval "$ac_link_default") 2>&5
   3278   ac_status=$?
   3279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3280   test $ac_status = 0; }; then :
   3281   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3283 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3284 # so that the user can short-circuit this test for compilers unknown to
   3285 # Autoconf.
   3286 for ac_file in $ac_files ''
   3287 do
   3288   test -f "$ac_file" || continue
   3289   case $ac_file in
   3290     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3291 	;;
   3292     [ab].out )
   3293 	# We found the default executable, but exeext='' is most
   3294 	# certainly right.
   3295 	break;;
   3296     *.* )
   3297 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3298 	then :; else
   3299 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3300 	fi
   3301 	# We set ac_cv_exeext here because the later test for it is not
   3302 	# safe: cross compilers may not add the suffix if given an `-o'
   3303 	# argument, so we may need to know it at that point already.
   3304 	# Even if this section looks crufty: it has the advantage of
   3305 	# actually working.
   3306 	break;;
   3307     * )
   3308 	break;;
   3309   esac
   3310 done
   3311 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3312 
   3313 else
   3314   ac_file=''
   3315 fi
   3316 if test -z "$ac_file"; then :
   3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3318 $as_echo "no" >&6; }
   3319 $as_echo "$as_me: failed program was:" >&5
   3320 sed 's/^/| /' conftest.$ac_ext >&5
   3321 
   3322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3324 { as_fn_set_status 77
   3325 as_fn_error "C compiler cannot create executables
   3326 See \`config.log' for more details." "$LINENO" 5; }; }
   3327 else
   3328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3329 $as_echo "yes" >&6; }
   3330 fi
   3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3332 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3334 $as_echo "$ac_file" >&6; }
   3335 ac_exeext=$ac_cv_exeext
   3336 
   3337 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3338 ac_clean_files=$ac_clean_files_save
   3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3340 $as_echo_n "checking for suffix of executables... " >&6; }
   3341 if { { ac_try="$ac_link"
   3342 case "(($ac_try" in
   3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3344   *) ac_try_echo=$ac_try;;
   3345 esac
   3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3347 $as_echo "$ac_try_echo"; } >&5
   3348   (eval "$ac_link") 2>&5
   3349   ac_status=$?
   3350   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3351   test $ac_status = 0; }; then :
   3352   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3353 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3354 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3355 # `rm'.
   3356 for ac_file in conftest.exe conftest conftest.*; do
   3357   test -f "$ac_file" || continue
   3358   case $ac_file in
   3359     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3360     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3361 	  break;;
   3362     * ) break;;
   3363   esac
   3364 done
   3365 else
   3366   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3368 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3369 See \`config.log' for more details." "$LINENO" 5; }
   3370 fi
   3371 rm -f conftest conftest$ac_cv_exeext
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3373 $as_echo "$ac_cv_exeext" >&6; }
   3374 
   3375 rm -f conftest.$ac_ext
   3376 EXEEXT=$ac_cv_exeext
   3377 ac_exeext=$EXEEXT
   3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3379 /* end confdefs.h.  */
   3380 #include <stdio.h>
   3381 int
   3382 main ()
   3383 {
   3384 FILE *f = fopen ("conftest.out", "w");
   3385  return ferror (f) || fclose (f) != 0;
   3386 
   3387   ;
   3388   return 0;
   3389 }
   3390 _ACEOF
   3391 ac_clean_files="$ac_clean_files conftest.out"
   3392 # Check that the compiler produces executables we can run.  If not, either
   3393 # the compiler is broken, or we cross compile.
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3395 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3396 if test "$cross_compiling" != yes; then
   3397   { { ac_try="$ac_link"
   3398 case "(($ac_try" in
   3399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3400   *) ac_try_echo=$ac_try;;
   3401 esac
   3402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3403 $as_echo "$ac_try_echo"; } >&5
   3404   (eval "$ac_link") 2>&5
   3405   ac_status=$?
   3406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3407   test $ac_status = 0; }
   3408   if { ac_try='./conftest$ac_cv_exeext'
   3409   { { case "(($ac_try" in
   3410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3411   *) ac_try_echo=$ac_try;;
   3412 esac
   3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3414 $as_echo "$ac_try_echo"; } >&5
   3415   (eval "$ac_try") 2>&5
   3416   ac_status=$?
   3417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3418   test $ac_status = 0; }; }; then
   3419     cross_compiling=no
   3420   else
   3421     if test "$cross_compiling" = maybe; then
   3422 	cross_compiling=yes
   3423     else
   3424 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3426 as_fn_error "cannot run C compiled programs.
   3427 If you meant to cross compile, use \`--host'.
   3428 See \`config.log' for more details." "$LINENO" 5; }
   3429     fi
   3430   fi
   3431 fi
   3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3433 $as_echo "$cross_compiling" >&6; }
   3434 
   3435 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3436 ac_clean_files=$ac_clean_files_save
   3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3438 $as_echo_n "checking for suffix of object files... " >&6; }
   3439 if test "${ac_cv_objext+set}" = set; then :
   3440   $as_echo_n "(cached) " >&6
   3441 else
   3442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3443 /* end confdefs.h.  */
   3444 
   3445 int
   3446 main ()
   3447 {
   3448 
   3449   ;
   3450   return 0;
   3451 }
   3452 _ACEOF
   3453 rm -f conftest.o conftest.obj
   3454 if { { ac_try="$ac_compile"
   3455 case "(($ac_try" in
   3456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3457   *) ac_try_echo=$ac_try;;
   3458 esac
   3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3460 $as_echo "$ac_try_echo"; } >&5
   3461   (eval "$ac_compile") 2>&5
   3462   ac_status=$?
   3463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3464   test $ac_status = 0; }; then :
   3465   for ac_file in conftest.o conftest.obj conftest.*; do
   3466   test -f "$ac_file" || continue;
   3467   case $ac_file in
   3468     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3469     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3470        break;;
   3471   esac
   3472 done
   3473 else
   3474   $as_echo "$as_me: failed program was:" >&5
   3475 sed 's/^/| /' conftest.$ac_ext >&5
   3476 
   3477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3479 as_fn_error "cannot compute suffix of object files: cannot compile
   3480 See \`config.log' for more details." "$LINENO" 5; }
   3481 fi
   3482 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3483 fi
   3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3485 $as_echo "$ac_cv_objext" >&6; }
   3486 OBJEXT=$ac_cv_objext
   3487 ac_objext=$OBJEXT
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3489 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3490 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 
   3496 int
   3497 main ()
   3498 {
   3499 #ifndef __GNUC__
   3500        choke me
   3501 #endif
   3502 
   3503   ;
   3504   return 0;
   3505 }
   3506 _ACEOF
   3507 if ac_fn_c_try_compile "$LINENO"; then :
   3508   ac_compiler_gnu=yes
   3509 else
   3510   ac_compiler_gnu=no
   3511 fi
   3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3513 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3514 
   3515 fi
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3517 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3518 if test $ac_compiler_gnu = yes; then
   3519   GCC=yes
   3520 else
   3521   GCC=
   3522 fi
   3523 ac_test_CFLAGS=${CFLAGS+set}
   3524 ac_save_CFLAGS=$CFLAGS
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3526 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3527 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3528   $as_echo_n "(cached) " >&6
   3529 else
   3530   ac_save_c_werror_flag=$ac_c_werror_flag
   3531    ac_c_werror_flag=yes
   3532    ac_cv_prog_cc_g=no
   3533    CFLAGS="-g"
   3534    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 
   3537 int
   3538 main ()
   3539 {
   3540 
   3541   ;
   3542   return 0;
   3543 }
   3544 _ACEOF
   3545 if ac_fn_c_try_compile "$LINENO"; then :
   3546   ac_cv_prog_cc_g=yes
   3547 else
   3548   CFLAGS=""
   3549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3550 /* end confdefs.h.  */
   3551 
   3552 int
   3553 main ()
   3554 {
   3555 
   3556   ;
   3557   return 0;
   3558 }
   3559 _ACEOF
   3560 if ac_fn_c_try_compile "$LINENO"; then :
   3561 
   3562 else
   3563   ac_c_werror_flag=$ac_save_c_werror_flag
   3564 	 CFLAGS="-g"
   3565 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3566 /* end confdefs.h.  */
   3567 
   3568 int
   3569 main ()
   3570 {
   3571 
   3572   ;
   3573   return 0;
   3574 }
   3575 _ACEOF
   3576 if ac_fn_c_try_compile "$LINENO"; then :
   3577   ac_cv_prog_cc_g=yes
   3578 fi
   3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3580 fi
   3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3582 fi
   3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3584    ac_c_werror_flag=$ac_save_c_werror_flag
   3585 fi
   3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3587 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3588 if test "$ac_test_CFLAGS" = set; then
   3589   CFLAGS=$ac_save_CFLAGS
   3590 elif test $ac_cv_prog_cc_g = yes; then
   3591   if test "$GCC" = yes; then
   3592     CFLAGS="-g -O2"
   3593   else
   3594     CFLAGS="-g"
   3595   fi
   3596 else
   3597   if test "$GCC" = yes; then
   3598     CFLAGS="-O2"
   3599   else
   3600     CFLAGS=
   3601   fi
   3602 fi
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3604 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3605 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3606   $as_echo_n "(cached) " >&6
   3607 else
   3608   ac_cv_prog_cc_c89=no
   3609 ac_save_CC=$CC
   3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3611 /* end confdefs.h.  */
   3612 #include <stdarg.h>
   3613 #include <stdio.h>
   3614 #include <sys/types.h>
   3615 #include <sys/stat.h>
   3616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3617 struct buf { int x; };
   3618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3619 static char *e (p, i)
   3620      char **p;
   3621      int i;
   3622 {
   3623   return p[i];
   3624 }
   3625 static char *f (char * (*g) (char **, int), char **p, ...)
   3626 {
   3627   char *s;
   3628   va_list v;
   3629   va_start (v,p);
   3630   s = g (p, va_arg (v,int));
   3631   va_end (v);
   3632   return s;
   3633 }
   3634 
   3635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3636    function prototypes and stuff, but not '\xHH' hex character constants.
   3637    These don't provoke an error unfortunately, instead are silently treated
   3638    as 'x'.  The following induces an error, until -std is added to get
   3639    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3640    array size at least.  It's necessary to write '\x00'==0 to get something
   3641    that's true only with -std.  */
   3642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3643 
   3644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3645    inside strings and character constants.  */
   3646 #define FOO(x) 'x'
   3647 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3648 
   3649 int test (int i, double x);
   3650 struct s1 {int (*f) (int a);};
   3651 struct s2 {int (*f) (double a);};
   3652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3653 int argc;
   3654 char **argv;
   3655 int
   3656 main ()
   3657 {
   3658 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3659   ;
   3660   return 0;
   3661 }
   3662 _ACEOF
   3663 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3664 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3665 do
   3666   CC="$ac_save_CC $ac_arg"
   3667   if ac_fn_c_try_compile "$LINENO"; then :
   3668   ac_cv_prog_cc_c89=$ac_arg
   3669 fi
   3670 rm -f core conftest.err conftest.$ac_objext
   3671   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3672 done
   3673 rm -f conftest.$ac_ext
   3674 CC=$ac_save_CC
   3675 
   3676 fi
   3677 # AC_CACHE_VAL
   3678 case "x$ac_cv_prog_cc_c89" in
   3679   x)
   3680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3681 $as_echo "none needed" >&6; } ;;
   3682   xno)
   3683     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3684 $as_echo "unsupported" >&6; } ;;
   3685   *)
   3686     CC="$CC $ac_cv_prog_cc_c89"
   3687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3688 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3689 esac
   3690 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3691 
   3692 fi
   3693 
   3694 ac_ext=c
   3695 ac_cpp='$CPP $CPPFLAGS'
   3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3699 
   3700 depcc="$CC"   am_compiler_list=
   3701 
   3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3703 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3704 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3705   $as_echo_n "(cached) " >&6
   3706 else
   3707   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3708   # We make a subdir and do the tests there.  Otherwise we can end up
   3709   # making bogus files that we don't know about and never remove.  For
   3710   # instance it was reported that on HP-UX the gcc test will end up
   3711   # making a dummy file named `D' -- because `-MD' means `put the output
   3712   # in D'.
   3713   mkdir conftest.dir
   3714   # Copy depcomp to subdir because otherwise we won't find it if we're
   3715   # using a relative directory.
   3716   cp "$am_depcomp" conftest.dir
   3717   cd conftest.dir
   3718   # We will build objects and dependencies in a subdirectory because
   3719   # it helps to detect inapplicable dependency modes.  For instance
   3720   # both Tru64's cc and ICC support -MD to output dependencies as a
   3721   # side effect of compilation, but ICC will put the dependencies in
   3722   # the current directory while Tru64 will put them in the object
   3723   # directory.
   3724   mkdir sub
   3725 
   3726   am_cv_CC_dependencies_compiler_type=none
   3727   if test "$am_compiler_list" = ""; then
   3728      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3729   fi
   3730   am__universal=false
   3731   case " $depcc " in #(
   3732      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3733      esac
   3734 
   3735   for depmode in $am_compiler_list; do
   3736     # Setup a source with many dependencies, because some compilers
   3737     # like to wrap large dependency lists on column 80 (with \), and
   3738     # we should not choose a depcomp mode which is confused by this.
   3739     #
   3740     # We need to recreate these files for each test, as the compiler may
   3741     # overwrite some of them when testing with obscure command lines.
   3742     # This happens at least with the AIX C compiler.
   3743     : > sub/conftest.c
   3744     for i in 1 2 3 4 5 6; do
   3745       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3746       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3747       # Solaris 8's {/usr,}/bin/sh.
   3748       touch sub/conftst$i.h
   3749     done
   3750     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3751 
   3752     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3753     # mode.  It turns out that the SunPro C++ compiler does not properly
   3754     # handle `-M -o', and we need to detect this.  Also, some Intel
   3755     # versions had trouble with output in subdirs
   3756     am__obj=sub/conftest.${OBJEXT-o}
   3757     am__minus_obj="-o $am__obj"
   3758     case $depmode in
   3759     gcc)
   3760       # This depmode causes a compiler race in universal mode.
   3761       test "$am__universal" = false || continue
   3762       ;;
   3763     nosideeffect)
   3764       # after this tag, mechanisms are not by side-effect, so they'll
   3765       # only be used when explicitly requested
   3766       if test "x$enable_dependency_tracking" = xyes; then
   3767 	continue
   3768       else
   3769 	break
   3770       fi
   3771       ;;
   3772     msvisualcpp | msvcmsys)
   3773       # This compiler won't grok `-c -o', but also, the minuso test has
   3774       # not run yet.  These depmodes are late enough in the game, and
   3775       # so weak that their functioning should not be impacted.
   3776       am__obj=conftest.${OBJEXT-o}
   3777       am__minus_obj=
   3778       ;;
   3779     none) break ;;
   3780     esac
   3781     if depmode=$depmode \
   3782        source=sub/conftest.c object=$am__obj \
   3783        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3784        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3785          >/dev/null 2>conftest.err &&
   3786        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3787        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3788        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3789        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3790       # icc doesn't choke on unknown options, it will just issue warnings
   3791       # or remarks (even with -Werror).  So we grep stderr for any message
   3792       # that says an option was ignored or not supported.
   3793       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3794       #   icc: Command line warning: ignoring option '-M'; no argument required
   3795       # The diagnosis changed in icc 8.0:
   3796       #   icc: Command line remark: option '-MP' not supported
   3797       if (grep 'ignoring option' conftest.err ||
   3798           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3799         am_cv_CC_dependencies_compiler_type=$depmode
   3800         break
   3801       fi
   3802     fi
   3803   done
   3804 
   3805   cd ..
   3806   rm -rf conftest.dir
   3807 else
   3808   am_cv_CC_dependencies_compiler_type=none
   3809 fi
   3810 
   3811 fi
   3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3813 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3814 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3815 
   3816  if
   3817   test "x$enable_dependency_tracking" != xno \
   3818   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3819   am__fastdepCC_TRUE=
   3820   am__fastdepCC_FALSE='#'
   3821 else
   3822   am__fastdepCC_TRUE='#'
   3823   am__fastdepCC_FALSE=
   3824 fi
   3825 
   3826 
   3827    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3828 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3829 if test "${ac_cv_prog_cc_c99+set}" = set; then :
   3830   $as_echo_n "(cached) " >&6
   3831 else
   3832   ac_cv_prog_cc_c99=no
   3833 ac_save_CC=$CC
   3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3835 /* end confdefs.h.  */
   3836 #include <stdarg.h>
   3837 #include <stdbool.h>
   3838 #include <stdlib.h>
   3839 #include <wchar.h>
   3840 #include <stdio.h>
   3841 
   3842 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3843 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3844 #define showlist(...) puts (#__VA_ARGS__)
   3845 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3846 static void
   3847 test_varargs_macros (void)
   3848 {
   3849   int x = 1234;
   3850   int y = 5678;
   3851   debug ("Flag");
   3852   debug ("X = %d\n", x);
   3853   showlist (The first, second, and third items.);
   3854   report (x>y, "x is %d but y is %d", x, y);
   3855 }
   3856 
   3857 // Check long long types.
   3858 #define BIG64 18446744073709551615ull
   3859 #define BIG32 4294967295ul
   3860 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3861 #if !BIG_OK
   3862   your preprocessor is broken;
   3863 #endif
   3864 #if BIG_OK
   3865 #else
   3866   your preprocessor is broken;
   3867 #endif
   3868 static long long int bignum = -9223372036854775807LL;
   3869 static unsigned long long int ubignum = BIG64;
   3870 
   3871 struct incomplete_array
   3872 {
   3873   int datasize;
   3874   double data[];
   3875 };
   3876 
   3877 struct named_init {
   3878   int number;
   3879   const wchar_t *name;
   3880   double average;
   3881 };
   3882 
   3883 typedef const char *ccp;
   3884 
   3885 static inline int
   3886 test_restrict (ccp restrict text)
   3887 {
   3888   // See if C++-style comments work.
   3889   // Iterate through items via the restricted pointer.
   3890   // Also check for declarations in for loops.
   3891   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3892     continue;
   3893   return 0;
   3894 }
   3895 
   3896 // Check varargs and va_copy.
   3897 static void
   3898 test_varargs (const char *format, ...)
   3899 {
   3900   va_list args;
   3901   va_start (args, format);
   3902   va_list args_copy;
   3903   va_copy (args_copy, args);
   3904 
   3905   const char *str;
   3906   int number;
   3907   float fnumber;
   3908 
   3909   while (*format)
   3910     {
   3911       switch (*format++)
   3912 	{
   3913 	case 's': // string
   3914 	  str = va_arg (args_copy, const char *);
   3915 	  break;
   3916 	case 'd': // int
   3917 	  number = va_arg (args_copy, int);
   3918 	  break;
   3919 	case 'f': // float
   3920 	  fnumber = va_arg (args_copy, double);
   3921 	  break;
   3922 	default:
   3923 	  break;
   3924 	}
   3925     }
   3926   va_end (args_copy);
   3927   va_end (args);
   3928 }
   3929 
   3930 int
   3931 main ()
   3932 {
   3933 
   3934   // Check bool.
   3935   _Bool success = false;
   3936 
   3937   // Check restrict.
   3938   if (test_restrict ("String literal") == 0)
   3939     success = true;
   3940   char *restrict newvar = "Another string";
   3941 
   3942   // Check varargs.
   3943   test_varargs ("s, d' f .", "string", 65, 34.234);
   3944   test_varargs_macros ();
   3945 
   3946   // Check flexible array members.
   3947   struct incomplete_array *ia =
   3948     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3949   ia->datasize = 10;
   3950   for (int i = 0; i < ia->datasize; ++i)
   3951     ia->data[i] = i * 1.234;
   3952 
   3953   // Check named initializers.
   3954   struct named_init ni = {
   3955     .number = 34,
   3956     .name = L"Test wide string",
   3957     .average = 543.34343,
   3958   };
   3959 
   3960   ni.number = 58;
   3961 
   3962   int dynamic_array[ni.number];
   3963   dynamic_array[ni.number - 1] = 543;
   3964 
   3965   // work around unused variable warnings
   3966   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3967 	  || dynamic_array[ni.number - 1] != 543);
   3968 
   3969   ;
   3970   return 0;
   3971 }
   3972 _ACEOF
   3973 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3974 do
   3975   CC="$ac_save_CC $ac_arg"
   3976   if ac_fn_c_try_compile "$LINENO"; then :
   3977   ac_cv_prog_cc_c99=$ac_arg
   3978 fi
   3979 rm -f core conftest.err conftest.$ac_objext
   3980   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3981 done
   3982 rm -f conftest.$ac_ext
   3983 CC=$ac_save_CC
   3984 
   3985 fi
   3986 # AC_CACHE_VAL
   3987 case "x$ac_cv_prog_cc_c99" in
   3988   x)
   3989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3990 $as_echo "none needed" >&6; } ;;
   3991   xno)
   3992     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3993 $as_echo "unsupported" >&6; } ;;
   3994   *)
   3995     CC="$CC $ac_cv_prog_cc_c99"
   3996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3997 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3998 esac
   3999 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4000 
   4001 fi
   4002 
   4003 
   4004 
   4005 ac_ext=c
   4006 ac_cpp='$CPP $CPPFLAGS'
   4007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4011 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4012 # On Suns, sometimes $CPP names a directory.
   4013 if test -n "$CPP" && test -d "$CPP"; then
   4014   CPP=
   4015 fi
   4016 if test -z "$CPP"; then
   4017   if test "${ac_cv_prog_CPP+set}" = set; then :
   4018   $as_echo_n "(cached) " >&6
   4019 else
   4020       # Double quotes because CPP needs to be expanded
   4021     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4022     do
   4023       ac_preproc_ok=false
   4024 for ac_c_preproc_warn_flag in '' yes
   4025 do
   4026   # Use a header file that comes with gcc, so configuring glibc
   4027   # with a fresh cross-compiler works.
   4028   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4029   # <limits.h> exists even on freestanding compilers.
   4030   # On the NeXT, cc -E runs the code through the compiler's parser,
   4031   # not just through cpp. "Syntax error" is here to catch this case.
   4032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4033 /* end confdefs.h.  */
   4034 #ifdef __STDC__
   4035 # include <limits.h>
   4036 #else
   4037 # include <assert.h>
   4038 #endif
   4039 		     Syntax error
   4040 _ACEOF
   4041 if ac_fn_c_try_cpp "$LINENO"; then :
   4042 
   4043 else
   4044   # Broken: fails on valid input.
   4045 continue
   4046 fi
   4047 rm -f conftest.err conftest.$ac_ext
   4048 
   4049   # OK, works on sane cases.  Now check whether nonexistent headers
   4050   # can be detected and how.
   4051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4052 /* end confdefs.h.  */
   4053 #include <ac_nonexistent.h>
   4054 _ACEOF
   4055 if ac_fn_c_try_cpp "$LINENO"; then :
   4056   # Broken: success on invalid input.
   4057 continue
   4058 else
   4059   # Passes both tests.
   4060 ac_preproc_ok=:
   4061 break
   4062 fi
   4063 rm -f conftest.err conftest.$ac_ext
   4064 
   4065 done
   4066 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4067 rm -f conftest.err conftest.$ac_ext
   4068 if $ac_preproc_ok; then :
   4069   break
   4070 fi
   4071 
   4072     done
   4073     ac_cv_prog_CPP=$CPP
   4074 
   4075 fi
   4076   CPP=$ac_cv_prog_CPP
   4077 else
   4078   ac_cv_prog_CPP=$CPP
   4079 fi
   4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4081 $as_echo "$CPP" >&6; }
   4082 ac_preproc_ok=false
   4083 for ac_c_preproc_warn_flag in '' yes
   4084 do
   4085   # Use a header file that comes with gcc, so configuring glibc
   4086   # with a fresh cross-compiler works.
   4087   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4088   # <limits.h> exists even on freestanding compilers.
   4089   # On the NeXT, cc -E runs the code through the compiler's parser,
   4090   # not just through cpp. "Syntax error" is here to catch this case.
   4091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4092 /* end confdefs.h.  */
   4093 #ifdef __STDC__
   4094 # include <limits.h>
   4095 #else
   4096 # include <assert.h>
   4097 #endif
   4098 		     Syntax error
   4099 _ACEOF
   4100 if ac_fn_c_try_cpp "$LINENO"; then :
   4101 
   4102 else
   4103   # Broken: fails on valid input.
   4104 continue
   4105 fi
   4106 rm -f conftest.err conftest.$ac_ext
   4107 
   4108   # OK, works on sane cases.  Now check whether nonexistent headers
   4109   # can be detected and how.
   4110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4111 /* end confdefs.h.  */
   4112 #include <ac_nonexistent.h>
   4113 _ACEOF
   4114 if ac_fn_c_try_cpp "$LINENO"; then :
   4115   # Broken: success on invalid input.
   4116 continue
   4117 else
   4118   # Passes both tests.
   4119 ac_preproc_ok=:
   4120 break
   4121 fi
   4122 rm -f conftest.err conftest.$ac_ext
   4123 
   4124 done
   4125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4126 rm -f conftest.err conftest.$ac_ext
   4127 if $ac_preproc_ok; then :
   4128 
   4129 else
   4130   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4132 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   4133 See \`config.log' for more details." "$LINENO" 5; }
   4134 fi
   4135 
   4136 ac_ext=c
   4137 ac_cpp='$CPP $CPPFLAGS'
   4138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4141 
   4142 
   4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4144 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4145 if test "${ac_cv_path_GREP+set}" = set; then :
   4146   $as_echo_n "(cached) " >&6
   4147 else
   4148   if test -z "$GREP"; then
   4149   ac_path_GREP_found=false
   4150   # Loop through the user's path and test for each of PROGNAME-LIST
   4151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4152 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4153 do
   4154   IFS=$as_save_IFS
   4155   test -z "$as_dir" && as_dir=.
   4156     for ac_prog in grep ggrep; do
   4157     for ac_exec_ext in '' $ac_executable_extensions; do
   4158       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4159       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4160 # Check for GNU ac_path_GREP and select it if it is found.
   4161   # Check for GNU $ac_path_GREP
   4162 case `"$ac_path_GREP" --version 2>&1` in
   4163 *GNU*)
   4164   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4165 *)
   4166   ac_count=0
   4167   $as_echo_n 0123456789 >"conftest.in"
   4168   while :
   4169   do
   4170     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4171     mv "conftest.tmp" "conftest.in"
   4172     cp "conftest.in" "conftest.nl"
   4173     $as_echo 'GREP' >> "conftest.nl"
   4174     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4175     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4176     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4177     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4178       # Best one so far, save it but keep looking for a better one
   4179       ac_cv_path_GREP="$ac_path_GREP"
   4180       ac_path_GREP_max=$ac_count
   4181     fi
   4182     # 10*(2^10) chars as input seems more than enough
   4183     test $ac_count -gt 10 && break
   4184   done
   4185   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4186 esac
   4187 
   4188       $ac_path_GREP_found && break 3
   4189     done
   4190   done
   4191   done
   4192 IFS=$as_save_IFS
   4193   if test -z "$ac_cv_path_GREP"; then
   4194     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4195   fi
   4196 else
   4197   ac_cv_path_GREP=$GREP
   4198 fi
   4199 
   4200 fi
   4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4202 $as_echo "$ac_cv_path_GREP" >&6; }
   4203  GREP="$ac_cv_path_GREP"
   4204 
   4205 
   4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4207 $as_echo_n "checking for egrep... " >&6; }
   4208 if test "${ac_cv_path_EGREP+set}" = set; then :
   4209   $as_echo_n "(cached) " >&6
   4210 else
   4211   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4212    then ac_cv_path_EGREP="$GREP -E"
   4213    else
   4214      if test -z "$EGREP"; then
   4215   ac_path_EGREP_found=false
   4216   # Loop through the user's path and test for each of PROGNAME-LIST
   4217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4218 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4219 do
   4220   IFS=$as_save_IFS
   4221   test -z "$as_dir" && as_dir=.
   4222     for ac_prog in egrep; do
   4223     for ac_exec_ext in '' $ac_executable_extensions; do
   4224       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4225       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4226 # Check for GNU ac_path_EGREP and select it if it is found.
   4227   # Check for GNU $ac_path_EGREP
   4228 case `"$ac_path_EGREP" --version 2>&1` in
   4229 *GNU*)
   4230   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4231 *)
   4232   ac_count=0
   4233   $as_echo_n 0123456789 >"conftest.in"
   4234   while :
   4235   do
   4236     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4237     mv "conftest.tmp" "conftest.in"
   4238     cp "conftest.in" "conftest.nl"
   4239     $as_echo 'EGREP' >> "conftest.nl"
   4240     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4241     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4242     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4243     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4244       # Best one so far, save it but keep looking for a better one
   4245       ac_cv_path_EGREP="$ac_path_EGREP"
   4246       ac_path_EGREP_max=$ac_count
   4247     fi
   4248     # 10*(2^10) chars as input seems more than enough
   4249     test $ac_count -gt 10 && break
   4250   done
   4251   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4252 esac
   4253 
   4254       $ac_path_EGREP_found && break 3
   4255     done
   4256   done
   4257   done
   4258 IFS=$as_save_IFS
   4259   if test -z "$ac_cv_path_EGREP"; then
   4260     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4261   fi
   4262 else
   4263   ac_cv_path_EGREP=$EGREP
   4264 fi
   4265 
   4266    fi
   4267 fi
   4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4269 $as_echo "$ac_cv_path_EGREP" >&6; }
   4270  EGREP="$ac_cv_path_EGREP"
   4271 
   4272 
   4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4274 $as_echo_n "checking for ANSI C header files... " >&6; }
   4275 if test "${ac_cv_header_stdc+set}" = set; then :
   4276   $as_echo_n "(cached) " >&6
   4277 else
   4278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4279 /* end confdefs.h.  */
   4280 #include <stdlib.h>
   4281 #include <stdarg.h>
   4282 #include <string.h>
   4283 #include <float.h>
   4284 
   4285 int
   4286 main ()
   4287 {
   4288 
   4289   ;
   4290   return 0;
   4291 }
   4292 _ACEOF
   4293 if ac_fn_c_try_compile "$LINENO"; then :
   4294   ac_cv_header_stdc=yes
   4295 else
   4296   ac_cv_header_stdc=no
   4297 fi
   4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4299 
   4300 if test $ac_cv_header_stdc = yes; then
   4301   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4303 /* end confdefs.h.  */
   4304 #include <string.h>
   4305 
   4306 _ACEOF
   4307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4308   $EGREP "memchr" >/dev/null 2>&1; then :
   4309 
   4310 else
   4311   ac_cv_header_stdc=no
   4312 fi
   4313 rm -f conftest*
   4314 
   4315 fi
   4316 
   4317 if test $ac_cv_header_stdc = yes; then
   4318   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4320 /* end confdefs.h.  */
   4321 #include <stdlib.h>
   4322 
   4323 _ACEOF
   4324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4325   $EGREP "free" >/dev/null 2>&1; then :
   4326 
   4327 else
   4328   ac_cv_header_stdc=no
   4329 fi
   4330 rm -f conftest*
   4331 
   4332 fi
   4333 
   4334 if test $ac_cv_header_stdc = yes; then
   4335   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4336   if test "$cross_compiling" = yes; then :
   4337   :
   4338 else
   4339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4340 /* end confdefs.h.  */
   4341 #include <ctype.h>
   4342 #include <stdlib.h>
   4343 #if ((' ' & 0x0FF) == 0x020)
   4344 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4345 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4346 #else
   4347 # define ISLOWER(c) \
   4348 		   (('a' <= (c) && (c) <= 'i') \
   4349 		     || ('j' <= (c) && (c) <= 'r') \
   4350 		     || ('s' <= (c) && (c) <= 'z'))
   4351 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4352 #endif
   4353 
   4354 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4355 int
   4356 main ()
   4357 {
   4358   int i;
   4359   for (i = 0; i < 256; i++)
   4360     if (XOR (islower (i), ISLOWER (i))
   4361 	|| toupper (i) != TOUPPER (i))
   4362       return 2;
   4363   return 0;
   4364 }
   4365 _ACEOF
   4366 if ac_fn_c_try_run "$LINENO"; then :
   4367 
   4368 else
   4369   ac_cv_header_stdc=no
   4370 fi
   4371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4372   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4373 fi
   4374 
   4375 fi
   4376 fi
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4378 $as_echo "$ac_cv_header_stdc" >&6; }
   4379 if test $ac_cv_header_stdc = yes; then
   4380 
   4381 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4382 
   4383 fi
   4384 
   4385 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4386 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4387 		  inttypes.h stdint.h unistd.h
   4388 do :
   4389   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4390 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4391 "
   4392 eval as_val=\$$as_ac_Header
   4393    if test "x$as_val" = x""yes; then :
   4394   cat >>confdefs.h <<_ACEOF
   4395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4396 _ACEOF
   4397 
   4398 fi
   4399 
   4400 done
   4401 
   4402 
   4403 
   4404 
   4405 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4406 	if test -n "$ac_tool_prefix"; then
   4407   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4408 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4410 $as_echo_n "checking for $ac_word... " >&6; }
   4411 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   case $PKG_CONFIG in
   4415   [\\/]* | ?:[\\/]*)
   4416   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4417   ;;
   4418   *)
   4419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4420 for as_dir in $PATH
   4421 do
   4422   IFS=$as_save_IFS
   4423   test -z "$as_dir" && as_dir=.
   4424     for ac_exec_ext in '' $ac_executable_extensions; do
   4425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4426     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4428     break 2
   4429   fi
   4430 done
   4431   done
   4432 IFS=$as_save_IFS
   4433 
   4434   ;;
   4435 esac
   4436 fi
   4437 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4438 if test -n "$PKG_CONFIG"; then
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4440 $as_echo "$PKG_CONFIG" >&6; }
   4441 else
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4443 $as_echo "no" >&6; }
   4444 fi
   4445 
   4446 
   4447 fi
   4448 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4449   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4450   # Extract the first word of "pkg-config", so it can be a program name with args.
   4451 set dummy pkg-config; ac_word=$2
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4453 $as_echo_n "checking for $ac_word... " >&6; }
   4454 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457   case $ac_pt_PKG_CONFIG in
   4458   [\\/]* | ?:[\\/]*)
   4459   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4460   ;;
   4461   *)
   4462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4463 for as_dir in $PATH
   4464 do
   4465   IFS=$as_save_IFS
   4466   test -z "$as_dir" && as_dir=.
   4467     for ac_exec_ext in '' $ac_executable_extensions; do
   4468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4469     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4471     break 2
   4472   fi
   4473 done
   4474   done
   4475 IFS=$as_save_IFS
   4476 
   4477   ;;
   4478 esac
   4479 fi
   4480 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4481 if test -n "$ac_pt_PKG_CONFIG"; then
   4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4483 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4484 else
   4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4486 $as_echo "no" >&6; }
   4487 fi
   4488 
   4489   if test "x$ac_pt_PKG_CONFIG" = x; then
   4490     PKG_CONFIG=""
   4491   else
   4492     case $cross_compiling:$ac_tool_warned in
   4493 yes:)
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4496 ac_tool_warned=yes ;;
   4497 esac
   4498     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4499   fi
   4500 else
   4501   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4502 fi
   4503 
   4504 fi
   4505 if test -n "$PKG_CONFIG"; then
   4506 	_pkg_min_version=0.9.0
   4507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4508 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4509 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4511 $as_echo "yes" >&6; }
   4512 	else
   4513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4514 $as_echo "no" >&6; }
   4515 		PKG_CONFIG=""
   4516 	fi
   4517 
   4518 fi
   4519 # Make sure we can run config.sub.
   4520 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4521   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4522 
   4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4524 $as_echo_n "checking build system type... " >&6; }
   4525 if test "${ac_cv_build+set}" = set; then :
   4526   $as_echo_n "(cached) " >&6
   4527 else
   4528   ac_build_alias=$build_alias
   4529 test "x$ac_build_alias" = x &&
   4530   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4531 test "x$ac_build_alias" = x &&
   4532   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   4533 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4534   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4535 
   4536 fi
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4538 $as_echo "$ac_cv_build" >&6; }
   4539 case $ac_cv_build in
   4540 *-*-*) ;;
   4541 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   4542 esac
   4543 build=$ac_cv_build
   4544 ac_save_IFS=$IFS; IFS='-'
   4545 set x $ac_cv_build
   4546 shift
   4547 build_cpu=$1
   4548 build_vendor=$2
   4549 shift; shift
   4550 # Remember, the first character of IFS is used to create $*,
   4551 # except with old shells:
   4552 build_os=$*
   4553 IFS=$ac_save_IFS
   4554 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4555 
   4556 
   4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4558 $as_echo_n "checking host system type... " >&6; }
   4559 if test "${ac_cv_host+set}" = set; then :
   4560   $as_echo_n "(cached) " >&6
   4561 else
   4562   if test "x$host_alias" = x; then
   4563   ac_cv_host=$ac_cv_build
   4564 else
   4565   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4566     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4567 fi
   4568 
   4569 fi
   4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4571 $as_echo "$ac_cv_host" >&6; }
   4572 case $ac_cv_host in
   4573 *-*-*) ;;
   4574 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   4575 esac
   4576 host=$ac_cv_host
   4577 ac_save_IFS=$IFS; IFS='-'
   4578 set x $ac_cv_host
   4579 shift
   4580 host_cpu=$1
   4581 host_vendor=$2
   4582 shift; shift
   4583 # Remember, the first character of IFS is used to create $*,
   4584 # except with old shells:
   4585 host_os=$*
   4586 IFS=$ac_save_IFS
   4587 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4588 
   4589 
   4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4591 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4592 if test "${ac_cv_path_SED+set}" = set; then :
   4593   $as_echo_n "(cached) " >&6
   4594 else
   4595             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4596      for ac_i in 1 2 3 4 5 6 7; do
   4597        ac_script="$ac_script$as_nl$ac_script"
   4598      done
   4599      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4600      { ac_script=; unset ac_script;}
   4601      if test -z "$SED"; then
   4602   ac_path_SED_found=false
   4603   # Loop through the user's path and test for each of PROGNAME-LIST
   4604   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4605 for as_dir in $PATH
   4606 do
   4607   IFS=$as_save_IFS
   4608   test -z "$as_dir" && as_dir=.
   4609     for ac_prog in sed gsed; do
   4610     for ac_exec_ext in '' $ac_executable_extensions; do
   4611       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4612       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4613 # Check for GNU ac_path_SED and select it if it is found.
   4614   # Check for GNU $ac_path_SED
   4615 case `"$ac_path_SED" --version 2>&1` in
   4616 *GNU*)
   4617   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4618 *)
   4619   ac_count=0
   4620   $as_echo_n 0123456789 >"conftest.in"
   4621   while :
   4622   do
   4623     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4624     mv "conftest.tmp" "conftest.in"
   4625     cp "conftest.in" "conftest.nl"
   4626     $as_echo '' >> "conftest.nl"
   4627     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4628     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4629     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4630     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4631       # Best one so far, save it but keep looking for a better one
   4632       ac_cv_path_SED="$ac_path_SED"
   4633       ac_path_SED_max=$ac_count
   4634     fi
   4635     # 10*(2^10) chars as input seems more than enough
   4636     test $ac_count -gt 10 && break
   4637   done
   4638   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4639 esac
   4640 
   4641       $ac_path_SED_found && break 3
   4642     done
   4643   done
   4644   done
   4645 IFS=$as_save_IFS
   4646   if test -z "$ac_cv_path_SED"; then
   4647     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4648   fi
   4649 else
   4650   ac_cv_path_SED=$SED
   4651 fi
   4652 
   4653 fi
   4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4655 $as_echo "$ac_cv_path_SED" >&6; }
   4656  SED="$ac_cv_path_SED"
   4657   rm -f conftest.sed
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 if  test "x$GCC" = xyes ; then
   4664     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4665 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4666 -Wbad-function-cast -Wformat=2"
   4667     case `$CC -dumpversion` in
   4668     3.4.* | 4.*)
   4669 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4670 	;;
   4671     esac
   4672 else
   4673     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4674 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4675   SUNCC="yes"
   4676 else
   4677   SUNCC="no"
   4678 fi
   4679 
   4680     if test "x$SUNCC" = "xyes"; then
   4681 	CWARNFLAGS="-v"
   4682     fi
   4683 fi
   4684 
   4685 
   4686 
   4687 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4688 
   4689 
   4690 
   4691 # Check whether --enable-strict-compilation was given.
   4692 if test "${enable_strict_compilation+set}" = set; then :
   4693   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4694 else
   4695   STRICT_COMPILE=no
   4696 fi
   4697 
   4698 if test "x$STRICT_COMPILE" = "xyes"; then
   4699 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4700 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4701   SUNCC="yes"
   4702 else
   4703   SUNCC="no"
   4704 fi
   4705 
   4706 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4707 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
   4708   INTELCC="yes"
   4709 else
   4710   INTELCC="no"
   4711 fi
   4712 
   4713 	if test "x$GCC" = xyes ; then
   4714 		STRICT_CFLAGS="-pedantic -Werror"
   4715 	elif test "x$SUNCC" = "xyes"; then
   4716 		STRICT_CFLAGS="-errwarn"
   4717     elif test "x$INTELCC" = "xyes"; then
   4718 		STRICT_CFLAGS="-Werror"
   4719 	fi
   4720 fi
   4721 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4722 
   4723 
   4724 
   4725 
   4726 cat >>confdefs.h <<_ACEOF
   4727 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4728 _ACEOF
   4729 
   4730 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4731 	if test "x$PVM" = "x"; then
   4732 		PVM="0"
   4733 	fi
   4734 
   4735 cat >>confdefs.h <<_ACEOF
   4736 #define PACKAGE_VERSION_MINOR $PVM
   4737 _ACEOF
   4738 
   4739 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4740 	if test "x$PVP" = "x"; then
   4741 		PVP="0"
   4742 	fi
   4743 
   4744 cat >>confdefs.h <<_ACEOF
   4745 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4746 _ACEOF
   4747 
   4748 
   4749 
   4750 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4751 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4752 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4753 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4754 
   4755 
   4756 
   4757 
   4758 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4759 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4760 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4761 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4762 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 if test x$APP_MAN_SUFFIX = x    ; then
   4770     APP_MAN_SUFFIX=1
   4771 fi
   4772 if test x$APP_MAN_DIR = x    ; then
   4773     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4774 fi
   4775 
   4776 if test x$LIB_MAN_SUFFIX = x    ; then
   4777     LIB_MAN_SUFFIX=3
   4778 fi
   4779 if test x$LIB_MAN_DIR = x    ; then
   4780     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4781 fi
   4782 
   4783 if test x$FILE_MAN_SUFFIX = x    ; then
   4784     case $host_os in
   4785 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4786 	*)		FILE_MAN_SUFFIX=5  ;;
   4787     esac
   4788 fi
   4789 if test x$FILE_MAN_DIR = x    ; then
   4790     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4791 fi
   4792 
   4793 if test x$MISC_MAN_SUFFIX = x    ; then
   4794     case $host_os in
   4795 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4796 	*)		MISC_MAN_SUFFIX=7  ;;
   4797     esac
   4798 fi
   4799 if test x$MISC_MAN_DIR = x    ; then
   4800     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4801 fi
   4802 
   4803 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4804     case $host_os in
   4805 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4806 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4807     esac
   4808 fi
   4809 if test x$DRIVER_MAN_DIR = x    ; then
   4810     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4811 fi
   4812 
   4813 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4814     case $host_os in
   4815 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4816 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4817     esac
   4818 fi
   4819 if test x$ADMIN_MAN_DIR = x    ; then
   4820     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4821 fi
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 XORG_MAN_PAGE="X Version 11"
   4838 
   4839 MAN_SUBSTS="\
   4840 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4841 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4842 	-e 's|__xservername__|Xorg|g' \
   4843 	-e 's|__xconfigfile__|xorg.conf|g' \
   4844 	-e 's|__projectroot__|\$(prefix)|g' \
   4845 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4846 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4847 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4848 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4849 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4850 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4851 
   4852 
   4853 
   4854 # Check whether --enable-silent-rules was given.
   4855 if test "${enable_silent_rules+set}" = set; then :
   4856   enableval=$enable_silent_rules;
   4857 fi
   4858 
   4859 case $enable_silent_rules in
   4860 yes) AM_DEFAULT_VERBOSITY=0;;
   4861 no)  AM_DEFAULT_VERBOSITY=1;;
   4862 *)   AM_DEFAULT_VERBOSITY=0;;
   4863 esac
   4864 AM_BACKSLASH='\'
   4865 
   4866 
   4867 
   4868 # Initialize libtool
   4869 # Check whether --enable-static was given.
   4870 if test "${enable_static+set}" = set; then :
   4871   enableval=$enable_static; p=${PACKAGE-default}
   4872     case $enableval in
   4873     yes) enable_static=yes ;;
   4874     no) enable_static=no ;;
   4875     *)
   4876      enable_static=no
   4877       # Look at the argument we got.  We use all the common list separators.
   4878       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4879       for pkg in $enableval; do
   4880 	IFS="$lt_save_ifs"
   4881 	if test "X$pkg" = "X$p"; then
   4882 	  enable_static=yes
   4883 	fi
   4884       done
   4885       IFS="$lt_save_ifs"
   4886       ;;
   4887     esac
   4888 else
   4889   enable_static=no
   4890 fi
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 case `pwd` in
   4901   *\ * | *\	*)
   4902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4904 esac
   4905 
   4906 
   4907 
   4908 macro_version='2.2.6b'
   4909 macro_revision='1.3017'
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 ltmain="$ac_aux_dir/ltmain.sh"
   4924 
   4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4926 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4927 if test "${ac_cv_path_SED+set}" = set; then :
   4928   $as_echo_n "(cached) " >&6
   4929 else
   4930             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4931      for ac_i in 1 2 3 4 5 6 7; do
   4932        ac_script="$ac_script$as_nl$ac_script"
   4933      done
   4934      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4935      { ac_script=; unset ac_script;}
   4936      if test -z "$SED"; then
   4937   ac_path_SED_found=false
   4938   # Loop through the user's path and test for each of PROGNAME-LIST
   4939   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4940 for as_dir in $PATH
   4941 do
   4942   IFS=$as_save_IFS
   4943   test -z "$as_dir" && as_dir=.
   4944     for ac_prog in sed gsed; do
   4945     for ac_exec_ext in '' $ac_executable_extensions; do
   4946       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4947       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4948 # Check for GNU ac_path_SED and select it if it is found.
   4949   # Check for GNU $ac_path_SED
   4950 case `"$ac_path_SED" --version 2>&1` in
   4951 *GNU*)
   4952   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4953 *)
   4954   ac_count=0
   4955   $as_echo_n 0123456789 >"conftest.in"
   4956   while :
   4957   do
   4958     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4959     mv "conftest.tmp" "conftest.in"
   4960     cp "conftest.in" "conftest.nl"
   4961     $as_echo '' >> "conftest.nl"
   4962     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4963     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4964     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4965     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4966       # Best one so far, save it but keep looking for a better one
   4967       ac_cv_path_SED="$ac_path_SED"
   4968       ac_path_SED_max=$ac_count
   4969     fi
   4970     # 10*(2^10) chars as input seems more than enough
   4971     test $ac_count -gt 10 && break
   4972   done
   4973   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4974 esac
   4975 
   4976       $ac_path_SED_found && break 3
   4977     done
   4978   done
   4979   done
   4980 IFS=$as_save_IFS
   4981   if test -z "$ac_cv_path_SED"; then
   4982     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4983   fi
   4984 else
   4985   ac_cv_path_SED=$SED
   4986 fi
   4987 
   4988 fi
   4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4990 $as_echo "$ac_cv_path_SED" >&6; }
   4991  SED="$ac_cv_path_SED"
   4992   rm -f conftest.sed
   4993 
   4994 test -z "$SED" && SED=sed
   4995 Xsed="$SED -e 1s/^X//"
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5008 $as_echo_n "checking for fgrep... " >&6; }
   5009 if test "${ac_cv_path_FGREP+set}" = set; then :
   5010   $as_echo_n "(cached) " >&6
   5011 else
   5012   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5013    then ac_cv_path_FGREP="$GREP -F"
   5014    else
   5015      if test -z "$FGREP"; then
   5016   ac_path_FGREP_found=false
   5017   # Loop through the user's path and test for each of PROGNAME-LIST
   5018   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5019 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5020 do
   5021   IFS=$as_save_IFS
   5022   test -z "$as_dir" && as_dir=.
   5023     for ac_prog in fgrep; do
   5024     for ac_exec_ext in '' $ac_executable_extensions; do
   5025       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5026       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5027 # Check for GNU ac_path_FGREP and select it if it is found.
   5028   # Check for GNU $ac_path_FGREP
   5029 case `"$ac_path_FGREP" --version 2>&1` in
   5030 *GNU*)
   5031   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5032 *)
   5033   ac_count=0
   5034   $as_echo_n 0123456789 >"conftest.in"
   5035   while :
   5036   do
   5037     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5038     mv "conftest.tmp" "conftest.in"
   5039     cp "conftest.in" "conftest.nl"
   5040     $as_echo 'FGREP' >> "conftest.nl"
   5041     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5042     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5043     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5044     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5045       # Best one so far, save it but keep looking for a better one
   5046       ac_cv_path_FGREP="$ac_path_FGREP"
   5047       ac_path_FGREP_max=$ac_count
   5048     fi
   5049     # 10*(2^10) chars as input seems more than enough
   5050     test $ac_count -gt 10 && break
   5051   done
   5052   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5053 esac
   5054 
   5055       $ac_path_FGREP_found && break 3
   5056     done
   5057   done
   5058   done
   5059 IFS=$as_save_IFS
   5060   if test -z "$ac_cv_path_FGREP"; then
   5061     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5062   fi
   5063 else
   5064   ac_cv_path_FGREP=$FGREP
   5065 fi
   5066 
   5067    fi
   5068 fi
   5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5070 $as_echo "$ac_cv_path_FGREP" >&6; }
   5071  FGREP="$ac_cv_path_FGREP"
   5072 
   5073 
   5074 test -z "$GREP" && GREP=grep
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 # Check whether --with-gnu-ld was given.
   5095 if test "${with_gnu_ld+set}" = set; then :
   5096   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5097 else
   5098   with_gnu_ld=no
   5099 fi
   5100 
   5101 ac_prog=ld
   5102 if test "$GCC" = yes; then
   5103   # Check if gcc -print-prog-name=ld gives a path.
   5104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5105 $as_echo_n "checking for ld used by $CC... " >&6; }
   5106   case $host in
   5107   *-*-mingw*)
   5108     # gcc leaves a trailing carriage return which upsets mingw
   5109     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5110   *)
   5111     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5112   esac
   5113   case $ac_prog in
   5114     # Accept absolute paths.
   5115     [\\/]* | ?:[\\/]*)
   5116       re_direlt='/[^/][^/]*/\.\./'
   5117       # Canonicalize the pathname of ld
   5118       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5119       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5120 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5121       done
   5122       test -z "$LD" && LD="$ac_prog"
   5123       ;;
   5124   "")
   5125     # If it fails, then pretend we aren't using GCC.
   5126     ac_prog=ld
   5127     ;;
   5128   *)
   5129     # If it is relative, then search for the first ld in PATH.
   5130     with_gnu_ld=unknown
   5131     ;;
   5132   esac
   5133 elif test "$with_gnu_ld" = yes; then
   5134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5135 $as_echo_n "checking for GNU ld... " >&6; }
   5136 else
   5137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5138 $as_echo_n "checking for non-GNU ld... " >&6; }
   5139 fi
   5140 if test "${lt_cv_path_LD+set}" = set; then :
   5141   $as_echo_n "(cached) " >&6
   5142 else
   5143   if test -z "$LD"; then
   5144   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5145   for ac_dir in $PATH; do
   5146     IFS="$lt_save_ifs"
   5147     test -z "$ac_dir" && ac_dir=.
   5148     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5149       lt_cv_path_LD="$ac_dir/$ac_prog"
   5150       # Check to see if the program is GNU ld.  I'd rather use --version,
   5151       # but apparently some variants of GNU ld only accept -v.
   5152       # Break only if it was the GNU/non-GNU ld that we prefer.
   5153       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5154       *GNU* | *'with BFD'*)
   5155 	test "$with_gnu_ld" != no && break
   5156 	;;
   5157       *)
   5158 	test "$with_gnu_ld" != yes && break
   5159 	;;
   5160       esac
   5161     fi
   5162   done
   5163   IFS="$lt_save_ifs"
   5164 else
   5165   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5166 fi
   5167 fi
   5168 
   5169 LD="$lt_cv_path_LD"
   5170 if test -n "$LD"; then
   5171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5172 $as_echo "$LD" >&6; }
   5173 else
   5174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5175 $as_echo "no" >&6; }
   5176 fi
   5177 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5179 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5180 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5181   $as_echo_n "(cached) " >&6
   5182 else
   5183   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5184 case `$LD -v 2>&1 </dev/null` in
   5185 *GNU* | *'with BFD'*)
   5186   lt_cv_prog_gnu_ld=yes
   5187   ;;
   5188 *)
   5189   lt_cv_prog_gnu_ld=no
   5190   ;;
   5191 esac
   5192 fi
   5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5194 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5195 with_gnu_ld=$lt_cv_prog_gnu_ld
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5206 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5207 if test "${lt_cv_path_NM+set}" = set; then :
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   if test -n "$NM"; then
   5211   # Let the user override the test.
   5212   lt_cv_path_NM="$NM"
   5213 else
   5214   lt_nm_to_check="${ac_tool_prefix}nm"
   5215   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5216     lt_nm_to_check="$lt_nm_to_check nm"
   5217   fi
   5218   for lt_tmp_nm in $lt_nm_to_check; do
   5219     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5220     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5221       IFS="$lt_save_ifs"
   5222       test -z "$ac_dir" && ac_dir=.
   5223       tmp_nm="$ac_dir/$lt_tmp_nm"
   5224       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5225 	# Check to see if the nm accepts a BSD-compat flag.
   5226 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5227 	#   nm: unknown option "B" ignored
   5228 	# Tru64's nm complains that /dev/null is an invalid object file
   5229 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5230 	*/dev/null* | *'Invalid file or object type'*)
   5231 	  lt_cv_path_NM="$tmp_nm -B"
   5232 	  break
   5233 	  ;;
   5234 	*)
   5235 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5236 	  */dev/null*)
   5237 	    lt_cv_path_NM="$tmp_nm -p"
   5238 	    break
   5239 	    ;;
   5240 	  *)
   5241 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5242 	    continue # so that we can try to find one that supports BSD flags
   5243 	    ;;
   5244 	  esac
   5245 	  ;;
   5246 	esac
   5247       fi
   5248     done
   5249     IFS="$lt_save_ifs"
   5250   done
   5251   : ${lt_cv_path_NM=no}
   5252 fi
   5253 fi
   5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5255 $as_echo "$lt_cv_path_NM" >&6; }
   5256 if test "$lt_cv_path_NM" != "no"; then
   5257   NM="$lt_cv_path_NM"
   5258 else
   5259   # Didn't find any BSD compatible name lister, look for dumpbin.
   5260   if test -n "$ac_tool_prefix"; then
   5261   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5262   do
   5263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5266 $as_echo_n "checking for $ac_word... " >&6; }
   5267 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   if test -n "$DUMPBIN"; then
   5271   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5272 else
   5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5274 for as_dir in $PATH
   5275 do
   5276   IFS=$as_save_IFS
   5277   test -z "$as_dir" && as_dir=.
   5278     for ac_exec_ext in '' $ac_executable_extensions; do
   5279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5280     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5282     break 2
   5283   fi
   5284 done
   5285   done
   5286 IFS=$as_save_IFS
   5287 
   5288 fi
   5289 fi
   5290 DUMPBIN=$ac_cv_prog_DUMPBIN
   5291 if test -n "$DUMPBIN"; then
   5292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5293 $as_echo "$DUMPBIN" >&6; }
   5294 else
   5295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5296 $as_echo "no" >&6; }
   5297 fi
   5298 
   5299 
   5300     test -n "$DUMPBIN" && break
   5301   done
   5302 fi
   5303 if test -z "$DUMPBIN"; then
   5304   ac_ct_DUMPBIN=$DUMPBIN
   5305   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5306 do
   5307   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5308 set dummy $ac_prog; ac_word=$2
   5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5310 $as_echo_n "checking for $ac_word... " >&6; }
   5311 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5312   $as_echo_n "(cached) " >&6
   5313 else
   5314   if test -n "$ac_ct_DUMPBIN"; then
   5315   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5316 else
   5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5318 for as_dir in $PATH
   5319 do
   5320   IFS=$as_save_IFS
   5321   test -z "$as_dir" && as_dir=.
   5322     for ac_exec_ext in '' $ac_executable_extensions; do
   5323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5324     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5326     break 2
   5327   fi
   5328 done
   5329   done
   5330 IFS=$as_save_IFS
   5331 
   5332 fi
   5333 fi
   5334 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5335 if test -n "$ac_ct_DUMPBIN"; then
   5336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5337 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5338 else
   5339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5340 $as_echo "no" >&6; }
   5341 fi
   5342 
   5343 
   5344   test -n "$ac_ct_DUMPBIN" && break
   5345 done
   5346 
   5347   if test "x$ac_ct_DUMPBIN" = x; then
   5348     DUMPBIN=":"
   5349   else
   5350     case $cross_compiling:$ac_tool_warned in
   5351 yes:)
   5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5354 ac_tool_warned=yes ;;
   5355 esac
   5356     DUMPBIN=$ac_ct_DUMPBIN
   5357   fi
   5358 fi
   5359 
   5360 
   5361   if test "$DUMPBIN" != ":"; then
   5362     NM="$DUMPBIN"
   5363   fi
   5364 fi
   5365 test -z "$NM" && NM=nm
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5373 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5374 if test "${lt_cv_nm_interface+set}" = set; then :
   5375   $as_echo_n "(cached) " >&6
   5376 else
   5377   lt_cv_nm_interface="BSD nm"
   5378   echo "int some_variable = 0;" > conftest.$ac_ext
   5379   (eval echo "\"\$as_me:5379: $ac_compile\"" >&5)
   5380   (eval "$ac_compile" 2>conftest.err)
   5381   cat conftest.err >&5
   5382   (eval echo "\"\$as_me:5382: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5383   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5384   cat conftest.err >&5
   5385   (eval echo "\"\$as_me:5385: output\"" >&5)
   5386   cat conftest.out >&5
   5387   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5388     lt_cv_nm_interface="MS dumpbin"
   5389   fi
   5390   rm -f conftest*
   5391 fi
   5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5393 $as_echo "$lt_cv_nm_interface" >&6; }
   5394 
   5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5396 $as_echo_n "checking whether ln -s works... " >&6; }
   5397 LN_S=$as_ln_s
   5398 if test "$LN_S" = "ln -s"; then
   5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5400 $as_echo "yes" >&6; }
   5401 else
   5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5403 $as_echo "no, using $LN_S" >&6; }
   5404 fi
   5405 
   5406 # find the maximum length of command line arguments
   5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5408 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5409 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412     i=0
   5413   teststring="ABCD"
   5414 
   5415   case $build_os in
   5416   msdosdjgpp*)
   5417     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5418     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5419     # during glob expansion).  Even if it were fixed, the result of this
   5420     # check would be larger than it should be.
   5421     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5422     ;;
   5423 
   5424   gnu*)
   5425     # Under GNU Hurd, this test is not required because there is
   5426     # no limit to the length of command line arguments.
   5427     # Libtool will interpret -1 as no limit whatsoever
   5428     lt_cv_sys_max_cmd_len=-1;
   5429     ;;
   5430 
   5431   cygwin* | mingw* | cegcc*)
   5432     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5433     # about 5 minutes as the teststring grows exponentially.
   5434     # Worse, since 9x/ME are not pre-emptively multitasking,
   5435     # you end up with a "frozen" computer, even though with patience
   5436     # the test eventually succeeds (with a max line length of 256k).
   5437     # Instead, let's just punt: use the minimum linelength reported by
   5438     # all of the supported platforms: 8192 (on NT/2K/XP).
   5439     lt_cv_sys_max_cmd_len=8192;
   5440     ;;
   5441 
   5442   amigaos*)
   5443     # On AmigaOS with pdksh, this test takes hours, literally.
   5444     # So we just punt and use a minimum line length of 8192.
   5445     lt_cv_sys_max_cmd_len=8192;
   5446     ;;
   5447 
   5448   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5449     # This has been around since 386BSD, at least.  Likely further.
   5450     if test -x /sbin/sysctl; then
   5451       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5452     elif test -x /usr/sbin/sysctl; then
   5453       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5454     else
   5455       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5456     fi
   5457     # And add a safety zone
   5458     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5459     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5460     ;;
   5461 
   5462   interix*)
   5463     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5464     lt_cv_sys_max_cmd_len=196608
   5465     ;;
   5466 
   5467   osf*)
   5468     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5469     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5470     # nice to cause kernel panics so lets avoid the loop below.
   5471     # First set a reasonable default.
   5472     lt_cv_sys_max_cmd_len=16384
   5473     #
   5474     if test -x /sbin/sysconfig; then
   5475       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5476         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5477       esac
   5478     fi
   5479     ;;
   5480   sco3.2v5*)
   5481     lt_cv_sys_max_cmd_len=102400
   5482     ;;
   5483   sysv5* | sco5v6* | sysv4.2uw2*)
   5484     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5485     if test -n "$kargmax"; then
   5486       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5487     else
   5488       lt_cv_sys_max_cmd_len=32768
   5489     fi
   5490     ;;
   5491   *)
   5492     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5493     if test -n "$lt_cv_sys_max_cmd_len"; then
   5494       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5495       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5496     else
   5497       # Make teststring a little bigger before we do anything with it.
   5498       # a 1K string should be a reasonable start.
   5499       for i in 1 2 3 4 5 6 7 8 ; do
   5500         teststring=$teststring$teststring
   5501       done
   5502       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5503       # If test is not a shell built-in, we'll probably end up computing a
   5504       # maximum length that is only half of the actual maximum length, but
   5505       # we can't tell.
   5506       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5507 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5508 	      test $i != 17 # 1/2 MB should be enough
   5509       do
   5510         i=`expr $i + 1`
   5511         teststring=$teststring$teststring
   5512       done
   5513       # Only check the string length outside the loop.
   5514       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5515       teststring=
   5516       # Add a significant safety factor because C++ compilers can tack on
   5517       # massive amounts of additional arguments before passing them to the
   5518       # linker.  It appears as though 1/2 is a usable value.
   5519       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5520     fi
   5521     ;;
   5522   esac
   5523 
   5524 fi
   5525 
   5526 if test -n $lt_cv_sys_max_cmd_len ; then
   5527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5528 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5529 else
   5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5531 $as_echo "none" >&6; }
   5532 fi
   5533 max_cmd_len=$lt_cv_sys_max_cmd_len
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 : ${CP="cp -f"}
   5541 : ${MV="mv -f"}
   5542 : ${RM="rm -f"}
   5543 
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5545 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5546 # Try some XSI features
   5547 xsi_shell=no
   5548 ( _lt_dummy="a/b/c"
   5549   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5550       = c,a/b,, \
   5551     && eval 'test $(( 1 + 1 )) -eq 2 \
   5552     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5553   && xsi_shell=yes
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5555 $as_echo "$xsi_shell" >&6; }
   5556 
   5557 
   5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5559 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5560 lt_shell_append=no
   5561 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5562     >/dev/null 2>&1 \
   5563   && lt_shell_append=yes
   5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5565 $as_echo "$lt_shell_append" >&6; }
   5566 
   5567 
   5568 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5569   lt_unset=unset
   5570 else
   5571   lt_unset=false
   5572 fi
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 # test EBCDIC or ASCII
   5579 case `echo X|tr X '\101'` in
   5580  A) # ASCII based system
   5581     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5582   lt_SP2NL='tr \040 \012'
   5583   lt_NL2SP='tr \015\012 \040\040'
   5584   ;;
   5585  *) # EBCDIC based system
   5586   lt_SP2NL='tr \100 \n'
   5587   lt_NL2SP='tr \r\n \100\100'
   5588   ;;
   5589 esac
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5600 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5601 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5602   $as_echo_n "(cached) " >&6
   5603 else
   5604   lt_cv_ld_reload_flag='-r'
   5605 fi
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5607 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5608 reload_flag=$lt_cv_ld_reload_flag
   5609 case $reload_flag in
   5610 "" | " "*) ;;
   5611 *) reload_flag=" $reload_flag" ;;
   5612 esac
   5613 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5614 case $host_os in
   5615   darwin*)
   5616     if test "$GCC" = yes; then
   5617       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5618     else
   5619       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5620     fi
   5621     ;;
   5622 esac
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 if test -n "$ac_tool_prefix"; then
   5633   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5634 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5636 $as_echo_n "checking for $ac_word... " >&6; }
   5637 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5638   $as_echo_n "(cached) " >&6
   5639 else
   5640   if test -n "$OBJDUMP"; then
   5641   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5642 else
   5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5644 for as_dir in $PATH
   5645 do
   5646   IFS=$as_save_IFS
   5647   test -z "$as_dir" && as_dir=.
   5648     for ac_exec_ext in '' $ac_executable_extensions; do
   5649   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5650     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5652     break 2
   5653   fi
   5654 done
   5655   done
   5656 IFS=$as_save_IFS
   5657 
   5658 fi
   5659 fi
   5660 OBJDUMP=$ac_cv_prog_OBJDUMP
   5661 if test -n "$OBJDUMP"; then
   5662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5663 $as_echo "$OBJDUMP" >&6; }
   5664 else
   5665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5666 $as_echo "no" >&6; }
   5667 fi
   5668 
   5669 
   5670 fi
   5671 if test -z "$ac_cv_prog_OBJDUMP"; then
   5672   ac_ct_OBJDUMP=$OBJDUMP
   5673   # Extract the first word of "objdump", so it can be a program name with args.
   5674 set dummy objdump; ac_word=$2
   5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5676 $as_echo_n "checking for $ac_word... " >&6; }
   5677 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5678   $as_echo_n "(cached) " >&6
   5679 else
   5680   if test -n "$ac_ct_OBJDUMP"; then
   5681   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5682 else
   5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5684 for as_dir in $PATH
   5685 do
   5686   IFS=$as_save_IFS
   5687   test -z "$as_dir" && as_dir=.
   5688     for ac_exec_ext in '' $ac_executable_extensions; do
   5689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5690     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5692     break 2
   5693   fi
   5694 done
   5695   done
   5696 IFS=$as_save_IFS
   5697 
   5698 fi
   5699 fi
   5700 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5701 if test -n "$ac_ct_OBJDUMP"; then
   5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5703 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5704 else
   5705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5706 $as_echo "no" >&6; }
   5707 fi
   5708 
   5709   if test "x$ac_ct_OBJDUMP" = x; then
   5710     OBJDUMP="false"
   5711   else
   5712     case $cross_compiling:$ac_tool_warned in
   5713 yes:)
   5714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5716 ac_tool_warned=yes ;;
   5717 esac
   5718     OBJDUMP=$ac_ct_OBJDUMP
   5719   fi
   5720 else
   5721   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5722 fi
   5723 
   5724 test -z "$OBJDUMP" && OBJDUMP=objdump
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5735 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5736 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5737   $as_echo_n "(cached) " >&6
   5738 else
   5739   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5740 lt_cv_file_magic_test_file=
   5741 lt_cv_deplibs_check_method='unknown'
   5742 # Need to set the preceding variable on all platforms that support
   5743 # interlibrary dependencies.
   5744 # 'none' -- dependencies not supported.
   5745 # `unknown' -- same as none, but documents that we really don't know.
   5746 # 'pass_all' -- all dependencies passed with no checks.
   5747 # 'test_compile' -- check by making test program.
   5748 # 'file_magic [[regex]]' -- check by looking for files in library path
   5749 # which responds to the $file_magic_cmd with a given extended regex.
   5750 # If you have `file' or equivalent on your system and you're not sure
   5751 # whether `pass_all' will *always* work, you probably want this one.
   5752 
   5753 case $host_os in
   5754 aix[4-9]*)
   5755   lt_cv_deplibs_check_method=pass_all
   5756   ;;
   5757 
   5758 beos*)
   5759   lt_cv_deplibs_check_method=pass_all
   5760   ;;
   5761 
   5762 bsdi[45]*)
   5763   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5764   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5765   lt_cv_file_magic_test_file=/shlib/libc.so
   5766   ;;
   5767 
   5768 cygwin*)
   5769   # func_win32_libid is a shell function defined in ltmain.sh
   5770   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5771   lt_cv_file_magic_cmd='func_win32_libid'
   5772   ;;
   5773 
   5774 mingw* | pw32*)
   5775   # Base MSYS/MinGW do not provide the 'file' command needed by
   5776   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5777   # unless we find 'file', for example because we are cross-compiling.
   5778   if ( file / ) >/dev/null 2>&1; then
   5779     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5780     lt_cv_file_magic_cmd='func_win32_libid'
   5781   else
   5782     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5783     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5784   fi
   5785   ;;
   5786 
   5787 cegcc)
   5788   # use the weaker test based on 'objdump'. See mingw*.
   5789   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5790   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5791   ;;
   5792 
   5793 darwin* | rhapsody*)
   5794   lt_cv_deplibs_check_method=pass_all
   5795   ;;
   5796 
   5797 freebsd* | dragonfly*)
   5798   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5799     case $host_cpu in
   5800     i*86 )
   5801       # Not sure whether the presence of OpenBSD here was a mistake.
   5802       # Let's accept both of them until this is cleared up.
   5803       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5804       lt_cv_file_magic_cmd=/usr/bin/file
   5805       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5806       ;;
   5807     esac
   5808   else
   5809     lt_cv_deplibs_check_method=pass_all
   5810   fi
   5811   ;;
   5812 
   5813 gnu*)
   5814   lt_cv_deplibs_check_method=pass_all
   5815   ;;
   5816 
   5817 hpux10.20* | hpux11*)
   5818   lt_cv_file_magic_cmd=/usr/bin/file
   5819   case $host_cpu in
   5820   ia64*)
   5821     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5822     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5823     ;;
   5824   hppa*64*)
   5825     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]'
   5826     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5827     ;;
   5828   *)
   5829     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5830     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5831     ;;
   5832   esac
   5833   ;;
   5834 
   5835 interix[3-9]*)
   5836   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5837   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5838   ;;
   5839 
   5840 irix5* | irix6* | nonstopux*)
   5841   case $LD in
   5842   *-32|*"-32 ") libmagic=32-bit;;
   5843   *-n32|*"-n32 ") libmagic=N32;;
   5844   *-64|*"-64 ") libmagic=64-bit;;
   5845   *) libmagic=never-match;;
   5846   esac
   5847   lt_cv_deplibs_check_method=pass_all
   5848   ;;
   5849 
   5850 # This must be Linux ELF.
   5851 linux* | k*bsd*-gnu)
   5852   lt_cv_deplibs_check_method=pass_all
   5853   ;;
   5854 
   5855 netbsd*)
   5856   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5857     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5858   else
   5859     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5860   fi
   5861   ;;
   5862 
   5863 newos6*)
   5864   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5865   lt_cv_file_magic_cmd=/usr/bin/file
   5866   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5867   ;;
   5868 
   5869 *nto* | *qnx*)
   5870   lt_cv_deplibs_check_method=pass_all
   5871   ;;
   5872 
   5873 openbsd*)
   5874   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5875     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5876   else
   5877     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5878   fi
   5879   ;;
   5880 
   5881 osf3* | osf4* | osf5*)
   5882   lt_cv_deplibs_check_method=pass_all
   5883   ;;
   5884 
   5885 rdos*)
   5886   lt_cv_deplibs_check_method=pass_all
   5887   ;;
   5888 
   5889 solaris*)
   5890   lt_cv_deplibs_check_method=pass_all
   5891   ;;
   5892 
   5893 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5894   lt_cv_deplibs_check_method=pass_all
   5895   ;;
   5896 
   5897 sysv4 | sysv4.3*)
   5898   case $host_vendor in
   5899   motorola)
   5900     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]'
   5901     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5902     ;;
   5903   ncr)
   5904     lt_cv_deplibs_check_method=pass_all
   5905     ;;
   5906   sequent)
   5907     lt_cv_file_magic_cmd='/bin/file'
   5908     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5909     ;;
   5910   sni)
   5911     lt_cv_file_magic_cmd='/bin/file'
   5912     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5913     lt_cv_file_magic_test_file=/lib/libc.so
   5914     ;;
   5915   siemens)
   5916     lt_cv_deplibs_check_method=pass_all
   5917     ;;
   5918   pc)
   5919     lt_cv_deplibs_check_method=pass_all
   5920     ;;
   5921   esac
   5922   ;;
   5923 
   5924 tpf*)
   5925   lt_cv_deplibs_check_method=pass_all
   5926   ;;
   5927 esac
   5928 
   5929 fi
   5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5931 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5932 file_magic_cmd=$lt_cv_file_magic_cmd
   5933 deplibs_check_method=$lt_cv_deplibs_check_method
   5934 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 if test -n "$ac_tool_prefix"; then
   5948   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5949 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5951 $as_echo_n "checking for $ac_word... " >&6; }
   5952 if test "${ac_cv_prog_AR+set}" = set; then :
   5953   $as_echo_n "(cached) " >&6
   5954 else
   5955   if test -n "$AR"; then
   5956   ac_cv_prog_AR="$AR" # Let the user override the test.
   5957 else
   5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5959 for as_dir in $PATH
   5960 do
   5961   IFS=$as_save_IFS
   5962   test -z "$as_dir" && as_dir=.
   5963     for ac_exec_ext in '' $ac_executable_extensions; do
   5964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5965     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5967     break 2
   5968   fi
   5969 done
   5970   done
   5971 IFS=$as_save_IFS
   5972 
   5973 fi
   5974 fi
   5975 AR=$ac_cv_prog_AR
   5976 if test -n "$AR"; then
   5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5978 $as_echo "$AR" >&6; }
   5979 else
   5980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5981 $as_echo "no" >&6; }
   5982 fi
   5983 
   5984 
   5985 fi
   5986 if test -z "$ac_cv_prog_AR"; then
   5987   ac_ct_AR=$AR
   5988   # Extract the first word of "ar", so it can be a program name with args.
   5989 set dummy ar; ac_word=$2
   5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5991 $as_echo_n "checking for $ac_word... " >&6; }
   5992 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5993   $as_echo_n "(cached) " >&6
   5994 else
   5995   if test -n "$ac_ct_AR"; then
   5996   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5997 else
   5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5999 for as_dir in $PATH
   6000 do
   6001   IFS=$as_save_IFS
   6002   test -z "$as_dir" && as_dir=.
   6003     for ac_exec_ext in '' $ac_executable_extensions; do
   6004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6005     ac_cv_prog_ac_ct_AR="ar"
   6006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6007     break 2
   6008   fi
   6009 done
   6010   done
   6011 IFS=$as_save_IFS
   6012 
   6013 fi
   6014 fi
   6015 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6016 if test -n "$ac_ct_AR"; then
   6017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6018 $as_echo "$ac_ct_AR" >&6; }
   6019 else
   6020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6021 $as_echo "no" >&6; }
   6022 fi
   6023 
   6024   if test "x$ac_ct_AR" = x; then
   6025     AR="false"
   6026   else
   6027     case $cross_compiling:$ac_tool_warned in
   6028 yes:)
   6029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6031 ac_tool_warned=yes ;;
   6032 esac
   6033     AR=$ac_ct_AR
   6034   fi
   6035 else
   6036   AR="$ac_cv_prog_AR"
   6037 fi
   6038 
   6039 test -z "$AR" && AR=ar
   6040 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 if test -n "$ac_tool_prefix"; then
   6053   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6054 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6056 $as_echo_n "checking for $ac_word... " >&6; }
   6057 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   if test -n "$STRIP"; then
   6061   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6062 else
   6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6064 for as_dir in $PATH
   6065 do
   6066   IFS=$as_save_IFS
   6067   test -z "$as_dir" && as_dir=.
   6068     for ac_exec_ext in '' $ac_executable_extensions; do
   6069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6070     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6072     break 2
   6073   fi
   6074 done
   6075   done
   6076 IFS=$as_save_IFS
   6077 
   6078 fi
   6079 fi
   6080 STRIP=$ac_cv_prog_STRIP
   6081 if test -n "$STRIP"; then
   6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6083 $as_echo "$STRIP" >&6; }
   6084 else
   6085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6086 $as_echo "no" >&6; }
   6087 fi
   6088 
   6089 
   6090 fi
   6091 if test -z "$ac_cv_prog_STRIP"; then
   6092   ac_ct_STRIP=$STRIP
   6093   # Extract the first word of "strip", so it can be a program name with args.
   6094 set dummy strip; ac_word=$2
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6096 $as_echo_n "checking for $ac_word... " >&6; }
   6097 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   if test -n "$ac_ct_STRIP"; then
   6101   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6102 else
   6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6104 for as_dir in $PATH
   6105 do
   6106   IFS=$as_save_IFS
   6107   test -z "$as_dir" && as_dir=.
   6108     for ac_exec_ext in '' $ac_executable_extensions; do
   6109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6110     ac_cv_prog_ac_ct_STRIP="strip"
   6111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6112     break 2
   6113   fi
   6114 done
   6115   done
   6116 IFS=$as_save_IFS
   6117 
   6118 fi
   6119 fi
   6120 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6121 if test -n "$ac_ct_STRIP"; then
   6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6123 $as_echo "$ac_ct_STRIP" >&6; }
   6124 else
   6125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6126 $as_echo "no" >&6; }
   6127 fi
   6128 
   6129   if test "x$ac_ct_STRIP" = x; then
   6130     STRIP=":"
   6131   else
   6132     case $cross_compiling:$ac_tool_warned in
   6133 yes:)
   6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6136 ac_tool_warned=yes ;;
   6137 esac
   6138     STRIP=$ac_ct_STRIP
   6139   fi
   6140 else
   6141   STRIP="$ac_cv_prog_STRIP"
   6142 fi
   6143 
   6144 test -z "$STRIP" && STRIP=:
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 if test -n "$ac_tool_prefix"; then
   6152   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6155 $as_echo_n "checking for $ac_word... " >&6; }
   6156 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6157   $as_echo_n "(cached) " >&6
   6158 else
   6159   if test -n "$RANLIB"; then
   6160   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6161 else
   6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6163 for as_dir in $PATH
   6164 do
   6165   IFS=$as_save_IFS
   6166   test -z "$as_dir" && as_dir=.
   6167     for ac_exec_ext in '' $ac_executable_extensions; do
   6168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6169     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6171     break 2
   6172   fi
   6173 done
   6174   done
   6175 IFS=$as_save_IFS
   6176 
   6177 fi
   6178 fi
   6179 RANLIB=$ac_cv_prog_RANLIB
   6180 if test -n "$RANLIB"; then
   6181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6182 $as_echo "$RANLIB" >&6; }
   6183 else
   6184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6185 $as_echo "no" >&6; }
   6186 fi
   6187 
   6188 
   6189 fi
   6190 if test -z "$ac_cv_prog_RANLIB"; then
   6191   ac_ct_RANLIB=$RANLIB
   6192   # Extract the first word of "ranlib", so it can be a program name with args.
   6193 set dummy ranlib; ac_word=$2
   6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6195 $as_echo_n "checking for $ac_word... " >&6; }
   6196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6197   $as_echo_n "(cached) " >&6
   6198 else
   6199   if test -n "$ac_ct_RANLIB"; then
   6200   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6201 else
   6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6203 for as_dir in $PATH
   6204 do
   6205   IFS=$as_save_IFS
   6206   test -z "$as_dir" && as_dir=.
   6207     for ac_exec_ext in '' $ac_executable_extensions; do
   6208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6209     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6211     break 2
   6212   fi
   6213 done
   6214   done
   6215 IFS=$as_save_IFS
   6216 
   6217 fi
   6218 fi
   6219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6220 if test -n "$ac_ct_RANLIB"; then
   6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6222 $as_echo "$ac_ct_RANLIB" >&6; }
   6223 else
   6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6225 $as_echo "no" >&6; }
   6226 fi
   6227 
   6228   if test "x$ac_ct_RANLIB" = x; then
   6229     RANLIB=":"
   6230   else
   6231     case $cross_compiling:$ac_tool_warned in
   6232 yes:)
   6233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6235 ac_tool_warned=yes ;;
   6236 esac
   6237     RANLIB=$ac_ct_RANLIB
   6238   fi
   6239 else
   6240   RANLIB="$ac_cv_prog_RANLIB"
   6241 fi
   6242 
   6243 test -z "$RANLIB" && RANLIB=:
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 # Determine commands to create old-style static archives.
   6251 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6252 old_postinstall_cmds='chmod 644 $oldlib'
   6253 old_postuninstall_cmds=
   6254 
   6255 if test -n "$RANLIB"; then
   6256   case $host_os in
   6257   openbsd*)
   6258     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6259     ;;
   6260   *)
   6261     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6262     ;;
   6263   esac
   6264   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6265 fi
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 # If no C compiler was specified, use CC.
   6301 LTCC=${LTCC-"$CC"}
   6302 
   6303 # If no C compiler flags were specified, use CFLAGS.
   6304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6305 
   6306 # Allow CC to be a program name with arguments.
   6307 compiler=$CC
   6308 
   6309 
   6310 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6312 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6313 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316 
   6317 # These are sane defaults that work on at least a few old systems.
   6318 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6319 
   6320 # Character class describing NM global symbol codes.
   6321 symcode='[BCDEGRST]'
   6322 
   6323 # Regexp to match symbols that can be accessed directly from C.
   6324 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6325 
   6326 # Define system-specific variables.
   6327 case $host_os in
   6328 aix*)
   6329   symcode='[BCDT]'
   6330   ;;
   6331 cygwin* | mingw* | pw32* | cegcc*)
   6332   symcode='[ABCDGISTW]'
   6333   ;;
   6334 hpux*)
   6335   if test "$host_cpu" = ia64; then
   6336     symcode='[ABCDEGRST]'
   6337   fi
   6338   ;;
   6339 irix* | nonstopux*)
   6340   symcode='[BCDEGRST]'
   6341   ;;
   6342 osf*)
   6343   symcode='[BCDEGQRST]'
   6344   ;;
   6345 solaris*)
   6346   symcode='[BDRT]'
   6347   ;;
   6348 sco3.2v5*)
   6349   symcode='[DT]'
   6350   ;;
   6351 sysv4.2uw2*)
   6352   symcode='[DT]'
   6353   ;;
   6354 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6355   symcode='[ABDT]'
   6356   ;;
   6357 sysv4)
   6358   symcode='[DFNSTU]'
   6359   ;;
   6360 esac
   6361 
   6362 # If we're using GNU nm, then use its standard symbol codes.
   6363 case `$NM -V 2>&1` in
   6364 *GNU* | *'with BFD'*)
   6365   symcode='[ABCDGIRSTW]' ;;
   6366 esac
   6367 
   6368 # Transform an extracted symbol line into a proper C declaration.
   6369 # Some systems (esp. on ia64) link data and code symbols differently,
   6370 # so use this general approach.
   6371 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6372 
   6373 # Transform an extracted symbol line into symbol name and symbol address
   6374 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6375 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'"
   6376 
   6377 # Handle CRLF in mingw tool chain
   6378 opt_cr=
   6379 case $build_os in
   6380 mingw*)
   6381   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6382   ;;
   6383 esac
   6384 
   6385 # Try without a prefix underscore, then with it.
   6386 for ac_symprfx in "" "_"; do
   6387 
   6388   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6389   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6390 
   6391   # Write the raw and C identifiers.
   6392   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6393     # Fake it for dumpbin and say T for any non-static function
   6394     # and D for any global variable.
   6395     # Also find C++ and __fastcall symbols from MSVC++,
   6396     # which start with @ or ?.
   6397     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6398 "     {last_section=section; section=\$ 3};"\
   6399 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6400 "     \$ 0!~/External *\|/{next};"\
   6401 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6402 "     {if(hide[section]) next};"\
   6403 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6404 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6405 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6406 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6407 "     ' prfx=^$ac_symprfx"
   6408   else
   6409     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6410   fi
   6411 
   6412   # Check to see that the pipe works correctly.
   6413   pipe_works=no
   6414 
   6415   rm -f conftest*
   6416   cat > conftest.$ac_ext <<_LT_EOF
   6417 #ifdef __cplusplus
   6418 extern "C" {
   6419 #endif
   6420 char nm_test_var;
   6421 void nm_test_func(void);
   6422 void nm_test_func(void){}
   6423 #ifdef __cplusplus
   6424 }
   6425 #endif
   6426 int main(){nm_test_var='a';nm_test_func();return(0);}
   6427 _LT_EOF
   6428 
   6429   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6430   (eval $ac_compile) 2>&5
   6431   ac_status=$?
   6432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6433   test $ac_status = 0; }; then
   6434     # Now try to grab the symbols.
   6435     nlist=conftest.nm
   6436     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6437   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6438   ac_status=$?
   6439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6440   test $ac_status = 0; } && test -s "$nlist"; then
   6441       # Try sorting and uniquifying the output.
   6442       if sort "$nlist" | uniq > "$nlist"T; then
   6443 	mv -f "$nlist"T "$nlist"
   6444       else
   6445 	rm -f "$nlist"T
   6446       fi
   6447 
   6448       # Make sure that we snagged all the symbols we need.
   6449       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6450 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6451 	  cat <<_LT_EOF > conftest.$ac_ext
   6452 #ifdef __cplusplus
   6453 extern "C" {
   6454 #endif
   6455 
   6456 _LT_EOF
   6457 	  # Now generate the symbol file.
   6458 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6459 
   6460 	  cat <<_LT_EOF >> conftest.$ac_ext
   6461 
   6462 /* The mapping between symbol names and symbols.  */
   6463 const struct {
   6464   const char *name;
   6465   void       *address;
   6466 }
   6467 lt__PROGRAM__LTX_preloaded_symbols[] =
   6468 {
   6469   { "@PROGRAM@", (void *) 0 },
   6470 _LT_EOF
   6471 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6472 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6473   {0, (void *) 0}
   6474 };
   6475 
   6476 /* This works around a problem in FreeBSD linker */
   6477 #ifdef FREEBSD_WORKAROUND
   6478 static const void *lt_preloaded_setup() {
   6479   return lt__PROGRAM__LTX_preloaded_symbols;
   6480 }
   6481 #endif
   6482 
   6483 #ifdef __cplusplus
   6484 }
   6485 #endif
   6486 _LT_EOF
   6487 	  # Now try linking the two files.
   6488 	  mv conftest.$ac_objext conftstm.$ac_objext
   6489 	  lt_save_LIBS="$LIBS"
   6490 	  lt_save_CFLAGS="$CFLAGS"
   6491 	  LIBS="conftstm.$ac_objext"
   6492 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6493 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6494   (eval $ac_link) 2>&5
   6495   ac_status=$?
   6496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6497   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6498 	    pipe_works=yes
   6499 	  fi
   6500 	  LIBS="$lt_save_LIBS"
   6501 	  CFLAGS="$lt_save_CFLAGS"
   6502 	else
   6503 	  echo "cannot find nm_test_func in $nlist" >&5
   6504 	fi
   6505       else
   6506 	echo "cannot find nm_test_var in $nlist" >&5
   6507       fi
   6508     else
   6509       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6510     fi
   6511   else
   6512     echo "$progname: failed program was:" >&5
   6513     cat conftest.$ac_ext >&5
   6514   fi
   6515   rm -rf conftest* conftst*
   6516 
   6517   # Do not use the global_symbol_pipe unless it works.
   6518   if test "$pipe_works" = yes; then
   6519     break
   6520   else
   6521     lt_cv_sys_global_symbol_pipe=
   6522   fi
   6523 done
   6524 
   6525 fi
   6526 
   6527 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6528   lt_cv_sys_global_symbol_to_cdecl=
   6529 fi
   6530 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6532 $as_echo "failed" >&6; }
   6533 else
   6534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6535 $as_echo "ok" >&6; }
   6536 fi
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 # Check whether --enable-libtool-lock was given.
   6560 if test "${enable_libtool_lock+set}" = set; then :
   6561   enableval=$enable_libtool_lock;
   6562 fi
   6563 
   6564 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6565 
   6566 # Some flags need to be propagated to the compiler or linker for good
   6567 # libtool support.
   6568 case $host in
   6569 ia64-*-hpux*)
   6570   # Find out which ABI we are using.
   6571   echo 'int i;' > conftest.$ac_ext
   6572   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6573   (eval $ac_compile) 2>&5
   6574   ac_status=$?
   6575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6576   test $ac_status = 0; }; then
   6577     case `/usr/bin/file conftest.$ac_objext` in
   6578       *ELF-32*)
   6579 	HPUX_IA64_MODE="32"
   6580 	;;
   6581       *ELF-64*)
   6582 	HPUX_IA64_MODE="64"
   6583 	;;
   6584     esac
   6585   fi
   6586   rm -rf conftest*
   6587   ;;
   6588 *-*-irix6*)
   6589   # Find out which ABI we are using.
   6590   echo '#line 6590 "configure"' > conftest.$ac_ext
   6591   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6592   (eval $ac_compile) 2>&5
   6593   ac_status=$?
   6594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6595   test $ac_status = 0; }; then
   6596     if test "$lt_cv_prog_gnu_ld" = yes; then
   6597       case `/usr/bin/file conftest.$ac_objext` in
   6598 	*32-bit*)
   6599 	  LD="${LD-ld} -melf32bsmip"
   6600 	  ;;
   6601 	*N32*)
   6602 	  LD="${LD-ld} -melf32bmipn32"
   6603 	  ;;
   6604 	*64-bit*)
   6605 	  LD="${LD-ld} -melf64bmip"
   6606 	;;
   6607       esac
   6608     else
   6609       case `/usr/bin/file conftest.$ac_objext` in
   6610 	*32-bit*)
   6611 	  LD="${LD-ld} -32"
   6612 	  ;;
   6613 	*N32*)
   6614 	  LD="${LD-ld} -n32"
   6615 	  ;;
   6616 	*64-bit*)
   6617 	  LD="${LD-ld} -64"
   6618 	  ;;
   6619       esac
   6620     fi
   6621   fi
   6622   rm -rf conftest*
   6623   ;;
   6624 
   6625 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6626 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6627   # Find out which ABI we are using.
   6628   echo 'int i;' > conftest.$ac_ext
   6629   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6630   (eval $ac_compile) 2>&5
   6631   ac_status=$?
   6632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6633   test $ac_status = 0; }; then
   6634     case `/usr/bin/file conftest.o` in
   6635       *32-bit*)
   6636 	case $host in
   6637 	  x86_64-*kfreebsd*-gnu)
   6638 	    LD="${LD-ld} -m elf_i386_fbsd"
   6639 	    ;;
   6640 	  x86_64-*linux*)
   6641 	    LD="${LD-ld} -m elf_i386"
   6642 	    ;;
   6643 	  ppc64-*linux*|powerpc64-*linux*)
   6644 	    LD="${LD-ld} -m elf32ppclinux"
   6645 	    ;;
   6646 	  s390x-*linux*)
   6647 	    LD="${LD-ld} -m elf_s390"
   6648 	    ;;
   6649 	  sparc64-*linux*)
   6650 	    LD="${LD-ld} -m elf32_sparc"
   6651 	    ;;
   6652 	esac
   6653 	;;
   6654       *64-bit*)
   6655 	case $host in
   6656 	  x86_64-*kfreebsd*-gnu)
   6657 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6658 	    ;;
   6659 	  x86_64-*linux*)
   6660 	    LD="${LD-ld} -m elf_x86_64"
   6661 	    ;;
   6662 	  ppc*-*linux*|powerpc*-*linux*)
   6663 	    LD="${LD-ld} -m elf64ppc"
   6664 	    ;;
   6665 	  s390*-*linux*|s390*-*tpf*)
   6666 	    LD="${LD-ld} -m elf64_s390"
   6667 	    ;;
   6668 	  sparc*-*linux*)
   6669 	    LD="${LD-ld} -m elf64_sparc"
   6670 	    ;;
   6671 	esac
   6672 	;;
   6673     esac
   6674   fi
   6675   rm -rf conftest*
   6676   ;;
   6677 
   6678 *-*-sco3.2v5*)
   6679   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6680   SAVE_CFLAGS="$CFLAGS"
   6681   CFLAGS="$CFLAGS -belf"
   6682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6683 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6684 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6685   $as_echo_n "(cached) " >&6
   6686 else
   6687   ac_ext=c
   6688 ac_cpp='$CPP $CPPFLAGS'
   6689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6692 
   6693      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6694 /* end confdefs.h.  */
   6695 
   6696 int
   6697 main ()
   6698 {
   6699 
   6700   ;
   6701   return 0;
   6702 }
   6703 _ACEOF
   6704 if ac_fn_c_try_link "$LINENO"; then :
   6705   lt_cv_cc_needs_belf=yes
   6706 else
   6707   lt_cv_cc_needs_belf=no
   6708 fi
   6709 rm -f core conftest.err conftest.$ac_objext \
   6710     conftest$ac_exeext conftest.$ac_ext
   6711      ac_ext=c
   6712 ac_cpp='$CPP $CPPFLAGS'
   6713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6716 
   6717 fi
   6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6719 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6720   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6721     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6722     CFLAGS="$SAVE_CFLAGS"
   6723   fi
   6724   ;;
   6725 sparc*-*solaris*)
   6726   # Find out which ABI we are using.
   6727   echo 'int i;' > conftest.$ac_ext
   6728   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6729   (eval $ac_compile) 2>&5
   6730   ac_status=$?
   6731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6732   test $ac_status = 0; }; then
   6733     case `/usr/bin/file conftest.o` in
   6734     *64-bit*)
   6735       case $lt_cv_prog_gnu_ld in
   6736       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6737       *)
   6738 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6739 	  LD="${LD-ld} -64"
   6740 	fi
   6741 	;;
   6742       esac
   6743       ;;
   6744     esac
   6745   fi
   6746   rm -rf conftest*
   6747   ;;
   6748 esac
   6749 
   6750 need_locks="$enable_libtool_lock"
   6751 
   6752 
   6753   case $host_os in
   6754     rhapsody* | darwin*)
   6755     if test -n "$ac_tool_prefix"; then
   6756   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6757 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6759 $as_echo_n "checking for $ac_word... " >&6; }
   6760 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6761   $as_echo_n "(cached) " >&6
   6762 else
   6763   if test -n "$DSYMUTIL"; then
   6764   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6765 else
   6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6767 for as_dir in $PATH
   6768 do
   6769   IFS=$as_save_IFS
   6770   test -z "$as_dir" && as_dir=.
   6771     for ac_exec_ext in '' $ac_executable_extensions; do
   6772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6773     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6775     break 2
   6776   fi
   6777 done
   6778   done
   6779 IFS=$as_save_IFS
   6780 
   6781 fi
   6782 fi
   6783 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6784 if test -n "$DSYMUTIL"; then
   6785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6786 $as_echo "$DSYMUTIL" >&6; }
   6787 else
   6788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6789 $as_echo "no" >&6; }
   6790 fi
   6791 
   6792 
   6793 fi
   6794 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6795   ac_ct_DSYMUTIL=$DSYMUTIL
   6796   # Extract the first word of "dsymutil", so it can be a program name with args.
   6797 set dummy dsymutil; ac_word=$2
   6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6799 $as_echo_n "checking for $ac_word... " >&6; }
   6800 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6801   $as_echo_n "(cached) " >&6
   6802 else
   6803   if test -n "$ac_ct_DSYMUTIL"; then
   6804   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6805 else
   6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6807 for as_dir in $PATH
   6808 do
   6809   IFS=$as_save_IFS
   6810   test -z "$as_dir" && as_dir=.
   6811     for ac_exec_ext in '' $ac_executable_extensions; do
   6812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6813     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6815     break 2
   6816   fi
   6817 done
   6818   done
   6819 IFS=$as_save_IFS
   6820 
   6821 fi
   6822 fi
   6823 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6824 if test -n "$ac_ct_DSYMUTIL"; then
   6825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6826 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6827 else
   6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6829 $as_echo "no" >&6; }
   6830 fi
   6831 
   6832   if test "x$ac_ct_DSYMUTIL" = x; then
   6833     DSYMUTIL=":"
   6834   else
   6835     case $cross_compiling:$ac_tool_warned in
   6836 yes:)
   6837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6839 ac_tool_warned=yes ;;
   6840 esac
   6841     DSYMUTIL=$ac_ct_DSYMUTIL
   6842   fi
   6843 else
   6844   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6845 fi
   6846 
   6847     if test -n "$ac_tool_prefix"; then
   6848   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6849 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6851 $as_echo_n "checking for $ac_word... " >&6; }
   6852 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   if test -n "$NMEDIT"; then
   6856   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6857 else
   6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6859 for as_dir in $PATH
   6860 do
   6861   IFS=$as_save_IFS
   6862   test -z "$as_dir" && as_dir=.
   6863     for ac_exec_ext in '' $ac_executable_extensions; do
   6864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6865     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6867     break 2
   6868   fi
   6869 done
   6870   done
   6871 IFS=$as_save_IFS
   6872 
   6873 fi
   6874 fi
   6875 NMEDIT=$ac_cv_prog_NMEDIT
   6876 if test -n "$NMEDIT"; then
   6877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6878 $as_echo "$NMEDIT" >&6; }
   6879 else
   6880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6881 $as_echo "no" >&6; }
   6882 fi
   6883 
   6884 
   6885 fi
   6886 if test -z "$ac_cv_prog_NMEDIT"; then
   6887   ac_ct_NMEDIT=$NMEDIT
   6888   # Extract the first word of "nmedit", so it can be a program name with args.
   6889 set dummy nmedit; ac_word=$2
   6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6891 $as_echo_n "checking for $ac_word... " >&6; }
   6892 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6893   $as_echo_n "(cached) " >&6
   6894 else
   6895   if test -n "$ac_ct_NMEDIT"; then
   6896   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6897 else
   6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6899 for as_dir in $PATH
   6900 do
   6901   IFS=$as_save_IFS
   6902   test -z "$as_dir" && as_dir=.
   6903     for ac_exec_ext in '' $ac_executable_extensions; do
   6904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6905     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6907     break 2
   6908   fi
   6909 done
   6910   done
   6911 IFS=$as_save_IFS
   6912 
   6913 fi
   6914 fi
   6915 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6916 if test -n "$ac_ct_NMEDIT"; then
   6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6918 $as_echo "$ac_ct_NMEDIT" >&6; }
   6919 else
   6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6921 $as_echo "no" >&6; }
   6922 fi
   6923 
   6924   if test "x$ac_ct_NMEDIT" = x; then
   6925     NMEDIT=":"
   6926   else
   6927     case $cross_compiling:$ac_tool_warned in
   6928 yes:)
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6931 ac_tool_warned=yes ;;
   6932 esac
   6933     NMEDIT=$ac_ct_NMEDIT
   6934   fi
   6935 else
   6936   NMEDIT="$ac_cv_prog_NMEDIT"
   6937 fi
   6938 
   6939     if test -n "$ac_tool_prefix"; then
   6940   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6941 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6943 $as_echo_n "checking for $ac_word... " >&6; }
   6944 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6945   $as_echo_n "(cached) " >&6
   6946 else
   6947   if test -n "$LIPO"; then
   6948   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6949 else
   6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6951 for as_dir in $PATH
   6952 do
   6953   IFS=$as_save_IFS
   6954   test -z "$as_dir" && as_dir=.
   6955     for ac_exec_ext in '' $ac_executable_extensions; do
   6956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6957     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6959     break 2
   6960   fi
   6961 done
   6962   done
   6963 IFS=$as_save_IFS
   6964 
   6965 fi
   6966 fi
   6967 LIPO=$ac_cv_prog_LIPO
   6968 if test -n "$LIPO"; then
   6969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6970 $as_echo "$LIPO" >&6; }
   6971 else
   6972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6973 $as_echo "no" >&6; }
   6974 fi
   6975 
   6976 
   6977 fi
   6978 if test -z "$ac_cv_prog_LIPO"; then
   6979   ac_ct_LIPO=$LIPO
   6980   # Extract the first word of "lipo", so it can be a program name with args.
   6981 set dummy lipo; ac_word=$2
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6983 $as_echo_n "checking for $ac_word... " >&6; }
   6984 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6985   $as_echo_n "(cached) " >&6
   6986 else
   6987   if test -n "$ac_ct_LIPO"; then
   6988   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6989 else
   6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6991 for as_dir in $PATH
   6992 do
   6993   IFS=$as_save_IFS
   6994   test -z "$as_dir" && as_dir=.
   6995     for ac_exec_ext in '' $ac_executable_extensions; do
   6996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6997     ac_cv_prog_ac_ct_LIPO="lipo"
   6998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6999     break 2
   7000   fi
   7001 done
   7002   done
   7003 IFS=$as_save_IFS
   7004 
   7005 fi
   7006 fi
   7007 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7008 if test -n "$ac_ct_LIPO"; then
   7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7010 $as_echo "$ac_ct_LIPO" >&6; }
   7011 else
   7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7013 $as_echo "no" >&6; }
   7014 fi
   7015 
   7016   if test "x$ac_ct_LIPO" = x; then
   7017     LIPO=":"
   7018   else
   7019     case $cross_compiling:$ac_tool_warned in
   7020 yes:)
   7021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7023 ac_tool_warned=yes ;;
   7024 esac
   7025     LIPO=$ac_ct_LIPO
   7026   fi
   7027 else
   7028   LIPO="$ac_cv_prog_LIPO"
   7029 fi
   7030 
   7031     if test -n "$ac_tool_prefix"; then
   7032   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7033 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7035 $as_echo_n "checking for $ac_word... " >&6; }
   7036 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   7037   $as_echo_n "(cached) " >&6
   7038 else
   7039   if test -n "$OTOOL"; then
   7040   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7041 else
   7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7043 for as_dir in $PATH
   7044 do
   7045   IFS=$as_save_IFS
   7046   test -z "$as_dir" && as_dir=.
   7047     for ac_exec_ext in '' $ac_executable_extensions; do
   7048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7049     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7051     break 2
   7052   fi
   7053 done
   7054   done
   7055 IFS=$as_save_IFS
   7056 
   7057 fi
   7058 fi
   7059 OTOOL=$ac_cv_prog_OTOOL
   7060 if test -n "$OTOOL"; then
   7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7062 $as_echo "$OTOOL" >&6; }
   7063 else
   7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7065 $as_echo "no" >&6; }
   7066 fi
   7067 
   7068 
   7069 fi
   7070 if test -z "$ac_cv_prog_OTOOL"; then
   7071   ac_ct_OTOOL=$OTOOL
   7072   # Extract the first word of "otool", so it can be a program name with args.
   7073 set dummy otool; ac_word=$2
   7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7075 $as_echo_n "checking for $ac_word... " >&6; }
   7076 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   if test -n "$ac_ct_OTOOL"; then
   7080   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7081 else
   7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7083 for as_dir in $PATH
   7084 do
   7085   IFS=$as_save_IFS
   7086   test -z "$as_dir" && as_dir=.
   7087     for ac_exec_ext in '' $ac_executable_extensions; do
   7088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7089     ac_cv_prog_ac_ct_OTOOL="otool"
   7090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7091     break 2
   7092   fi
   7093 done
   7094   done
   7095 IFS=$as_save_IFS
   7096 
   7097 fi
   7098 fi
   7099 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7100 if test -n "$ac_ct_OTOOL"; then
   7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7102 $as_echo "$ac_ct_OTOOL" >&6; }
   7103 else
   7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7105 $as_echo "no" >&6; }
   7106 fi
   7107 
   7108   if test "x$ac_ct_OTOOL" = x; then
   7109     OTOOL=":"
   7110   else
   7111     case $cross_compiling:$ac_tool_warned in
   7112 yes:)
   7113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7115 ac_tool_warned=yes ;;
   7116 esac
   7117     OTOOL=$ac_ct_OTOOL
   7118   fi
   7119 else
   7120   OTOOL="$ac_cv_prog_OTOOL"
   7121 fi
   7122 
   7123     if test -n "$ac_tool_prefix"; then
   7124   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7125 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7127 $as_echo_n "checking for $ac_word... " >&6; }
   7128 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7129   $as_echo_n "(cached) " >&6
   7130 else
   7131   if test -n "$OTOOL64"; then
   7132   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7133 else
   7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7135 for as_dir in $PATH
   7136 do
   7137   IFS=$as_save_IFS
   7138   test -z "$as_dir" && as_dir=.
   7139     for ac_exec_ext in '' $ac_executable_extensions; do
   7140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7141     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7143     break 2
   7144   fi
   7145 done
   7146   done
   7147 IFS=$as_save_IFS
   7148 
   7149 fi
   7150 fi
   7151 OTOOL64=$ac_cv_prog_OTOOL64
   7152 if test -n "$OTOOL64"; then
   7153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7154 $as_echo "$OTOOL64" >&6; }
   7155 else
   7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7157 $as_echo "no" >&6; }
   7158 fi
   7159 
   7160 
   7161 fi
   7162 if test -z "$ac_cv_prog_OTOOL64"; then
   7163   ac_ct_OTOOL64=$OTOOL64
   7164   # Extract the first word of "otool64", so it can be a program name with args.
   7165 set dummy otool64; ac_word=$2
   7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7167 $as_echo_n "checking for $ac_word... " >&6; }
   7168 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   if test -n "$ac_ct_OTOOL64"; then
   7172   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7173 else
   7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7175 for as_dir in $PATH
   7176 do
   7177   IFS=$as_save_IFS
   7178   test -z "$as_dir" && as_dir=.
   7179     for ac_exec_ext in '' $ac_executable_extensions; do
   7180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7181     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7183     break 2
   7184   fi
   7185 done
   7186   done
   7187 IFS=$as_save_IFS
   7188 
   7189 fi
   7190 fi
   7191 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7192 if test -n "$ac_ct_OTOOL64"; then
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7194 $as_echo "$ac_ct_OTOOL64" >&6; }
   7195 else
   7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7197 $as_echo "no" >&6; }
   7198 fi
   7199 
   7200   if test "x$ac_ct_OTOOL64" = x; then
   7201     OTOOL64=":"
   7202   else
   7203     case $cross_compiling:$ac_tool_warned in
   7204 yes:)
   7205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7207 ac_tool_warned=yes ;;
   7208 esac
   7209     OTOOL64=$ac_ct_OTOOL64
   7210   fi
   7211 else
   7212   OTOOL64="$ac_cv_prog_OTOOL64"
   7213 fi
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7242 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7243 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7244   $as_echo_n "(cached) " >&6
   7245 else
   7246   lt_cv_apple_cc_single_mod=no
   7247       if test -z "${LT_MULTI_MODULE}"; then
   7248 	# By default we will add the -single_module flag. You can override
   7249 	# by either setting the environment variable LT_MULTI_MODULE
   7250 	# non-empty at configure time, or by adding -multi_module to the
   7251 	# link flags.
   7252 	rm -rf libconftest.dylib*
   7253 	echo "int foo(void){return 1;}" > conftest.c
   7254 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7255 -dynamiclib -Wl,-single_module conftest.c" >&5
   7256 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7257 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7258         _lt_result=$?
   7259 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7260 	  lt_cv_apple_cc_single_mod=yes
   7261 	else
   7262 	  cat conftest.err >&5
   7263 	fi
   7264 	rm -rf libconftest.dylib*
   7265 	rm -f conftest.*
   7266       fi
   7267 fi
   7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7269 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7271 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7272 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7273   $as_echo_n "(cached) " >&6
   7274 else
   7275   lt_cv_ld_exported_symbols_list=no
   7276       save_LDFLAGS=$LDFLAGS
   7277       echo "_main" > conftest.sym
   7278       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 
   7282 int
   7283 main ()
   7284 {
   7285 
   7286   ;
   7287   return 0;
   7288 }
   7289 _ACEOF
   7290 if ac_fn_c_try_link "$LINENO"; then :
   7291   lt_cv_ld_exported_symbols_list=yes
   7292 else
   7293   lt_cv_ld_exported_symbols_list=no
   7294 fi
   7295 rm -f core conftest.err conftest.$ac_objext \
   7296     conftest$ac_exeext conftest.$ac_ext
   7297 	LDFLAGS="$save_LDFLAGS"
   7298 
   7299 fi
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7301 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7302     case $host_os in
   7303     rhapsody* | darwin1.[012])
   7304       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7305     darwin1.*)
   7306       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7307     darwin*) # darwin 5.x on
   7308       # if running on 10.5 or later, the deployment target defaults
   7309       # to the OS version, if on x86, and 10.4, the deployment
   7310       # target defaults to 10.4. Don't you love it?
   7311       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7312 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7313 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7314 	10.[012]*)
   7315 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7316 	10.*)
   7317 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7318       esac
   7319     ;;
   7320   esac
   7321     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7322       _lt_dar_single_mod='$single_module'
   7323     fi
   7324     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7325       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7326     else
   7327       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7328     fi
   7329     if test "$DSYMUTIL" != ":"; then
   7330       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7331     else
   7332       _lt_dsymutil=
   7333     fi
   7334     ;;
   7335   esac
   7336 
   7337 for ac_header in dlfcn.h
   7338 do :
   7339   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7340 "
   7341 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7342   cat >>confdefs.h <<_ACEOF
   7343 #define HAVE_DLFCN_H 1
   7344 _ACEOF
   7345 
   7346 fi
   7347 
   7348 done
   7349 
   7350 
   7351 
   7352 # Set options
   7353 
   7354 
   7355 
   7356         enable_dlopen=no
   7357 
   7358 
   7359   enable_win32_dll=no
   7360 
   7361 
   7362             # Check whether --enable-shared was given.
   7363 if test "${enable_shared+set}" = set; then :
   7364   enableval=$enable_shared; p=${PACKAGE-default}
   7365     case $enableval in
   7366     yes) enable_shared=yes ;;
   7367     no) enable_shared=no ;;
   7368     *)
   7369       enable_shared=no
   7370       # Look at the argument we got.  We use all the common list separators.
   7371       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7372       for pkg in $enableval; do
   7373 	IFS="$lt_save_ifs"
   7374 	if test "X$pkg" = "X$p"; then
   7375 	  enable_shared=yes
   7376 	fi
   7377       done
   7378       IFS="$lt_save_ifs"
   7379       ;;
   7380     esac
   7381 else
   7382   enable_shared=yes
   7383 fi
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 # Check whether --with-pic was given.
   7396 if test "${with_pic+set}" = set; then :
   7397   withval=$with_pic; pic_mode="$withval"
   7398 else
   7399   pic_mode=default
   7400 fi
   7401 
   7402 
   7403 test -z "$pic_mode" && pic_mode=default
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411   # Check whether --enable-fast-install was given.
   7412 if test "${enable_fast_install+set}" = set; then :
   7413   enableval=$enable_fast_install; p=${PACKAGE-default}
   7414     case $enableval in
   7415     yes) enable_fast_install=yes ;;
   7416     no) enable_fast_install=no ;;
   7417     *)
   7418       enable_fast_install=no
   7419       # Look at the argument we got.  We use all the common list separators.
   7420       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7421       for pkg in $enableval; do
   7422 	IFS="$lt_save_ifs"
   7423 	if test "X$pkg" = "X$p"; then
   7424 	  enable_fast_install=yes
   7425 	fi
   7426       done
   7427       IFS="$lt_save_ifs"
   7428       ;;
   7429     esac
   7430 else
   7431   enable_fast_install=yes
   7432 fi
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 # This can be used to rebuild libtool when needed
   7445 LIBTOOL_DEPS="$ltmain"
   7446 
   7447 # Always use our own libtool.
   7448 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 test -z "$LN_S" && LN_S="ln -s"
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 if test -n "${ZSH_VERSION+set}" ; then
   7490    setopt NO_GLOB_SUBST
   7491 fi
   7492 
   7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7494 $as_echo_n "checking for objdir... " >&6; }
   7495 if test "${lt_cv_objdir+set}" = set; then :
   7496   $as_echo_n "(cached) " >&6
   7497 else
   7498   rm -f .libs 2>/dev/null
   7499 mkdir .libs 2>/dev/null
   7500 if test -d .libs; then
   7501   lt_cv_objdir=.libs
   7502 else
   7503   # MS-DOS does not allow filenames that begin with a dot.
   7504   lt_cv_objdir=_libs
   7505 fi
   7506 rmdir .libs 2>/dev/null
   7507 fi
   7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7509 $as_echo "$lt_cv_objdir" >&6; }
   7510 objdir=$lt_cv_objdir
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 cat >>confdefs.h <<_ACEOF
   7517 #define LT_OBJDIR "$lt_cv_objdir/"
   7518 _ACEOF
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 case $host_os in
   7537 aix3*)
   7538   # AIX sometimes has problems with the GCC collect2 program.  For some
   7539   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7540   # vanish in a puff of smoke.
   7541   if test "X${COLLECT_NAMES+set}" != Xset; then
   7542     COLLECT_NAMES=
   7543     export COLLECT_NAMES
   7544   fi
   7545   ;;
   7546 esac
   7547 
   7548 # Sed substitution that helps us do robust quoting.  It backslashifies
   7549 # metacharacters that are still active within double-quoted strings.
   7550 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7551 
   7552 # Same as above, but do not quote variable references.
   7553 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7554 
   7555 # Sed substitution to delay expansion of an escaped shell variable in a
   7556 # double_quote_subst'ed string.
   7557 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7558 
   7559 # Sed substitution to delay expansion of an escaped single quote.
   7560 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7561 
   7562 # Sed substitution to avoid accidental globbing in evaled expressions
   7563 no_glob_subst='s/\*/\\\*/g'
   7564 
   7565 # Global variables:
   7566 ofile=libtool
   7567 can_build_shared=yes
   7568 
   7569 # All known linkers require a `.a' archive for static linking (except MSVC,
   7570 # which needs '.lib').
   7571 libext=a
   7572 
   7573 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7574 
   7575 old_CC="$CC"
   7576 old_CFLAGS="$CFLAGS"
   7577 
   7578 # Set sane defaults for various variables
   7579 test -z "$CC" && CC=cc
   7580 test -z "$LTCC" && LTCC=$CC
   7581 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7582 test -z "$LD" && LD=ld
   7583 test -z "$ac_objext" && ac_objext=o
   7584 
   7585 for cc_temp in $compiler""; do
   7586   case $cc_temp in
   7587     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7588     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7589     \-*) ;;
   7590     *) break;;
   7591   esac
   7592 done
   7593 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7594 
   7595 
   7596 # Only perform the check for file, if the check method requires it
   7597 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7598 case $deplibs_check_method in
   7599 file_magic*)
   7600   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7601     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7602 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7603 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7604   $as_echo_n "(cached) " >&6
   7605 else
   7606   case $MAGIC_CMD in
   7607 [\\/*] |  ?:[\\/]*)
   7608   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7609   ;;
   7610 *)
   7611   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7612   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7613   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7614   for ac_dir in $ac_dummy; do
   7615     IFS="$lt_save_ifs"
   7616     test -z "$ac_dir" && ac_dir=.
   7617     if test -f $ac_dir/${ac_tool_prefix}file; then
   7618       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7619       if test -n "$file_magic_test_file"; then
   7620 	case $deplibs_check_method in
   7621 	"file_magic "*)
   7622 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7623 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7624 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7625 	    $EGREP "$file_magic_regex" > /dev/null; then
   7626 	    :
   7627 	  else
   7628 	    cat <<_LT_EOF 1>&2
   7629 
   7630 *** Warning: the command libtool uses to detect shared libraries,
   7631 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7632 *** The result is that libtool may fail to recognize shared libraries
   7633 *** as such.  This will affect the creation of libtool libraries that
   7634 *** depend on shared libraries, but programs linked with such libtool
   7635 *** libraries will work regardless of this problem.  Nevertheless, you
   7636 *** may want to report the problem to your system manager and/or to
   7637 *** bug-libtool@gnu.org
   7638 
   7639 _LT_EOF
   7640 	  fi ;;
   7641 	esac
   7642       fi
   7643       break
   7644     fi
   7645   done
   7646   IFS="$lt_save_ifs"
   7647   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7648   ;;
   7649 esac
   7650 fi
   7651 
   7652 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7653 if test -n "$MAGIC_CMD"; then
   7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7655 $as_echo "$MAGIC_CMD" >&6; }
   7656 else
   7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7658 $as_echo "no" >&6; }
   7659 fi
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7666   if test -n "$ac_tool_prefix"; then
   7667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7668 $as_echo_n "checking for file... " >&6; }
   7669 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7670   $as_echo_n "(cached) " >&6
   7671 else
   7672   case $MAGIC_CMD in
   7673 [\\/*] |  ?:[\\/]*)
   7674   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7675   ;;
   7676 *)
   7677   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7678   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7679   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7680   for ac_dir in $ac_dummy; do
   7681     IFS="$lt_save_ifs"
   7682     test -z "$ac_dir" && ac_dir=.
   7683     if test -f $ac_dir/file; then
   7684       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7685       if test -n "$file_magic_test_file"; then
   7686 	case $deplibs_check_method in
   7687 	"file_magic "*)
   7688 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7689 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7690 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7691 	    $EGREP "$file_magic_regex" > /dev/null; then
   7692 	    :
   7693 	  else
   7694 	    cat <<_LT_EOF 1>&2
   7695 
   7696 *** Warning: the command libtool uses to detect shared libraries,
   7697 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7698 *** The result is that libtool may fail to recognize shared libraries
   7699 *** as such.  This will affect the creation of libtool libraries that
   7700 *** depend on shared libraries, but programs linked with such libtool
   7701 *** libraries will work regardless of this problem.  Nevertheless, you
   7702 *** may want to report the problem to your system manager and/or to
   7703 *** bug-libtool@gnu.org
   7704 
   7705 _LT_EOF
   7706 	  fi ;;
   7707 	esac
   7708       fi
   7709       break
   7710     fi
   7711   done
   7712   IFS="$lt_save_ifs"
   7713   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7714   ;;
   7715 esac
   7716 fi
   7717 
   7718 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7719 if test -n "$MAGIC_CMD"; then
   7720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7721 $as_echo "$MAGIC_CMD" >&6; }
   7722 else
   7723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7724 $as_echo "no" >&6; }
   7725 fi
   7726 
   7727 
   7728   else
   7729     MAGIC_CMD=:
   7730   fi
   7731 fi
   7732 
   7733   fi
   7734   ;;
   7735 esac
   7736 
   7737 # Use C for the default configuration in the libtool script
   7738 
   7739 lt_save_CC="$CC"
   7740 ac_ext=c
   7741 ac_cpp='$CPP $CPPFLAGS'
   7742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7745 
   7746 
   7747 # Source file extension for C test sources.
   7748 ac_ext=c
   7749 
   7750 # Object file extension for compiled C test sources.
   7751 objext=o
   7752 objext=$objext
   7753 
   7754 # Code to be used in simple compile tests
   7755 lt_simple_compile_test_code="int some_variable = 0;"
   7756 
   7757 # Code to be used in simple link tests
   7758 lt_simple_link_test_code='int main(){return(0);}'
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 # If no C compiler was specified, use CC.
   7767 LTCC=${LTCC-"$CC"}
   7768 
   7769 # If no C compiler flags were specified, use CFLAGS.
   7770 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7771 
   7772 # Allow CC to be a program name with arguments.
   7773 compiler=$CC
   7774 
   7775 # Save the default compiler, since it gets overwritten when the other
   7776 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7777 compiler_DEFAULT=$CC
   7778 
   7779 # save warnings/boilerplate of simple test code
   7780 ac_outfile=conftest.$ac_objext
   7781 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7782 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7783 _lt_compiler_boilerplate=`cat conftest.err`
   7784 $RM conftest*
   7785 
   7786 ac_outfile=conftest.$ac_objext
   7787 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7788 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7789 _lt_linker_boilerplate=`cat conftest.err`
   7790 $RM -r conftest*
   7791 
   7792 
   7793 if test -n "$compiler"; then
   7794 
   7795 lt_prog_compiler_no_builtin_flag=
   7796 
   7797 if test "$GCC" = yes; then
   7798   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7799 
   7800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7801 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7802 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   lt_cv_prog_compiler_rtti_exceptions=no
   7806    ac_outfile=conftest.$ac_objext
   7807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7808    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7809    # Insert the option either (1) after the last *FLAGS variable, or
   7810    # (2) before a word containing "conftest.", or (3) at the end.
   7811    # Note that $ac_compile itself does not contain backslashes and begins
   7812    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7813    # The option is referenced via a variable to avoid confusing sed.
   7814    lt_compile=`echo "$ac_compile" | $SED \
   7815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7817    -e 's:$: $lt_compiler_flag:'`
   7818    (eval echo "\"\$as_me:7818: $lt_compile\"" >&5)
   7819    (eval "$lt_compile" 2>conftest.err)
   7820    ac_status=$?
   7821    cat conftest.err >&5
   7822    echo "$as_me:7822: \$? = $ac_status" >&5
   7823    if (exit $ac_status) && test -s "$ac_outfile"; then
   7824      # The compiler can only warn and ignore the option if not recognized
   7825      # So say no if there are warnings other than the usual output.
   7826      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7827      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7828      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7829        lt_cv_prog_compiler_rtti_exceptions=yes
   7830      fi
   7831    fi
   7832    $RM conftest*
   7833 
   7834 fi
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7836 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7837 
   7838 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7839     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7840 else
   7841     :
   7842 fi
   7843 
   7844 fi
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851   lt_prog_compiler_wl=
   7852 lt_prog_compiler_pic=
   7853 lt_prog_compiler_static=
   7854 
   7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7856 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7857 
   7858   if test "$GCC" = yes; then
   7859     lt_prog_compiler_wl='-Wl,'
   7860     lt_prog_compiler_static='-static'
   7861 
   7862     case $host_os in
   7863       aix*)
   7864       # All AIX code is PIC.
   7865       if test "$host_cpu" = ia64; then
   7866 	# AIX 5 now supports IA64 processor
   7867 	lt_prog_compiler_static='-Bstatic'
   7868       fi
   7869       ;;
   7870 
   7871     amigaos*)
   7872       case $host_cpu in
   7873       powerpc)
   7874             # see comment about AmigaOS4 .so support
   7875             lt_prog_compiler_pic='-fPIC'
   7876         ;;
   7877       m68k)
   7878             # FIXME: we need at least 68020 code to build shared libraries, but
   7879             # adding the `-m68020' flag to GCC prevents building anything better,
   7880             # like `-m68040'.
   7881             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7882         ;;
   7883       esac
   7884       ;;
   7885 
   7886     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7887       # PIC is the default for these OSes.
   7888       ;;
   7889 
   7890     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7891       # This hack is so that the source file can tell whether it is being
   7892       # built for inclusion in a dll (and should export symbols for example).
   7893       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7894       # (--disable-auto-import) libraries
   7895       lt_prog_compiler_pic='-DDLL_EXPORT'
   7896       ;;
   7897 
   7898     darwin* | rhapsody*)
   7899       # PIC is the default on this platform
   7900       # Common symbols not allowed in MH_DYLIB files
   7901       lt_prog_compiler_pic='-fno-common'
   7902       ;;
   7903 
   7904     hpux*)
   7905       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7906       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7907       # sets the default TLS model and affects inlining.
   7908       case $host_cpu in
   7909       hppa*64*)
   7910 	# +Z the default
   7911 	;;
   7912       *)
   7913 	lt_prog_compiler_pic='-fPIC'
   7914 	;;
   7915       esac
   7916       ;;
   7917 
   7918     interix[3-9]*)
   7919       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7920       # Instead, we relocate shared libraries at runtime.
   7921       ;;
   7922 
   7923     msdosdjgpp*)
   7924       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7925       # on systems that don't support them.
   7926       lt_prog_compiler_can_build_shared=no
   7927       enable_shared=no
   7928       ;;
   7929 
   7930     *nto* | *qnx*)
   7931       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7932       # it will coredump.
   7933       lt_prog_compiler_pic='-fPIC -shared'
   7934       ;;
   7935 
   7936     sysv4*MP*)
   7937       if test -d /usr/nec; then
   7938 	lt_prog_compiler_pic=-Kconform_pic
   7939       fi
   7940       ;;
   7941 
   7942     *)
   7943       lt_prog_compiler_pic='-fPIC'
   7944       ;;
   7945     esac
   7946   else
   7947     # PORTME Check for flag to pass linker flags through the system compiler.
   7948     case $host_os in
   7949     aix*)
   7950       lt_prog_compiler_wl='-Wl,'
   7951       if test "$host_cpu" = ia64; then
   7952 	# AIX 5 now supports IA64 processor
   7953 	lt_prog_compiler_static='-Bstatic'
   7954       else
   7955 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7956       fi
   7957       ;;
   7958 
   7959     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7960       # This hack is so that the source file can tell whether it is being
   7961       # built for inclusion in a dll (and should export symbols for example).
   7962       lt_prog_compiler_pic='-DDLL_EXPORT'
   7963       ;;
   7964 
   7965     hpux9* | hpux10* | hpux11*)
   7966       lt_prog_compiler_wl='-Wl,'
   7967       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7968       # not for PA HP-UX.
   7969       case $host_cpu in
   7970       hppa*64*|ia64*)
   7971 	# +Z the default
   7972 	;;
   7973       *)
   7974 	lt_prog_compiler_pic='+Z'
   7975 	;;
   7976       esac
   7977       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7978       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7979       ;;
   7980 
   7981     irix5* | irix6* | nonstopux*)
   7982       lt_prog_compiler_wl='-Wl,'
   7983       # PIC (with -KPIC) is the default.
   7984       lt_prog_compiler_static='-non_shared'
   7985       ;;
   7986 
   7987     linux* | k*bsd*-gnu)
   7988       case $cc_basename in
   7989       # old Intel for x86_64 which still supported -KPIC.
   7990       ecc*)
   7991 	lt_prog_compiler_wl='-Wl,'
   7992 	lt_prog_compiler_pic='-KPIC'
   7993 	lt_prog_compiler_static='-static'
   7994         ;;
   7995       # icc used to be incompatible with GCC.
   7996       # ICC 10 doesn't accept -KPIC any more.
   7997       icc* | ifort*)
   7998 	lt_prog_compiler_wl='-Wl,'
   7999 	lt_prog_compiler_pic='-fPIC'
   8000 	lt_prog_compiler_static='-static'
   8001         ;;
   8002       # Lahey Fortran 8.1.
   8003       lf95*)
   8004 	lt_prog_compiler_wl='-Wl,'
   8005 	lt_prog_compiler_pic='--shared'
   8006 	lt_prog_compiler_static='--static'
   8007 	;;
   8008       pgcc* | pgf77* | pgf90* | pgf95*)
   8009         # Portland Group compilers (*not* the Pentium gcc compiler,
   8010 	# which looks to be a dead project)
   8011 	lt_prog_compiler_wl='-Wl,'
   8012 	lt_prog_compiler_pic='-fpic'
   8013 	lt_prog_compiler_static='-Bstatic'
   8014         ;;
   8015       ccc*)
   8016         lt_prog_compiler_wl='-Wl,'
   8017         # All Alpha code is PIC.
   8018         lt_prog_compiler_static='-non_shared'
   8019         ;;
   8020       xl*)
   8021 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8022 	lt_prog_compiler_wl='-Wl,'
   8023 	lt_prog_compiler_pic='-qpic'
   8024 	lt_prog_compiler_static='-qstaticlink'
   8025 	;;
   8026       *)
   8027 	case `$CC -V 2>&1 | sed 5q` in
   8028 	*Sun\ C*)
   8029 	  # Sun C 5.9
   8030 	  lt_prog_compiler_pic='-KPIC'
   8031 	  lt_prog_compiler_static='-Bstatic'
   8032 	  lt_prog_compiler_wl='-Wl,'
   8033 	  ;;
   8034 	*Sun\ F*)
   8035 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8036 	  lt_prog_compiler_pic='-KPIC'
   8037 	  lt_prog_compiler_static='-Bstatic'
   8038 	  lt_prog_compiler_wl=''
   8039 	  ;;
   8040 	esac
   8041 	;;
   8042       esac
   8043       ;;
   8044 
   8045     newsos6)
   8046       lt_prog_compiler_pic='-KPIC'
   8047       lt_prog_compiler_static='-Bstatic'
   8048       ;;
   8049 
   8050     *nto* | *qnx*)
   8051       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8052       # it will coredump.
   8053       lt_prog_compiler_pic='-fPIC -shared'
   8054       ;;
   8055 
   8056     osf3* | osf4* | osf5*)
   8057       lt_prog_compiler_wl='-Wl,'
   8058       # All OSF/1 code is PIC.
   8059       lt_prog_compiler_static='-non_shared'
   8060       ;;
   8061 
   8062     rdos*)
   8063       lt_prog_compiler_static='-non_shared'
   8064       ;;
   8065 
   8066     solaris*)
   8067       lt_prog_compiler_pic='-KPIC'
   8068       lt_prog_compiler_static='-Bstatic'
   8069       case $cc_basename in
   8070       f77* | f90* | f95*)
   8071 	lt_prog_compiler_wl='-Qoption ld ';;
   8072       *)
   8073 	lt_prog_compiler_wl='-Wl,';;
   8074       esac
   8075       ;;
   8076 
   8077     sunos4*)
   8078       lt_prog_compiler_wl='-Qoption ld '
   8079       lt_prog_compiler_pic='-PIC'
   8080       lt_prog_compiler_static='-Bstatic'
   8081       ;;
   8082 
   8083     sysv4 | sysv4.2uw2* | sysv4.3*)
   8084       lt_prog_compiler_wl='-Wl,'
   8085       lt_prog_compiler_pic='-KPIC'
   8086       lt_prog_compiler_static='-Bstatic'
   8087       ;;
   8088 
   8089     sysv4*MP*)
   8090       if test -d /usr/nec ;then
   8091 	lt_prog_compiler_pic='-Kconform_pic'
   8092 	lt_prog_compiler_static='-Bstatic'
   8093       fi
   8094       ;;
   8095 
   8096     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8097       lt_prog_compiler_wl='-Wl,'
   8098       lt_prog_compiler_pic='-KPIC'
   8099       lt_prog_compiler_static='-Bstatic'
   8100       ;;
   8101 
   8102     unicos*)
   8103       lt_prog_compiler_wl='-Wl,'
   8104       lt_prog_compiler_can_build_shared=no
   8105       ;;
   8106 
   8107     uts4*)
   8108       lt_prog_compiler_pic='-pic'
   8109       lt_prog_compiler_static='-Bstatic'
   8110       ;;
   8111 
   8112     *)
   8113       lt_prog_compiler_can_build_shared=no
   8114       ;;
   8115     esac
   8116   fi
   8117 
   8118 case $host_os in
   8119   # For platforms which do not support PIC, -DPIC is meaningless:
   8120   *djgpp*)
   8121     lt_prog_compiler_pic=
   8122     ;;
   8123   *)
   8124     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8125     ;;
   8126 esac
   8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8128 $as_echo "$lt_prog_compiler_pic" >&6; }
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 #
   8136 # Check to make sure the PIC flag actually works.
   8137 #
   8138 if test -n "$lt_prog_compiler_pic"; then
   8139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8140 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8141 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8142   $as_echo_n "(cached) " >&6
   8143 else
   8144   lt_cv_prog_compiler_pic_works=no
   8145    ac_outfile=conftest.$ac_objext
   8146    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8147    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8148    # Insert the option either (1) after the last *FLAGS variable, or
   8149    # (2) before a word containing "conftest.", or (3) at the end.
   8150    # Note that $ac_compile itself does not contain backslashes and begins
   8151    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8152    # The option is referenced via a variable to avoid confusing sed.
   8153    lt_compile=`echo "$ac_compile" | $SED \
   8154    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8155    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8156    -e 's:$: $lt_compiler_flag:'`
   8157    (eval echo "\"\$as_me:8157: $lt_compile\"" >&5)
   8158    (eval "$lt_compile" 2>conftest.err)
   8159    ac_status=$?
   8160    cat conftest.err >&5
   8161    echo "$as_me:8161: \$? = $ac_status" >&5
   8162    if (exit $ac_status) && test -s "$ac_outfile"; then
   8163      # The compiler can only warn and ignore the option if not recognized
   8164      # So say no if there are warnings other than the usual output.
   8165      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8166      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8167      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8168        lt_cv_prog_compiler_pic_works=yes
   8169      fi
   8170    fi
   8171    $RM conftest*
   8172 
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8175 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8176 
   8177 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8178     case $lt_prog_compiler_pic in
   8179      "" | " "*) ;;
   8180      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8181      esac
   8182 else
   8183     lt_prog_compiler_pic=
   8184      lt_prog_compiler_can_build_shared=no
   8185 fi
   8186 
   8187 fi
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 #
   8195 # Check to make sure the static flag actually works.
   8196 #
   8197 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8199 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8200 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8201   $as_echo_n "(cached) " >&6
   8202 else
   8203   lt_cv_prog_compiler_static_works=no
   8204    save_LDFLAGS="$LDFLAGS"
   8205    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8206    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8207    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8208      # The linker can only warn and ignore the option if not recognized
   8209      # So say no if there are warnings
   8210      if test -s conftest.err; then
   8211        # Append any errors to the config.log.
   8212        cat conftest.err 1>&5
   8213        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8214        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8215        if diff conftest.exp conftest.er2 >/dev/null; then
   8216          lt_cv_prog_compiler_static_works=yes
   8217        fi
   8218      else
   8219        lt_cv_prog_compiler_static_works=yes
   8220      fi
   8221    fi
   8222    $RM -r conftest*
   8223    LDFLAGS="$save_LDFLAGS"
   8224 
   8225 fi
   8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8227 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8228 
   8229 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8230     :
   8231 else
   8232     lt_prog_compiler_static=
   8233 fi
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8242 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8243 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8244   $as_echo_n "(cached) " >&6
   8245 else
   8246   lt_cv_prog_compiler_c_o=no
   8247    $RM -r conftest 2>/dev/null
   8248    mkdir conftest
   8249    cd conftest
   8250    mkdir out
   8251    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8252 
   8253    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8254    # Insert the option either (1) after the last *FLAGS variable, or
   8255    # (2) before a word containing "conftest.", or (3) at the end.
   8256    # Note that $ac_compile itself does not contain backslashes and begins
   8257    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8258    lt_compile=`echo "$ac_compile" | $SED \
   8259    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8260    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8261    -e 's:$: $lt_compiler_flag:'`
   8262    (eval echo "\"\$as_me:8262: $lt_compile\"" >&5)
   8263    (eval "$lt_compile" 2>out/conftest.err)
   8264    ac_status=$?
   8265    cat out/conftest.err >&5
   8266    echo "$as_me:8266: \$? = $ac_status" >&5
   8267    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8268    then
   8269      # The compiler can only warn and ignore the option if not recognized
   8270      # So say no if there are warnings
   8271      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8272      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8273      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8274        lt_cv_prog_compiler_c_o=yes
   8275      fi
   8276    fi
   8277    chmod u+w . 2>&5
   8278    $RM conftest*
   8279    # SGI C++ compiler will create directory out/ii_files/ for
   8280    # template instantiation
   8281    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8282    $RM out/* && rmdir out
   8283    cd ..
   8284    $RM -r conftest
   8285    $RM conftest*
   8286 
   8287 fi
   8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8289 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8297 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8298 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8299   $as_echo_n "(cached) " >&6
   8300 else
   8301   lt_cv_prog_compiler_c_o=no
   8302    $RM -r conftest 2>/dev/null
   8303    mkdir conftest
   8304    cd conftest
   8305    mkdir out
   8306    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8307 
   8308    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8309    # Insert the option either (1) after the last *FLAGS variable, or
   8310    # (2) before a word containing "conftest.", or (3) at the end.
   8311    # Note that $ac_compile itself does not contain backslashes and begins
   8312    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8313    lt_compile=`echo "$ac_compile" | $SED \
   8314    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8315    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8316    -e 's:$: $lt_compiler_flag:'`
   8317    (eval echo "\"\$as_me:8317: $lt_compile\"" >&5)
   8318    (eval "$lt_compile" 2>out/conftest.err)
   8319    ac_status=$?
   8320    cat out/conftest.err >&5
   8321    echo "$as_me:8321: \$? = $ac_status" >&5
   8322    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8323    then
   8324      # The compiler can only warn and ignore the option if not recognized
   8325      # So say no if there are warnings
   8326      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8327      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8328      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8329        lt_cv_prog_compiler_c_o=yes
   8330      fi
   8331    fi
   8332    chmod u+w . 2>&5
   8333    $RM conftest*
   8334    # SGI C++ compiler will create directory out/ii_files/ for
   8335    # template instantiation
   8336    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8337    $RM out/* && rmdir out
   8338    cd ..
   8339    $RM -r conftest
   8340    $RM conftest*
   8341 
   8342 fi
   8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8344 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8345 
   8346 
   8347 
   8348 
   8349 hard_links="nottested"
   8350 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8351   # do not overwrite the value of need_locks provided by the user
   8352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8353 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8354   hard_links=yes
   8355   $RM conftest*
   8356   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8357   touch conftest.a
   8358   ln conftest.a conftest.b 2>&5 || hard_links=no
   8359   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8361 $as_echo "$hard_links" >&6; }
   8362   if test "$hard_links" = no; then
   8363     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8364 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8365     need_locks=warn
   8366   fi
   8367 else
   8368   need_locks=no
   8369 fi
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8377 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8378 
   8379   runpath_var=
   8380   allow_undefined_flag=
   8381   always_export_symbols=no
   8382   archive_cmds=
   8383   archive_expsym_cmds=
   8384   compiler_needs_object=no
   8385   enable_shared_with_static_runtimes=no
   8386   export_dynamic_flag_spec=
   8387   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8388   hardcode_automatic=no
   8389   hardcode_direct=no
   8390   hardcode_direct_absolute=no
   8391   hardcode_libdir_flag_spec=
   8392   hardcode_libdir_flag_spec_ld=
   8393   hardcode_libdir_separator=
   8394   hardcode_minus_L=no
   8395   hardcode_shlibpath_var=unsupported
   8396   inherit_rpath=no
   8397   link_all_deplibs=unknown
   8398   module_cmds=
   8399   module_expsym_cmds=
   8400   old_archive_from_new_cmds=
   8401   old_archive_from_expsyms_cmds=
   8402   thread_safe_flag_spec=
   8403   whole_archive_flag_spec=
   8404   # include_expsyms should be a list of space-separated symbols to be *always*
   8405   # included in the symbol list
   8406   include_expsyms=
   8407   # exclude_expsyms can be an extended regexp of symbols to exclude
   8408   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8409   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8410   # as well as any symbol that contains `d'.
   8411   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8412   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8413   # platforms (ab)use it in PIC code, but their linkers get confused if
   8414   # the symbol is explicitly referenced.  Since portable code cannot
   8415   # rely on this symbol name, it's probably fine to never include it in
   8416   # preloaded symbol tables.
   8417   # Exclude shared library initialization/finalization symbols.
   8418   extract_expsyms_cmds=
   8419 
   8420   case $host_os in
   8421   cygwin* | mingw* | pw32* | cegcc*)
   8422     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8423     # When not using gcc, we currently assume that we are using
   8424     # Microsoft Visual C++.
   8425     if test "$GCC" != yes; then
   8426       with_gnu_ld=no
   8427     fi
   8428     ;;
   8429   interix*)
   8430     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8431     with_gnu_ld=yes
   8432     ;;
   8433   openbsd*)
   8434     with_gnu_ld=no
   8435     ;;
   8436   esac
   8437 
   8438   ld_shlibs=yes
   8439   if test "$with_gnu_ld" = yes; then
   8440     # If archive_cmds runs LD, not CC, wlarc should be empty
   8441     wlarc='${wl}'
   8442 
   8443     # Set some defaults for GNU ld with shared library support. These
   8444     # are reset later if shared libraries are not supported. Putting them
   8445     # here allows them to be overridden if necessary.
   8446     runpath_var=LD_RUN_PATH
   8447     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8448     export_dynamic_flag_spec='${wl}--export-dynamic'
   8449     # ancient GNU ld didn't support --whole-archive et. al.
   8450     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8451       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8452     else
   8453       whole_archive_flag_spec=
   8454     fi
   8455     supports_anon_versioning=no
   8456     case `$LD -v 2>&1` in
   8457       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8458       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8459       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8460       *\ 2.11.*) ;; # other 2.11 versions
   8461       *) supports_anon_versioning=yes ;;
   8462     esac
   8463 
   8464     # See if GNU ld supports shared libraries.
   8465     case $host_os in
   8466     aix[3-9]*)
   8467       # On AIX/PPC, the GNU linker is very broken
   8468       if test "$host_cpu" != ia64; then
   8469 	ld_shlibs=no
   8470 	cat <<_LT_EOF 1>&2
   8471 
   8472 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8473 *** to be unable to reliably create shared libraries on AIX.
   8474 *** Therefore, libtool is disabling shared libraries support.  If you
   8475 *** really care for shared libraries, you may want to modify your PATH
   8476 *** so that a non-GNU linker is found, and then restart.
   8477 
   8478 _LT_EOF
   8479       fi
   8480       ;;
   8481 
   8482     amigaos*)
   8483       case $host_cpu in
   8484       powerpc)
   8485             # see comment about AmigaOS4 .so support
   8486             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8487             archive_expsym_cmds=''
   8488         ;;
   8489       m68k)
   8490             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)'
   8491             hardcode_libdir_flag_spec='-L$libdir'
   8492             hardcode_minus_L=yes
   8493         ;;
   8494       esac
   8495       ;;
   8496 
   8497     beos*)
   8498       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8499 	allow_undefined_flag=unsupported
   8500 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8501 	# support --undefined.  This deserves some investigation.  FIXME
   8502 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8503       else
   8504 	ld_shlibs=no
   8505       fi
   8506       ;;
   8507 
   8508     cygwin* | mingw* | pw32* | cegcc*)
   8509       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8510       # as there is no search path for DLLs.
   8511       hardcode_libdir_flag_spec='-L$libdir'
   8512       allow_undefined_flag=unsupported
   8513       always_export_symbols=no
   8514       enable_shared_with_static_runtimes=yes
   8515       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8516 
   8517       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8518         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8519 	# If the export-symbols file already is a .def file (1st line
   8520 	# is EXPORTS), use it as is; otherwise, prepend...
   8521 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8522 	  cp $export_symbols $output_objdir/$soname.def;
   8523 	else
   8524 	  echo EXPORTS > $output_objdir/$soname.def;
   8525 	  cat $export_symbols >> $output_objdir/$soname.def;
   8526 	fi~
   8527 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8528       else
   8529 	ld_shlibs=no
   8530       fi
   8531       ;;
   8532 
   8533     interix[3-9]*)
   8534       hardcode_direct=no
   8535       hardcode_shlibpath_var=no
   8536       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8537       export_dynamic_flag_spec='${wl}-E'
   8538       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8539       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8540       # default) and relocated if they conflict, which is a slow very memory
   8541       # consuming and fragmenting process.  To avoid this, we pick a random,
   8542       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8543       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8544       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8545       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'
   8546       ;;
   8547 
   8548     gnu* | linux* | tpf* | k*bsd*-gnu)
   8549       tmp_diet=no
   8550       if test "$host_os" = linux-dietlibc; then
   8551 	case $cc_basename in
   8552 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8553 	esac
   8554       fi
   8555       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8556 	 && test "$tmp_diet" = no
   8557       then
   8558 	tmp_addflag=
   8559 	tmp_sharedflag='-shared'
   8560 	case $cc_basename,$host_cpu in
   8561         pgcc*)				# Portland Group C compiler
   8562 	  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'
   8563 	  tmp_addflag=' $pic_flag'
   8564 	  ;;
   8565 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8566 	  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'
   8567 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8568 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8569 	  tmp_addflag=' -i_dynamic' ;;
   8570 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8571 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8572 	ifc* | ifort*)			# Intel Fortran compiler
   8573 	  tmp_addflag=' -nofor_main' ;;
   8574 	lf95*)				# Lahey Fortran 8.1
   8575 	  whole_archive_flag_spec=
   8576 	  tmp_sharedflag='--shared' ;;
   8577 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8578 	  tmp_sharedflag='-qmkshrobj'
   8579 	  tmp_addflag= ;;
   8580 	esac
   8581 	case `$CC -V 2>&1 | sed 5q` in
   8582 	*Sun\ C*)			# Sun C 5.9
   8583 	  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'
   8584 	  compiler_needs_object=yes
   8585 	  tmp_sharedflag='-G' ;;
   8586 	*Sun\ F*)			# Sun Fortran 8.3
   8587 	  tmp_sharedflag='-G' ;;
   8588 	esac
   8589 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8590 
   8591         if test "x$supports_anon_versioning" = xyes; then
   8592           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8593 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8594 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8595 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8596         fi
   8597 
   8598 	case $cc_basename in
   8599 	xlf*)
   8600 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8601 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8602 	  hardcode_libdir_flag_spec=
   8603 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8604 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8605 	  if test "x$supports_anon_versioning" = xyes; then
   8606 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8607 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8608 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8609 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8610 	  fi
   8611 	  ;;
   8612 	esac
   8613       else
   8614         ld_shlibs=no
   8615       fi
   8616       ;;
   8617 
   8618     netbsd*)
   8619       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8620 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8621 	wlarc=
   8622       else
   8623 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8624 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8625       fi
   8626       ;;
   8627 
   8628     solaris*)
   8629       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8630 	ld_shlibs=no
   8631 	cat <<_LT_EOF 1>&2
   8632 
   8633 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8634 *** create shared libraries on Solaris systems.  Therefore, libtool
   8635 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8636 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8637 *** your PATH or compiler configuration so that the native linker is
   8638 *** used, and then restart.
   8639 
   8640 _LT_EOF
   8641       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8642 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8643 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8644       else
   8645 	ld_shlibs=no
   8646       fi
   8647       ;;
   8648 
   8649     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8650       case `$LD -v 2>&1` in
   8651         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8652 	ld_shlibs=no
   8653 	cat <<_LT_EOF 1>&2
   8654 
   8655 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8656 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8657 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8658 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8659 *** your PATH or compiler configuration so that the native linker is
   8660 *** used, and then restart.
   8661 
   8662 _LT_EOF
   8663 	;;
   8664 	*)
   8665 	  # For security reasons, it is highly recommended that you always
   8666 	  # use absolute paths for naming shared libraries, and exclude the
   8667 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8668 	  # requires that you compile everything twice, which is a pain.
   8669 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8670 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8671 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8672 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8673 	  else
   8674 	    ld_shlibs=no
   8675 	  fi
   8676 	;;
   8677       esac
   8678       ;;
   8679 
   8680     sunos4*)
   8681       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8682       wlarc=
   8683       hardcode_direct=yes
   8684       hardcode_shlibpath_var=no
   8685       ;;
   8686 
   8687     *)
   8688       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8689 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8690 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8691       else
   8692 	ld_shlibs=no
   8693       fi
   8694       ;;
   8695     esac
   8696 
   8697     if test "$ld_shlibs" = no; then
   8698       runpath_var=
   8699       hardcode_libdir_flag_spec=
   8700       export_dynamic_flag_spec=
   8701       whole_archive_flag_spec=
   8702     fi
   8703   else
   8704     # PORTME fill in a description of your system's linker (not GNU ld)
   8705     case $host_os in
   8706     aix3*)
   8707       allow_undefined_flag=unsupported
   8708       always_export_symbols=yes
   8709       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'
   8710       # Note: this linker hardcodes the directories in LIBPATH if there
   8711       # are no directories specified by -L.
   8712       hardcode_minus_L=yes
   8713       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8714 	# Neither direct hardcoding nor static linking is supported with a
   8715 	# broken collect2.
   8716 	hardcode_direct=unsupported
   8717       fi
   8718       ;;
   8719 
   8720     aix[4-9]*)
   8721       if test "$host_cpu" = ia64; then
   8722 	# On IA64, the linker does run time linking by default, so we don't
   8723 	# have to do anything special.
   8724 	aix_use_runtimelinking=no
   8725 	exp_sym_flag='-Bexport'
   8726 	no_entry_flag=""
   8727       else
   8728 	# If we're using GNU nm, then we don't want the "-C" option.
   8729 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8730 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8731 	  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'
   8732 	else
   8733 	  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'
   8734 	fi
   8735 	aix_use_runtimelinking=no
   8736 
   8737 	# Test if we are trying to use run time linking or normal
   8738 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8739 	# need to do runtime linking.
   8740 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8741 	  for ld_flag in $LDFLAGS; do
   8742 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8743 	    aix_use_runtimelinking=yes
   8744 	    break
   8745 	  fi
   8746 	  done
   8747 	  ;;
   8748 	esac
   8749 
   8750 	exp_sym_flag='-bexport'
   8751 	no_entry_flag='-bnoentry'
   8752       fi
   8753 
   8754       # When large executables or shared objects are built, AIX ld can
   8755       # have problems creating the table of contents.  If linking a library
   8756       # or program results in "error TOC overflow" add -mminimal-toc to
   8757       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8758       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8759 
   8760       archive_cmds=''
   8761       hardcode_direct=yes
   8762       hardcode_direct_absolute=yes
   8763       hardcode_libdir_separator=':'
   8764       link_all_deplibs=yes
   8765       file_list_spec='${wl}-f,'
   8766 
   8767       if test "$GCC" = yes; then
   8768 	case $host_os in aix4.[012]|aix4.[012].*)
   8769 	# We only want to do this on AIX 4.2 and lower, the check
   8770 	# below for broken collect2 doesn't work under 4.3+
   8771 	  collect2name=`${CC} -print-prog-name=collect2`
   8772 	  if test -f "$collect2name" &&
   8773 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8774 	  then
   8775 	  # We have reworked collect2
   8776 	  :
   8777 	  else
   8778 	  # We have old collect2
   8779 	  hardcode_direct=unsupported
   8780 	  # It fails to find uninstalled libraries when the uninstalled
   8781 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8782 	  # to unsupported forces relinking
   8783 	  hardcode_minus_L=yes
   8784 	  hardcode_libdir_flag_spec='-L$libdir'
   8785 	  hardcode_libdir_separator=
   8786 	  fi
   8787 	  ;;
   8788 	esac
   8789 	shared_flag='-shared'
   8790 	if test "$aix_use_runtimelinking" = yes; then
   8791 	  shared_flag="$shared_flag "'${wl}-G'
   8792 	fi
   8793       else
   8794 	# not using gcc
   8795 	if test "$host_cpu" = ia64; then
   8796 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8797 	# chokes on -Wl,-G. The following line is correct:
   8798 	  shared_flag='-G'
   8799 	else
   8800 	  if test "$aix_use_runtimelinking" = yes; then
   8801 	    shared_flag='${wl}-G'
   8802 	  else
   8803 	    shared_flag='${wl}-bM:SRE'
   8804 	  fi
   8805 	fi
   8806       fi
   8807 
   8808       export_dynamic_flag_spec='${wl}-bexpall'
   8809       # It seems that -bexpall does not export symbols beginning with
   8810       # underscore (_), so it is better to generate a list of symbols to export.
   8811       always_export_symbols=yes
   8812       if test "$aix_use_runtimelinking" = yes; then
   8813 	# Warning - without using the other runtime loading flags (-brtl),
   8814 	# -berok will link without error, but may produce a broken library.
   8815 	allow_undefined_flag='-berok'
   8816         # Determine the default libpath from the value encoded in an
   8817         # empty executable.
   8818         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 
   8821 int
   8822 main ()
   8823 {
   8824 
   8825   ;
   8826   return 0;
   8827 }
   8828 _ACEOF
   8829 if ac_fn_c_try_link "$LINENO"; then :
   8830 
   8831 lt_aix_libpath_sed='
   8832     /Import File Strings/,/^$/ {
   8833 	/^0/ {
   8834 	    s/^0  *\(.*\)$/\1/
   8835 	    p
   8836 	}
   8837     }'
   8838 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8839 # Check for a 64-bit object if we didn't find anything.
   8840 if test -z "$aix_libpath"; then
   8841   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8842 fi
   8843 fi
   8844 rm -f core conftest.err conftest.$ac_objext \
   8845     conftest$ac_exeext conftest.$ac_ext
   8846 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8847 
   8848         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8849         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"
   8850       else
   8851 	if test "$host_cpu" = ia64; then
   8852 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8853 	  allow_undefined_flag="-z nodefs"
   8854 	  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"
   8855 	else
   8856 	 # Determine the default libpath from the value encoded in an
   8857 	 # empty executable.
   8858 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 
   8861 int
   8862 main ()
   8863 {
   8864 
   8865   ;
   8866   return 0;
   8867 }
   8868 _ACEOF
   8869 if ac_fn_c_try_link "$LINENO"; then :
   8870 
   8871 lt_aix_libpath_sed='
   8872     /Import File Strings/,/^$/ {
   8873 	/^0/ {
   8874 	    s/^0  *\(.*\)$/\1/
   8875 	    p
   8876 	}
   8877     }'
   8878 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8879 # Check for a 64-bit object if we didn't find anything.
   8880 if test -z "$aix_libpath"; then
   8881   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8882 fi
   8883 fi
   8884 rm -f core conftest.err conftest.$ac_objext \
   8885     conftest$ac_exeext conftest.$ac_ext
   8886 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8887 
   8888 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8889 	  # Warning - without using the other run time loading flags,
   8890 	  # -berok will link without error, but may produce a broken library.
   8891 	  no_undefined_flag=' ${wl}-bernotok'
   8892 	  allow_undefined_flag=' ${wl}-berok'
   8893 	  # Exported symbols can be pulled into shared objects from archives
   8894 	  whole_archive_flag_spec='$convenience'
   8895 	  archive_cmds_need_lc=yes
   8896 	  # This is similar to how AIX traditionally builds its shared libraries.
   8897 	  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'
   8898 	fi
   8899       fi
   8900       ;;
   8901 
   8902     amigaos*)
   8903       case $host_cpu in
   8904       powerpc)
   8905             # see comment about AmigaOS4 .so support
   8906             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8907             archive_expsym_cmds=''
   8908         ;;
   8909       m68k)
   8910             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)'
   8911             hardcode_libdir_flag_spec='-L$libdir'
   8912             hardcode_minus_L=yes
   8913         ;;
   8914       esac
   8915       ;;
   8916 
   8917     bsdi[45]*)
   8918       export_dynamic_flag_spec=-rdynamic
   8919       ;;
   8920 
   8921     cygwin* | mingw* | pw32* | cegcc*)
   8922       # When not using gcc, we currently assume that we are using
   8923       # Microsoft Visual C++.
   8924       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8925       # no search path for DLLs.
   8926       hardcode_libdir_flag_spec=' '
   8927       allow_undefined_flag=unsupported
   8928       # Tell ltmain to make .lib files, not .a files.
   8929       libext=lib
   8930       # Tell ltmain to make .dll files, not .so files.
   8931       shrext_cmds=".dll"
   8932       # FIXME: Setting linknames here is a bad hack.
   8933       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8934       # The linker will automatically build a .lib file if we build a DLL.
   8935       old_archive_from_new_cmds='true'
   8936       # FIXME: Should let the user specify the lib program.
   8937       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8938       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8939       enable_shared_with_static_runtimes=yes
   8940       ;;
   8941 
   8942     darwin* | rhapsody*)
   8943 
   8944 
   8945   archive_cmds_need_lc=no
   8946   hardcode_direct=no
   8947   hardcode_automatic=yes
   8948   hardcode_shlibpath_var=unsupported
   8949   whole_archive_flag_spec=''
   8950   link_all_deplibs=yes
   8951   allow_undefined_flag="$_lt_dar_allow_undefined"
   8952   case $cc_basename in
   8953      ifort*) _lt_dar_can_shared=yes ;;
   8954      *) _lt_dar_can_shared=$GCC ;;
   8955   esac
   8956   if test "$_lt_dar_can_shared" = "yes"; then
   8957     output_verbose_link_cmd=echo
   8958     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8959     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8960     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}"
   8961     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}"
   8962 
   8963   else
   8964   ld_shlibs=no
   8965   fi
   8966 
   8967       ;;
   8968 
   8969     dgux*)
   8970       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8971       hardcode_libdir_flag_spec='-L$libdir'
   8972       hardcode_shlibpath_var=no
   8973       ;;
   8974 
   8975     freebsd1*)
   8976       ld_shlibs=no
   8977       ;;
   8978 
   8979     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8980     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8981     # does not break anything, and helps significantly (at the cost of a little
   8982     # extra space).
   8983     freebsd2.2*)
   8984       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8985       hardcode_libdir_flag_spec='-R$libdir'
   8986       hardcode_direct=yes
   8987       hardcode_shlibpath_var=no
   8988       ;;
   8989 
   8990     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8991     freebsd2*)
   8992       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8993       hardcode_direct=yes
   8994       hardcode_minus_L=yes
   8995       hardcode_shlibpath_var=no
   8996       ;;
   8997 
   8998     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8999     freebsd* | dragonfly*)
   9000       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9001       hardcode_libdir_flag_spec='-R$libdir'
   9002       hardcode_direct=yes
   9003       hardcode_shlibpath_var=no
   9004       ;;
   9005 
   9006     hpux9*)
   9007       if test "$GCC" = yes; then
   9008 	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'
   9009       else
   9010 	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'
   9011       fi
   9012       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9013       hardcode_libdir_separator=:
   9014       hardcode_direct=yes
   9015 
   9016       # hardcode_minus_L: Not really in the search PATH,
   9017       # but as the default location of the library.
   9018       hardcode_minus_L=yes
   9019       export_dynamic_flag_spec='${wl}-E'
   9020       ;;
   9021 
   9022     hpux10*)
   9023       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9024 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9025       else
   9026 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9027       fi
   9028       if test "$with_gnu_ld" = no; then
   9029 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9030 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9031 	hardcode_libdir_separator=:
   9032 	hardcode_direct=yes
   9033 	hardcode_direct_absolute=yes
   9034 	export_dynamic_flag_spec='${wl}-E'
   9035 	# hardcode_minus_L: Not really in the search PATH,
   9036 	# but as the default location of the library.
   9037 	hardcode_minus_L=yes
   9038       fi
   9039       ;;
   9040 
   9041     hpux11*)
   9042       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9043 	case $host_cpu in
   9044 	hppa*64*)
   9045 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9046 	  ;;
   9047 	ia64*)
   9048 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9049 	  ;;
   9050 	*)
   9051 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9052 	  ;;
   9053 	esac
   9054       else
   9055 	case $host_cpu in
   9056 	hppa*64*)
   9057 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9058 	  ;;
   9059 	ia64*)
   9060 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9061 	  ;;
   9062 	*)
   9063 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9064 	  ;;
   9065 	esac
   9066       fi
   9067       if test "$with_gnu_ld" = no; then
   9068 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9069 	hardcode_libdir_separator=:
   9070 
   9071 	case $host_cpu in
   9072 	hppa*64*|ia64*)
   9073 	  hardcode_direct=no
   9074 	  hardcode_shlibpath_var=no
   9075 	  ;;
   9076 	*)
   9077 	  hardcode_direct=yes
   9078 	  hardcode_direct_absolute=yes
   9079 	  export_dynamic_flag_spec='${wl}-E'
   9080 
   9081 	  # hardcode_minus_L: Not really in the search PATH,
   9082 	  # but as the default location of the library.
   9083 	  hardcode_minus_L=yes
   9084 	  ;;
   9085 	esac
   9086       fi
   9087       ;;
   9088 
   9089     irix5* | irix6* | nonstopux*)
   9090       if test "$GCC" = yes; then
   9091 	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'
   9092 	# Try to use the -exported_symbol ld option, if it does not
   9093 	# work, assume that -exports_file does not work either and
   9094 	# implicitly export all symbols.
   9095         save_LDFLAGS="$LDFLAGS"
   9096         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9097         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9098 /* end confdefs.h.  */
   9099 int foo(void) {}
   9100 _ACEOF
   9101 if ac_fn_c_try_link "$LINENO"; then :
   9102   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'
   9103 
   9104 fi
   9105 rm -f core conftest.err conftest.$ac_objext \
   9106     conftest$ac_exeext conftest.$ac_ext
   9107         LDFLAGS="$save_LDFLAGS"
   9108       else
   9109 	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'
   9110 	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'
   9111       fi
   9112       archive_cmds_need_lc='no'
   9113       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9114       hardcode_libdir_separator=:
   9115       inherit_rpath=yes
   9116       link_all_deplibs=yes
   9117       ;;
   9118 
   9119     netbsd*)
   9120       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9121 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9122       else
   9123 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9124       fi
   9125       hardcode_libdir_flag_spec='-R$libdir'
   9126       hardcode_direct=yes
   9127       hardcode_shlibpath_var=no
   9128       ;;
   9129 
   9130     newsos6)
   9131       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9132       hardcode_direct=yes
   9133       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9134       hardcode_libdir_separator=:
   9135       hardcode_shlibpath_var=no
   9136       ;;
   9137 
   9138     *nto* | *qnx*)
   9139       ;;
   9140 
   9141     openbsd*)
   9142       if test -f /usr/libexec/ld.so; then
   9143 	hardcode_direct=yes
   9144 	hardcode_shlibpath_var=no
   9145 	hardcode_direct_absolute=yes
   9146 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9147 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9148 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9149 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9150 	  export_dynamic_flag_spec='${wl}-E'
   9151 	else
   9152 	  case $host_os in
   9153 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9154 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9155 	     hardcode_libdir_flag_spec='-R$libdir'
   9156 	     ;;
   9157 	   *)
   9158 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9159 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9160 	     ;;
   9161 	  esac
   9162 	fi
   9163       else
   9164 	ld_shlibs=no
   9165       fi
   9166       ;;
   9167 
   9168     os2*)
   9169       hardcode_libdir_flag_spec='-L$libdir'
   9170       hardcode_minus_L=yes
   9171       allow_undefined_flag=unsupported
   9172       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'
   9173       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9174       ;;
   9175 
   9176     osf3*)
   9177       if test "$GCC" = yes; then
   9178 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9179 	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'
   9180       else
   9181 	allow_undefined_flag=' -expect_unresolved \*'
   9182 	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'
   9183       fi
   9184       archive_cmds_need_lc='no'
   9185       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9186       hardcode_libdir_separator=:
   9187       ;;
   9188 
   9189     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9190       if test "$GCC" = yes; then
   9191 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9192 	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'
   9193 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9194       else
   9195 	allow_undefined_flag=' -expect_unresolved \*'
   9196 	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'
   9197 	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~
   9198 	$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'
   9199 
   9200 	# Both c and cxx compiler support -rpath directly
   9201 	hardcode_libdir_flag_spec='-rpath $libdir'
   9202       fi
   9203       archive_cmds_need_lc='no'
   9204       hardcode_libdir_separator=:
   9205       ;;
   9206 
   9207     solaris*)
   9208       no_undefined_flag=' -z defs'
   9209       if test "$GCC" = yes; then
   9210 	wlarc='${wl}'
   9211 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9212 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9213 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9214       else
   9215 	case `$CC -V 2>&1` in
   9216 	*"Compilers 5.0"*)
   9217 	  wlarc=''
   9218 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9219 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9220 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9221 	  ;;
   9222 	*)
   9223 	  wlarc='${wl}'
   9224 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9225 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9226 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9227 	  ;;
   9228 	esac
   9229       fi
   9230       hardcode_libdir_flag_spec='-R$libdir'
   9231       hardcode_shlibpath_var=no
   9232       case $host_os in
   9233       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9234       *)
   9235 	# The compiler driver will combine and reorder linker options,
   9236 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9237 	# but is careful enough not to reorder.
   9238 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9239 	if test "$GCC" = yes; then
   9240 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9241 	else
   9242 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9243 	fi
   9244 	;;
   9245       esac
   9246       link_all_deplibs=yes
   9247       ;;
   9248 
   9249     sunos4*)
   9250       if test "x$host_vendor" = xsequent; then
   9251 	# Use $CC to link under sequent, because it throws in some extra .o
   9252 	# files that make .init and .fini sections work.
   9253 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9254       else
   9255 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9256       fi
   9257       hardcode_libdir_flag_spec='-L$libdir'
   9258       hardcode_direct=yes
   9259       hardcode_minus_L=yes
   9260       hardcode_shlibpath_var=no
   9261       ;;
   9262 
   9263     sysv4)
   9264       case $host_vendor in
   9265 	sni)
   9266 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9267 	  hardcode_direct=yes # is this really true???
   9268 	;;
   9269 	siemens)
   9270 	  ## LD is ld it makes a PLAMLIB
   9271 	  ## CC just makes a GrossModule.
   9272 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9273 	  reload_cmds='$CC -r -o $output$reload_objs'
   9274 	  hardcode_direct=no
   9275         ;;
   9276 	motorola)
   9277 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9278 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9279 	;;
   9280       esac
   9281       runpath_var='LD_RUN_PATH'
   9282       hardcode_shlibpath_var=no
   9283       ;;
   9284 
   9285     sysv4.3*)
   9286       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9287       hardcode_shlibpath_var=no
   9288       export_dynamic_flag_spec='-Bexport'
   9289       ;;
   9290 
   9291     sysv4*MP*)
   9292       if test -d /usr/nec; then
   9293 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9294 	hardcode_shlibpath_var=no
   9295 	runpath_var=LD_RUN_PATH
   9296 	hardcode_runpath_var=yes
   9297 	ld_shlibs=yes
   9298       fi
   9299       ;;
   9300 
   9301     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9302       no_undefined_flag='${wl}-z,text'
   9303       archive_cmds_need_lc=no
   9304       hardcode_shlibpath_var=no
   9305       runpath_var='LD_RUN_PATH'
   9306 
   9307       if test "$GCC" = yes; then
   9308 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9309 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9310       else
   9311 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9312 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9313       fi
   9314       ;;
   9315 
   9316     sysv5* | sco3.2v5* | sco5v6*)
   9317       # Note: We can NOT use -z defs as we might desire, because we do not
   9318       # link with -lc, and that would cause any symbols used from libc to
   9319       # always be unresolved, which means just about no library would
   9320       # ever link correctly.  If we're not using GNU ld we use -z text
   9321       # though, which does catch some bad symbols but isn't as heavy-handed
   9322       # as -z defs.
   9323       no_undefined_flag='${wl}-z,text'
   9324       allow_undefined_flag='${wl}-z,nodefs'
   9325       archive_cmds_need_lc=no
   9326       hardcode_shlibpath_var=no
   9327       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9328       hardcode_libdir_separator=':'
   9329       link_all_deplibs=yes
   9330       export_dynamic_flag_spec='${wl}-Bexport'
   9331       runpath_var='LD_RUN_PATH'
   9332 
   9333       if test "$GCC" = yes; then
   9334 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9335 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9336       else
   9337 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9338 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9339       fi
   9340       ;;
   9341 
   9342     uts4*)
   9343       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9344       hardcode_libdir_flag_spec='-L$libdir'
   9345       hardcode_shlibpath_var=no
   9346       ;;
   9347 
   9348     *)
   9349       ld_shlibs=no
   9350       ;;
   9351     esac
   9352 
   9353     if test x$host_vendor = xsni; then
   9354       case $host in
   9355       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9356 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9357 	;;
   9358       esac
   9359     fi
   9360   fi
   9361 
   9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9363 $as_echo "$ld_shlibs" >&6; }
   9364 test "$ld_shlibs" = no && can_build_shared=no
   9365 
   9366 with_gnu_ld=$with_gnu_ld
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 #
   9383 # Do we need to explicitly link libc?
   9384 #
   9385 case "x$archive_cmds_need_lc" in
   9386 x|xyes)
   9387   # Assume -lc should be added
   9388   archive_cmds_need_lc=yes
   9389 
   9390   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9391     case $archive_cmds in
   9392     *'~'*)
   9393       # FIXME: we may have to deal with multi-command sequences.
   9394       ;;
   9395     '$CC '*)
   9396       # Test whether the compiler implicitly links with -lc since on some
   9397       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9398       # to ld, don't add -lc before -lgcc.
   9399       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9400 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9401       $RM conftest*
   9402       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9403 
   9404       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9405   (eval $ac_compile) 2>&5
   9406   ac_status=$?
   9407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9408   test $ac_status = 0; } 2>conftest.err; then
   9409         soname=conftest
   9410         lib=conftest
   9411         libobjs=conftest.$ac_objext
   9412         deplibs=
   9413         wl=$lt_prog_compiler_wl
   9414 	pic_flag=$lt_prog_compiler_pic
   9415         compiler_flags=-v
   9416         linker_flags=-v
   9417         verstring=
   9418         output_objdir=.
   9419         libname=conftest
   9420         lt_save_allow_undefined_flag=$allow_undefined_flag
   9421         allow_undefined_flag=
   9422         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9423   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9424   ac_status=$?
   9425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9426   test $ac_status = 0; }
   9427         then
   9428 	  archive_cmds_need_lc=no
   9429         else
   9430 	  archive_cmds_need_lc=yes
   9431         fi
   9432         allow_undefined_flag=$lt_save_allow_undefined_flag
   9433       else
   9434         cat conftest.err 1>&5
   9435       fi
   9436       $RM conftest*
   9437       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9438 $as_echo "$archive_cmds_need_lc" >&6; }
   9439       ;;
   9440     esac
   9441   fi
   9442   ;;
   9443 esac
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9602 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9603 
   9604 if test "$GCC" = yes; then
   9605   case $host_os in
   9606     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9607     *) lt_awk_arg="/^libraries:/" ;;
   9608   esac
   9609   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9610   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9611     # if the path contains ";" then we assume it to be the separator
   9612     # otherwise default to the standard path separator (i.e. ":") - it is
   9613     # assumed that no part of a normal pathname contains ";" but that should
   9614     # okay in the real world where ";" in dirpaths is itself problematic.
   9615     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9616   else
   9617     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9618   fi
   9619   # Ok, now we have the path, separated by spaces, we can step through it
   9620   # and add multilib dir if necessary.
   9621   lt_tmp_lt_search_path_spec=
   9622   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9623   for lt_sys_path in $lt_search_path_spec; do
   9624     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9625       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9626     else
   9627       test -d "$lt_sys_path" && \
   9628 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9629     fi
   9630   done
   9631   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9632 BEGIN {RS=" "; FS="/|\n";} {
   9633   lt_foo="";
   9634   lt_count=0;
   9635   for (lt_i = NF; lt_i > 0; lt_i--) {
   9636     if ($lt_i != "" && $lt_i != ".") {
   9637       if ($lt_i == "..") {
   9638         lt_count++;
   9639       } else {
   9640         if (lt_count == 0) {
   9641           lt_foo="/" $lt_i lt_foo;
   9642         } else {
   9643           lt_count--;
   9644         }
   9645       }
   9646     }
   9647   }
   9648   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9649   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9650 }'`
   9651   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9652 else
   9653   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9654 fi
   9655 library_names_spec=
   9656 libname_spec='lib$name'
   9657 soname_spec=
   9658 shrext_cmds=".so"
   9659 postinstall_cmds=
   9660 postuninstall_cmds=
   9661 finish_cmds=
   9662 finish_eval=
   9663 shlibpath_var=
   9664 shlibpath_overrides_runpath=unknown
   9665 version_type=none
   9666 dynamic_linker="$host_os ld.so"
   9667 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9668 need_lib_prefix=unknown
   9669 hardcode_into_libs=no
   9670 
   9671 # when you set need_version to no, make sure it does not cause -set_version
   9672 # flags to be left without arguments
   9673 need_version=unknown
   9674 
   9675 case $host_os in
   9676 aix3*)
   9677   version_type=linux
   9678   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9679   shlibpath_var=LIBPATH
   9680 
   9681   # AIX 3 has no versioning support, so we append a major version to the name.
   9682   soname_spec='${libname}${release}${shared_ext}$major'
   9683   ;;
   9684 
   9685 aix[4-9]*)
   9686   version_type=linux
   9687   need_lib_prefix=no
   9688   need_version=no
   9689   hardcode_into_libs=yes
   9690   if test "$host_cpu" = ia64; then
   9691     # AIX 5 supports IA64
   9692     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9693     shlibpath_var=LD_LIBRARY_PATH
   9694   else
   9695     # With GCC up to 2.95.x, collect2 would create an import file
   9696     # for dependence libraries.  The import file would start with
   9697     # the line `#! .'.  This would cause the generated library to
   9698     # depend on `.', always an invalid library.  This was fixed in
   9699     # development snapshots of GCC prior to 3.0.
   9700     case $host_os in
   9701       aix4 | aix4.[01] | aix4.[01].*)
   9702       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9703 	   echo ' yes '
   9704 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9705 	:
   9706       else
   9707 	can_build_shared=no
   9708       fi
   9709       ;;
   9710     esac
   9711     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9712     # soname into executable. Probably we can add versioning support to
   9713     # collect2, so additional links can be useful in future.
   9714     if test "$aix_use_runtimelinking" = yes; then
   9715       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9716       # instead of lib<name>.a to let people know that these are not
   9717       # typical AIX shared libraries.
   9718       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9719     else
   9720       # We preserve .a as extension for shared libraries through AIX4.2
   9721       # and later when we are not doing run time linking.
   9722       library_names_spec='${libname}${release}.a $libname.a'
   9723       soname_spec='${libname}${release}${shared_ext}$major'
   9724     fi
   9725     shlibpath_var=LIBPATH
   9726   fi
   9727   ;;
   9728 
   9729 amigaos*)
   9730   case $host_cpu in
   9731   powerpc)
   9732     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9733     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9734     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9735     ;;
   9736   m68k)
   9737     library_names_spec='$libname.ixlibrary $libname.a'
   9738     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9739     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'
   9740     ;;
   9741   esac
   9742   ;;
   9743 
   9744 beos*)
   9745   library_names_spec='${libname}${shared_ext}'
   9746   dynamic_linker="$host_os ld.so"
   9747   shlibpath_var=LIBRARY_PATH
   9748   ;;
   9749 
   9750 bsdi[45]*)
   9751   version_type=linux
   9752   need_version=no
   9753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9754   soname_spec='${libname}${release}${shared_ext}$major'
   9755   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9756   shlibpath_var=LD_LIBRARY_PATH
   9757   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9758   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9759   # the default ld.so.conf also contains /usr/contrib/lib and
   9760   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9761   # libtool to hard-code these into programs
   9762   ;;
   9763 
   9764 cygwin* | mingw* | pw32* | cegcc*)
   9765   version_type=windows
   9766   shrext_cmds=".dll"
   9767   need_version=no
   9768   need_lib_prefix=no
   9769 
   9770   case $GCC,$host_os in
   9771   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9772     library_names_spec='$libname.dll.a'
   9773     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9774     postinstall_cmds='base_file=`basename \${file}`~
   9775       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9776       dldir=$destdir/`dirname \$dlpath`~
   9777       test -d \$dldir || mkdir -p \$dldir~
   9778       $install_prog $dir/$dlname \$dldir/$dlname~
   9779       chmod a+x \$dldir/$dlname~
   9780       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9781         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9782       fi'
   9783     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9784       dlpath=$dir/\$dldll~
   9785        $RM \$dlpath'
   9786     shlibpath_overrides_runpath=yes
   9787 
   9788     case $host_os in
   9789     cygwin*)
   9790       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9791       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9792       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9793       ;;
   9794     mingw* | cegcc*)
   9795       # MinGW DLLs use traditional 'lib' prefix
   9796       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9797       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9798       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9799         # It is most probably a Windows format PATH printed by
   9800         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9801         # path with ; separators, and with drive letters. We can handle the
   9802         # drive letters (cygwin fileutils understands them), so leave them,
   9803         # especially as we might pass files found there to a mingw objdump,
   9804         # which wouldn't understand a cygwinified path. Ahh.
   9805         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9806       else
   9807         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9808       fi
   9809       ;;
   9810     pw32*)
   9811       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9812       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9813       ;;
   9814     esac
   9815     ;;
   9816 
   9817   *)
   9818     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9819     ;;
   9820   esac
   9821   dynamic_linker='Win32 ld.exe'
   9822   # FIXME: first we should search . and the directory the executable is in
   9823   shlibpath_var=PATH
   9824   ;;
   9825 
   9826 darwin* | rhapsody*)
   9827   dynamic_linker="$host_os dyld"
   9828   version_type=darwin
   9829   need_lib_prefix=no
   9830   need_version=no
   9831   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9832   soname_spec='${libname}${release}${major}$shared_ext'
   9833   shlibpath_overrides_runpath=yes
   9834   shlibpath_var=DYLD_LIBRARY_PATH
   9835   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9836 
   9837   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9838   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9839   ;;
   9840 
   9841 dgux*)
   9842   version_type=linux
   9843   need_lib_prefix=no
   9844   need_version=no
   9845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9846   soname_spec='${libname}${release}${shared_ext}$major'
   9847   shlibpath_var=LD_LIBRARY_PATH
   9848   ;;
   9849 
   9850 freebsd1*)
   9851   dynamic_linker=no
   9852   ;;
   9853 
   9854 freebsd* | dragonfly*)
   9855   # DragonFly does not have aout.  When/if they implement a new
   9856   # versioning mechanism, adjust this.
   9857   if test -x /usr/bin/objformat; then
   9858     objformat=`/usr/bin/objformat`
   9859   else
   9860     case $host_os in
   9861     freebsd[123]*) objformat=aout ;;
   9862     *) objformat=elf ;;
   9863     esac
   9864   fi
   9865   version_type=freebsd-$objformat
   9866   case $version_type in
   9867     freebsd-elf*)
   9868       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9869       need_version=no
   9870       need_lib_prefix=no
   9871       ;;
   9872     freebsd-*)
   9873       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9874       need_version=yes
   9875       ;;
   9876   esac
   9877   shlibpath_var=LD_LIBRARY_PATH
   9878   case $host_os in
   9879   freebsd2*)
   9880     shlibpath_overrides_runpath=yes
   9881     ;;
   9882   freebsd3.[01]* | freebsdelf3.[01]*)
   9883     shlibpath_overrides_runpath=yes
   9884     hardcode_into_libs=yes
   9885     ;;
   9886   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9887   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9888     shlibpath_overrides_runpath=no
   9889     hardcode_into_libs=yes
   9890     ;;
   9891   *) # from 4.6 on, and DragonFly
   9892     shlibpath_overrides_runpath=yes
   9893     hardcode_into_libs=yes
   9894     ;;
   9895   esac
   9896   ;;
   9897 
   9898 gnu*)
   9899   version_type=linux
   9900   need_lib_prefix=no
   9901   need_version=no
   9902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9903   soname_spec='${libname}${release}${shared_ext}$major'
   9904   shlibpath_var=LD_LIBRARY_PATH
   9905   hardcode_into_libs=yes
   9906   ;;
   9907 
   9908 hpux9* | hpux10* | hpux11*)
   9909   # Give a soname corresponding to the major version so that dld.sl refuses to
   9910   # link against other versions.
   9911   version_type=sunos
   9912   need_lib_prefix=no
   9913   need_version=no
   9914   case $host_cpu in
   9915   ia64*)
   9916     shrext_cmds='.so'
   9917     hardcode_into_libs=yes
   9918     dynamic_linker="$host_os dld.so"
   9919     shlibpath_var=LD_LIBRARY_PATH
   9920     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9921     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9922     soname_spec='${libname}${release}${shared_ext}$major'
   9923     if test "X$HPUX_IA64_MODE" = X32; then
   9924       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9925     else
   9926       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9927     fi
   9928     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9929     ;;
   9930   hppa*64*)
   9931     shrext_cmds='.sl'
   9932     hardcode_into_libs=yes
   9933     dynamic_linker="$host_os dld.sl"
   9934     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9935     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9936     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9937     soname_spec='${libname}${release}${shared_ext}$major'
   9938     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9939     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9940     ;;
   9941   *)
   9942     shrext_cmds='.sl'
   9943     dynamic_linker="$host_os dld.sl"
   9944     shlibpath_var=SHLIB_PATH
   9945     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9946     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9947     soname_spec='${libname}${release}${shared_ext}$major'
   9948     ;;
   9949   esac
   9950   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9951   postinstall_cmds='chmod 555 $lib'
   9952   ;;
   9953 
   9954 interix[3-9]*)
   9955   version_type=linux
   9956   need_lib_prefix=no
   9957   need_version=no
   9958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9959   soname_spec='${libname}${release}${shared_ext}$major'
   9960   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9961   shlibpath_var=LD_LIBRARY_PATH
   9962   shlibpath_overrides_runpath=no
   9963   hardcode_into_libs=yes
   9964   ;;
   9965 
   9966 irix5* | irix6* | nonstopux*)
   9967   case $host_os in
   9968     nonstopux*) version_type=nonstopux ;;
   9969     *)
   9970 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9971 		version_type=linux
   9972 	else
   9973 		version_type=irix
   9974 	fi ;;
   9975   esac
   9976   need_lib_prefix=no
   9977   need_version=no
   9978   soname_spec='${libname}${release}${shared_ext}$major'
   9979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9980   case $host_os in
   9981   irix5* | nonstopux*)
   9982     libsuff= shlibsuff=
   9983     ;;
   9984   *)
   9985     case $LD in # libtool.m4 will add one of these switches to LD
   9986     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9987       libsuff= shlibsuff= libmagic=32-bit;;
   9988     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9989       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9990     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9991       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9992     *) libsuff= shlibsuff= libmagic=never-match;;
   9993     esac
   9994     ;;
   9995   esac
   9996   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9997   shlibpath_overrides_runpath=no
   9998   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9999   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10000   hardcode_into_libs=yes
   10001   ;;
   10002 
   10003 # No shared lib support for Linux oldld, aout, or coff.
   10004 linux*oldld* | linux*aout* | linux*coff*)
   10005   dynamic_linker=no
   10006   ;;
   10007 
   10008 # This must be Linux ELF.
   10009 linux* | k*bsd*-gnu)
   10010   version_type=linux
   10011   need_lib_prefix=no
   10012   need_version=no
   10013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10014   soname_spec='${libname}${release}${shared_ext}$major'
   10015   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10016   shlibpath_var=LD_LIBRARY_PATH
   10017   shlibpath_overrides_runpath=no
   10018   # Some binutils ld are patched to set DT_RUNPATH
   10019   save_LDFLAGS=$LDFLAGS
   10020   save_libdir=$libdir
   10021   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10022        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10024 /* end confdefs.h.  */
   10025 
   10026 int
   10027 main ()
   10028 {
   10029 
   10030   ;
   10031   return 0;
   10032 }
   10033 _ACEOF
   10034 if ac_fn_c_try_link "$LINENO"; then :
   10035   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10036   shlibpath_overrides_runpath=yes
   10037 fi
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext \
   10040     conftest$ac_exeext conftest.$ac_ext
   10041   LDFLAGS=$save_LDFLAGS
   10042   libdir=$save_libdir
   10043 
   10044   # This implies no fast_install, which is unacceptable.
   10045   # Some rework will be needed to allow for fast_install
   10046   # before this can be enabled.
   10047   hardcode_into_libs=yes
   10048 
   10049   # Append ld.so.conf contents to the search path
   10050   if test -f /etc/ld.so.conf; then
   10051     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' ' '`
   10052     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10053   fi
   10054 
   10055   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10056   # powerpc, because MkLinux only supported shared libraries with the
   10057   # GNU dynamic linker.  Since this was broken with cross compilers,
   10058   # most powerpc-linux boxes support dynamic linking these days and
   10059   # people can always --disable-shared, the test was removed, and we
   10060   # assume the GNU/Linux dynamic linker is in use.
   10061   dynamic_linker='GNU/Linux ld.so'
   10062   ;;
   10063 
   10064 netbsd*)
   10065   version_type=sunos
   10066   need_lib_prefix=no
   10067   need_version=no
   10068   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10069     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10070     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10071     dynamic_linker='NetBSD (a.out) ld.so'
   10072   else
   10073     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10074     soname_spec='${libname}${release}${shared_ext}$major'
   10075     dynamic_linker='NetBSD ld.elf_so'
   10076   fi
   10077   shlibpath_var=LD_LIBRARY_PATH
   10078   shlibpath_overrides_runpath=yes
   10079   hardcode_into_libs=yes
   10080   ;;
   10081 
   10082 newsos6)
   10083   version_type=linux
   10084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10085   shlibpath_var=LD_LIBRARY_PATH
   10086   shlibpath_overrides_runpath=yes
   10087   ;;
   10088 
   10089 *nto* | *qnx*)
   10090   version_type=qnx
   10091   need_lib_prefix=no
   10092   need_version=no
   10093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10094   soname_spec='${libname}${release}${shared_ext}$major'
   10095   shlibpath_var=LD_LIBRARY_PATH
   10096   shlibpath_overrides_runpath=no
   10097   hardcode_into_libs=yes
   10098   dynamic_linker='ldqnx.so'
   10099   ;;
   10100 
   10101 openbsd*)
   10102   version_type=sunos
   10103   sys_lib_dlsearch_path_spec="/usr/lib"
   10104   need_lib_prefix=no
   10105   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10106   case $host_os in
   10107     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10108     *)				need_version=no  ;;
   10109   esac
   10110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10111   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10112   shlibpath_var=LD_LIBRARY_PATH
   10113   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10114     case $host_os in
   10115       openbsd2.[89] | openbsd2.[89].*)
   10116 	shlibpath_overrides_runpath=no
   10117 	;;
   10118       *)
   10119 	shlibpath_overrides_runpath=yes
   10120 	;;
   10121       esac
   10122   else
   10123     shlibpath_overrides_runpath=yes
   10124   fi
   10125   ;;
   10126 
   10127 os2*)
   10128   libname_spec='$name'
   10129   shrext_cmds=".dll"
   10130   need_lib_prefix=no
   10131   library_names_spec='$libname${shared_ext} $libname.a'
   10132   dynamic_linker='OS/2 ld.exe'
   10133   shlibpath_var=LIBPATH
   10134   ;;
   10135 
   10136 osf3* | osf4* | osf5*)
   10137   version_type=osf
   10138   need_lib_prefix=no
   10139   need_version=no
   10140   soname_spec='${libname}${release}${shared_ext}$major'
   10141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10142   shlibpath_var=LD_LIBRARY_PATH
   10143   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10144   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10145   ;;
   10146 
   10147 rdos*)
   10148   dynamic_linker=no
   10149   ;;
   10150 
   10151 solaris*)
   10152   version_type=linux
   10153   need_lib_prefix=no
   10154   need_version=no
   10155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10156   soname_spec='${libname}${release}${shared_ext}$major'
   10157   shlibpath_var=LD_LIBRARY_PATH
   10158   shlibpath_overrides_runpath=yes
   10159   hardcode_into_libs=yes
   10160   # ldd complains unless libraries are executable
   10161   postinstall_cmds='chmod +x $lib'
   10162   ;;
   10163 
   10164 sunos4*)
   10165   version_type=sunos
   10166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10167   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10168   shlibpath_var=LD_LIBRARY_PATH
   10169   shlibpath_overrides_runpath=yes
   10170   if test "$with_gnu_ld" = yes; then
   10171     need_lib_prefix=no
   10172   fi
   10173   need_version=yes
   10174   ;;
   10175 
   10176 sysv4 | sysv4.3*)
   10177   version_type=linux
   10178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10179   soname_spec='${libname}${release}${shared_ext}$major'
   10180   shlibpath_var=LD_LIBRARY_PATH
   10181   case $host_vendor in
   10182     sni)
   10183       shlibpath_overrides_runpath=no
   10184       need_lib_prefix=no
   10185       runpath_var=LD_RUN_PATH
   10186       ;;
   10187     siemens)
   10188       need_lib_prefix=no
   10189       ;;
   10190     motorola)
   10191       need_lib_prefix=no
   10192       need_version=no
   10193       shlibpath_overrides_runpath=no
   10194       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10195       ;;
   10196   esac
   10197   ;;
   10198 
   10199 sysv4*MP*)
   10200   if test -d /usr/nec ;then
   10201     version_type=linux
   10202     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10203     soname_spec='$libname${shared_ext}.$major'
   10204     shlibpath_var=LD_LIBRARY_PATH
   10205   fi
   10206   ;;
   10207 
   10208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10209   version_type=freebsd-elf
   10210   need_lib_prefix=no
   10211   need_version=no
   10212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10213   soname_spec='${libname}${release}${shared_ext}$major'
   10214   shlibpath_var=LD_LIBRARY_PATH
   10215   shlibpath_overrides_runpath=yes
   10216   hardcode_into_libs=yes
   10217   if test "$with_gnu_ld" = yes; then
   10218     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10219   else
   10220     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10221     case $host_os in
   10222       sco3.2v5*)
   10223         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10224 	;;
   10225     esac
   10226   fi
   10227   sys_lib_dlsearch_path_spec='/usr/lib'
   10228   ;;
   10229 
   10230 tpf*)
   10231   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10232   version_type=linux
   10233   need_lib_prefix=no
   10234   need_version=no
   10235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10236   shlibpath_var=LD_LIBRARY_PATH
   10237   shlibpath_overrides_runpath=no
   10238   hardcode_into_libs=yes
   10239   ;;
   10240 
   10241 uts4*)
   10242   version_type=linux
   10243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10244   soname_spec='${libname}${release}${shared_ext}$major'
   10245   shlibpath_var=LD_LIBRARY_PATH
   10246   ;;
   10247 
   10248 *)
   10249   dynamic_linker=no
   10250   ;;
   10251 esac
   10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10253 $as_echo "$dynamic_linker" >&6; }
   10254 test "$dynamic_linker" = no && can_build_shared=no
   10255 
   10256 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10257 if test "$GCC" = yes; then
   10258   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10259 fi
   10260 
   10261 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10262   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10263 fi
   10264 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10265   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10266 fi
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10355 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10356 hardcode_action=
   10357 if test -n "$hardcode_libdir_flag_spec" ||
   10358    test -n "$runpath_var" ||
   10359    test "X$hardcode_automatic" = "Xyes" ; then
   10360 
   10361   # We can hardcode non-existent directories.
   10362   if test "$hardcode_direct" != no &&
   10363      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10364      # have to relink, otherwise we might link with an installed library
   10365      # when we should be linking with a yet-to-be-installed one
   10366      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10367      test "$hardcode_minus_L" != no; then
   10368     # Linking always hardcodes the temporary library directory.
   10369     hardcode_action=relink
   10370   else
   10371     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10372     hardcode_action=immediate
   10373   fi
   10374 else
   10375   # We cannot hardcode anything, or else we can only hardcode existing
   10376   # directories.
   10377   hardcode_action=unsupported
   10378 fi
   10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10380 $as_echo "$hardcode_action" >&6; }
   10381 
   10382 if test "$hardcode_action" = relink ||
   10383    test "$inherit_rpath" = yes; then
   10384   # Fast installation is not supported
   10385   enable_fast_install=no
   10386 elif test "$shlibpath_overrides_runpath" = yes ||
   10387      test "$enable_shared" = no; then
   10388   # Fast installation is not necessary
   10389   enable_fast_install=needless
   10390 fi
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397   if test "x$enable_dlopen" != xyes; then
   10398   enable_dlopen=unknown
   10399   enable_dlopen_self=unknown
   10400   enable_dlopen_self_static=unknown
   10401 else
   10402   lt_cv_dlopen=no
   10403   lt_cv_dlopen_libs=
   10404 
   10405   case $host_os in
   10406   beos*)
   10407     lt_cv_dlopen="load_add_on"
   10408     lt_cv_dlopen_libs=
   10409     lt_cv_dlopen_self=yes
   10410     ;;
   10411 
   10412   mingw* | pw32* | cegcc*)
   10413     lt_cv_dlopen="LoadLibrary"
   10414     lt_cv_dlopen_libs=
   10415     ;;
   10416 
   10417   cygwin*)
   10418     lt_cv_dlopen="dlopen"
   10419     lt_cv_dlopen_libs=
   10420     ;;
   10421 
   10422   darwin*)
   10423   # if libdl is installed we need to link against it
   10424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10427   $as_echo_n "(cached) " >&6
   10428 else
   10429   ac_check_lib_save_LIBS=$LIBS
   10430 LIBS="-ldl  $LIBS"
   10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10432 /* end confdefs.h.  */
   10433 
   10434 /* Override any GCC internal prototype to avoid an error.
   10435    Use char because int might match the return type of a GCC
   10436    builtin and then its argument prototype would still apply.  */
   10437 #ifdef __cplusplus
   10438 extern "C"
   10439 #endif
   10440 char dlopen ();
   10441 int
   10442 main ()
   10443 {
   10444 return dlopen ();
   10445   ;
   10446   return 0;
   10447 }
   10448 _ACEOF
   10449 if ac_fn_c_try_link "$LINENO"; then :
   10450   ac_cv_lib_dl_dlopen=yes
   10451 else
   10452   ac_cv_lib_dl_dlopen=no
   10453 fi
   10454 rm -f core conftest.err conftest.$ac_objext \
   10455     conftest$ac_exeext conftest.$ac_ext
   10456 LIBS=$ac_check_lib_save_LIBS
   10457 fi
   10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10459 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10460 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10461   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10462 else
   10463 
   10464     lt_cv_dlopen="dyld"
   10465     lt_cv_dlopen_libs=
   10466     lt_cv_dlopen_self=yes
   10467 
   10468 fi
   10469 
   10470     ;;
   10471 
   10472   *)
   10473     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10474 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10475   lt_cv_dlopen="shl_load"
   10476 else
   10477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10478 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10479 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10480   $as_echo_n "(cached) " >&6
   10481 else
   10482   ac_check_lib_save_LIBS=$LIBS
   10483 LIBS="-ldld  $LIBS"
   10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 
   10487 /* Override any GCC internal prototype to avoid an error.
   10488    Use char because int might match the return type of a GCC
   10489    builtin and then its argument prototype would still apply.  */
   10490 #ifdef __cplusplus
   10491 extern "C"
   10492 #endif
   10493 char shl_load ();
   10494 int
   10495 main ()
   10496 {
   10497 return shl_load ();
   10498   ;
   10499   return 0;
   10500 }
   10501 _ACEOF
   10502 if ac_fn_c_try_link "$LINENO"; then :
   10503   ac_cv_lib_dld_shl_load=yes
   10504 else
   10505   ac_cv_lib_dld_shl_load=no
   10506 fi
   10507 rm -f core conftest.err conftest.$ac_objext \
   10508     conftest$ac_exeext conftest.$ac_ext
   10509 LIBS=$ac_check_lib_save_LIBS
   10510 fi
   10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10512 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10513 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10514   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10515 else
   10516   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10517 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10518   lt_cv_dlopen="dlopen"
   10519 else
   10520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10521 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10522 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10523   $as_echo_n "(cached) " >&6
   10524 else
   10525   ac_check_lib_save_LIBS=$LIBS
   10526 LIBS="-ldl  $LIBS"
   10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10528 /* end confdefs.h.  */
   10529 
   10530 /* Override any GCC internal prototype to avoid an error.
   10531    Use char because int might match the return type of a GCC
   10532    builtin and then its argument prototype would still apply.  */
   10533 #ifdef __cplusplus
   10534 extern "C"
   10535 #endif
   10536 char dlopen ();
   10537 int
   10538 main ()
   10539 {
   10540 return dlopen ();
   10541   ;
   10542   return 0;
   10543 }
   10544 _ACEOF
   10545 if ac_fn_c_try_link "$LINENO"; then :
   10546   ac_cv_lib_dl_dlopen=yes
   10547 else
   10548   ac_cv_lib_dl_dlopen=no
   10549 fi
   10550 rm -f core conftest.err conftest.$ac_objext \
   10551     conftest$ac_exeext conftest.$ac_ext
   10552 LIBS=$ac_check_lib_save_LIBS
   10553 fi
   10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10555 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10556 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10557   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10558 else
   10559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10560 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10561 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10562   $as_echo_n "(cached) " >&6
   10563 else
   10564   ac_check_lib_save_LIBS=$LIBS
   10565 LIBS="-lsvld  $LIBS"
   10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10567 /* end confdefs.h.  */
   10568 
   10569 /* Override any GCC internal prototype to avoid an error.
   10570    Use char because int might match the return type of a GCC
   10571    builtin and then its argument prototype would still apply.  */
   10572 #ifdef __cplusplus
   10573 extern "C"
   10574 #endif
   10575 char dlopen ();
   10576 int
   10577 main ()
   10578 {
   10579 return dlopen ();
   10580   ;
   10581   return 0;
   10582 }
   10583 _ACEOF
   10584 if ac_fn_c_try_link "$LINENO"; then :
   10585   ac_cv_lib_svld_dlopen=yes
   10586 else
   10587   ac_cv_lib_svld_dlopen=no
   10588 fi
   10589 rm -f core conftest.err conftest.$ac_objext \
   10590     conftest$ac_exeext conftest.$ac_ext
   10591 LIBS=$ac_check_lib_save_LIBS
   10592 fi
   10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10594 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10595 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10596   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10597 else
   10598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10599 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10600 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10601   $as_echo_n "(cached) " >&6
   10602 else
   10603   ac_check_lib_save_LIBS=$LIBS
   10604 LIBS="-ldld  $LIBS"
   10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10606 /* end confdefs.h.  */
   10607 
   10608 /* Override any GCC internal prototype to avoid an error.
   10609    Use char because int might match the return type of a GCC
   10610    builtin and then its argument prototype would still apply.  */
   10611 #ifdef __cplusplus
   10612 extern "C"
   10613 #endif
   10614 char dld_link ();
   10615 int
   10616 main ()
   10617 {
   10618 return dld_link ();
   10619   ;
   10620   return 0;
   10621 }
   10622 _ACEOF
   10623 if ac_fn_c_try_link "$LINENO"; then :
   10624   ac_cv_lib_dld_dld_link=yes
   10625 else
   10626   ac_cv_lib_dld_dld_link=no
   10627 fi
   10628 rm -f core conftest.err conftest.$ac_objext \
   10629     conftest$ac_exeext conftest.$ac_ext
   10630 LIBS=$ac_check_lib_save_LIBS
   10631 fi
   10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10633 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10634 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10635   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10636 fi
   10637 
   10638 
   10639 fi
   10640 
   10641 
   10642 fi
   10643 
   10644 
   10645 fi
   10646 
   10647 
   10648 fi
   10649 
   10650 
   10651 fi
   10652 
   10653     ;;
   10654   esac
   10655 
   10656   if test "x$lt_cv_dlopen" != xno; then
   10657     enable_dlopen=yes
   10658   else
   10659     enable_dlopen=no
   10660   fi
   10661 
   10662   case $lt_cv_dlopen in
   10663   dlopen)
   10664     save_CPPFLAGS="$CPPFLAGS"
   10665     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10666 
   10667     save_LDFLAGS="$LDFLAGS"
   10668     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10669 
   10670     save_LIBS="$LIBS"
   10671     LIBS="$lt_cv_dlopen_libs $LIBS"
   10672 
   10673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10674 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10675 if test "${lt_cv_dlopen_self+set}" = set; then :
   10676   $as_echo_n "(cached) " >&6
   10677 else
   10678   	  if test "$cross_compiling" = yes; then :
   10679   lt_cv_dlopen_self=cross
   10680 else
   10681   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10682   lt_status=$lt_dlunknown
   10683   cat > conftest.$ac_ext <<_LT_EOF
   10684 #line 10684 "configure"
   10685 #include "confdefs.h"
   10686 
   10687 #if HAVE_DLFCN_H
   10688 #include <dlfcn.h>
   10689 #endif
   10690 
   10691 #include <stdio.h>
   10692 
   10693 #ifdef RTLD_GLOBAL
   10694 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10695 #else
   10696 #  ifdef DL_GLOBAL
   10697 #    define LT_DLGLOBAL		DL_GLOBAL
   10698 #  else
   10699 #    define LT_DLGLOBAL		0
   10700 #  endif
   10701 #endif
   10702 
   10703 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10704    find out it does not work in some platform. */
   10705 #ifndef LT_DLLAZY_OR_NOW
   10706 #  ifdef RTLD_LAZY
   10707 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10708 #  else
   10709 #    ifdef DL_LAZY
   10710 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10711 #    else
   10712 #      ifdef RTLD_NOW
   10713 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10714 #      else
   10715 #        ifdef DL_NOW
   10716 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10717 #        else
   10718 #          define LT_DLLAZY_OR_NOW	0
   10719 #        endif
   10720 #      endif
   10721 #    endif
   10722 #  endif
   10723 #endif
   10724 
   10725 void fnord() { int i=42;}
   10726 int main ()
   10727 {
   10728   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10729   int status = $lt_dlunknown;
   10730 
   10731   if (self)
   10732     {
   10733       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10734       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10735       /* dlclose (self); */
   10736     }
   10737   else
   10738     puts (dlerror ());
   10739 
   10740   return status;
   10741 }
   10742 _LT_EOF
   10743   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10744   (eval $ac_link) 2>&5
   10745   ac_status=$?
   10746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10747   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10748     (./conftest; exit; ) >&5 2>/dev/null
   10749     lt_status=$?
   10750     case x$lt_status in
   10751       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10752       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10753       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10754     esac
   10755   else :
   10756     # compilation failed
   10757     lt_cv_dlopen_self=no
   10758   fi
   10759 fi
   10760 rm -fr conftest*
   10761 
   10762 
   10763 fi
   10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10765 $as_echo "$lt_cv_dlopen_self" >&6; }
   10766 
   10767     if test "x$lt_cv_dlopen_self" = xyes; then
   10768       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10769       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10770 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10771 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10772   $as_echo_n "(cached) " >&6
   10773 else
   10774   	  if test "$cross_compiling" = yes; then :
   10775   lt_cv_dlopen_self_static=cross
   10776 else
   10777   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10778   lt_status=$lt_dlunknown
   10779   cat > conftest.$ac_ext <<_LT_EOF
   10780 #line 10780 "configure"
   10781 #include "confdefs.h"
   10782 
   10783 #if HAVE_DLFCN_H
   10784 #include <dlfcn.h>
   10785 #endif
   10786 
   10787 #include <stdio.h>
   10788 
   10789 #ifdef RTLD_GLOBAL
   10790 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10791 #else
   10792 #  ifdef DL_GLOBAL
   10793 #    define LT_DLGLOBAL		DL_GLOBAL
   10794 #  else
   10795 #    define LT_DLGLOBAL		0
   10796 #  endif
   10797 #endif
   10798 
   10799 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10800    find out it does not work in some platform. */
   10801 #ifndef LT_DLLAZY_OR_NOW
   10802 #  ifdef RTLD_LAZY
   10803 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10804 #  else
   10805 #    ifdef DL_LAZY
   10806 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10807 #    else
   10808 #      ifdef RTLD_NOW
   10809 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10810 #      else
   10811 #        ifdef DL_NOW
   10812 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10813 #        else
   10814 #          define LT_DLLAZY_OR_NOW	0
   10815 #        endif
   10816 #      endif
   10817 #    endif
   10818 #  endif
   10819 #endif
   10820 
   10821 void fnord() { int i=42;}
   10822 int main ()
   10823 {
   10824   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10825   int status = $lt_dlunknown;
   10826 
   10827   if (self)
   10828     {
   10829       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10830       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10831       /* dlclose (self); */
   10832     }
   10833   else
   10834     puts (dlerror ());
   10835 
   10836   return status;
   10837 }
   10838 _LT_EOF
   10839   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10840   (eval $ac_link) 2>&5
   10841   ac_status=$?
   10842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10843   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10844     (./conftest; exit; ) >&5 2>/dev/null
   10845     lt_status=$?
   10846     case x$lt_status in
   10847       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10848       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10849       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10850     esac
   10851   else :
   10852     # compilation failed
   10853     lt_cv_dlopen_self_static=no
   10854   fi
   10855 fi
   10856 rm -fr conftest*
   10857 
   10858 
   10859 fi
   10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10861 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10862     fi
   10863 
   10864     CPPFLAGS="$save_CPPFLAGS"
   10865     LDFLAGS="$save_LDFLAGS"
   10866     LIBS="$save_LIBS"
   10867     ;;
   10868   esac
   10869 
   10870   case $lt_cv_dlopen_self in
   10871   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10872   *) enable_dlopen_self=unknown ;;
   10873   esac
   10874 
   10875   case $lt_cv_dlopen_self_static in
   10876   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10877   *) enable_dlopen_self_static=unknown ;;
   10878   esac
   10879 fi
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 striplib=
   10898 old_striplib=
   10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10900 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10901 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10902   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10903   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10905 $as_echo "yes" >&6; }
   10906 else
   10907 # FIXME - insert some real tests, host_os isn't really good enough
   10908   case $host_os in
   10909   darwin*)
   10910     if test -n "$STRIP" ; then
   10911       striplib="$STRIP -x"
   10912       old_striplib="$STRIP -S"
   10913       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10914 $as_echo "yes" >&6; }
   10915     else
   10916       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10917 $as_echo "no" >&6; }
   10918     fi
   10919     ;;
   10920   *)
   10921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10922 $as_echo "no" >&6; }
   10923     ;;
   10924   esac
   10925 fi
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938   # Report which library types will actually be built
   10939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10940 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10942 $as_echo "$can_build_shared" >&6; }
   10943 
   10944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10945 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10946   test "$can_build_shared" = "no" && enable_shared=no
   10947 
   10948   # On AIX, shared libraries and static libraries use the same namespace, and
   10949   # are all built from PIC.
   10950   case $host_os in
   10951   aix3*)
   10952     test "$enable_shared" = yes && enable_static=no
   10953     if test -n "$RANLIB"; then
   10954       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10955       postinstall_cmds='$RANLIB $lib'
   10956     fi
   10957     ;;
   10958 
   10959   aix[4-9]*)
   10960     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10961       test "$enable_shared" = yes && enable_static=no
   10962     fi
   10963     ;;
   10964   esac
   10965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10966 $as_echo "$enable_shared" >&6; }
   10967 
   10968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10969 $as_echo_n "checking whether to build static libraries... " >&6; }
   10970   # Make sure either enable_shared or enable_static is yes.
   10971   test "$enable_shared" = yes || enable_static=yes
   10972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10973 $as_echo "$enable_static" >&6; }
   10974 
   10975 
   10976 
   10977 
   10978 fi
   10979 ac_ext=c
   10980 ac_cpp='$CPP $CPPFLAGS'
   10981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10984 
   10985 CC="$lt_save_CC"
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999         ac_config_commands="$ac_config_commands libtool"
   11000 
   11001 
   11002 
   11003 
   11004 # Only expand once:
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 # Define a configure option for an alternate module directory
   11011 
   11012 # Check whether --with-xorg-module-dir was given.
   11013 if test "${with_xorg_module_dir+set}" = set; then :
   11014   withval=$with_xorg_module_dir;  moduledir="$withval"
   11015 else
   11016    moduledir="$libdir/xorg/modules"
   11017 fi
   11018 
   11019 
   11020 
   11021 # Store the list of server defined optional extensions in REQUIRED_MODULES
   11022 
   11023 
   11024 	SAVE_CFLAGS="$CFLAGS"
   11025 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11026 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11027 /* end confdefs.h.  */
   11028 
   11029 #include "xorg-server.h"
   11030 #if !defined RANDR
   11031 #error RANDR not defined
   11032 #endif
   11033 
   11034 int
   11035 main ()
   11036 {
   11037 
   11038   ;
   11039   return 0;
   11040 }
   11041 _ACEOF
   11042 if ac_fn_c_try_compile "$LINENO"; then :
   11043   _EXT_CHECK=yes
   11044 else
   11045   _EXT_CHECK=no
   11046 fi
   11047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11048 	CFLAGS="$SAVE_CFLAGS"
   11049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   11050 $as_echo_n "checking if RANDR is defined... " >&6; }
   11051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11052 $as_echo "$_EXT_CHECK" >&6; }
   11053 	if test "$_EXT_CHECK" != no; then
   11054 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11055 	fi
   11056 
   11057 
   11058 
   11059 	SAVE_CFLAGS="$CFLAGS"
   11060 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11061 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11062 /* end confdefs.h.  */
   11063 
   11064 #include "xorg-server.h"
   11065 #if !defined RENDER
   11066 #error RENDER not defined
   11067 #endif
   11068 
   11069 int
   11070 main ()
   11071 {
   11072 
   11073   ;
   11074   return 0;
   11075 }
   11076 _ACEOF
   11077 if ac_fn_c_try_compile "$LINENO"; then :
   11078   _EXT_CHECK=yes
   11079 else
   11080   _EXT_CHECK=no
   11081 fi
   11082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11083 	CFLAGS="$SAVE_CFLAGS"
   11084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   11085 $as_echo_n "checking if RENDER is defined... " >&6; }
   11086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11087 $as_echo "$_EXT_CHECK" >&6; }
   11088 	if test "$_EXT_CHECK" != no; then
   11089 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   11090 	fi
   11091 
   11092 
   11093 
   11094 	SAVE_CFLAGS="$CFLAGS"
   11095 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11096 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11097 /* end confdefs.h.  */
   11098 
   11099 #include "xorg-server.h"
   11100 #if !defined DPMSExtension
   11101 #error DPMSExtension not defined
   11102 #endif
   11103 
   11104 int
   11105 main ()
   11106 {
   11107 
   11108   ;
   11109   return 0;
   11110 }
   11111 _ACEOF
   11112 if ac_fn_c_try_compile "$LINENO"; then :
   11113   _EXT_CHECK=yes
   11114 else
   11115   _EXT_CHECK=no
   11116 fi
   11117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11118 	CFLAGS="$SAVE_CFLAGS"
   11119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   11120 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   11121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11122 $as_echo "$_EXT_CHECK" >&6; }
   11123 	if test "$_EXT_CHECK" != no; then
   11124 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   11125 	fi
   11126 
   11127 
   11128 # Obtain compiler/linker options for the driver dependencies
   11129 
   11130 pkg_failed=no
   11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11132 $as_echo_n "checking for XORG... " >&6; }
   11133 
   11134 if test -n "$XORG_CFLAGS"; then
   11135     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11136  elif test -n "$PKG_CONFIG"; then
   11137     if test -n "$PKG_CONFIG" && \
   11138     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11139   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   11140   ac_status=$?
   11141   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11142   test $ac_status = 0; }; then
   11143   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11144 else
   11145   pkg_failed=yes
   11146 fi
   11147  else
   11148     pkg_failed=untried
   11149 fi
   11150 if test -n "$XORG_LIBS"; then
   11151     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11152  elif test -n "$PKG_CONFIG"; then
   11153     if test -n "$PKG_CONFIG" && \
   11154     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11155   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   11156   ac_status=$?
   11157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11158   test $ac_status = 0; }; then
   11159   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11160 else
   11161   pkg_failed=yes
   11162 fi
   11163  else
   11164     pkg_failed=untried
   11165 fi
   11166 
   11167 
   11168 
   11169 if test $pkg_failed = yes; then
   11170 
   11171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11172         _pkg_short_errors_supported=yes
   11173 else
   11174         _pkg_short_errors_supported=no
   11175 fi
   11176         if test $_pkg_short_errors_supported = yes; then
   11177 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   11178         else
   11179 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   11180         fi
   11181 	# Put the nasty error message in config.log where it belongs
   11182 	echo "$XORG_PKG_ERRORS" >&5
   11183 
   11184 	as_fn_error "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   11185 
   11186 $XORG_PKG_ERRORS
   11187 
   11188 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11189 installed software in a non-standard prefix.
   11190 
   11191 Alternatively, you may set the environment variables XORG_CFLAGS
   11192 and XORG_LIBS to avoid the need to call pkg-config.
   11193 See the pkg-config man page for more details.
   11194 " "$LINENO" 5
   11195 elif test $pkg_failed = untried; then
   11196 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11198 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11199 is in your PATH or set the PKG_CONFIG environment variable to the full
   11200 path to pkg-config.
   11201 
   11202 Alternatively, you may set the environment variables XORG_CFLAGS
   11203 and XORG_LIBS to avoid the need to call pkg-config.
   11204 See the pkg-config man page for more details.
   11205 
   11206 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11207 See \`config.log' for more details." "$LINENO" 5; }
   11208 else
   11209 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11210 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11211         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11212 $as_echo "yes" >&6; }
   11213 	:
   11214 fi
   11215 
   11216 # Checks for libraries.
   11217 SAVE_CPPFLAGS="$CPPFLAGS"
   11218 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   11219 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   11220 "
   11221 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then :
   11222   XSERVER_LIBPCIACCESS=yes
   11223 else
   11224   XSERVER_LIBPCIACCESS=no
   11225 fi
   11226 
   11227 CPPFLAGS="$SAVE_CPPFLAGS"
   11228 
   11229 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   11230 
   11231 pkg_failed=no
   11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   11233 $as_echo_n "checking for PCIACCESS... " >&6; }
   11234 
   11235 if test -n "$PCIACCESS_CFLAGS"; then
   11236     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   11237  elif test -n "$PKG_CONFIG"; then
   11238     if test -n "$PKG_CONFIG" && \
   11239     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   11240   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   11241   ac_status=$?
   11242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11243   test $ac_status = 0; }; then
   11244   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   11245 else
   11246   pkg_failed=yes
   11247 fi
   11248  else
   11249     pkg_failed=untried
   11250 fi
   11251 if test -n "$PCIACCESS_LIBS"; then
   11252     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   11253  elif test -n "$PKG_CONFIG"; then
   11254     if test -n "$PKG_CONFIG" && \
   11255     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   11256   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   11257   ac_status=$?
   11258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11259   test $ac_status = 0; }; then
   11260   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   11261 else
   11262   pkg_failed=yes
   11263 fi
   11264  else
   11265     pkg_failed=untried
   11266 fi
   11267 
   11268 
   11269 
   11270 if test $pkg_failed = yes; then
   11271 
   11272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11273         _pkg_short_errors_supported=yes
   11274 else
   11275         _pkg_short_errors_supported=no
   11276 fi
   11277         if test $_pkg_short_errors_supported = yes; then
   11278 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   11279         else
   11280 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   11281         fi
   11282 	# Put the nasty error message in config.log where it belongs
   11283 	echo "$PCIACCESS_PKG_ERRORS" >&5
   11284 
   11285 	as_fn_error "Package requirements (pciaccess >= 0.8.0) were not met:
   11286 
   11287 $PCIACCESS_PKG_ERRORS
   11288 
   11289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11290 installed software in a non-standard prefix.
   11291 
   11292 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   11293 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   11294 See the pkg-config man page for more details.
   11295 " "$LINENO" 5
   11296 elif test $pkg_failed = untried; then
   11297 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11299 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11300 is in your PATH or set the PKG_CONFIG environment variable to the full
   11301 path to pkg-config.
   11302 
   11303 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   11304 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   11305 See the pkg-config man page for more details.
   11306 
   11307 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11308 See \`config.log' for more details." "$LINENO" 5; }
   11309 else
   11310 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   11311 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   11312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11313 $as_echo "yes" >&6; }
   11314 	:
   11315 fi
   11316 fi
   11317  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   11318   XSERVER_LIBPCIACCESS_TRUE=
   11319   XSERVER_LIBPCIACCESS_FALSE='#'
   11320 else
   11321   XSERVER_LIBPCIACCESS_TRUE='#'
   11322   XSERVER_LIBPCIACCESS_FALSE=
   11323 fi
   11324 
   11325 
   11326 DRIVER_NAME=ark
   11327 
   11328 
   11329 ac_config_files="$ac_config_files Makefile src/Makefile"
   11330 
   11331 cat >confcache <<\_ACEOF
   11332 # This file is a shell script that caches the results of configure
   11333 # tests run on this system so they can be shared between configure
   11334 # scripts and configure runs, see configure's option --config-cache.
   11335 # It is not useful on other systems.  If it contains results you don't
   11336 # want to keep, you may remove or edit it.
   11337 #
   11338 # config.status only pays attention to the cache file if you give it
   11339 # the --recheck option to rerun configure.
   11340 #
   11341 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11343 # following values.
   11344 
   11345 _ACEOF
   11346 
   11347 # The following way of writing the cache mishandles newlines in values,
   11348 # but we know of no workaround that is simple, portable, and efficient.
   11349 # So, we kill variables containing newlines.
   11350 # Ultrix sh set writes to stderr and can't be redirected directly,
   11351 # and sets the high bit in the cache file unless we assign to the vars.
   11352 (
   11353   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11354     eval ac_val=\$$ac_var
   11355     case $ac_val in #(
   11356     *${as_nl}*)
   11357       case $ac_var in #(
   11358       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11359 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11360       esac
   11361       case $ac_var in #(
   11362       _ | IFS | as_nl) ;; #(
   11363       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11364       *) { eval $ac_var=; unset $ac_var;} ;;
   11365       esac ;;
   11366     esac
   11367   done
   11368 
   11369   (set) 2>&1 |
   11370     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11371     *${as_nl}ac_space=\ *)
   11372       # `set' does not quote correctly, so add quotes: double-quote
   11373       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11374       sed -n \
   11375 	"s/'/'\\\\''/g;
   11376 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11377       ;; #(
   11378     *)
   11379       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11380       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11381       ;;
   11382     esac |
   11383     sort
   11384 ) |
   11385   sed '
   11386      /^ac_cv_env_/b end
   11387      t clear
   11388      :clear
   11389      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11390      t end
   11391      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11392      :end' >>confcache
   11393 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11394   if test -w "$cache_file"; then
   11395     test "x$cache_file" != "x/dev/null" &&
   11396       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11397 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11398     cat confcache >$cache_file
   11399   else
   11400     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11401 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11402   fi
   11403 fi
   11404 rm -f confcache
   11405 
   11406 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11407 # Let make expand exec_prefix.
   11408 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11409 
   11410 DEFS=-DHAVE_CONFIG_H
   11411 
   11412 ac_libobjs=
   11413 ac_ltlibobjs=
   11414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11415   # 1. Remove the extension, and $U if already installed.
   11416   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11417   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11418   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11419   #    will be set to the directory where LIBOBJS objects are built.
   11420   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11421   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11422 done
   11423 LIBOBJS=$ac_libobjs
   11424 
   11425 LTLIBOBJS=$ac_ltlibobjs
   11426 
   11427 
   11428  if test -n "$EXEEXT"; then
   11429   am__EXEEXT_TRUE=
   11430   am__EXEEXT_FALSE='#'
   11431 else
   11432   am__EXEEXT_TRUE='#'
   11433   am__EXEEXT_FALSE=
   11434 fi
   11435 
   11436 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11437   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
   11438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11439 fi
   11440 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11441   as_fn_error "conditional \"AMDEP\" was never defined.
   11442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11443 fi
   11444 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11445   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   11446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11447 fi
   11448 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   11449   as_fn_error "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   11450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11451 fi
   11452 
   11453 : ${CONFIG_STATUS=./config.status}
   11454 ac_write_fail=0
   11455 ac_clean_files_save=$ac_clean_files
   11456 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11457 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11458 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11459 as_write_fail=0
   11460 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11461 #! $SHELL
   11462 # Generated by $as_me.
   11463 # Run this file to recreate the current configuration.
   11464 # Compiler output produced by configure, useful for debugging
   11465 # configure, is in config.log if it exists.
   11466 
   11467 debug=false
   11468 ac_cs_recheck=false
   11469 ac_cs_silent=false
   11470 
   11471 SHELL=\${CONFIG_SHELL-$SHELL}
   11472 export SHELL
   11473 _ASEOF
   11474 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11475 ## -------------------- ##
   11476 ## M4sh Initialization. ##
   11477 ## -------------------- ##
   11478 
   11479 # Be more Bourne compatible
   11480 DUALCASE=1; export DUALCASE # for MKS sh
   11481 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11482   emulate sh
   11483   NULLCMD=:
   11484   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11485   # is contrary to our usage.  Disable this feature.
   11486   alias -g '${1+"$@"}'='"$@"'
   11487   setopt NO_GLOB_SUBST
   11488 else
   11489   case `(set -o) 2>/dev/null` in #(
   11490   *posix*) :
   11491     set -o posix ;; #(
   11492   *) :
   11493      ;;
   11494 esac
   11495 fi
   11496 
   11497 
   11498 as_nl='
   11499 '
   11500 export as_nl
   11501 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11502 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11503 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11504 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11505 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11506 # but without wasting forks for bash or zsh.
   11507 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11508     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11509   as_echo='print -r --'
   11510   as_echo_n='print -rn --'
   11511 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11512   as_echo='printf %s\n'
   11513   as_echo_n='printf %s'
   11514 else
   11515   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11516     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11517     as_echo_n='/usr/ucb/echo -n'
   11518   else
   11519     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11520     as_echo_n_body='eval
   11521       arg=$1;
   11522       case $arg in #(
   11523       *"$as_nl"*)
   11524 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11525 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11526       esac;
   11527       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11528     '
   11529     export as_echo_n_body
   11530     as_echo_n='sh -c $as_echo_n_body as_echo'
   11531   fi
   11532   export as_echo_body
   11533   as_echo='sh -c $as_echo_body as_echo'
   11534 fi
   11535 
   11536 # The user is always right.
   11537 if test "${PATH_SEPARATOR+set}" != set; then
   11538   PATH_SEPARATOR=:
   11539   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11540     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11541       PATH_SEPARATOR=';'
   11542   }
   11543 fi
   11544 
   11545 
   11546 # IFS
   11547 # We need space, tab and new line, in precisely that order.  Quoting is
   11548 # there to prevent editors from complaining about space-tab.
   11549 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11550 # splitting by setting IFS to empty value.)
   11551 IFS=" ""	$as_nl"
   11552 
   11553 # Find who we are.  Look in the path if we contain no directory separator.
   11554 case $0 in #((
   11555   *[\\/]* ) as_myself=$0 ;;
   11556   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11557 for as_dir in $PATH
   11558 do
   11559   IFS=$as_save_IFS
   11560   test -z "$as_dir" && as_dir=.
   11561     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11562   done
   11563 IFS=$as_save_IFS
   11564 
   11565      ;;
   11566 esac
   11567 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11568 # in which case we are not to be found in the path.
   11569 if test "x$as_myself" = x; then
   11570   as_myself=$0
   11571 fi
   11572 if test ! -f "$as_myself"; then
   11573   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11574   exit 1
   11575 fi
   11576 
   11577 # Unset variables that we do not need and which cause bugs (e.g. in
   11578 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11579 # suppresses any "Segmentation fault" message there.  '((' could
   11580 # trigger a bug in pdksh 5.2.14.
   11581 for as_var in BASH_ENV ENV MAIL MAILPATH
   11582 do eval test x\${$as_var+set} = xset \
   11583   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11584 done
   11585 PS1='$ '
   11586 PS2='> '
   11587 PS4='+ '
   11588 
   11589 # NLS nuisances.
   11590 LC_ALL=C
   11591 export LC_ALL
   11592 LANGUAGE=C
   11593 export LANGUAGE
   11594 
   11595 # CDPATH.
   11596 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11597 
   11598 
   11599 # as_fn_error ERROR [LINENO LOG_FD]
   11600 # ---------------------------------
   11601 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11602 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11603 # script with status $?, using 1 if that was 0.
   11604 as_fn_error ()
   11605 {
   11606   as_status=$?; test $as_status -eq 0 && as_status=1
   11607   if test "$3"; then
   11608     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11609     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   11610   fi
   11611   $as_echo "$as_me: error: $1" >&2
   11612   as_fn_exit $as_status
   11613 } # as_fn_error
   11614 
   11615 
   11616 # as_fn_set_status STATUS
   11617 # -----------------------
   11618 # Set $? to STATUS, without forking.
   11619 as_fn_set_status ()
   11620 {
   11621   return $1
   11622 } # as_fn_set_status
   11623 
   11624 # as_fn_exit STATUS
   11625 # -----------------
   11626 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11627 as_fn_exit ()
   11628 {
   11629   set +e
   11630   as_fn_set_status $1
   11631   exit $1
   11632 } # as_fn_exit
   11633 
   11634 # as_fn_unset VAR
   11635 # ---------------
   11636 # Portably unset VAR.
   11637 as_fn_unset ()
   11638 {
   11639   { eval $1=; unset $1;}
   11640 }
   11641 as_unset=as_fn_unset
   11642 # as_fn_append VAR VALUE
   11643 # ----------------------
   11644 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11645 # advantage of any shell optimizations that allow amortized linear growth over
   11646 # repeated appends, instead of the typical quadratic growth present in naive
   11647 # implementations.
   11648 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11649   eval 'as_fn_append ()
   11650   {
   11651     eval $1+=\$2
   11652   }'
   11653 else
   11654   as_fn_append ()
   11655   {
   11656     eval $1=\$$1\$2
   11657   }
   11658 fi # as_fn_append
   11659 
   11660 # as_fn_arith ARG...
   11661 # ------------------
   11662 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11663 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11664 # must be portable across $(()) and expr.
   11665 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11666   eval 'as_fn_arith ()
   11667   {
   11668     as_val=$(( $* ))
   11669   }'
   11670 else
   11671   as_fn_arith ()
   11672   {
   11673     as_val=`expr "$@" || test $? -eq 1`
   11674   }
   11675 fi # as_fn_arith
   11676 
   11677 
   11678 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11679    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11680   as_expr=expr
   11681 else
   11682   as_expr=false
   11683 fi
   11684 
   11685 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11686   as_basename=basename
   11687 else
   11688   as_basename=false
   11689 fi
   11690 
   11691 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11692   as_dirname=dirname
   11693 else
   11694   as_dirname=false
   11695 fi
   11696 
   11697 as_me=`$as_basename -- "$0" ||
   11698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11699 	 X"$0" : 'X\(//\)$' \| \
   11700 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11701 $as_echo X/"$0" |
   11702     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11703 	    s//\1/
   11704 	    q
   11705 	  }
   11706 	  /^X\/\(\/\/\)$/{
   11707 	    s//\1/
   11708 	    q
   11709 	  }
   11710 	  /^X\/\(\/\).*/{
   11711 	    s//\1/
   11712 	    q
   11713 	  }
   11714 	  s/.*/./; q'`
   11715 
   11716 # Avoid depending upon Character Ranges.
   11717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11720 as_cr_digits='0123456789'
   11721 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11722 
   11723 ECHO_C= ECHO_N= ECHO_T=
   11724 case `echo -n x` in #(((((
   11725 -n*)
   11726   case `echo 'xy\c'` in
   11727   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11728   xy)  ECHO_C='\c';;
   11729   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11730        ECHO_T='	';;
   11731   esac;;
   11732 *)
   11733   ECHO_N='-n';;
   11734 esac
   11735 
   11736 rm -f conf$$ conf$$.exe conf$$.file
   11737 if test -d conf$$.dir; then
   11738   rm -f conf$$.dir/conf$$.file
   11739 else
   11740   rm -f conf$$.dir
   11741   mkdir conf$$.dir 2>/dev/null
   11742 fi
   11743 if (echo >conf$$.file) 2>/dev/null; then
   11744   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11745     as_ln_s='ln -s'
   11746     # ... but there are two gotchas:
   11747     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11748     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11749     # In both cases, we have to default to `cp -p'.
   11750     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11751       as_ln_s='cp -p'
   11752   elif ln conf$$.file conf$$ 2>/dev/null; then
   11753     as_ln_s=ln
   11754   else
   11755     as_ln_s='cp -p'
   11756   fi
   11757 else
   11758   as_ln_s='cp -p'
   11759 fi
   11760 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11761 rmdir conf$$.dir 2>/dev/null
   11762 
   11763 
   11764 # as_fn_mkdir_p
   11765 # -------------
   11766 # Create "$as_dir" as a directory, including parents if necessary.
   11767 as_fn_mkdir_p ()
   11768 {
   11769 
   11770   case $as_dir in #(
   11771   -*) as_dir=./$as_dir;;
   11772   esac
   11773   test -d "$as_dir" || eval $as_mkdir_p || {
   11774     as_dirs=
   11775     while :; do
   11776       case $as_dir in #(
   11777       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11778       *) as_qdir=$as_dir;;
   11779       esac
   11780       as_dirs="'$as_qdir' $as_dirs"
   11781       as_dir=`$as_dirname -- "$as_dir" ||
   11782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11783 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11784 	 X"$as_dir" : 'X\(//\)$' \| \
   11785 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11786 $as_echo X"$as_dir" |
   11787     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11788 	    s//\1/
   11789 	    q
   11790 	  }
   11791 	  /^X\(\/\/\)[^/].*/{
   11792 	    s//\1/
   11793 	    q
   11794 	  }
   11795 	  /^X\(\/\/\)$/{
   11796 	    s//\1/
   11797 	    q
   11798 	  }
   11799 	  /^X\(\/\).*/{
   11800 	    s//\1/
   11801 	    q
   11802 	  }
   11803 	  s/.*/./; q'`
   11804       test -d "$as_dir" && break
   11805     done
   11806     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11807   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   11808 
   11809 
   11810 } # as_fn_mkdir_p
   11811 if mkdir -p . 2>/dev/null; then
   11812   as_mkdir_p='mkdir -p "$as_dir"'
   11813 else
   11814   test -d ./-p && rmdir ./-p
   11815   as_mkdir_p=false
   11816 fi
   11817 
   11818 if test -x / >/dev/null 2>&1; then
   11819   as_test_x='test -x'
   11820 else
   11821   if ls -dL / >/dev/null 2>&1; then
   11822     as_ls_L_option=L
   11823   else
   11824     as_ls_L_option=
   11825   fi
   11826   as_test_x='
   11827     eval sh -c '\''
   11828       if test -d "$1"; then
   11829 	test -d "$1/.";
   11830       else
   11831 	case $1 in #(
   11832 	-*)set "./$1";;
   11833 	esac;
   11834 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11835 	???[sx]*):;;*)false;;esac;fi
   11836     '\'' sh
   11837   '
   11838 fi
   11839 as_executable_p=$as_test_x
   11840 
   11841 # Sed expression to map a string onto a valid CPP name.
   11842 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11843 
   11844 # Sed expression to map a string onto a valid variable name.
   11845 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11846 
   11847 
   11848 exec 6>&1
   11849 ## ----------------------------------- ##
   11850 ## Main body of $CONFIG_STATUS script. ##
   11851 ## ----------------------------------- ##
   11852 _ASEOF
   11853 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11854 
   11855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11856 # Save the log message, to keep $0 and so on meaningful, and to
   11857 # report actual input values of CONFIG_FILES etc. instead of their
   11858 # values after options handling.
   11859 ac_log="
   11860 This file was extended by xf86-video-ark $as_me 0.7.3, which was
   11861 generated by GNU Autoconf 2.65.  Invocation command line was
   11862 
   11863   CONFIG_FILES    = $CONFIG_FILES
   11864   CONFIG_HEADERS  = $CONFIG_HEADERS
   11865   CONFIG_LINKS    = $CONFIG_LINKS
   11866   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11867   $ $0 $@
   11868 
   11869 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11870 "
   11871 
   11872 _ACEOF
   11873 
   11874 case $ac_config_files in *"
   11875 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11876 esac
   11877 
   11878 case $ac_config_headers in *"
   11879 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11880 esac
   11881 
   11882 
   11883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11884 # Files that config.status was made for.
   11885 config_files="$ac_config_files"
   11886 config_headers="$ac_config_headers"
   11887 config_commands="$ac_config_commands"
   11888 
   11889 _ACEOF
   11890 
   11891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11892 ac_cs_usage="\
   11893 \`$as_me' instantiates files and other configuration actions
   11894 from templates according to the current configuration.  Unless the files
   11895 and actions are specified as TAGs, all are instantiated by default.
   11896 
   11897 Usage: $0 [OPTION]... [TAG]...
   11898 
   11899   -h, --help       print this help, then exit
   11900   -V, --version    print version number and configuration settings, then exit
   11901       --config     print configuration, then exit
   11902   -q, --quiet, --silent
   11903                    do not print progress messages
   11904   -d, --debug      don't remove temporary files
   11905       --recheck    update $as_me by reconfiguring in the same conditions
   11906       --file=FILE[:TEMPLATE]
   11907                    instantiate the configuration file FILE
   11908       --header=FILE[:TEMPLATE]
   11909                    instantiate the configuration header FILE
   11910 
   11911 Configuration files:
   11912 $config_files
   11913 
   11914 Configuration headers:
   11915 $config_headers
   11916 
   11917 Configuration commands:
   11918 $config_commands
   11919 
   11920 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11921 
   11922 _ACEOF
   11923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11924 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11925 ac_cs_version="\\
   11926 xf86-video-ark config.status 0.7.3
   11927 configured by $0, generated by GNU Autoconf 2.65,
   11928   with options \\"\$ac_cs_config\\"
   11929 
   11930 Copyright (C) 2009 Free Software Foundation, Inc.
   11931 This config.status script is free software; the Free Software Foundation
   11932 gives unlimited permission to copy, distribute and modify it."
   11933 
   11934 ac_pwd='$ac_pwd'
   11935 srcdir='$srcdir'
   11936 INSTALL='$INSTALL'
   11937 MKDIR_P='$MKDIR_P'
   11938 AWK='$AWK'
   11939 test -n "\$AWK" || AWK=awk
   11940 _ACEOF
   11941 
   11942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11943 # The default lists apply if the user does not specify any file.
   11944 ac_need_defaults=:
   11945 while test $# != 0
   11946 do
   11947   case $1 in
   11948   --*=*)
   11949     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11950     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11951     ac_shift=:
   11952     ;;
   11953   *)
   11954     ac_option=$1
   11955     ac_optarg=$2
   11956     ac_shift=shift
   11957     ;;
   11958   esac
   11959 
   11960   case $ac_option in
   11961   # Handling of the options.
   11962   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11963     ac_cs_recheck=: ;;
   11964   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11965     $as_echo "$ac_cs_version"; exit ;;
   11966   --config | --confi | --conf | --con | --co | --c )
   11967     $as_echo "$ac_cs_config"; exit ;;
   11968   --debug | --debu | --deb | --de | --d | -d )
   11969     debug=: ;;
   11970   --file | --fil | --fi | --f )
   11971     $ac_shift
   11972     case $ac_optarg in
   11973     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11974     esac
   11975     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11976     ac_need_defaults=false;;
   11977   --header | --heade | --head | --hea )
   11978     $ac_shift
   11979     case $ac_optarg in
   11980     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11981     esac
   11982     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11983     ac_need_defaults=false;;
   11984   --he | --h)
   11985     # Conflict between --help and --header
   11986     as_fn_error "ambiguous option: \`$1'
   11987 Try \`$0 --help' for more information.";;
   11988   --help | --hel | -h )
   11989     $as_echo "$ac_cs_usage"; exit ;;
   11990   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11991   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11992     ac_cs_silent=: ;;
   11993 
   11994   # This is an error.
   11995   -*) as_fn_error "unrecognized option: \`$1'
   11996 Try \`$0 --help' for more information." ;;
   11997 
   11998   *) as_fn_append ac_config_targets " $1"
   11999      ac_need_defaults=false ;;
   12000 
   12001   esac
   12002   shift
   12003 done
   12004 
   12005 ac_configure_extra_args=
   12006 
   12007 if $ac_cs_silent; then
   12008   exec 6>/dev/null
   12009   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12010 fi
   12011 
   12012 _ACEOF
   12013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12014 if \$ac_cs_recheck; then
   12015   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12016   shift
   12017   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12018   CONFIG_SHELL='$SHELL'
   12019   export CONFIG_SHELL
   12020   exec "\$@"
   12021 fi
   12022 
   12023 _ACEOF
   12024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12025 exec 5>>config.log
   12026 {
   12027   echo
   12028   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12029 ## Running $as_me. ##
   12030 _ASBOX
   12031   $as_echo "$ac_log"
   12032 } >&5
   12033 
   12034 _ACEOF
   12035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12036 #
   12037 # INIT-COMMANDS
   12038 #
   12039 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12040 
   12041 
   12042 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12043 # if CDPATH is set.
   12044 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12045 
   12046 sed_quote_subst='$sed_quote_subst'
   12047 double_quote_subst='$double_quote_subst'
   12048 delay_variable_subst='$delay_variable_subst'
   12049 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12050 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12051 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12052 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12053 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12054 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12055 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12056 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12057 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12058 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12059 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12060 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12061 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12062 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12063 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12064 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12065 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12066 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12067 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12068 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12069 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12070 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12071 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12072 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12073 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12074 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12075 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12076 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12077 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12078 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12079 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12080 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12081 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12082 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12083 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12084 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12085 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12086 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12087 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12088 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12089 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12090 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12091 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12092 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12093 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"`'
   12094 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"`'
   12095 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12096 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12097 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12098 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12099 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12100 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12101 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12102 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12103 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12104 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12105 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12106 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12107 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12108 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12109 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12110 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12111 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12112 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12113 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12114 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12115 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12116 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12117 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12118 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12119 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12120 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12121 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12122 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12123 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12124 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12125 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12126 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12127 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12128 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12129 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12130 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12131 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12132 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12133 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12134 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12135 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12136 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12137 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12138 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12139 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12140 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12141 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12142 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12143 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12144 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12145 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12146 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12147 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12148 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12149 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12150 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12151 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12152 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12153 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12154 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12155 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12156 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12157 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12158 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12159 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12160 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12161 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12162 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12163 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12164 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12165 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12166 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12167 
   12168 LTCC='$LTCC'
   12169 LTCFLAGS='$LTCFLAGS'
   12170 compiler='$compiler_DEFAULT'
   12171 
   12172 # Quote evaled strings.
   12173 for var in SED \
   12174 GREP \
   12175 EGREP \
   12176 FGREP \
   12177 LD \
   12178 NM \
   12179 LN_S \
   12180 lt_SP2NL \
   12181 lt_NL2SP \
   12182 reload_flag \
   12183 OBJDUMP \
   12184 deplibs_check_method \
   12185 file_magic_cmd \
   12186 AR \
   12187 AR_FLAGS \
   12188 STRIP \
   12189 RANLIB \
   12190 CC \
   12191 CFLAGS \
   12192 compiler \
   12193 lt_cv_sys_global_symbol_pipe \
   12194 lt_cv_sys_global_symbol_to_cdecl \
   12195 lt_cv_sys_global_symbol_to_c_name_address \
   12196 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12197 SHELL \
   12198 ECHO \
   12199 lt_prog_compiler_no_builtin_flag \
   12200 lt_prog_compiler_wl \
   12201 lt_prog_compiler_pic \
   12202 lt_prog_compiler_static \
   12203 lt_cv_prog_compiler_c_o \
   12204 need_locks \
   12205 DSYMUTIL \
   12206 NMEDIT \
   12207 LIPO \
   12208 OTOOL \
   12209 OTOOL64 \
   12210 shrext_cmds \
   12211 export_dynamic_flag_spec \
   12212 whole_archive_flag_spec \
   12213 compiler_needs_object \
   12214 with_gnu_ld \
   12215 allow_undefined_flag \
   12216 no_undefined_flag \
   12217 hardcode_libdir_flag_spec \
   12218 hardcode_libdir_flag_spec_ld \
   12219 hardcode_libdir_separator \
   12220 fix_srcfile_path \
   12221 exclude_expsyms \
   12222 include_expsyms \
   12223 file_list_spec \
   12224 variables_saved_for_relink \
   12225 libname_spec \
   12226 library_names_spec \
   12227 soname_spec \
   12228 finish_eval \
   12229 old_striplib \
   12230 striplib; do
   12231     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12232     *[\\\\\\\`\\"\\\$]*)
   12233       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12234       ;;
   12235     *)
   12236       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12237       ;;
   12238     esac
   12239 done
   12240 
   12241 # Double-quote double-evaled strings.
   12242 for var in reload_cmds \
   12243 old_postinstall_cmds \
   12244 old_postuninstall_cmds \
   12245 old_archive_cmds \
   12246 extract_expsyms_cmds \
   12247 old_archive_from_new_cmds \
   12248 old_archive_from_expsyms_cmds \
   12249 archive_cmds \
   12250 archive_expsym_cmds \
   12251 module_cmds \
   12252 module_expsym_cmds \
   12253 export_symbols_cmds \
   12254 prelink_cmds \
   12255 postinstall_cmds \
   12256 postuninstall_cmds \
   12257 finish_cmds \
   12258 sys_lib_search_path_spec \
   12259 sys_lib_dlsearch_path_spec; do
   12260     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12261     *[\\\\\\\`\\"\\\$]*)
   12262       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12263       ;;
   12264     *)
   12265       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12266       ;;
   12267     esac
   12268 done
   12269 
   12270 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12271 case \$lt_ECHO in
   12272 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12273   ;;
   12274 esac
   12275 
   12276 ac_aux_dir='$ac_aux_dir'
   12277 xsi_shell='$xsi_shell'
   12278 lt_shell_append='$lt_shell_append'
   12279 
   12280 # See if we are running on zsh, and set the options which allow our
   12281 # commands through without removal of \ escapes INIT.
   12282 if test -n "\${ZSH_VERSION+set}" ; then
   12283    setopt NO_GLOB_SUBST
   12284 fi
   12285 
   12286 
   12287     PACKAGE='$PACKAGE'
   12288     VERSION='$VERSION'
   12289     TIMESTAMP='$TIMESTAMP'
   12290     RM='$RM'
   12291     ofile='$ofile'
   12292 
   12293 
   12294 
   12295 
   12296 _ACEOF
   12297 
   12298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12299 
   12300 # Handling of arguments.
   12301 for ac_config_target in $ac_config_targets
   12302 do
   12303   case $ac_config_target in
   12304     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12305     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12306     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12307     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12308     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12309 
   12310   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12311   esac
   12312 done
   12313 
   12314 
   12315 # If the user did not use the arguments to specify the items to instantiate,
   12316 # then the envvar interface is used.  Set only those that are not.
   12317 # We use the long form for the default assignment because of an extremely
   12318 # bizarre bug on SunOS 4.1.3.
   12319 if $ac_need_defaults; then
   12320   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12321   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12322   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12323 fi
   12324 
   12325 # Have a temporary directory for convenience.  Make it in the build tree
   12326 # simply because there is no reason against having it here, and in addition,
   12327 # creating and moving files from /tmp can sometimes cause problems.
   12328 # Hook for its removal unless debugging.
   12329 # Note that there is a small window in which the directory will not be cleaned:
   12330 # after its creation but before its name has been assigned to `$tmp'.
   12331 $debug ||
   12332 {
   12333   tmp=
   12334   trap 'exit_status=$?
   12335   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12336 ' 0
   12337   trap 'as_fn_exit 1' 1 2 13 15
   12338 }
   12339 # Create a (secure) tmp directory for tmp files.
   12340 
   12341 {
   12342   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12343   test -n "$tmp" && test -d "$tmp"
   12344 }  ||
   12345 {
   12346   tmp=./conf$$-$RANDOM
   12347   (umask 077 && mkdir "$tmp")
   12348 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   12349 
   12350 # Set up the scripts for CONFIG_FILES section.
   12351 # No need to generate them if there are no CONFIG_FILES.
   12352 # This happens for instance with `./config.status config.h'.
   12353 if test -n "$CONFIG_FILES"; then
   12354 
   12355 
   12356 ac_cr=`echo X | tr X '\015'`
   12357 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12358 # But we know of no other shell where ac_cr would be empty at this
   12359 # point, so we can use a bashism as a fallback.
   12360 if test "x$ac_cr" = x; then
   12361   eval ac_cr=\$\'\\r\'
   12362 fi
   12363 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12365   ac_cs_awk_cr='\r'
   12366 else
   12367   ac_cs_awk_cr=$ac_cr
   12368 fi
   12369 
   12370 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12371 _ACEOF
   12372 
   12373 
   12374 {
   12375   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12376   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12377   echo "_ACEOF"
   12378 } >conf$$subs.sh ||
   12379   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12381 ac_delim='%!_!# '
   12382 for ac_last_try in false false false false false :; do
   12383   . ./conf$$subs.sh ||
   12384     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12385 
   12386   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12387   if test $ac_delim_n = $ac_delim_num; then
   12388     break
   12389   elif $ac_last_try; then
   12390     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12391   else
   12392     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12393   fi
   12394 done
   12395 rm -f conf$$subs.sh
   12396 
   12397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12398 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12399 _ACEOF
   12400 sed -n '
   12401 h
   12402 s/^/S["/; s/!.*/"]=/
   12403 p
   12404 g
   12405 s/^[^!]*!//
   12406 :repl
   12407 t repl
   12408 s/'"$ac_delim"'$//
   12409 t delim
   12410 :nl
   12411 h
   12412 s/\(.\{148\}\)..*/\1/
   12413 t more1
   12414 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12415 p
   12416 n
   12417 b repl
   12418 :more1
   12419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12420 p
   12421 g
   12422 s/.\{148\}//
   12423 t nl
   12424 :delim
   12425 h
   12426 s/\(.\{148\}\)..*/\1/
   12427 t more2
   12428 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12429 p
   12430 b
   12431 :more2
   12432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12433 p
   12434 g
   12435 s/.\{148\}//
   12436 t delim
   12437 ' <conf$$subs.awk | sed '
   12438 /^[^""]/{
   12439   N
   12440   s/\n//
   12441 }
   12442 ' >>$CONFIG_STATUS || ac_write_fail=1
   12443 rm -f conf$$subs.awk
   12444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12445 _ACAWK
   12446 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12447   for (key in S) S_is_set[key] = 1
   12448   FS = ""
   12449 
   12450 }
   12451 {
   12452   line = $ 0
   12453   nfields = split(line, field, "@")
   12454   substed = 0
   12455   len = length(field[1])
   12456   for (i = 2; i < nfields; i++) {
   12457     key = field[i]
   12458     keylen = length(key)
   12459     if (S_is_set[key]) {
   12460       value = S[key]
   12461       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12462       len += length(value) + length(field[++i])
   12463       substed = 1
   12464     } else
   12465       len += 1 + keylen
   12466   }
   12467 
   12468   print line
   12469 }
   12470 
   12471 _ACAWK
   12472 _ACEOF
   12473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12474 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12475   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12476 else
   12477   cat
   12478 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12479   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   12480 _ACEOF
   12481 
   12482 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12483 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12484 # trailing colons and then remove the whole line if VPATH becomes empty
   12485 # (actually we leave an empty line to preserve line numbers).
   12486 if test "x$srcdir" = x.; then
   12487   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12488 s/:*\$(srcdir):*/:/
   12489 s/:*\${srcdir}:*/:/
   12490 s/:*@srcdir@:*/:/
   12491 s/^\([^=]*=[	 ]*\):*/\1/
   12492 s/:*$//
   12493 s/^[^=]*=[	 ]*$//
   12494 }'
   12495 fi
   12496 
   12497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12498 fi # test -n "$CONFIG_FILES"
   12499 
   12500 # Set up the scripts for CONFIG_HEADERS section.
   12501 # No need to generate them if there are no CONFIG_HEADERS.
   12502 # This happens for instance with `./config.status Makefile'.
   12503 if test -n "$CONFIG_HEADERS"; then
   12504 cat >"$tmp/defines.awk" <<\_ACAWK ||
   12505 BEGIN {
   12506 _ACEOF
   12507 
   12508 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12509 # here-document in config.status, that substitutes the proper values into
   12510 # config.h.in to produce config.h.
   12511 
   12512 # Create a delimiter string that does not exist in confdefs.h, to ease
   12513 # handling of long lines.
   12514 ac_delim='%!_!# '
   12515 for ac_last_try in false false :; do
   12516   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   12517   if test -z "$ac_t"; then
   12518     break
   12519   elif $ac_last_try; then
   12520     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   12521   else
   12522     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12523   fi
   12524 done
   12525 
   12526 # For the awk script, D is an array of macro values keyed by name,
   12527 # likewise P contains macro parameters if any.  Preserve backslash
   12528 # newline sequences.
   12529 
   12530 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12531 sed -n '
   12532 s/.\{148\}/&'"$ac_delim"'/g
   12533 t rset
   12534 :rset
   12535 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12536 t def
   12537 d
   12538 :def
   12539 s/\\$//
   12540 t bsnl
   12541 s/["\\]/\\&/g
   12542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12543 D["\1"]=" \3"/p
   12544 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12545 d
   12546 :bsnl
   12547 s/["\\]/\\&/g
   12548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12549 D["\1"]=" \3\\\\\\n"\\/p
   12550 t cont
   12551 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12552 t cont
   12553 d
   12554 :cont
   12555 n
   12556 s/.\{148\}/&'"$ac_delim"'/g
   12557 t clear
   12558 :clear
   12559 s/\\$//
   12560 t bsnlc
   12561 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12562 d
   12563 :bsnlc
   12564 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12565 b cont
   12566 ' <confdefs.h | sed '
   12567 s/'"$ac_delim"'/"\\\
   12568 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12569 
   12570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12571   for (key in D) D_is_set[key] = 1
   12572   FS = ""
   12573 }
   12574 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12575   line = \$ 0
   12576   split(line, arg, " ")
   12577   if (arg[1] == "#") {
   12578     defundef = arg[2]
   12579     mac1 = arg[3]
   12580   } else {
   12581     defundef = substr(arg[1], 2)
   12582     mac1 = arg[2]
   12583   }
   12584   split(mac1, mac2, "(") #)
   12585   macro = mac2[1]
   12586   prefix = substr(line, 1, index(line, defundef) - 1)
   12587   if (D_is_set[macro]) {
   12588     # Preserve the white space surrounding the "#".
   12589     print prefix "define", macro P[macro] D[macro]
   12590     next
   12591   } else {
   12592     # Replace #undef with comments.  This is necessary, for example,
   12593     # in the case of _POSIX_SOURCE, which is predefined and required
   12594     # on some systems where configure will not decide to define it.
   12595     if (defundef == "undef") {
   12596       print "/*", prefix defundef, macro, "*/"
   12597       next
   12598     }
   12599   }
   12600 }
   12601 { print }
   12602 _ACAWK
   12603 _ACEOF
   12604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12605   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   12606 fi # test -n "$CONFIG_HEADERS"
   12607 
   12608 
   12609 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12610 shift
   12611 for ac_tag
   12612 do
   12613   case $ac_tag in
   12614   :[FHLC]) ac_mode=$ac_tag; continue;;
   12615   esac
   12616   case $ac_mode$ac_tag in
   12617   :[FHL]*:*);;
   12618   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12619   :[FH]-) ac_tag=-:-;;
   12620   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12621   esac
   12622   ac_save_IFS=$IFS
   12623   IFS=:
   12624   set x $ac_tag
   12625   IFS=$ac_save_IFS
   12626   shift
   12627   ac_file=$1
   12628   shift
   12629 
   12630   case $ac_mode in
   12631   :L) ac_source=$1;;
   12632   :[FH])
   12633     ac_file_inputs=
   12634     for ac_f
   12635     do
   12636       case $ac_f in
   12637       -) ac_f="$tmp/stdin";;
   12638       *) # Look for the file first in the build tree, then in the source tree
   12639 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12640 	 # because $ac_f cannot contain `:'.
   12641 	 test -f "$ac_f" ||
   12642 	   case $ac_f in
   12643 	   [\\/$]*) false;;
   12644 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12645 	   esac ||
   12646 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12647       esac
   12648       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12649       as_fn_append ac_file_inputs " '$ac_f'"
   12650     done
   12651 
   12652     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12653     # use $as_me), people would be surprised to read:
   12654     #    /* config.h.  Generated by config.status.  */
   12655     configure_input='Generated from '`
   12656 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12657 	`' by configure.'
   12658     if test x"$ac_file" != x-; then
   12659       configure_input="$ac_file.  $configure_input"
   12660       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12661 $as_echo "$as_me: creating $ac_file" >&6;}
   12662     fi
   12663     # Neutralize special characters interpreted by sed in replacement strings.
   12664     case $configure_input in #(
   12665     *\&* | *\|* | *\\* )
   12666        ac_sed_conf_input=`$as_echo "$configure_input" |
   12667        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12668     *) ac_sed_conf_input=$configure_input;;
   12669     esac
   12670 
   12671     case $ac_tag in
   12672     *:-:* | *:-) cat >"$tmp/stdin" \
   12673       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   12674     esac
   12675     ;;
   12676   esac
   12677 
   12678   ac_dir=`$as_dirname -- "$ac_file" ||
   12679 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12680 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12681 	 X"$ac_file" : 'X\(//\)$' \| \
   12682 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12683 $as_echo X"$ac_file" |
   12684     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12685 	    s//\1/
   12686 	    q
   12687 	  }
   12688 	  /^X\(\/\/\)[^/].*/{
   12689 	    s//\1/
   12690 	    q
   12691 	  }
   12692 	  /^X\(\/\/\)$/{
   12693 	    s//\1/
   12694 	    q
   12695 	  }
   12696 	  /^X\(\/\).*/{
   12697 	    s//\1/
   12698 	    q
   12699 	  }
   12700 	  s/.*/./; q'`
   12701   as_dir="$ac_dir"; as_fn_mkdir_p
   12702   ac_builddir=.
   12703 
   12704 case "$ac_dir" in
   12705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12706 *)
   12707   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12708   # A ".." for each directory in $ac_dir_suffix.
   12709   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12710   case $ac_top_builddir_sub in
   12711   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12712   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12713   esac ;;
   12714 esac
   12715 ac_abs_top_builddir=$ac_pwd
   12716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12717 # for backward compatibility:
   12718 ac_top_builddir=$ac_top_build_prefix
   12719 
   12720 case $srcdir in
   12721   .)  # We are building in place.
   12722     ac_srcdir=.
   12723     ac_top_srcdir=$ac_top_builddir_sub
   12724     ac_abs_top_srcdir=$ac_pwd ;;
   12725   [\\/]* | ?:[\\/]* )  # Absolute name.
   12726     ac_srcdir=$srcdir$ac_dir_suffix;
   12727     ac_top_srcdir=$srcdir
   12728     ac_abs_top_srcdir=$srcdir ;;
   12729   *) # Relative name.
   12730     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12731     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12732     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12733 esac
   12734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12735 
   12736 
   12737   case $ac_mode in
   12738   :F)
   12739   #
   12740   # CONFIG_FILE
   12741   #
   12742 
   12743   case $INSTALL in
   12744   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12745   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12746   esac
   12747   ac_MKDIR_P=$MKDIR_P
   12748   case $MKDIR_P in
   12749   [\\/$]* | ?:[\\/]* ) ;;
   12750   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12751   esac
   12752 _ACEOF
   12753 
   12754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12755 # If the template does not know about datarootdir, expand it.
   12756 # FIXME: This hack should be removed a few years after 2.60.
   12757 ac_datarootdir_hack=; ac_datarootdir_seen=
   12758 ac_sed_dataroot='
   12759 /datarootdir/ {
   12760   p
   12761   q
   12762 }
   12763 /@datadir@/p
   12764 /@docdir@/p
   12765 /@infodir@/p
   12766 /@localedir@/p
   12767 /@mandir@/p'
   12768 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12769 *datarootdir*) ac_datarootdir_seen=yes;;
   12770 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12771   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12772 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12773 _ACEOF
   12774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12775   ac_datarootdir_hack='
   12776   s&@datadir@&$datadir&g
   12777   s&@docdir@&$docdir&g
   12778   s&@infodir@&$infodir&g
   12779   s&@localedir@&$localedir&g
   12780   s&@mandir@&$mandir&g
   12781   s&\\\${datarootdir}&$datarootdir&g' ;;
   12782 esac
   12783 _ACEOF
   12784 
   12785 # Neutralize VPATH when `$srcdir' = `.'.
   12786 # Shell code in configure.ac might set extrasub.
   12787 # FIXME: do we really want to maintain this feature?
   12788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12789 ac_sed_extra="$ac_vpsub
   12790 $extrasub
   12791 _ACEOF
   12792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12793 :t
   12794 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12795 s|@configure_input@|$ac_sed_conf_input|;t t
   12796 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12797 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12798 s&@srcdir@&$ac_srcdir&;t t
   12799 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12800 s&@top_srcdir@&$ac_top_srcdir&;t t
   12801 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12802 s&@builddir@&$ac_builddir&;t t
   12803 s&@abs_builddir@&$ac_abs_builddir&;t t
   12804 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12805 s&@INSTALL@&$ac_INSTALL&;t t
   12806 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12807 $ac_datarootdir_hack
   12808 "
   12809 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   12810   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12811 
   12812 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12813   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   12814   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   12815   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12816 which seems to be undefined.  Please make sure it is defined." >&5
   12817 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12818 which seems to be undefined.  Please make sure it is defined." >&2;}
   12819 
   12820   rm -f "$tmp/stdin"
   12821   case $ac_file in
   12822   -) cat "$tmp/out" && rm -f "$tmp/out";;
   12823   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   12824   esac \
   12825   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12826  ;;
   12827   :H)
   12828   #
   12829   # CONFIG_HEADER
   12830   #
   12831   if test x"$ac_file" != x-; then
   12832     {
   12833       $as_echo "/* $configure_input  */" \
   12834       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   12835     } >"$tmp/config.h" \
   12836       || as_fn_error "could not create $ac_file" "$LINENO" 5
   12837     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   12838       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12839 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12840     else
   12841       rm -f "$ac_file"
   12842       mv "$tmp/config.h" "$ac_file" \
   12843 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   12844     fi
   12845   else
   12846     $as_echo "/* $configure_input  */" \
   12847       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   12848       || as_fn_error "could not create -" "$LINENO" 5
   12849   fi
   12850 # Compute "$ac_file"'s index in $config_headers.
   12851 _am_arg="$ac_file"
   12852 _am_stamp_count=1
   12853 for _am_header in $config_headers :; do
   12854   case $_am_header in
   12855     $_am_arg | $_am_arg:* )
   12856       break ;;
   12857     * )
   12858       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12859   esac
   12860 done
   12861 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12862 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12863 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12864 	 X"$_am_arg" : 'X\(//\)$' \| \
   12865 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12866 $as_echo X"$_am_arg" |
   12867     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12868 	    s//\1/
   12869 	    q
   12870 	  }
   12871 	  /^X\(\/\/\)[^/].*/{
   12872 	    s//\1/
   12873 	    q
   12874 	  }
   12875 	  /^X\(\/\/\)$/{
   12876 	    s//\1/
   12877 	    q
   12878 	  }
   12879 	  /^X\(\/\).*/{
   12880 	    s//\1/
   12881 	    q
   12882 	  }
   12883 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12884  ;;
   12885 
   12886   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12887 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12888  ;;
   12889   esac
   12890 
   12891 
   12892   case $ac_file$ac_mode in
   12893     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12894   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12895   # are listed without --file.  Let's play safe and only enable the eval
   12896   # if we detect the quoting.
   12897   case $CONFIG_FILES in
   12898   *\'*) eval set x "$CONFIG_FILES" ;;
   12899   *)   set x $CONFIG_FILES ;;
   12900   esac
   12901   shift
   12902   for mf
   12903   do
   12904     # Strip MF so we end up with the name of the file.
   12905     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12906     # Check whether this is an Automake generated Makefile or not.
   12907     # We used to match only the files named `Makefile.in', but
   12908     # some people rename them; so instead we look at the file content.
   12909     # Grep'ing the first line is not enough: some people post-process
   12910     # each Makefile.in and add a new line on top of each file to say so.
   12911     # Grep'ing the whole file is not good either: AIX grep has a line
   12912     # limit of 2048, but all sed's we know have understand at least 4000.
   12913     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12914       dirpart=`$as_dirname -- "$mf" ||
   12915 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12916 	 X"$mf" : 'X\(//\)[^/]' \| \
   12917 	 X"$mf" : 'X\(//\)$' \| \
   12918 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12919 $as_echo X"$mf" |
   12920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12921 	    s//\1/
   12922 	    q
   12923 	  }
   12924 	  /^X\(\/\/\)[^/].*/{
   12925 	    s//\1/
   12926 	    q
   12927 	  }
   12928 	  /^X\(\/\/\)$/{
   12929 	    s//\1/
   12930 	    q
   12931 	  }
   12932 	  /^X\(\/\).*/{
   12933 	    s//\1/
   12934 	    q
   12935 	  }
   12936 	  s/.*/./; q'`
   12937     else
   12938       continue
   12939     fi
   12940     # Extract the definition of DEPDIR, am__include, and am__quote
   12941     # from the Makefile without running `make'.
   12942     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12943     test -z "$DEPDIR" && continue
   12944     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12945     test -z "am__include" && continue
   12946     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12947     # When using ansi2knr, U may be empty or an underscore; expand it
   12948     U=`sed -n 's/^U = //p' < "$mf"`
   12949     # Find all dependency output files, they are included files with
   12950     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12951     # simplest approach to changing $(DEPDIR) to its actual value in the
   12952     # expansion.
   12953     for file in `sed -n "
   12954       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12955 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12956       # Make sure the directory exists.
   12957       test -f "$dirpart/$file" && continue
   12958       fdir=`$as_dirname -- "$file" ||
   12959 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12960 	 X"$file" : 'X\(//\)[^/]' \| \
   12961 	 X"$file" : 'X\(//\)$' \| \
   12962 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12963 $as_echo X"$file" |
   12964     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12965 	    s//\1/
   12966 	    q
   12967 	  }
   12968 	  /^X\(\/\/\)[^/].*/{
   12969 	    s//\1/
   12970 	    q
   12971 	  }
   12972 	  /^X\(\/\/\)$/{
   12973 	    s//\1/
   12974 	    q
   12975 	  }
   12976 	  /^X\(\/\).*/{
   12977 	    s//\1/
   12978 	    q
   12979 	  }
   12980 	  s/.*/./; q'`
   12981       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12982       # echo "creating $dirpart/$file"
   12983       echo '# dummy' > "$dirpart/$file"
   12984     done
   12985   done
   12986 }
   12987  ;;
   12988     "libtool":C)
   12989 
   12990     # See if we are running on zsh, and set the options which allow our
   12991     # commands through without removal of \ escapes.
   12992     if test -n "${ZSH_VERSION+set}" ; then
   12993       setopt NO_GLOB_SUBST
   12994     fi
   12995 
   12996     cfgfile="${ofile}T"
   12997     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   12998     $RM "$cfgfile"
   12999 
   13000     cat <<_LT_EOF >> "$cfgfile"
   13001 #! $SHELL
   13002 
   13003 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13004 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13005 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13006 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13007 #
   13008 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13009 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13010 #   Written by Gordon Matzigkeit, 1996
   13011 #
   13012 #   This file is part of GNU Libtool.
   13013 #
   13014 # GNU Libtool is free software; you can redistribute it and/or
   13015 # modify it under the terms of the GNU General Public License as
   13016 # published by the Free Software Foundation; either version 2 of
   13017 # the License, or (at your option) any later version.
   13018 #
   13019 # As a special exception to the GNU General Public License,
   13020 # if you distribute this file as part of a program or library that
   13021 # is built using GNU Libtool, you may include this file under the
   13022 # same distribution terms that you use for the rest of that program.
   13023 #
   13024 # GNU Libtool is distributed in the hope that it will be useful,
   13025 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13026 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13027 # GNU General Public License for more details.
   13028 #
   13029 # You should have received a copy of the GNU General Public License
   13030 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13031 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13032 # obtained by writing to the Free Software Foundation, Inc.,
   13033 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13034 
   13035 
   13036 # The names of the tagged configurations supported by this script.
   13037 available_tags=""
   13038 
   13039 # ### BEGIN LIBTOOL CONFIG
   13040 
   13041 # Whether or not to build static libraries.
   13042 build_old_libs=$enable_static
   13043 
   13044 # Which release of libtool.m4 was used?
   13045 macro_version=$macro_version
   13046 macro_revision=$macro_revision
   13047 
   13048 # Whether or not to build shared libraries.
   13049 build_libtool_libs=$enable_shared
   13050 
   13051 # What type of objects to build.
   13052 pic_mode=$pic_mode
   13053 
   13054 # Whether or not to optimize for fast installation.
   13055 fast_install=$enable_fast_install
   13056 
   13057 # The host system.
   13058 host_alias=$host_alias
   13059 host=$host
   13060 host_os=$host_os
   13061 
   13062 # The build system.
   13063 build_alias=$build_alias
   13064 build=$build
   13065 build_os=$build_os
   13066 
   13067 # A sed program that does not truncate output.
   13068 SED=$lt_SED
   13069 
   13070 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13071 Xsed="\$SED -e 1s/^X//"
   13072 
   13073 # A grep program that handles long lines.
   13074 GREP=$lt_GREP
   13075 
   13076 # An ERE matcher.
   13077 EGREP=$lt_EGREP
   13078 
   13079 # A literal string matcher.
   13080 FGREP=$lt_FGREP
   13081 
   13082 # A BSD- or MS-compatible name lister.
   13083 NM=$lt_NM
   13084 
   13085 # Whether we need soft or hard links.
   13086 LN_S=$lt_LN_S
   13087 
   13088 # What is the maximum length of a command?
   13089 max_cmd_len=$max_cmd_len
   13090 
   13091 # Object file suffix (normally "o").
   13092 objext=$ac_objext
   13093 
   13094 # Executable file suffix (normally "").
   13095 exeext=$exeext
   13096 
   13097 # whether the shell understands "unset".
   13098 lt_unset=$lt_unset
   13099 
   13100 # turn spaces into newlines.
   13101 SP2NL=$lt_lt_SP2NL
   13102 
   13103 # turn newlines into spaces.
   13104 NL2SP=$lt_lt_NL2SP
   13105 
   13106 # How to create reloadable object files.
   13107 reload_flag=$lt_reload_flag
   13108 reload_cmds=$lt_reload_cmds
   13109 
   13110 # An object symbol dumper.
   13111 OBJDUMP=$lt_OBJDUMP
   13112 
   13113 # Method to check whether dependent libraries are shared objects.
   13114 deplibs_check_method=$lt_deplibs_check_method
   13115 
   13116 # Command to use when deplibs_check_method == "file_magic".
   13117 file_magic_cmd=$lt_file_magic_cmd
   13118 
   13119 # The archiver.
   13120 AR=$lt_AR
   13121 AR_FLAGS=$lt_AR_FLAGS
   13122 
   13123 # A symbol stripping program.
   13124 STRIP=$lt_STRIP
   13125 
   13126 # Commands used to install an old-style archive.
   13127 RANLIB=$lt_RANLIB
   13128 old_postinstall_cmds=$lt_old_postinstall_cmds
   13129 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13130 
   13131 # A C compiler.
   13132 LTCC=$lt_CC
   13133 
   13134 # LTCC compiler flags.
   13135 LTCFLAGS=$lt_CFLAGS
   13136 
   13137 # Take the output of nm and produce a listing of raw symbols and C names.
   13138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13139 
   13140 # Transform the output of nm in a proper C declaration.
   13141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13142 
   13143 # Transform the output of nm in a C name address pair.
   13144 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13145 
   13146 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13147 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13148 
   13149 # The name of the directory that contains temporary libtool files.
   13150 objdir=$objdir
   13151 
   13152 # Shell to use when invoking shell scripts.
   13153 SHELL=$lt_SHELL
   13154 
   13155 # An echo program that does not interpret backslashes.
   13156 ECHO=$lt_ECHO
   13157 
   13158 # Used to examine libraries when file_magic_cmd begins with "file".
   13159 MAGIC_CMD=$MAGIC_CMD
   13160 
   13161 # Must we lock files when doing compilation?
   13162 need_locks=$lt_need_locks
   13163 
   13164 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13165 DSYMUTIL=$lt_DSYMUTIL
   13166 
   13167 # Tool to change global to local symbols on Mac OS X.
   13168 NMEDIT=$lt_NMEDIT
   13169 
   13170 # Tool to manipulate fat objects and archives on Mac OS X.
   13171 LIPO=$lt_LIPO
   13172 
   13173 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13174 OTOOL=$lt_OTOOL
   13175 
   13176 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13177 OTOOL64=$lt_OTOOL64
   13178 
   13179 # Old archive suffix (normally "a").
   13180 libext=$libext
   13181 
   13182 # Shared library suffix (normally ".so").
   13183 shrext_cmds=$lt_shrext_cmds
   13184 
   13185 # The commands to extract the exported symbol list from a shared archive.
   13186 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13187 
   13188 # Variables whose values should be saved in libtool wrapper scripts and
   13189 # restored at link time.
   13190 variables_saved_for_relink=$lt_variables_saved_for_relink
   13191 
   13192 # Do we need the "lib" prefix for modules?
   13193 need_lib_prefix=$need_lib_prefix
   13194 
   13195 # Do we need a version for libraries?
   13196 need_version=$need_version
   13197 
   13198 # Library versioning type.
   13199 version_type=$version_type
   13200 
   13201 # Shared library runtime path variable.
   13202 runpath_var=$runpath_var
   13203 
   13204 # Shared library path variable.
   13205 shlibpath_var=$shlibpath_var
   13206 
   13207 # Is shlibpath searched before the hard-coded library search path?
   13208 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13209 
   13210 # Format of library name prefix.
   13211 libname_spec=$lt_libname_spec
   13212 
   13213 # List of archive names.  First name is the real one, the rest are links.
   13214 # The last name is the one that the linker finds with -lNAME
   13215 library_names_spec=$lt_library_names_spec
   13216 
   13217 # The coded name of the library, if different from the real name.
   13218 soname_spec=$lt_soname_spec
   13219 
   13220 # Command to use after installation of a shared archive.
   13221 postinstall_cmds=$lt_postinstall_cmds
   13222 
   13223 # Command to use after uninstallation of a shared archive.
   13224 postuninstall_cmds=$lt_postuninstall_cmds
   13225 
   13226 # Commands used to finish a libtool library installation in a directory.
   13227 finish_cmds=$lt_finish_cmds
   13228 
   13229 # As "finish_cmds", except a single script fragment to be evaled but
   13230 # not shown.
   13231 finish_eval=$lt_finish_eval
   13232 
   13233 # Whether we should hardcode library paths into libraries.
   13234 hardcode_into_libs=$hardcode_into_libs
   13235 
   13236 # Compile-time system search path for libraries.
   13237 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13238 
   13239 # Run-time system search path for libraries.
   13240 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13241 
   13242 # Whether dlopen is supported.
   13243 dlopen_support=$enable_dlopen
   13244 
   13245 # Whether dlopen of programs is supported.
   13246 dlopen_self=$enable_dlopen_self
   13247 
   13248 # Whether dlopen of statically linked programs is supported.
   13249 dlopen_self_static=$enable_dlopen_self_static
   13250 
   13251 # Commands to strip libraries.
   13252 old_striplib=$lt_old_striplib
   13253 striplib=$lt_striplib
   13254 
   13255 
   13256 # The linker used to build libraries.
   13257 LD=$lt_LD
   13258 
   13259 # Commands used to build an old-style archive.
   13260 old_archive_cmds=$lt_old_archive_cmds
   13261 
   13262 # A language specific compiler.
   13263 CC=$lt_compiler
   13264 
   13265 # Is the compiler the GNU compiler?
   13266 with_gcc=$GCC
   13267 
   13268 # Compiler flag to turn off builtin functions.
   13269 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13270 
   13271 # How to pass a linker flag through the compiler.
   13272 wl=$lt_lt_prog_compiler_wl
   13273 
   13274 # Additional compiler flags for building library objects.
   13275 pic_flag=$lt_lt_prog_compiler_pic
   13276 
   13277 # Compiler flag to prevent dynamic linking.
   13278 link_static_flag=$lt_lt_prog_compiler_static
   13279 
   13280 # Does compiler simultaneously support -c and -o options?
   13281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13282 
   13283 # Whether or not to add -lc for building shared libraries.
   13284 build_libtool_need_lc=$archive_cmds_need_lc
   13285 
   13286 # Whether or not to disallow shared libs when runtime libs are static.
   13287 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13288 
   13289 # Compiler flag to allow reflexive dlopens.
   13290 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13291 
   13292 # Compiler flag to generate shared objects directly from archives.
   13293 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13294 
   13295 # Whether the compiler copes with passing no objects directly.
   13296 compiler_needs_object=$lt_compiler_needs_object
   13297 
   13298 # Create an old-style archive from a shared archive.
   13299 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13300 
   13301 # Create a temporary old-style archive to link instead of a shared archive.
   13302 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13303 
   13304 # Commands used to build a shared archive.
   13305 archive_cmds=$lt_archive_cmds
   13306 archive_expsym_cmds=$lt_archive_expsym_cmds
   13307 
   13308 # Commands used to build a loadable module if different from building
   13309 # a shared archive.
   13310 module_cmds=$lt_module_cmds
   13311 module_expsym_cmds=$lt_module_expsym_cmds
   13312 
   13313 # Whether we are building with GNU ld or not.
   13314 with_gnu_ld=$lt_with_gnu_ld
   13315 
   13316 # Flag that allows shared libraries with undefined symbols to be built.
   13317 allow_undefined_flag=$lt_allow_undefined_flag
   13318 
   13319 # Flag that enforces no undefined symbols.
   13320 no_undefined_flag=$lt_no_undefined_flag
   13321 
   13322 # Flag to hardcode \$libdir into a binary during linking.
   13323 # This must work even if \$libdir does not exist
   13324 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13325 
   13326 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13327 # during linking.  This must work even if \$libdir does not exist.
   13328 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13329 
   13330 # Whether we need a single "-rpath" flag with a separated argument.
   13331 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13332 
   13333 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13334 # DIR into the resulting binary.
   13335 hardcode_direct=$hardcode_direct
   13336 
   13337 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13338 # DIR into the resulting binary and the resulting library dependency is
   13339 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13340 # library is relocated.
   13341 hardcode_direct_absolute=$hardcode_direct_absolute
   13342 
   13343 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13344 # into the resulting binary.
   13345 hardcode_minus_L=$hardcode_minus_L
   13346 
   13347 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13348 # into the resulting binary.
   13349 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13350 
   13351 # Set to "yes" if building a shared library automatically hardcodes DIR
   13352 # into the library and all subsequent libraries and executables linked
   13353 # against it.
   13354 hardcode_automatic=$hardcode_automatic
   13355 
   13356 # Set to yes if linker adds runtime paths of dependent libraries
   13357 # to runtime path list.
   13358 inherit_rpath=$inherit_rpath
   13359 
   13360 # Whether libtool must link a program against all its dependency libraries.
   13361 link_all_deplibs=$link_all_deplibs
   13362 
   13363 # Fix the shell variable \$srcfile for the compiler.
   13364 fix_srcfile_path=$lt_fix_srcfile_path
   13365 
   13366 # Set to "yes" if exported symbols are required.
   13367 always_export_symbols=$always_export_symbols
   13368 
   13369 # The commands to list exported symbols.
   13370 export_symbols_cmds=$lt_export_symbols_cmds
   13371 
   13372 # Symbols that should not be listed in the preloaded symbols.
   13373 exclude_expsyms=$lt_exclude_expsyms
   13374 
   13375 # Symbols that must always be exported.
   13376 include_expsyms=$lt_include_expsyms
   13377 
   13378 # Commands necessary for linking programs (against libraries) with templates.
   13379 prelink_cmds=$lt_prelink_cmds
   13380 
   13381 # Specify filename containing input files.
   13382 file_list_spec=$lt_file_list_spec
   13383 
   13384 # How to hardcode a shared library path into an executable.
   13385 hardcode_action=$hardcode_action
   13386 
   13387 # ### END LIBTOOL CONFIG
   13388 
   13389 _LT_EOF
   13390 
   13391   case $host_os in
   13392   aix3*)
   13393     cat <<\_LT_EOF >> "$cfgfile"
   13394 # AIX sometimes has problems with the GCC collect2 program.  For some
   13395 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13396 # vanish in a puff of smoke.
   13397 if test "X${COLLECT_NAMES+set}" != Xset; then
   13398   COLLECT_NAMES=
   13399   export COLLECT_NAMES
   13400 fi
   13401 _LT_EOF
   13402     ;;
   13403   esac
   13404 
   13405 
   13406 ltmain="$ac_aux_dir/ltmain.sh"
   13407 
   13408 
   13409   # We use sed instead of cat because bash on DJGPP gets confused if
   13410   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13411   # text mode, it properly converts lines to CR/LF.  This bash problem
   13412   # is reportedly fixed, but why not run on old versions too?
   13413   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13414     || (rm -f "$cfgfile"; exit 1)
   13415 
   13416   case $xsi_shell in
   13417   yes)
   13418     cat << \_LT_EOF >> "$cfgfile"
   13419 
   13420 # func_dirname file append nondir_replacement
   13421 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13422 # otherwise set result to NONDIR_REPLACEMENT.
   13423 func_dirname ()
   13424 {
   13425   case ${1} in
   13426     */*) func_dirname_result="${1%/*}${2}" ;;
   13427     *  ) func_dirname_result="${3}" ;;
   13428   esac
   13429 }
   13430 
   13431 # func_basename file
   13432 func_basename ()
   13433 {
   13434   func_basename_result="${1##*/}"
   13435 }
   13436 
   13437 # func_dirname_and_basename file append nondir_replacement
   13438 # perform func_basename and func_dirname in a single function
   13439 # call:
   13440 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13441 #             add APPEND to the result, otherwise set result
   13442 #             to NONDIR_REPLACEMENT.
   13443 #             value returned in "$func_dirname_result"
   13444 #   basename: Compute filename of FILE.
   13445 #             value retuned in "$func_basename_result"
   13446 # Implementation must be kept synchronized with func_dirname
   13447 # and func_basename. For efficiency, we do not delegate to
   13448 # those functions but instead duplicate the functionality here.
   13449 func_dirname_and_basename ()
   13450 {
   13451   case ${1} in
   13452     */*) func_dirname_result="${1%/*}${2}" ;;
   13453     *  ) func_dirname_result="${3}" ;;
   13454   esac
   13455   func_basename_result="${1##*/}"
   13456 }
   13457 
   13458 # func_stripname prefix suffix name
   13459 # strip PREFIX and SUFFIX off of NAME.
   13460 # PREFIX and SUFFIX must not contain globbing or regex special
   13461 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13462 # dot (in which case that matches only a dot).
   13463 func_stripname ()
   13464 {
   13465   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13466   # positional parameters, so assign one to ordinary parameter first.
   13467   func_stripname_result=${3}
   13468   func_stripname_result=${func_stripname_result#"${1}"}
   13469   func_stripname_result=${func_stripname_result%"${2}"}
   13470 }
   13471 
   13472 # func_opt_split
   13473 func_opt_split ()
   13474 {
   13475   func_opt_split_opt=${1%%=*}
   13476   func_opt_split_arg=${1#*=}
   13477 }
   13478 
   13479 # func_lo2o object
   13480 func_lo2o ()
   13481 {
   13482   case ${1} in
   13483     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13484     *)    func_lo2o_result=${1} ;;
   13485   esac
   13486 }
   13487 
   13488 # func_xform libobj-or-source
   13489 func_xform ()
   13490 {
   13491   func_xform_result=${1%.*}.lo
   13492 }
   13493 
   13494 # func_arith arithmetic-term...
   13495 func_arith ()
   13496 {
   13497   func_arith_result=$(( $* ))
   13498 }
   13499 
   13500 # func_len string
   13501 # STRING may not start with a hyphen.
   13502 func_len ()
   13503 {
   13504   func_len_result=${#1}
   13505 }
   13506 
   13507 _LT_EOF
   13508     ;;
   13509   *) # Bourne compatible functions.
   13510     cat << \_LT_EOF >> "$cfgfile"
   13511 
   13512 # func_dirname file append nondir_replacement
   13513 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13514 # otherwise set result to NONDIR_REPLACEMENT.
   13515 func_dirname ()
   13516 {
   13517   # Extract subdirectory from the argument.
   13518   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   13519   if test "X$func_dirname_result" = "X${1}"; then
   13520     func_dirname_result="${3}"
   13521   else
   13522     func_dirname_result="$func_dirname_result${2}"
   13523   fi
   13524 }
   13525 
   13526 # func_basename file
   13527 func_basename ()
   13528 {
   13529   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   13530 }
   13531 
   13532 
   13533 # func_stripname prefix suffix name
   13534 # strip PREFIX and SUFFIX off of NAME.
   13535 # PREFIX and SUFFIX must not contain globbing or regex special
   13536 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13537 # dot (in which case that matches only a dot).
   13538 # func_strip_suffix prefix name
   13539 func_stripname ()
   13540 {
   13541   case ${2} in
   13542     .*) func_stripname_result=`$ECHO "X${3}" \
   13543            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   13544     *)  func_stripname_result=`$ECHO "X${3}" \
   13545            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   13546   esac
   13547 }
   13548 
   13549 # sed scripts:
   13550 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13551 my_sed_long_arg='1s/^-[^=]*=//'
   13552 
   13553 # func_opt_split
   13554 func_opt_split ()
   13555 {
   13556   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   13557   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   13558 }
   13559 
   13560 # func_lo2o object
   13561 func_lo2o ()
   13562 {
   13563   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   13564 }
   13565 
   13566 # func_xform libobj-or-source
   13567 func_xform ()
   13568 {
   13569   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   13570 }
   13571 
   13572 # func_arith arithmetic-term...
   13573 func_arith ()
   13574 {
   13575   func_arith_result=`expr "$@"`
   13576 }
   13577 
   13578 # func_len string
   13579 # STRING may not start with a hyphen.
   13580 func_len ()
   13581 {
   13582   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   13583 }
   13584 
   13585 _LT_EOF
   13586 esac
   13587 
   13588 case $lt_shell_append in
   13589   yes)
   13590     cat << \_LT_EOF >> "$cfgfile"
   13591 
   13592 # func_append var value
   13593 # Append VALUE to the end of shell variable VAR.
   13594 func_append ()
   13595 {
   13596   eval "$1+=\$2"
   13597 }
   13598 _LT_EOF
   13599     ;;
   13600   *)
   13601     cat << \_LT_EOF >> "$cfgfile"
   13602 
   13603 # func_append var value
   13604 # Append VALUE to the end of shell variable VAR.
   13605 func_append ()
   13606 {
   13607   eval "$1=\$$1\$2"
   13608 }
   13609 
   13610 _LT_EOF
   13611     ;;
   13612   esac
   13613 
   13614 
   13615   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   13616     || (rm -f "$cfgfile"; exit 1)
   13617 
   13618   mv -f "$cfgfile" "$ofile" ||
   13619     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   13620   chmod +x "$ofile"
   13621 
   13622  ;;
   13623 
   13624   esac
   13625 done # for ac_tag
   13626 
   13627 
   13628 as_fn_exit 0
   13629 _ACEOF
   13630 ac_clean_files=$ac_clean_files_save
   13631 
   13632 test $ac_write_fail = 0 ||
   13633   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13634 
   13635 
   13636 # configure is writing to config.log, and then calls config.status.
   13637 # config.status does its own redirection, appending to config.log.
   13638 # Unfortunately, on DOS this fails, as config.log is still kept open
   13639 # by configure, so config.status won't be able to write to it; its
   13640 # output is simply discarded.  So we exec the FD to /dev/null,
   13641 # effectively closing config.log, so it can be properly (re)opened and
   13642 # appended to by config.status.  When coming back to configure, we
   13643 # need to make the FD available again.
   13644 if test "$no_create" != yes; then
   13645   ac_cs_success=:
   13646   ac_config_status_args=
   13647   test "$silent" = yes &&
   13648     ac_config_status_args="$ac_config_status_args --quiet"
   13649   exec 5>/dev/null
   13650   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13651   exec 5>>config.log
   13652   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13653   # would make configure fail if this is the last instruction.
   13654   $ac_cs_success || as_fn_exit $?
   13655 fi
   13656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13657   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13659 fi
   13660 
   13661