Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-input-vmmouse 12.7.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$lt_ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 ECHO=${lt_ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $ECHO works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<_LT_EOF
    606 $*
    607 _LT_EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$lt_ECHO"; then
    616   if test "X${echo_test_string+set}" != Xset; then
    617     # find a string as large as possible, as long as the shell can cope with it
    618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    621 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    622       then
    623         break
    624       fi
    625     done
    626   fi
    627 
    628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    630      test "X$echo_testing_string" = "X$echo_test_string"; then
    631     :
    632   else
    633     # The Solaris, AIX, and Digital Unix default echo programs unquote
    634     # backslashes.  This makes it impossible to quote backslashes using
    635     #   echo "$something" | sed 's/\\/\\\\/g'
    636     #
    637     # So, first we look for a working echo in the user's PATH.
    638 
    639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    640     for dir in $PATH /usr/ucb; do
    641       IFS="$lt_save_ifs"
    642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    645          test "X$echo_testing_string" = "X$echo_test_string"; then
    646         ECHO="$dir/echo"
    647         break
    648       fi
    649     done
    650     IFS="$lt_save_ifs"
    651 
    652     if test "X$ECHO" = Xecho; then
    653       # We didn't find a better echo, so look for alternatives.
    654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    656          test "X$echo_testing_string" = "X$echo_test_string"; then
    657         # This shell has a builtin print -r that does the trick.
    658         ECHO='print -r'
    659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    660 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    661         # If we have ksh, try running configure again with it.
    662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    663         export ORIGINAL_CONFIG_SHELL
    664         CONFIG_SHELL=/bin/ksh
    665         export CONFIG_SHELL
    666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    667       else
    668         # Try using printf.
    669         ECHO='printf %s\n'
    670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    671 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    672 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    673 	  # Cool, printf works
    674 	  :
    675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    676 	     test "X$echo_testing_string" = 'X\t' &&
    677 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    678 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    679 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    680 	  export CONFIG_SHELL
    681 	  SHELL="$CONFIG_SHELL"
    682 	  export SHELL
    683 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    685 	     test "X$echo_testing_string" = 'X\t' &&
    686 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    687 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    688 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    689         else
    690 	  # maybe with a smaller string...
    691 	  prev=:
    692 
    693 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    694 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    695 	    then
    696 	      break
    697 	    fi
    698 	    prev="$cmd"
    699 	  done
    700 
    701 	  if test "$prev" != 'sed 50q "$0"'; then
    702 	    echo_test_string=`eval $prev`
    703 	    export echo_test_string
    704 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    705 	  else
    706 	    # Oops.  We lost completely, so just stick with echo.
    707 	    ECHO=echo
    708 	  fi
    709         fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 
    715 # Copy echo and quote the copy suitably for passing to libtool from
    716 # the Makefile, instead of quoting the original, which is used later.
    717 lt_ECHO=$ECHO
    718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    720 fi
    721 
    722 
    723 
    724 
    725 exec 7<&0 </dev/null 6>&1
    726 
    727 # Name of the host.
    728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    729 # so uname gets run too.
    730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    731 
    732 #
    733 # Initializations.
    734 #
    735 ac_default_prefix=/usr/local
    736 ac_clean_files=
    737 ac_config_libobj_dir=.
    738 LIBOBJS=
    739 cross_compiling=no
    740 subdirs=
    741 MFLAGS=
    742 MAKEFLAGS=
    743 SHELL=${CONFIG_SHELL-/bin/sh}
    744 
    745 # Identity of this package.
    746 PACKAGE_NAME='xf86-input-vmmouse'
    747 PACKAGE_TARNAME='xf86-input-vmmouse'
    748 PACKAGE_VERSION='12.7.0'
    749 PACKAGE_STRING='xf86-input-vmmouse 12.7.0'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 ac_unique_file="Makefile.am"
    753 # Factoring default headers for most tests.
    754 ac_includes_default="\
    755 #include <stdio.h>
    756 #ifdef HAVE_SYS_TYPES_H
    757 # include <sys/types.h>
    758 #endif
    759 #ifdef HAVE_SYS_STAT_H
    760 # include <sys/stat.h>
    761 #endif
    762 #ifdef STDC_HEADERS
    763 # include <stdlib.h>
    764 # include <stddef.h>
    765 #else
    766 # ifdef HAVE_STDLIB_H
    767 #  include <stdlib.h>
    768 # endif
    769 #endif
    770 #ifdef HAVE_STRING_H
    771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    772 #  include <memory.h>
    773 # endif
    774 # include <string.h>
    775 #endif
    776 #ifdef HAVE_STRINGS_H
    777 # include <strings.h>
    778 #endif
    779 #ifdef HAVE_INTTYPES_H
    780 # include <inttypes.h>
    781 #endif
    782 #ifdef HAVE_STDINT_H
    783 # include <stdint.h>
    784 #endif
    785 #ifdef HAVE_UNISTD_H
    786 # include <unistd.h>
    787 #endif"
    788 
    789 ac_subst_vars='LTLIBOBJS
    790 LIBOBJS
    791 XORG_LIBS
    792 XORG_CFLAGS
    793 HAS_UDEV_RULES_DIR_FALSE
    794 HAS_UDEV_RULES_DIR_TRUE
    795 UDEV_RULES_DIR
    796 HAL_FDI_DIR
    797 HAL_CALLOUTS_DIR
    798 HAL_BIN_DIR
    799 HAS_XORG_CONF_DIR_FALSE
    800 HAS_XORG_CONF_DIR_TRUE
    801 XORG_CONF_DIR
    802 inputdir
    803 OTOOL64
    804 OTOOL
    805 LIPO
    806 NMEDIT
    807 DSYMUTIL
    808 lt_ECHO
    809 RANLIB
    810 AR
    811 OBJDUMP
    812 LN_S
    813 NM
    814 ac_ct_DUMPBIN
    815 DUMPBIN
    816 LD
    817 FGREP
    818 LIBTOOL
    819 DRIVER_NAME
    820 AM_DEFAULT_VERBOSITY
    821 MAN_SUBSTS
    822 XORG_MAN_PAGE
    823 ADMIN_MAN_DIR
    824 DRIVER_MAN_DIR
    825 MISC_MAN_DIR
    826 FILE_MAN_DIR
    827 LIB_MAN_DIR
    828 APP_MAN_DIR
    829 ADMIN_MAN_SUFFIX
    830 DRIVER_MAN_SUFFIX
    831 MISC_MAN_SUFFIX
    832 FILE_MAN_SUFFIX
    833 LIB_MAN_SUFFIX
    834 APP_MAN_SUFFIX
    835 SED
    836 host_os
    837 host_vendor
    838 host_cpu
    839 host
    840 build_os
    841 build_vendor
    842 build_cpu
    843 build
    844 INSTALL_CMD
    845 PKG_CONFIG
    846 CHANGELOG_CMD
    847 CWARNFLAGS
    848 EGREP
    849 GREP
    850 CPP
    851 am__fastdepCC_FALSE
    852 am__fastdepCC_TRUE
    853 CCDEPMODE
    854 AMDEPBACKSLASH
    855 AMDEP_FALSE
    856 AMDEP_TRUE
    857 am__quote
    858 am__include
    859 DEPDIR
    860 OBJEXT
    861 EXEEXT
    862 ac_ct_CC
    863 CPPFLAGS
    864 LDFLAGS
    865 CFLAGS
    866 CC
    867 MAINT
    868 MAINTAINER_MODE_FALSE
    869 MAINTAINER_MODE_TRUE
    870 am__untar
    871 am__tar
    872 AMTAR
    873 am__leading_dot
    874 SET_MAKE
    875 AWK
    876 mkdir_p
    877 MKDIR_P
    878 INSTALL_STRIP_PROGRAM
    879 STRIP
    880 install_sh
    881 MAKEINFO
    882 AUTOHEADER
    883 AUTOMAKE
    884 AUTOCONF
    885 ACLOCAL
    886 VERSION
    887 PACKAGE
    888 CYGPATH_W
    889 am__isrc
    890 INSTALL_DATA
    891 INSTALL_SCRIPT
    892 INSTALL_PROGRAM
    893 target_alias
    894 host_alias
    895 build_alias
    896 LIBS
    897 ECHO_T
    898 ECHO_N
    899 ECHO_C
    900 DEFS
    901 mandir
    902 localedir
    903 libdir
    904 psdir
    905 pdfdir
    906 dvidir
    907 htmldir
    908 infodir
    909 docdir
    910 oldincludedir
    911 includedir
    912 localstatedir
    913 sharedstatedir
    914 sysconfdir
    915 datadir
    916 datarootdir
    917 libexecdir
    918 sbindir
    919 bindir
    920 program_transform_name
    921 prefix
    922 exec_prefix
    923 PACKAGE_BUGREPORT
    924 PACKAGE_STRING
    925 PACKAGE_VERSION
    926 PACKAGE_TARNAME
    927 PACKAGE_NAME
    928 PATH_SEPARATOR
    929 SHELL'
    930 ac_subst_files=''
    931 ac_user_opts='
    932 enable_option_checking
    933 enable_maintainer_mode
    934 enable_dependency_tracking
    935 enable_strict_compilation
    936 enable_static
    937 enable_shared
    938 with_pic
    939 enable_fast_install
    940 with_gnu_ld
    941 enable_libtool_lock
    942 with_xorg_module_dir
    943 with_xorg_conf_dir
    944 with_hal_bin_dir
    945 with_hal_callouts_dir
    946 with_hal_fdi_dir
    947 with_udev_rules_dir
    948 '
    949       ac_precious_vars='build_alias
    950 host_alias
    951 target_alias
    952 CC
    953 CFLAGS
    954 LDFLAGS
    955 LIBS
    956 CPPFLAGS
    957 CPP
    958 PKG_CONFIG
    959 XORG_CFLAGS
    960 XORG_LIBS'
    961 
    962 
    963 # Initialize some variables set by options.
    964 ac_init_help=
    965 ac_init_version=false
    966 ac_unrecognized_opts=
    967 ac_unrecognized_sep=
    968 # The variables have the same names as the options, with
    969 # dashes changed to underlines.
    970 cache_file=/dev/null
    971 exec_prefix=NONE
    972 no_create=
    973 no_recursion=
    974 prefix=NONE
    975 program_prefix=NONE
    976 program_suffix=NONE
    977 program_transform_name=s,x,x,
    978 silent=
    979 site=
    980 srcdir=
    981 verbose=
    982 x_includes=NONE
    983 x_libraries=NONE
    984 
    985 # Installation directory options.
    986 # These are left unexpanded so users can "make install exec_prefix=/foo"
    987 # and all the variables that are supposed to be based on exec_prefix
    988 # by default will actually change.
    989 # Use braces instead of parens because sh, perl, etc. also accept them.
    990 # (The list follows the same order as the GNU Coding Standards.)
    991 bindir='${exec_prefix}/bin'
    992 sbindir='${exec_prefix}/sbin'
    993 libexecdir='${exec_prefix}/libexec'
    994 datarootdir='${prefix}/share'
    995 datadir='${datarootdir}'
    996 sysconfdir='${prefix}/etc'
    997 sharedstatedir='${prefix}/com'
    998 localstatedir='${prefix}/var'
    999 includedir='${prefix}/include'
   1000 oldincludedir='/usr/include'
   1001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1002 infodir='${datarootdir}/info'
   1003 htmldir='${docdir}'
   1004 dvidir='${docdir}'
   1005 pdfdir='${docdir}'
   1006 psdir='${docdir}'
   1007 libdir='${exec_prefix}/lib'
   1008 localedir='${datarootdir}/locale'
   1009 mandir='${datarootdir}/man'
   1010 
   1011 ac_prev=
   1012 ac_dashdash=
   1013 for ac_option
   1014 do
   1015   # If the previous option needs an argument, assign it.
   1016   if test -n "$ac_prev"; then
   1017     eval $ac_prev=\$ac_option
   1018     ac_prev=
   1019     continue
   1020   fi
   1021 
   1022   case $ac_option in
   1023   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1024   *)	ac_optarg=yes ;;
   1025   esac
   1026 
   1027   # Accept the important Cygnus configure options, so we can diagnose typos.
   1028 
   1029   case $ac_dashdash$ac_option in
   1030   --)
   1031     ac_dashdash=yes ;;
   1032 
   1033   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1034     ac_prev=bindir ;;
   1035   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1036     bindir=$ac_optarg ;;
   1037 
   1038   -build | --build | --buil | --bui | --bu)
   1039     ac_prev=build_alias ;;
   1040   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1041     build_alias=$ac_optarg ;;
   1042 
   1043   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1044   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1045     ac_prev=cache_file ;;
   1046   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1047   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1048     cache_file=$ac_optarg ;;
   1049 
   1050   --config-cache | -C)
   1051     cache_file=config.cache ;;
   1052 
   1053   -datadir | --datadir | --datadi | --datad)
   1054     ac_prev=datadir ;;
   1055   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1056     datadir=$ac_optarg ;;
   1057 
   1058   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1059   | --dataroo | --dataro | --datar)
   1060     ac_prev=datarootdir ;;
   1061   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1062   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1063     datarootdir=$ac_optarg ;;
   1064 
   1065   -disable-* | --disable-*)
   1066     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1067     # Reject names that are not valid shell variable names.
   1068     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1069       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1070    { (exit 1); exit 1; }; }
   1071     ac_useropt_orig=$ac_useropt
   1072     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1073     case $ac_user_opts in
   1074       *"
   1075 "enable_$ac_useropt"
   1076 "*) ;;
   1077       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1078 	 ac_unrecognized_sep=', ';;
   1079     esac
   1080     eval enable_$ac_useropt=no ;;
   1081 
   1082   -docdir | --docdir | --docdi | --doc | --do)
   1083     ac_prev=docdir ;;
   1084   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1085     docdir=$ac_optarg ;;
   1086 
   1087   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1088     ac_prev=dvidir ;;
   1089   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1090     dvidir=$ac_optarg ;;
   1091 
   1092   -enable-* | --enable-*)
   1093     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1094     # Reject names that are not valid shell variable names.
   1095     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1096       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1097    { (exit 1); exit 1; }; }
   1098     ac_useropt_orig=$ac_useropt
   1099     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1100     case $ac_user_opts in
   1101       *"
   1102 "enable_$ac_useropt"
   1103 "*) ;;
   1104       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1105 	 ac_unrecognized_sep=', ';;
   1106     esac
   1107     eval enable_$ac_useropt=\$ac_optarg ;;
   1108 
   1109   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1110   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1111   | --exec | --exe | --ex)
   1112     ac_prev=exec_prefix ;;
   1113   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1114   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1115   | --exec=* | --exe=* | --ex=*)
   1116     exec_prefix=$ac_optarg ;;
   1117 
   1118   -gas | --gas | --ga | --g)
   1119     # Obsolete; use --with-gas.
   1120     with_gas=yes ;;
   1121 
   1122   -help | --help | --hel | --he | -h)
   1123     ac_init_help=long ;;
   1124   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1125     ac_init_help=recursive ;;
   1126   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1127     ac_init_help=short ;;
   1128 
   1129   -host | --host | --hos | --ho)
   1130     ac_prev=host_alias ;;
   1131   -host=* | --host=* | --hos=* | --ho=*)
   1132     host_alias=$ac_optarg ;;
   1133 
   1134   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1135     ac_prev=htmldir ;;
   1136   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1137   | --ht=*)
   1138     htmldir=$ac_optarg ;;
   1139 
   1140   -includedir | --includedir | --includedi | --included | --include \
   1141   | --includ | --inclu | --incl | --inc)
   1142     ac_prev=includedir ;;
   1143   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1144   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1145     includedir=$ac_optarg ;;
   1146 
   1147   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1148     ac_prev=infodir ;;
   1149   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1150     infodir=$ac_optarg ;;
   1151 
   1152   -libdir | --libdir | --libdi | --libd)
   1153     ac_prev=libdir ;;
   1154   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1155     libdir=$ac_optarg ;;
   1156 
   1157   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1158   | --libexe | --libex | --libe)
   1159     ac_prev=libexecdir ;;
   1160   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1161   | --libexe=* | --libex=* | --libe=*)
   1162     libexecdir=$ac_optarg ;;
   1163 
   1164   -localedir | --localedir | --localedi | --localed | --locale)
   1165     ac_prev=localedir ;;
   1166   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1167     localedir=$ac_optarg ;;
   1168 
   1169   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1170   | --localstate | --localstat | --localsta | --localst | --locals)
   1171     ac_prev=localstatedir ;;
   1172   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1173   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1174     localstatedir=$ac_optarg ;;
   1175 
   1176   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1177     ac_prev=mandir ;;
   1178   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1179     mandir=$ac_optarg ;;
   1180 
   1181   -nfp | --nfp | --nf)
   1182     # Obsolete; use --without-fp.
   1183     with_fp=no ;;
   1184 
   1185   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1186   | --no-cr | --no-c | -n)
   1187     no_create=yes ;;
   1188 
   1189   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1190   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1191     no_recursion=yes ;;
   1192 
   1193   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1194   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1195   | --oldin | --oldi | --old | --ol | --o)
   1196     ac_prev=oldincludedir ;;
   1197   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1198   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1199   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1200     oldincludedir=$ac_optarg ;;
   1201 
   1202   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1203     ac_prev=prefix ;;
   1204   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1205     prefix=$ac_optarg ;;
   1206 
   1207   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1208   | --program-pre | --program-pr | --program-p)
   1209     ac_prev=program_prefix ;;
   1210   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1211   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1212     program_prefix=$ac_optarg ;;
   1213 
   1214   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1215   | --program-suf | --program-su | --program-s)
   1216     ac_prev=program_suffix ;;
   1217   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1218   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1219     program_suffix=$ac_optarg ;;
   1220 
   1221   -program-transform-name | --program-transform-name \
   1222   | --program-transform-nam | --program-transform-na \
   1223   | --program-transform-n | --program-transform- \
   1224   | --program-transform | --program-transfor \
   1225   | --program-transfo | --program-transf \
   1226   | --program-trans | --program-tran \
   1227   | --progr-tra | --program-tr | --program-t)
   1228     ac_prev=program_transform_name ;;
   1229   -program-transform-name=* | --program-transform-name=* \
   1230   | --program-transform-nam=* | --program-transform-na=* \
   1231   | --program-transform-n=* | --program-transform-=* \
   1232   | --program-transform=* | --program-transfor=* \
   1233   | --program-transfo=* | --program-transf=* \
   1234   | --program-trans=* | --program-tran=* \
   1235   | --progr-tra=* | --program-tr=* | --program-t=*)
   1236     program_transform_name=$ac_optarg ;;
   1237 
   1238   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1239     ac_prev=pdfdir ;;
   1240   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1241     pdfdir=$ac_optarg ;;
   1242 
   1243   -psdir | --psdir | --psdi | --psd | --ps)
   1244     ac_prev=psdir ;;
   1245   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1246     psdir=$ac_optarg ;;
   1247 
   1248   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1249   | -silent | --silent | --silen | --sile | --sil)
   1250     silent=yes ;;
   1251 
   1252   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1253     ac_prev=sbindir ;;
   1254   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1255   | --sbi=* | --sb=*)
   1256     sbindir=$ac_optarg ;;
   1257 
   1258   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1259   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1260   | --sharedst | --shareds | --shared | --share | --shar \
   1261   | --sha | --sh)
   1262     ac_prev=sharedstatedir ;;
   1263   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1264   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1265   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1266   | --sha=* | --sh=*)
   1267     sharedstatedir=$ac_optarg ;;
   1268 
   1269   -site | --site | --sit)
   1270     ac_prev=site ;;
   1271   -site=* | --site=* | --sit=*)
   1272     site=$ac_optarg ;;
   1273 
   1274   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1275     ac_prev=srcdir ;;
   1276   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1277     srcdir=$ac_optarg ;;
   1278 
   1279   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1280   | --syscon | --sysco | --sysc | --sys | --sy)
   1281     ac_prev=sysconfdir ;;
   1282   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1283   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1284     sysconfdir=$ac_optarg ;;
   1285 
   1286   -target | --target | --targe | --targ | --tar | --ta | --t)
   1287     ac_prev=target_alias ;;
   1288   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1289     target_alias=$ac_optarg ;;
   1290 
   1291   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1292     verbose=yes ;;
   1293 
   1294   -version | --version | --versio | --versi | --vers | -V)
   1295     ac_init_version=: ;;
   1296 
   1297   -with-* | --with-*)
   1298     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1299     # Reject names that are not valid shell variable names.
   1300     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1301       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1302    { (exit 1); exit 1; }; }
   1303     ac_useropt_orig=$ac_useropt
   1304     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1305     case $ac_user_opts in
   1306       *"
   1307 "with_$ac_useropt"
   1308 "*) ;;
   1309       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1310 	 ac_unrecognized_sep=', ';;
   1311     esac
   1312     eval with_$ac_useropt=\$ac_optarg ;;
   1313 
   1314   -without-* | --without-*)
   1315     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1316     # Reject names that are not valid shell variable names.
   1317     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1318       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1319    { (exit 1); exit 1; }; }
   1320     ac_useropt_orig=$ac_useropt
   1321     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1322     case $ac_user_opts in
   1323       *"
   1324 "with_$ac_useropt"
   1325 "*) ;;
   1326       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1327 	 ac_unrecognized_sep=', ';;
   1328     esac
   1329     eval with_$ac_useropt=no ;;
   1330 
   1331   --x)
   1332     # Obsolete; use --with-x.
   1333     with_x=yes ;;
   1334 
   1335   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1336   | --x-incl | --x-inc | --x-in | --x-i)
   1337     ac_prev=x_includes ;;
   1338   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1339   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1340     x_includes=$ac_optarg ;;
   1341 
   1342   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1343   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1344     ac_prev=x_libraries ;;
   1345   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1346   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1347     x_libraries=$ac_optarg ;;
   1348 
   1349   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1350 Try \`$0 --help' for more information." >&2
   1351    { (exit 1); exit 1; }; }
   1352     ;;
   1353 
   1354   *=*)
   1355     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1356     # Reject names that are not valid shell variable names.
   1357     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1358       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1359    { (exit 1); exit 1; }; }
   1360     eval $ac_envvar=\$ac_optarg
   1361     export $ac_envvar ;;
   1362 
   1363   *)
   1364     # FIXME: should be removed in autoconf 3.0.
   1365     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1366     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1367       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1368     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1369     ;;
   1370 
   1371   esac
   1372 done
   1373 
   1374 if test -n "$ac_prev"; then
   1375   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1376   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1377    { (exit 1); exit 1; }; }
   1378 fi
   1379 
   1380 if test -n "$ac_unrecognized_opts"; then
   1381   case $enable_option_checking in
   1382     no) ;;
   1383     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1384    { (exit 1); exit 1; }; } ;;
   1385     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1386   esac
   1387 fi
   1388 
   1389 # Check all directory arguments for consistency.
   1390 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1391 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1392 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1393 		libdir localedir mandir
   1394 do
   1395   eval ac_val=\$$ac_var
   1396   # Remove trailing slashes.
   1397   case $ac_val in
   1398     */ )
   1399       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1400       eval $ac_var=\$ac_val;;
   1401   esac
   1402   # Be sure to have absolute directory names.
   1403   case $ac_val in
   1404     [\\/$]* | ?:[\\/]* )  continue;;
   1405     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1406   esac
   1407   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1408    { (exit 1); exit 1; }; }
   1409 done
   1410 
   1411 # There might be people who depend on the old broken behavior: `$host'
   1412 # used to hold the argument of --host etc.
   1413 # FIXME: To remove some day.
   1414 build=$build_alias
   1415 host=$host_alias
   1416 target=$target_alias
   1417 
   1418 # FIXME: To remove some day.
   1419 if test "x$host_alias" != x; then
   1420   if test "x$build_alias" = x; then
   1421     cross_compiling=maybe
   1422     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1423     If a cross compiler is detected then cross compile mode will be used." >&2
   1424   elif test "x$build_alias" != "x$host_alias"; then
   1425     cross_compiling=yes
   1426   fi
   1427 fi
   1428 
   1429 ac_tool_prefix=
   1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1431 
   1432 test "$silent" = yes && exec 6>/dev/null
   1433 
   1434 
   1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1436 ac_ls_di=`ls -di .` &&
   1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1438   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1439    { (exit 1); exit 1; }; }
   1440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1441   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1442    { (exit 1); exit 1; }; }
   1443 
   1444 
   1445 # Find the source files, if location was not specified.
   1446 if test -z "$srcdir"; then
   1447   ac_srcdir_defaulted=yes
   1448   # Try the directory containing this script, then the parent directory.
   1449   ac_confdir=`$as_dirname -- "$as_myself" ||
   1450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1451 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1452 	 X"$as_myself" : 'X\(//\)$' \| \
   1453 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1454 $as_echo X"$as_myself" |
   1455     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1456 	    s//\1/
   1457 	    q
   1458 	  }
   1459 	  /^X\(\/\/\)[^/].*/{
   1460 	    s//\1/
   1461 	    q
   1462 	  }
   1463 	  /^X\(\/\/\)$/{
   1464 	    s//\1/
   1465 	    q
   1466 	  }
   1467 	  /^X\(\/\).*/{
   1468 	    s//\1/
   1469 	    q
   1470 	  }
   1471 	  s/.*/./; q'`
   1472   srcdir=$ac_confdir
   1473   if test ! -r "$srcdir/$ac_unique_file"; then
   1474     srcdir=..
   1475   fi
   1476 else
   1477   ac_srcdir_defaulted=no
   1478 fi
   1479 if test ! -r "$srcdir/$ac_unique_file"; then
   1480   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1481   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1482    { (exit 1); exit 1; }; }
   1483 fi
   1484 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1485 ac_abs_confdir=`(
   1486 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1487    { (exit 1); exit 1; }; }
   1488 	pwd)`
   1489 # When building in place, set srcdir=.
   1490 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1491   srcdir=.
   1492 fi
   1493 # Remove unnecessary trailing slashes from srcdir.
   1494 # Double slashes in file names in object file debugging info
   1495 # mess up M-x gdb in Emacs.
   1496 case $srcdir in
   1497 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1498 esac
   1499 for ac_var in $ac_precious_vars; do
   1500   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1501   eval ac_env_${ac_var}_value=\$${ac_var}
   1502   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1503   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1504 done
   1505 
   1506 #
   1507 # Report the --help message.
   1508 #
   1509 if test "$ac_init_help" = "long"; then
   1510   # Omit some internal or obsolete options to make the list less imposing.
   1511   # This message is too long to be a string in the A/UX 3.1 sh.
   1512   cat <<_ACEOF
   1513 \`configure' configures xf86-input-vmmouse 12.7.0 to adapt to many kinds of systems.
   1514 
   1515 Usage: $0 [OPTION]... [VAR=VALUE]...
   1516 
   1517 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1518 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1519 
   1520 Defaults for the options are specified in brackets.
   1521 
   1522 Configuration:
   1523   -h, --help              display this help and exit
   1524       --help=short        display options specific to this package
   1525       --help=recursive    display the short help of all the included packages
   1526   -V, --version           display version information and exit
   1527   -q, --quiet, --silent   do not print \`checking...' messages
   1528       --cache-file=FILE   cache test results in FILE [disabled]
   1529   -C, --config-cache      alias for \`--cache-file=config.cache'
   1530   -n, --no-create         do not create output files
   1531       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1532 
   1533 Installation directories:
   1534   --prefix=PREFIX         install architecture-independent files in PREFIX
   1535                           [$ac_default_prefix]
   1536   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1537                           [PREFIX]
   1538 
   1539 By default, \`make install' will install all the files in
   1540 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1541 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1542 for instance \`--prefix=\$HOME'.
   1543 
   1544 For better control, use the options below.
   1545 
   1546 Fine tuning of the installation directories:
   1547   --bindir=DIR            user executables [EPREFIX/bin]
   1548   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1549   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1550   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1551   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1552   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1553   --libdir=DIR            object code libraries [EPREFIX/lib]
   1554   --includedir=DIR        C header files [PREFIX/include]
   1555   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1556   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1557   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1558   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1559   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1560   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1561   --docdir=DIR            documentation root
   1562                           [DATAROOTDIR/doc/xf86-input-vmmouse]
   1563   --htmldir=DIR           html documentation [DOCDIR]
   1564   --dvidir=DIR            dvi documentation [DOCDIR]
   1565   --pdfdir=DIR            pdf documentation [DOCDIR]
   1566   --psdir=DIR             ps documentation [DOCDIR]
   1567 _ACEOF
   1568 
   1569   cat <<\_ACEOF
   1570 
   1571 Program names:
   1572   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1573   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1574   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1575 
   1576 System types:
   1577   --build=BUILD     configure for building on BUILD [guessed]
   1578   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1579 _ACEOF
   1580 fi
   1581 
   1582 if test -n "$ac_init_help"; then
   1583   case $ac_init_help in
   1584      short | recursive ) echo "Configuration of xf86-input-vmmouse 12.7.0:";;
   1585    esac
   1586   cat <<\_ACEOF
   1587 
   1588 Optional Features:
   1589   --disable-option-checking  ignore unrecognized --enable/--with options
   1590   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1591   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1592   --enable-maintainer-mode  enable make rules and dependencies not useful
   1593 			  (and sometimes confusing) to the casual installer
   1594   --disable-dependency-tracking  speeds up one-time build
   1595   --enable-dependency-tracking   do not reject slow dependency extractors
   1596   --enable-strict-compilation
   1597                           Enable all warnings from compiler and make them
   1598                           errors (default: disabled)
   1599   --enable-static[=PKGS]  build static libraries [default=no]
   1600   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1601   --enable-fast-install[=PKGS]
   1602                           optimize for fast installation [default=yes]
   1603   --disable-libtool-lock  avoid locking (might break parallel builds)
   1604 
   1605 Optional Packages:
   1606   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1607   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1608   --with-pic              try to use only PIC/non-PIC objects [default=use
   1609                           both]
   1610   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1611   --with-xorg-module-dir=DIR
   1612                           Default xorg module directory
   1613                           [default=$libdir/xorg/modules]
   1614   --with-xorg-conf-dir=DIR
   1615                           Default xorg.conf.d directory
   1616                           [default=from], [$PKG_CONFIG], [xorg-server]
   1617   --with-hal-bin-dir=DIR  Directory where HAL binaries where installed
   1618                           [default=$bindir]
   1619   --with-hal-callouts-dir=DIR
   1620                           Directory where HAL expects its callout scripts to
   1621                           be located [default=$libdir/hal]
   1622   --with-hal-fdi-dir=DIR  Directory where HAL expects its fdi files to be
   1623                           located
   1624                           [default=$datadir/hal/fdi/policy/20thirdparty]
   1625   --with-udev-rules-dir=DIR
   1626                           Default udev rules.d directory
   1627                           [default=($prefix)/lib/udev/rules.d], [on], [Linux,], [none], [otherwise]
   1628 
   1629 Some influential environment variables:
   1630   CC          C compiler command
   1631   CFLAGS      C compiler flags
   1632   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1633               nonstandard directory <lib dir>
   1634   LIBS        libraries to pass to the linker, e.g. -l<library>
   1635   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1636               you have headers in a nonstandard directory <include dir>
   1637   CPP         C preprocessor
   1638   PKG_CONFIG  path to pkg-config utility
   1639   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1640   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1641 
   1642 Use these variables to override the choices made by `configure' or to help
   1643 it to find libraries and programs with nonstandard names/locations.
   1644 
   1645 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1646 _ACEOF
   1647 ac_status=$?
   1648 fi
   1649 
   1650 if test "$ac_init_help" = "recursive"; then
   1651   # If there are subdirs, report their specific --help.
   1652   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1653     test -d "$ac_dir" ||
   1654       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1655       continue
   1656     ac_builddir=.
   1657 
   1658 case "$ac_dir" in
   1659 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1660 *)
   1661   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1662   # A ".." for each directory in $ac_dir_suffix.
   1663   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1664   case $ac_top_builddir_sub in
   1665   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1666   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1667   esac ;;
   1668 esac
   1669 ac_abs_top_builddir=$ac_pwd
   1670 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1671 # for backward compatibility:
   1672 ac_top_builddir=$ac_top_build_prefix
   1673 
   1674 case $srcdir in
   1675   .)  # We are building in place.
   1676     ac_srcdir=.
   1677     ac_top_srcdir=$ac_top_builddir_sub
   1678     ac_abs_top_srcdir=$ac_pwd ;;
   1679   [\\/]* | ?:[\\/]* )  # Absolute name.
   1680     ac_srcdir=$srcdir$ac_dir_suffix;
   1681     ac_top_srcdir=$srcdir
   1682     ac_abs_top_srcdir=$srcdir ;;
   1683   *) # Relative name.
   1684     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1685     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1686     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1687 esac
   1688 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1689 
   1690     cd "$ac_dir" || { ac_status=$?; continue; }
   1691     # Check for guested configure.
   1692     if test -f "$ac_srcdir/configure.gnu"; then
   1693       echo &&
   1694       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1695     elif test -f "$ac_srcdir/configure"; then
   1696       echo &&
   1697       $SHELL "$ac_srcdir/configure" --help=recursive
   1698     else
   1699       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1700     fi || ac_status=$?
   1701     cd "$ac_pwd" || { ac_status=$?; break; }
   1702   done
   1703 fi
   1704 
   1705 test -n "$ac_init_help" && exit $ac_status
   1706 if $ac_init_version; then
   1707   cat <<\_ACEOF
   1708 xf86-input-vmmouse configure 12.7.0
   1709 generated by GNU Autoconf 2.63
   1710 
   1711 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1712 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1713 This configure script is free software; the Free Software Foundation
   1714 gives unlimited permission to copy, distribute and modify it.
   1715 _ACEOF
   1716   exit
   1717 fi
   1718 cat >config.log <<_ACEOF
   1719 This file contains any messages produced by compilers while
   1720 running configure, to aid debugging if configure makes a mistake.
   1721 
   1722 It was created by xf86-input-vmmouse $as_me 12.7.0, which was
   1723 generated by GNU Autoconf 2.63.  Invocation command line was
   1724 
   1725   $ $0 $@
   1726 
   1727 _ACEOF
   1728 exec 5>>config.log
   1729 {
   1730 cat <<_ASUNAME
   1731 ## --------- ##
   1732 ## Platform. ##
   1733 ## --------- ##
   1734 
   1735 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1736 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1737 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1738 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1739 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1740 
   1741 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1742 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1743 
   1744 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1745 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1746 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1747 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1748 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1749 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1750 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1751 
   1752 _ASUNAME
   1753 
   1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1755 for as_dir in $PATH
   1756 do
   1757   IFS=$as_save_IFS
   1758   test -z "$as_dir" && as_dir=.
   1759   $as_echo "PATH: $as_dir"
   1760 done
   1761 IFS=$as_save_IFS
   1762 
   1763 } >&5
   1764 
   1765 cat >&5 <<_ACEOF
   1766 
   1767 
   1768 ## ----------- ##
   1769 ## Core tests. ##
   1770 ## ----------- ##
   1771 
   1772 _ACEOF
   1773 
   1774 
   1775 # Keep a trace of the command line.
   1776 # Strip out --no-create and --no-recursion so they do not pile up.
   1777 # Strip out --silent because we don't want to record it for future runs.
   1778 # Also quote any args containing shell meta-characters.
   1779 # Make two passes to allow for proper duplicate-argument suppression.
   1780 ac_configure_args=
   1781 ac_configure_args0=
   1782 ac_configure_args1=
   1783 ac_must_keep_next=false
   1784 for ac_pass in 1 2
   1785 do
   1786   for ac_arg
   1787   do
   1788     case $ac_arg in
   1789     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1790     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1791     | -silent | --silent | --silen | --sile | --sil)
   1792       continue ;;
   1793     *\'*)
   1794       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1795     esac
   1796     case $ac_pass in
   1797     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1798     2)
   1799       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1800       if test $ac_must_keep_next = true; then
   1801 	ac_must_keep_next=false # Got value, back to normal.
   1802       else
   1803 	case $ac_arg in
   1804 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1805 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1806 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1807 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1808 	    case "$ac_configure_args0 " in
   1809 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1810 	    esac
   1811 	    ;;
   1812 	  -* ) ac_must_keep_next=true ;;
   1813 	esac
   1814       fi
   1815       ac_configure_args="$ac_configure_args '$ac_arg'"
   1816       ;;
   1817     esac
   1818   done
   1819 done
   1820 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1821 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1822 
   1823 # When interrupted or exit'd, cleanup temporary files, and complete
   1824 # config.log.  We remove comments because anyway the quotes in there
   1825 # would cause problems or look ugly.
   1826 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1827 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1828 trap 'exit_status=$?
   1829   # Save into config.log some information that might help in debugging.
   1830   {
   1831     echo
   1832 
   1833     cat <<\_ASBOX
   1834 ## ---------------- ##
   1835 ## Cache variables. ##
   1836 ## ---------------- ##
   1837 _ASBOX
   1838     echo
   1839     # The following way of writing the cache mishandles newlines in values,
   1840 (
   1841   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1842     eval ac_val=\$$ac_var
   1843     case $ac_val in #(
   1844     *${as_nl}*)
   1845       case $ac_var in #(
   1846       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1847 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1848       esac
   1849       case $ac_var in #(
   1850       _ | IFS | as_nl) ;; #(
   1851       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1852       *) $as_unset $ac_var ;;
   1853       esac ;;
   1854     esac
   1855   done
   1856   (set) 2>&1 |
   1857     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1858     *${as_nl}ac_space=\ *)
   1859       sed -n \
   1860 	"s/'\''/'\''\\\\'\'''\''/g;
   1861 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1862       ;; #(
   1863     *)
   1864       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1865       ;;
   1866     esac |
   1867     sort
   1868 )
   1869     echo
   1870 
   1871     cat <<\_ASBOX
   1872 ## ----------------- ##
   1873 ## Output variables. ##
   1874 ## ----------------- ##
   1875 _ASBOX
   1876     echo
   1877     for ac_var in $ac_subst_vars
   1878     do
   1879       eval ac_val=\$$ac_var
   1880       case $ac_val in
   1881       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1882       esac
   1883       $as_echo "$ac_var='\''$ac_val'\''"
   1884     done | sort
   1885     echo
   1886 
   1887     if test -n "$ac_subst_files"; then
   1888       cat <<\_ASBOX
   1889 ## ------------------- ##
   1890 ## File substitutions. ##
   1891 ## ------------------- ##
   1892 _ASBOX
   1893       echo
   1894       for ac_var in $ac_subst_files
   1895       do
   1896 	eval ac_val=\$$ac_var
   1897 	case $ac_val in
   1898 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1899 	esac
   1900 	$as_echo "$ac_var='\''$ac_val'\''"
   1901       done | sort
   1902       echo
   1903     fi
   1904 
   1905     if test -s confdefs.h; then
   1906       cat <<\_ASBOX
   1907 ## ----------- ##
   1908 ## confdefs.h. ##
   1909 ## ----------- ##
   1910 _ASBOX
   1911       echo
   1912       cat confdefs.h
   1913       echo
   1914     fi
   1915     test "$ac_signal" != 0 &&
   1916       $as_echo "$as_me: caught signal $ac_signal"
   1917     $as_echo "$as_me: exit $exit_status"
   1918   } >&5
   1919   rm -f core *.core core.conftest.* &&
   1920     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1921     exit $exit_status
   1922 ' 0
   1923 for ac_signal in 1 2 13 15; do
   1924   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1925 done
   1926 ac_signal=0
   1927 
   1928 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1929 rm -f -r conftest* confdefs.h
   1930 
   1931 # Predefined preprocessor variables.
   1932 
   1933 cat >>confdefs.h <<_ACEOF
   1934 #define PACKAGE_NAME "$PACKAGE_NAME"
   1935 _ACEOF
   1936 
   1937 
   1938 cat >>confdefs.h <<_ACEOF
   1939 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1940 _ACEOF
   1941 
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1945 _ACEOF
   1946 
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_STRING "$PACKAGE_STRING"
   1950 _ACEOF
   1951 
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1955 _ACEOF
   1956 
   1957 
   1958 # Let the site file select an alternate cache file if it wants to.
   1959 # Prefer an explicitly selected file to automatically selected ones.
   1960 ac_site_file1=NONE
   1961 ac_site_file2=NONE
   1962 if test -n "$CONFIG_SITE"; then
   1963   ac_site_file1=$CONFIG_SITE
   1964 elif test "x$prefix" != xNONE; then
   1965   ac_site_file1=$prefix/share/config.site
   1966   ac_site_file2=$prefix/etc/config.site
   1967 else
   1968   ac_site_file1=$ac_default_prefix/share/config.site
   1969   ac_site_file2=$ac_default_prefix/etc/config.site
   1970 fi
   1971 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1972 do
   1973   test "x$ac_site_file" = xNONE && continue
   1974   if test -r "$ac_site_file"; then
   1975     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1976 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1977     sed 's/^/| /' "$ac_site_file" >&5
   1978     . "$ac_site_file"
   1979   fi
   1980 done
   1981 
   1982 if test -r "$cache_file"; then
   1983   # Some versions of bash will fail to source /dev/null (special
   1984   # files actually), so we avoid doing that.
   1985   if test -f "$cache_file"; then
   1986     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1987 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1988     case $cache_file in
   1989       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1990       *)                      . "./$cache_file";;
   1991     esac
   1992   fi
   1993 else
   1994   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1995 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1996   >$cache_file
   1997 fi
   1998 
   1999 # Check that the precious variables saved in the cache have kept the same
   2000 # value.
   2001 ac_cache_corrupted=false
   2002 for ac_var in $ac_precious_vars; do
   2003   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2004   eval ac_new_set=\$ac_env_${ac_var}_set
   2005   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2006   eval ac_new_val=\$ac_env_${ac_var}_value
   2007   case $ac_old_set,$ac_new_set in
   2008     set,)
   2009       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2010 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2011       ac_cache_corrupted=: ;;
   2012     ,set)
   2013       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2014 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2015       ac_cache_corrupted=: ;;
   2016     ,);;
   2017     *)
   2018       if test "x$ac_old_val" != "x$ac_new_val"; then
   2019 	# differences in whitespace do not lead to failure.
   2020 	ac_old_val_w=`echo x $ac_old_val`
   2021 	ac_new_val_w=`echo x $ac_new_val`
   2022 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2023 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2024 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2025 	  ac_cache_corrupted=:
   2026 	else
   2027 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2028 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2029 	  eval $ac_var=\$ac_old_val
   2030 	fi
   2031 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2032 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2033 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2034 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2035       fi;;
   2036   esac
   2037   # Pass precious variables to config.status.
   2038   if test "$ac_new_set" = set; then
   2039     case $ac_new_val in
   2040     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2041     *) ac_arg=$ac_var=$ac_new_val ;;
   2042     esac
   2043     case " $ac_configure_args " in
   2044       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2045       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2046     esac
   2047   fi
   2048 done
   2049 if $ac_cache_corrupted; then
   2050   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2052   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2053 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2054   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2055 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2056    { (exit 1); exit 1; }; }
   2057 fi
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 ac_ext=c
   2084 ac_cpp='$CPP $CPPFLAGS'
   2085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2088 
   2089 
   2090 
   2091 
   2092 ac_aux_dir=
   2093 for ac_dir in . "$srcdir"/.; do
   2094   if test -f "$ac_dir/install-sh"; then
   2095     ac_aux_dir=$ac_dir
   2096     ac_install_sh="$ac_aux_dir/install-sh -c"
   2097     break
   2098   elif test -f "$ac_dir/install.sh"; then
   2099     ac_aux_dir=$ac_dir
   2100     ac_install_sh="$ac_aux_dir/install.sh -c"
   2101     break
   2102   elif test -f "$ac_dir/shtool"; then
   2103     ac_aux_dir=$ac_dir
   2104     ac_install_sh="$ac_aux_dir/shtool install -c"
   2105     break
   2106   fi
   2107 done
   2108 if test -z "$ac_aux_dir"; then
   2109   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2110 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2111    { (exit 1); exit 1; }; }
   2112 fi
   2113 
   2114 # These three variables are undocumented and unsupported,
   2115 # and are intended to be withdrawn in a future Autoconf release.
   2116 # They can cause serious problems if a builder's source tree is in a directory
   2117 # whose full name contains unusual characters.
   2118 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2119 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2120 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2121 
   2122 
   2123 am__api_version='1.10'
   2124 
   2125 # Find a good install program.  We prefer a C program (faster),
   2126 # so one script is as good as another.  But avoid the broken or
   2127 # incompatible versions:
   2128 # SysV /etc/install, /usr/sbin/install
   2129 # SunOS /usr/etc/install
   2130 # IRIX /sbin/install
   2131 # AIX /bin/install
   2132 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2133 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2134 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2135 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2136 # OS/2's system install, which has a completely different semantic
   2137 # ./install, which can be erroneously created by make from ./install.sh.
   2138 # Reject install programs that cannot install multiple files.
   2139 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2140 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2141 if test -z "$INSTALL"; then
   2142 if test "${ac_cv_path_install+set}" = set; then
   2143   $as_echo_n "(cached) " >&6
   2144 else
   2145   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2146 for as_dir in $PATH
   2147 do
   2148   IFS=$as_save_IFS
   2149   test -z "$as_dir" && as_dir=.
   2150   # Account for people who put trailing slashes in PATH elements.
   2151 case $as_dir/ in
   2152   ./ | .// | /cC/* | \
   2153   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2154   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2155   /usr/ucb/* ) ;;
   2156   *)
   2157     # OSF1 and SCO ODT 3.0 have their own names for install.
   2158     # Don't use installbsd from OSF since it installs stuff as root
   2159     # by default.
   2160     for ac_prog in ginstall scoinst install; do
   2161       for ac_exec_ext in '' $ac_executable_extensions; do
   2162 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2163 	  if test $ac_prog = install &&
   2164 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2165 	    # AIX install.  It has an incompatible calling convention.
   2166 	    :
   2167 	  elif test $ac_prog = install &&
   2168 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2169 	    # program-specific install script used by HP pwplus--don't use.
   2170 	    :
   2171 	  else
   2172 	    rm -rf conftest.one conftest.two conftest.dir
   2173 	    echo one > conftest.one
   2174 	    echo two > conftest.two
   2175 	    mkdir conftest.dir
   2176 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2177 	      test -s conftest.one && test -s conftest.two &&
   2178 	      test -s conftest.dir/conftest.one &&
   2179 	      test -s conftest.dir/conftest.two
   2180 	    then
   2181 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2182 	      break 3
   2183 	    fi
   2184 	  fi
   2185 	fi
   2186       done
   2187     done
   2188     ;;
   2189 esac
   2190 
   2191 done
   2192 IFS=$as_save_IFS
   2193 
   2194 rm -rf conftest.one conftest.two conftest.dir
   2195 
   2196 fi
   2197   if test "${ac_cv_path_install+set}" = set; then
   2198     INSTALL=$ac_cv_path_install
   2199   else
   2200     # As a last resort, use the slow shell script.  Don't cache a
   2201     # value for INSTALL within a source directory, because that will
   2202     # break other packages using the cache if that directory is
   2203     # removed, or if the value is a relative name.
   2204     INSTALL=$ac_install_sh
   2205   fi
   2206 fi
   2207 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2208 $as_echo "$INSTALL" >&6; }
   2209 
   2210 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2211 # It thinks the first close brace ends the variable substitution.
   2212 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2213 
   2214 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2215 
   2216 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2217 
   2218 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2219 $as_echo_n "checking whether build environment is sane... " >&6; }
   2220 # Just in case
   2221 sleep 1
   2222 echo timestamp > conftest.file
   2223 # Do `set' in a subshell so we don't clobber the current shell's
   2224 # arguments.  Must try -L first in case configure is actually a
   2225 # symlink; some systems play weird games with the mod time of symlinks
   2226 # (eg FreeBSD returns the mod time of the symlink's containing
   2227 # directory).
   2228 if (
   2229    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2230    if test "$*" = "X"; then
   2231       # -L didn't work.
   2232       set X `ls -t $srcdir/configure conftest.file`
   2233    fi
   2234    rm -f conftest.file
   2235    if test "$*" != "X $srcdir/configure conftest.file" \
   2236       && test "$*" != "X conftest.file $srcdir/configure"; then
   2237 
   2238       # If neither matched, then we have a broken ls.  This can happen
   2239       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2240       # broken ls alias from the environment.  This has actually
   2241       # happened.  Such a system could not be considered "sane".
   2242       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2243 alias in your environment" >&5
   2244 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2245 alias in your environment" >&2;}
   2246    { (exit 1); exit 1; }; }
   2247    fi
   2248 
   2249    test "$2" = conftest.file
   2250    )
   2251 then
   2252    # Ok.
   2253    :
   2254 else
   2255    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2256 Check your system clock" >&5
   2257 $as_echo "$as_me: error: newly created file is older than distributed files!
   2258 Check your system clock" >&2;}
   2259    { (exit 1); exit 1; }; }
   2260 fi
   2261 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2262 $as_echo "yes" >&6; }
   2263 test "$program_prefix" != NONE &&
   2264   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2265 # Use a double $ so make ignores it.
   2266 test "$program_suffix" != NONE &&
   2267   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2268 # Double any \ or $.
   2269 # By default was `s,x,x', remove it if useless.
   2270 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2271 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2272 
   2273 # expand $ac_aux_dir to an absolute path
   2274 am_aux_dir=`cd $ac_aux_dir && pwd`
   2275 
   2276 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2277 # Use eval to expand $SHELL
   2278 if eval "$MISSING --run true"; then
   2279   am_missing_run="$MISSING --run "
   2280 else
   2281   am_missing_run=
   2282   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2283 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2284 fi
   2285 
   2286 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2287 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2288 if test -z "$MKDIR_P"; then
   2289   if test "${ac_cv_path_mkdir+set}" = set; then
   2290   $as_echo_n "(cached) " >&6
   2291 else
   2292   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2293 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2294 do
   2295   IFS=$as_save_IFS
   2296   test -z "$as_dir" && as_dir=.
   2297   for ac_prog in mkdir gmkdir; do
   2298 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2299 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2300 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2301 	     'mkdir (GNU coreutils) '* | \
   2302 	     'mkdir (coreutils) '* | \
   2303 	     'mkdir (fileutils) '4.1*)
   2304 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2305 	       break 3;;
   2306 	   esac
   2307 	 done
   2308        done
   2309 done
   2310 IFS=$as_save_IFS
   2311 
   2312 fi
   2313 
   2314   if test "${ac_cv_path_mkdir+set}" = set; then
   2315     MKDIR_P="$ac_cv_path_mkdir -p"
   2316   else
   2317     # As a last resort, use the slow shell script.  Don't cache a
   2318     # value for MKDIR_P within a source directory, because that will
   2319     # break other packages using the cache if that directory is
   2320     # removed, or if the value is a relative name.
   2321     test -d ./--version && rmdir ./--version
   2322     MKDIR_P="$ac_install_sh -d"
   2323   fi
   2324 fi
   2325 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2326 $as_echo "$MKDIR_P" >&6; }
   2327 
   2328 mkdir_p="$MKDIR_P"
   2329 case $mkdir_p in
   2330   [\\/$]* | ?:[\\/]*) ;;
   2331   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2332 esac
   2333 
   2334 for ac_prog in gawk mawk nawk awk
   2335 do
   2336   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2337 set dummy $ac_prog; ac_word=$2
   2338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2339 $as_echo_n "checking for $ac_word... " >&6; }
   2340 if test "${ac_cv_prog_AWK+set}" = set; then
   2341   $as_echo_n "(cached) " >&6
   2342 else
   2343   if test -n "$AWK"; then
   2344   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2345 else
   2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2347 for as_dir in $PATH
   2348 do
   2349   IFS=$as_save_IFS
   2350   test -z "$as_dir" && as_dir=.
   2351   for ac_exec_ext in '' $ac_executable_extensions; do
   2352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2353     ac_cv_prog_AWK="$ac_prog"
   2354     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2355     break 2
   2356   fi
   2357 done
   2358 done
   2359 IFS=$as_save_IFS
   2360 
   2361 fi
   2362 fi
   2363 AWK=$ac_cv_prog_AWK
   2364 if test -n "$AWK"; then
   2365   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2366 $as_echo "$AWK" >&6; }
   2367 else
   2368   { $as_echo "$as_me:$LINENO: result: no" >&5
   2369 $as_echo "no" >&6; }
   2370 fi
   2371 
   2372 
   2373   test -n "$AWK" && break
   2374 done
   2375 
   2376 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2377 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2378 set x ${MAKE-make}
   2379 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2380 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2381   $as_echo_n "(cached) " >&6
   2382 else
   2383   cat >conftest.make <<\_ACEOF
   2384 SHELL = /bin/sh
   2385 all:
   2386 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2387 _ACEOF
   2388 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2389 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2390   *@@@%%%=?*=@@@%%%*)
   2391     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2392   *)
   2393     eval ac_cv_prog_make_${ac_make}_set=no;;
   2394 esac
   2395 rm -f conftest.make
   2396 fi
   2397 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2398   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2399 $as_echo "yes" >&6; }
   2400   SET_MAKE=
   2401 else
   2402   { $as_echo "$as_me:$LINENO: result: no" >&5
   2403 $as_echo "no" >&6; }
   2404   SET_MAKE="MAKE=${MAKE-make}"
   2405 fi
   2406 
   2407 rm -rf .tst 2>/dev/null
   2408 mkdir .tst 2>/dev/null
   2409 if test -d .tst; then
   2410   am__leading_dot=.
   2411 else
   2412   am__leading_dot=_
   2413 fi
   2414 rmdir .tst 2>/dev/null
   2415 
   2416 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2417   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2418   # is not polluted with repeated "-I."
   2419   am__isrc=' -I$(srcdir)'
   2420   # test to see if srcdir already configured
   2421   if test -f $srcdir/config.status; then
   2422     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2423 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2424    { (exit 1); exit 1; }; }
   2425   fi
   2426 fi
   2427 
   2428 # test whether we have cygpath
   2429 if test -z "$CYGPATH_W"; then
   2430   if (cygpath --version) >/dev/null 2>/dev/null; then
   2431     CYGPATH_W='cygpath -w'
   2432   else
   2433     CYGPATH_W=echo
   2434   fi
   2435 fi
   2436 
   2437 
   2438 # Define the identity of the package.
   2439  PACKAGE='xf86-input-vmmouse'
   2440  VERSION='12.7.0'
   2441 
   2442 
   2443 cat >>confdefs.h <<_ACEOF
   2444 #define PACKAGE "$PACKAGE"
   2445 _ACEOF
   2446 
   2447 
   2448 cat >>confdefs.h <<_ACEOF
   2449 #define VERSION "$VERSION"
   2450 _ACEOF
   2451 
   2452 # Some tools Automake needs.
   2453 
   2454 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2455 
   2456 
   2457 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2458 
   2459 
   2460 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2461 
   2462 
   2463 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2464 
   2465 
   2466 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2467 
   2468 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2469 
   2470 # Installed binaries are usually stripped using `strip' when the user
   2471 # run `make install-strip'.  However `strip' might not be the right
   2472 # tool to use in cross-compilation environments, therefore Automake
   2473 # will honor the `STRIP' environment variable to overrule this program.
   2474 if test "$cross_compiling" != no; then
   2475   if test -n "$ac_tool_prefix"; then
   2476   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2477 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2479 $as_echo_n "checking for $ac_word... " >&6; }
   2480 if test "${ac_cv_prog_STRIP+set}" = set; then
   2481   $as_echo_n "(cached) " >&6
   2482 else
   2483   if test -n "$STRIP"; then
   2484   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2485 else
   2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2487 for as_dir in $PATH
   2488 do
   2489   IFS=$as_save_IFS
   2490   test -z "$as_dir" && as_dir=.
   2491   for ac_exec_ext in '' $ac_executable_extensions; do
   2492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2493     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2494     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2495     break 2
   2496   fi
   2497 done
   2498 done
   2499 IFS=$as_save_IFS
   2500 
   2501 fi
   2502 fi
   2503 STRIP=$ac_cv_prog_STRIP
   2504 if test -n "$STRIP"; then
   2505   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2506 $as_echo "$STRIP" >&6; }
   2507 else
   2508   { $as_echo "$as_me:$LINENO: result: no" >&5
   2509 $as_echo "no" >&6; }
   2510 fi
   2511 
   2512 
   2513 fi
   2514 if test -z "$ac_cv_prog_STRIP"; then
   2515   ac_ct_STRIP=$STRIP
   2516   # Extract the first word of "strip", so it can be a program name with args.
   2517 set dummy strip; ac_word=$2
   2518 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2519 $as_echo_n "checking for $ac_word... " >&6; }
   2520 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2521   $as_echo_n "(cached) " >&6
   2522 else
   2523   if test -n "$ac_ct_STRIP"; then
   2524   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2525 else
   2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2527 for as_dir in $PATH
   2528 do
   2529   IFS=$as_save_IFS
   2530   test -z "$as_dir" && as_dir=.
   2531   for ac_exec_ext in '' $ac_executable_extensions; do
   2532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2533     ac_cv_prog_ac_ct_STRIP="strip"
   2534     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2535     break 2
   2536   fi
   2537 done
   2538 done
   2539 IFS=$as_save_IFS
   2540 
   2541 fi
   2542 fi
   2543 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2544 if test -n "$ac_ct_STRIP"; then
   2545   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2546 $as_echo "$ac_ct_STRIP" >&6; }
   2547 else
   2548   { $as_echo "$as_me:$LINENO: result: no" >&5
   2549 $as_echo "no" >&6; }
   2550 fi
   2551 
   2552   if test "x$ac_ct_STRIP" = x; then
   2553     STRIP=":"
   2554   else
   2555     case $cross_compiling:$ac_tool_warned in
   2556 yes:)
   2557 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2559 ac_tool_warned=yes ;;
   2560 esac
   2561     STRIP=$ac_ct_STRIP
   2562   fi
   2563 else
   2564   STRIP="$ac_cv_prog_STRIP"
   2565 fi
   2566 
   2567 fi
   2568 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2569 
   2570 # We need awk for the "check" target.  The system "awk" is bad on
   2571 # some platforms.
   2572 # Always define AMTAR for backward compatibility.
   2573 
   2574 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2575 
   2576 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2577 
   2578 
   2579 
   2580 
   2581 
   2582 
   2583 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2584 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2585     # Check whether --enable-maintainer-mode was given.
   2586 if test "${enable_maintainer_mode+set}" = set; then
   2587   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2588 else
   2589   USE_MAINTAINER_MODE=no
   2590 fi
   2591 
   2592   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2593 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2594    if test $USE_MAINTAINER_MODE = yes; then
   2595   MAINTAINER_MODE_TRUE=
   2596   MAINTAINER_MODE_FALSE='#'
   2597 else
   2598   MAINTAINER_MODE_TRUE='#'
   2599   MAINTAINER_MODE_FALSE=
   2600 fi
   2601 
   2602   MAINT=$MAINTAINER_MODE_TRUE
   2603 
   2604 
   2605 
   2606 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2607 
   2608 
   2609 
   2610 
   2611 
   2612 
   2613 
   2614 
   2615 
   2616 
   2617 
   2618 DEPDIR="${am__leading_dot}deps"
   2619 
   2620 ac_config_commands="$ac_config_commands depfiles"
   2621 
   2622 
   2623 am_make=${MAKE-make}
   2624 cat > confinc << 'END'
   2625 am__doit:
   2626 	@echo done
   2627 .PHONY: am__doit
   2628 END
   2629 # If we don't find an include directive, just comment out the code.
   2630 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2631 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2632 am__include="#"
   2633 am__quote=
   2634 _am_result=none
   2635 # First try GNU make style include.
   2636 echo "include confinc" > confmf
   2637 # We grep out `Entering directory' and `Leaving directory'
   2638 # messages which can occur if `w' ends up in MAKEFLAGS.
   2639 # In particular we don't look at `^make:' because GNU make might
   2640 # be invoked under some other name (usually "gmake"), in which
   2641 # case it prints its new name instead of `make'.
   2642 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2643    am__include=include
   2644    am__quote=
   2645    _am_result=GNU
   2646 fi
   2647 # Now try BSD make style include.
   2648 if test "$am__include" = "#"; then
   2649    echo '.include "confinc"' > confmf
   2650    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2651       am__include=.include
   2652       am__quote="\""
   2653       _am_result=BSD
   2654    fi
   2655 fi
   2656 
   2657 
   2658 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2659 $as_echo "$_am_result" >&6; }
   2660 rm -f confinc confmf
   2661 
   2662 # Check whether --enable-dependency-tracking was given.
   2663 if test "${enable_dependency_tracking+set}" = set; then
   2664   enableval=$enable_dependency_tracking;
   2665 fi
   2666 
   2667 if test "x$enable_dependency_tracking" != xno; then
   2668   am_depcomp="$ac_aux_dir/depcomp"
   2669   AMDEPBACKSLASH='\'
   2670 fi
   2671  if test "x$enable_dependency_tracking" != xno; then
   2672   AMDEP_TRUE=
   2673   AMDEP_FALSE='#'
   2674 else
   2675   AMDEP_TRUE='#'
   2676   AMDEP_FALSE=
   2677 fi
   2678 
   2679 
   2680 ac_ext=c
   2681 ac_cpp='$CPP $CPPFLAGS'
   2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2685 if test -n "$ac_tool_prefix"; then
   2686   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2687 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2688 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2689 $as_echo_n "checking for $ac_word... " >&6; }
   2690 if test "${ac_cv_prog_CC+set}" = set; then
   2691   $as_echo_n "(cached) " >&6
   2692 else
   2693   if test -n "$CC"; then
   2694   ac_cv_prog_CC="$CC" # Let the user override the test.
   2695 else
   2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2697 for as_dir in $PATH
   2698 do
   2699   IFS=$as_save_IFS
   2700   test -z "$as_dir" && as_dir=.
   2701   for ac_exec_ext in '' $ac_executable_extensions; do
   2702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2703     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2704     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2705     break 2
   2706   fi
   2707 done
   2708 done
   2709 IFS=$as_save_IFS
   2710 
   2711 fi
   2712 fi
   2713 CC=$ac_cv_prog_CC
   2714 if test -n "$CC"; then
   2715   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2716 $as_echo "$CC" >&6; }
   2717 else
   2718   { $as_echo "$as_me:$LINENO: result: no" >&5
   2719 $as_echo "no" >&6; }
   2720 fi
   2721 
   2722 
   2723 fi
   2724 if test -z "$ac_cv_prog_CC"; then
   2725   ac_ct_CC=$CC
   2726   # Extract the first word of "gcc", so it can be a program name with args.
   2727 set dummy gcc; ac_word=$2
   2728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2729 $as_echo_n "checking for $ac_word... " >&6; }
   2730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2731   $as_echo_n "(cached) " >&6
   2732 else
   2733   if test -n "$ac_ct_CC"; then
   2734   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2735 else
   2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2737 for as_dir in $PATH
   2738 do
   2739   IFS=$as_save_IFS
   2740   test -z "$as_dir" && as_dir=.
   2741   for ac_exec_ext in '' $ac_executable_extensions; do
   2742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2743     ac_cv_prog_ac_ct_CC="gcc"
   2744     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2745     break 2
   2746   fi
   2747 done
   2748 done
   2749 IFS=$as_save_IFS
   2750 
   2751 fi
   2752 fi
   2753 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2754 if test -n "$ac_ct_CC"; then
   2755   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2756 $as_echo "$ac_ct_CC" >&6; }
   2757 else
   2758   { $as_echo "$as_me:$LINENO: result: no" >&5
   2759 $as_echo "no" >&6; }
   2760 fi
   2761 
   2762   if test "x$ac_ct_CC" = x; then
   2763     CC=""
   2764   else
   2765     case $cross_compiling:$ac_tool_warned in
   2766 yes:)
   2767 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2769 ac_tool_warned=yes ;;
   2770 esac
   2771     CC=$ac_ct_CC
   2772   fi
   2773 else
   2774   CC="$ac_cv_prog_CC"
   2775 fi
   2776 
   2777 if test -z "$CC"; then
   2778           if test -n "$ac_tool_prefix"; then
   2779     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2780 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2781 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2782 $as_echo_n "checking for $ac_word... " >&6; }
   2783 if test "${ac_cv_prog_CC+set}" = set; then
   2784   $as_echo_n "(cached) " >&6
   2785 else
   2786   if test -n "$CC"; then
   2787   ac_cv_prog_CC="$CC" # Let the user override the test.
   2788 else
   2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2790 for as_dir in $PATH
   2791 do
   2792   IFS=$as_save_IFS
   2793   test -z "$as_dir" && as_dir=.
   2794   for ac_exec_ext in '' $ac_executable_extensions; do
   2795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2796     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2797     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2798     break 2
   2799   fi
   2800 done
   2801 done
   2802 IFS=$as_save_IFS
   2803 
   2804 fi
   2805 fi
   2806 CC=$ac_cv_prog_CC
   2807 if test -n "$CC"; then
   2808   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2809 $as_echo "$CC" >&6; }
   2810 else
   2811   { $as_echo "$as_me:$LINENO: result: no" >&5
   2812 $as_echo "no" >&6; }
   2813 fi
   2814 
   2815 
   2816   fi
   2817 fi
   2818 if test -z "$CC"; then
   2819   # Extract the first word of "cc", so it can be a program name with args.
   2820 set dummy cc; ac_word=$2
   2821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2822 $as_echo_n "checking for $ac_word... " >&6; }
   2823 if test "${ac_cv_prog_CC+set}" = set; then
   2824   $as_echo_n "(cached) " >&6
   2825 else
   2826   if test -n "$CC"; then
   2827   ac_cv_prog_CC="$CC" # Let the user override the test.
   2828 else
   2829   ac_prog_rejected=no
   2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2831 for as_dir in $PATH
   2832 do
   2833   IFS=$as_save_IFS
   2834   test -z "$as_dir" && as_dir=.
   2835   for ac_exec_ext in '' $ac_executable_extensions; do
   2836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2837     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2838        ac_prog_rejected=yes
   2839        continue
   2840      fi
   2841     ac_cv_prog_CC="cc"
   2842     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2843     break 2
   2844   fi
   2845 done
   2846 done
   2847 IFS=$as_save_IFS
   2848 
   2849 if test $ac_prog_rejected = yes; then
   2850   # We found a bogon in the path, so make sure we never use it.
   2851   set dummy $ac_cv_prog_CC
   2852   shift
   2853   if test $# != 0; then
   2854     # We chose a different compiler from the bogus one.
   2855     # However, it has the same basename, so the bogon will be chosen
   2856     # first if we set CC to just the basename; use the full file name.
   2857     shift
   2858     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2859   fi
   2860 fi
   2861 fi
   2862 fi
   2863 CC=$ac_cv_prog_CC
   2864 if test -n "$CC"; then
   2865   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2866 $as_echo "$CC" >&6; }
   2867 else
   2868   { $as_echo "$as_me:$LINENO: result: no" >&5
   2869 $as_echo "no" >&6; }
   2870 fi
   2871 
   2872 
   2873 fi
   2874 if test -z "$CC"; then
   2875   if test -n "$ac_tool_prefix"; then
   2876   for ac_prog in cl.exe
   2877   do
   2878     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2881 $as_echo_n "checking for $ac_word... " >&6; }
   2882 if test "${ac_cv_prog_CC+set}" = set; then
   2883   $as_echo_n "(cached) " >&6
   2884 else
   2885   if test -n "$CC"; then
   2886   ac_cv_prog_CC="$CC" # Let the user override the test.
   2887 else
   2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2889 for as_dir in $PATH
   2890 do
   2891   IFS=$as_save_IFS
   2892   test -z "$as_dir" && as_dir=.
   2893   for ac_exec_ext in '' $ac_executable_extensions; do
   2894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2895     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2896     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2897     break 2
   2898   fi
   2899 done
   2900 done
   2901 IFS=$as_save_IFS
   2902 
   2903 fi
   2904 fi
   2905 CC=$ac_cv_prog_CC
   2906 if test -n "$CC"; then
   2907   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2908 $as_echo "$CC" >&6; }
   2909 else
   2910   { $as_echo "$as_me:$LINENO: result: no" >&5
   2911 $as_echo "no" >&6; }
   2912 fi
   2913 
   2914 
   2915     test -n "$CC" && break
   2916   done
   2917 fi
   2918 if test -z "$CC"; then
   2919   ac_ct_CC=$CC
   2920   for ac_prog in cl.exe
   2921 do
   2922   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2923 set dummy $ac_prog; ac_word=$2
   2924 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2925 $as_echo_n "checking for $ac_word... " >&6; }
   2926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2927   $as_echo_n "(cached) " >&6
   2928 else
   2929   if test -n "$ac_ct_CC"; then
   2930   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2931 else
   2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2933 for as_dir in $PATH
   2934 do
   2935   IFS=$as_save_IFS
   2936   test -z "$as_dir" && as_dir=.
   2937   for ac_exec_ext in '' $ac_executable_extensions; do
   2938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2939     ac_cv_prog_ac_ct_CC="$ac_prog"
   2940     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2941     break 2
   2942   fi
   2943 done
   2944 done
   2945 IFS=$as_save_IFS
   2946 
   2947 fi
   2948 fi
   2949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2950 if test -n "$ac_ct_CC"; then
   2951   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2952 $as_echo "$ac_ct_CC" >&6; }
   2953 else
   2954   { $as_echo "$as_me:$LINENO: result: no" >&5
   2955 $as_echo "no" >&6; }
   2956 fi
   2957 
   2958 
   2959   test -n "$ac_ct_CC" && break
   2960 done
   2961 
   2962   if test "x$ac_ct_CC" = x; then
   2963     CC=""
   2964   else
   2965     case $cross_compiling:$ac_tool_warned in
   2966 yes:)
   2967 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2969 ac_tool_warned=yes ;;
   2970 esac
   2971     CC=$ac_ct_CC
   2972   fi
   2973 fi
   2974 
   2975 fi
   2976 
   2977 
   2978 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2980 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2981 See \`config.log' for more details." >&5
   2982 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2983 See \`config.log' for more details." >&2;}
   2984    { (exit 1); exit 1; }; }; }
   2985 
   2986 # Provide some information about the compiler.
   2987 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2988 set X $ac_compile
   2989 ac_compiler=$2
   2990 { (ac_try="$ac_compiler --version >&5"
   2991 case "(($ac_try" in
   2992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2993   *) ac_try_echo=$ac_try;;
   2994 esac
   2995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2996 $as_echo "$ac_try_echo") >&5
   2997   (eval "$ac_compiler --version >&5") 2>&5
   2998   ac_status=$?
   2999   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3000   (exit $ac_status); }
   3001 { (ac_try="$ac_compiler -v >&5"
   3002 case "(($ac_try" in
   3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3004   *) ac_try_echo=$ac_try;;
   3005 esac
   3006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3007 $as_echo "$ac_try_echo") >&5
   3008   (eval "$ac_compiler -v >&5") 2>&5
   3009   ac_status=$?
   3010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3011   (exit $ac_status); }
   3012 { (ac_try="$ac_compiler -V >&5"
   3013 case "(($ac_try" in
   3014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3015   *) ac_try_echo=$ac_try;;
   3016 esac
   3017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3018 $as_echo "$ac_try_echo") >&5
   3019   (eval "$ac_compiler -V >&5") 2>&5
   3020   ac_status=$?
   3021   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3022   (exit $ac_status); }
   3023 
   3024 cat >conftest.$ac_ext <<_ACEOF
   3025 /* confdefs.h.  */
   3026 _ACEOF
   3027 cat confdefs.h >>conftest.$ac_ext
   3028 cat >>conftest.$ac_ext <<_ACEOF
   3029 /* end confdefs.h.  */
   3030 
   3031 int
   3032 main ()
   3033 {
   3034 
   3035   ;
   3036   return 0;
   3037 }
   3038 _ACEOF
   3039 ac_clean_files_save=$ac_clean_files
   3040 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3041 # Try to create an executable without -o first, disregard a.out.
   3042 # It will help us diagnose broken compilers, and finding out an intuition
   3043 # of exeext.
   3044 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3045 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3046 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3047 
   3048 # The possible output files:
   3049 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3050 
   3051 ac_rmfiles=
   3052 for ac_file in $ac_files
   3053 do
   3054   case $ac_file in
   3055     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3056     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3057   esac
   3058 done
   3059 rm -f $ac_rmfiles
   3060 
   3061 if { (ac_try="$ac_link_default"
   3062 case "(($ac_try" in
   3063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3064   *) ac_try_echo=$ac_try;;
   3065 esac
   3066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3067 $as_echo "$ac_try_echo") >&5
   3068   (eval "$ac_link_default") 2>&5
   3069   ac_status=$?
   3070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3071   (exit $ac_status); }; then
   3072   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3073 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3074 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3075 # so that the user can short-circuit this test for compilers unknown to
   3076 # Autoconf.
   3077 for ac_file in $ac_files ''
   3078 do
   3079   test -f "$ac_file" || continue
   3080   case $ac_file in
   3081     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3082 	;;
   3083     [ab].out )
   3084 	# We found the default executable, but exeext='' is most
   3085 	# certainly right.
   3086 	break;;
   3087     *.* )
   3088         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3089 	then :; else
   3090 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3091 	fi
   3092 	# We set ac_cv_exeext here because the later test for it is not
   3093 	# safe: cross compilers may not add the suffix if given an `-o'
   3094 	# argument, so we may need to know it at that point already.
   3095 	# Even if this section looks crufty: it has the advantage of
   3096 	# actually working.
   3097 	break;;
   3098     * )
   3099 	break;;
   3100   esac
   3101 done
   3102 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3103 
   3104 else
   3105   ac_file=''
   3106 fi
   3107 
   3108 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3109 $as_echo "$ac_file" >&6; }
   3110 if test -z "$ac_file"; then
   3111   $as_echo "$as_me: failed program was:" >&5
   3112 sed 's/^/| /' conftest.$ac_ext >&5
   3113 
   3114 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3116 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3117 See \`config.log' for more details." >&5
   3118 $as_echo "$as_me: error: C compiler cannot create executables
   3119 See \`config.log' for more details." >&2;}
   3120    { (exit 77); exit 77; }; }; }
   3121 fi
   3122 
   3123 ac_exeext=$ac_cv_exeext
   3124 
   3125 # Check that the compiler produces executables we can run.  If not, either
   3126 # the compiler is broken, or we cross compile.
   3127 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3128 $as_echo_n "checking whether the C compiler works... " >&6; }
   3129 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3130 # If not cross compiling, check that we can run a simple program.
   3131 if test "$cross_compiling" != yes; then
   3132   if { ac_try='./$ac_file'
   3133   { (case "(($ac_try" in
   3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3135   *) ac_try_echo=$ac_try;;
   3136 esac
   3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3138 $as_echo "$ac_try_echo") >&5
   3139   (eval "$ac_try") 2>&5
   3140   ac_status=$?
   3141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142   (exit $ac_status); }; }; then
   3143     cross_compiling=no
   3144   else
   3145     if test "$cross_compiling" = maybe; then
   3146 	cross_compiling=yes
   3147     else
   3148 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3150 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3151 If you meant to cross compile, use \`--host'.
   3152 See \`config.log' for more details." >&5
   3153 $as_echo "$as_me: error: cannot run C compiled programs.
   3154 If you meant to cross compile, use \`--host'.
   3155 See \`config.log' for more details." >&2;}
   3156    { (exit 1); exit 1; }; }; }
   3157     fi
   3158   fi
   3159 fi
   3160 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3161 $as_echo "yes" >&6; }
   3162 
   3163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3164 ac_clean_files=$ac_clean_files_save
   3165 # Check that the compiler produces executables we can run.  If not, either
   3166 # the compiler is broken, or we cross compile.
   3167 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3168 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3169 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3170 $as_echo "$cross_compiling" >&6; }
   3171 
   3172 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3173 $as_echo_n "checking for suffix of executables... " >&6; }
   3174 if { (ac_try="$ac_link"
   3175 case "(($ac_try" in
   3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3177   *) ac_try_echo=$ac_try;;
   3178 esac
   3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3180 $as_echo "$ac_try_echo") >&5
   3181   (eval "$ac_link") 2>&5
   3182   ac_status=$?
   3183   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3184   (exit $ac_status); }; then
   3185   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3186 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3187 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3188 # `rm'.
   3189 for ac_file in conftest.exe conftest conftest.*; do
   3190   test -f "$ac_file" || continue
   3191   case $ac_file in
   3192     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3193     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3194 	  break;;
   3195     * ) break;;
   3196   esac
   3197 done
   3198 else
   3199   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3201 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3202 See \`config.log' for more details." >&5
   3203 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3204 See \`config.log' for more details." >&2;}
   3205    { (exit 1); exit 1; }; }; }
   3206 fi
   3207 
   3208 rm -f conftest$ac_cv_exeext
   3209 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3210 $as_echo "$ac_cv_exeext" >&6; }
   3211 
   3212 rm -f conftest.$ac_ext
   3213 EXEEXT=$ac_cv_exeext
   3214 ac_exeext=$EXEEXT
   3215 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3216 $as_echo_n "checking for suffix of object files... " >&6; }
   3217 if test "${ac_cv_objext+set}" = set; then
   3218   $as_echo_n "(cached) " >&6
   3219 else
   3220   cat >conftest.$ac_ext <<_ACEOF
   3221 /* confdefs.h.  */
   3222 _ACEOF
   3223 cat confdefs.h >>conftest.$ac_ext
   3224 cat >>conftest.$ac_ext <<_ACEOF
   3225 /* end confdefs.h.  */
   3226 
   3227 int
   3228 main ()
   3229 {
   3230 
   3231   ;
   3232   return 0;
   3233 }
   3234 _ACEOF
   3235 rm -f conftest.o conftest.obj
   3236 if { (ac_try="$ac_compile"
   3237 case "(($ac_try" in
   3238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3239   *) ac_try_echo=$ac_try;;
   3240 esac
   3241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3242 $as_echo "$ac_try_echo") >&5
   3243   (eval "$ac_compile") 2>&5
   3244   ac_status=$?
   3245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3246   (exit $ac_status); }; then
   3247   for ac_file in conftest.o conftest.obj conftest.*; do
   3248   test -f "$ac_file" || continue;
   3249   case $ac_file in
   3250     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3251     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3252        break;;
   3253   esac
   3254 done
   3255 else
   3256   $as_echo "$as_me: failed program was:" >&5
   3257 sed 's/^/| /' conftest.$ac_ext >&5
   3258 
   3259 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3261 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3262 See \`config.log' for more details." >&5
   3263 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3264 See \`config.log' for more details." >&2;}
   3265    { (exit 1); exit 1; }; }; }
   3266 fi
   3267 
   3268 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3269 fi
   3270 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3271 $as_echo "$ac_cv_objext" >&6; }
   3272 OBJEXT=$ac_cv_objext
   3273 ac_objext=$OBJEXT
   3274 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3275 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3276 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3277   $as_echo_n "(cached) " >&6
   3278 else
   3279   cat >conftest.$ac_ext <<_ACEOF
   3280 /* confdefs.h.  */
   3281 _ACEOF
   3282 cat confdefs.h >>conftest.$ac_ext
   3283 cat >>conftest.$ac_ext <<_ACEOF
   3284 /* end confdefs.h.  */
   3285 
   3286 int
   3287 main ()
   3288 {
   3289 #ifndef __GNUC__
   3290        choke me
   3291 #endif
   3292 
   3293   ;
   3294   return 0;
   3295 }
   3296 _ACEOF
   3297 rm -f conftest.$ac_objext
   3298 if { (ac_try="$ac_compile"
   3299 case "(($ac_try" in
   3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3301   *) ac_try_echo=$ac_try;;
   3302 esac
   3303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3304 $as_echo "$ac_try_echo") >&5
   3305   (eval "$ac_compile") 2>conftest.er1
   3306   ac_status=$?
   3307   grep -v '^ *+' conftest.er1 >conftest.err
   3308   rm -f conftest.er1
   3309   cat conftest.err >&5
   3310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3311   (exit $ac_status); } && {
   3312 	 test -z "$ac_c_werror_flag" ||
   3313 	 test ! -s conftest.err
   3314        } && test -s conftest.$ac_objext; then
   3315   ac_compiler_gnu=yes
   3316 else
   3317   $as_echo "$as_me: failed program was:" >&5
   3318 sed 's/^/| /' conftest.$ac_ext >&5
   3319 
   3320 	ac_compiler_gnu=no
   3321 fi
   3322 
   3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3325 
   3326 fi
   3327 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3329 if test $ac_compiler_gnu = yes; then
   3330   GCC=yes
   3331 else
   3332   GCC=
   3333 fi
   3334 ac_test_CFLAGS=${CFLAGS+set}
   3335 ac_save_CFLAGS=$CFLAGS
   3336 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3338 if test "${ac_cv_prog_cc_g+set}" = set; then
   3339   $as_echo_n "(cached) " >&6
   3340 else
   3341   ac_save_c_werror_flag=$ac_c_werror_flag
   3342    ac_c_werror_flag=yes
   3343    ac_cv_prog_cc_g=no
   3344    CFLAGS="-g"
   3345    cat >conftest.$ac_ext <<_ACEOF
   3346 /* confdefs.h.  */
   3347 _ACEOF
   3348 cat confdefs.h >>conftest.$ac_ext
   3349 cat >>conftest.$ac_ext <<_ACEOF
   3350 /* end confdefs.h.  */
   3351 
   3352 int
   3353 main ()
   3354 {
   3355 
   3356   ;
   3357   return 0;
   3358 }
   3359 _ACEOF
   3360 rm -f conftest.$ac_objext
   3361 if { (ac_try="$ac_compile"
   3362 case "(($ac_try" in
   3363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3364   *) ac_try_echo=$ac_try;;
   3365 esac
   3366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3367 $as_echo "$ac_try_echo") >&5
   3368   (eval "$ac_compile") 2>conftest.er1
   3369   ac_status=$?
   3370   grep -v '^ *+' conftest.er1 >conftest.err
   3371   rm -f conftest.er1
   3372   cat conftest.err >&5
   3373   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3374   (exit $ac_status); } && {
   3375 	 test -z "$ac_c_werror_flag" ||
   3376 	 test ! -s conftest.err
   3377        } && test -s conftest.$ac_objext; then
   3378   ac_cv_prog_cc_g=yes
   3379 else
   3380   $as_echo "$as_me: failed program was:" >&5
   3381 sed 's/^/| /' conftest.$ac_ext >&5
   3382 
   3383 	CFLAGS=""
   3384       cat >conftest.$ac_ext <<_ACEOF
   3385 /* confdefs.h.  */
   3386 _ACEOF
   3387 cat confdefs.h >>conftest.$ac_ext
   3388 cat >>conftest.$ac_ext <<_ACEOF
   3389 /* end confdefs.h.  */
   3390 
   3391 int
   3392 main ()
   3393 {
   3394 
   3395   ;
   3396   return 0;
   3397 }
   3398 _ACEOF
   3399 rm -f conftest.$ac_objext
   3400 if { (ac_try="$ac_compile"
   3401 case "(($ac_try" in
   3402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3403   *) ac_try_echo=$ac_try;;
   3404 esac
   3405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3406 $as_echo "$ac_try_echo") >&5
   3407   (eval "$ac_compile") 2>conftest.er1
   3408   ac_status=$?
   3409   grep -v '^ *+' conftest.er1 >conftest.err
   3410   rm -f conftest.er1
   3411   cat conftest.err >&5
   3412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3413   (exit $ac_status); } && {
   3414 	 test -z "$ac_c_werror_flag" ||
   3415 	 test ! -s conftest.err
   3416        } && test -s conftest.$ac_objext; then
   3417   :
   3418 else
   3419   $as_echo "$as_me: failed program was:" >&5
   3420 sed 's/^/| /' conftest.$ac_ext >&5
   3421 
   3422 	ac_c_werror_flag=$ac_save_c_werror_flag
   3423 	 CFLAGS="-g"
   3424 	 cat >conftest.$ac_ext <<_ACEOF
   3425 /* confdefs.h.  */
   3426 _ACEOF
   3427 cat confdefs.h >>conftest.$ac_ext
   3428 cat >>conftest.$ac_ext <<_ACEOF
   3429 /* end confdefs.h.  */
   3430 
   3431 int
   3432 main ()
   3433 {
   3434 
   3435   ;
   3436   return 0;
   3437 }
   3438 _ACEOF
   3439 rm -f conftest.$ac_objext
   3440 if { (ac_try="$ac_compile"
   3441 case "(($ac_try" in
   3442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3443   *) ac_try_echo=$ac_try;;
   3444 esac
   3445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3446 $as_echo "$ac_try_echo") >&5
   3447   (eval "$ac_compile") 2>conftest.er1
   3448   ac_status=$?
   3449   grep -v '^ *+' conftest.er1 >conftest.err
   3450   rm -f conftest.er1
   3451   cat conftest.err >&5
   3452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3453   (exit $ac_status); } && {
   3454 	 test -z "$ac_c_werror_flag" ||
   3455 	 test ! -s conftest.err
   3456        } && test -s conftest.$ac_objext; then
   3457   ac_cv_prog_cc_g=yes
   3458 else
   3459   $as_echo "$as_me: failed program was:" >&5
   3460 sed 's/^/| /' conftest.$ac_ext >&5
   3461 
   3462 
   3463 fi
   3464 
   3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3466 fi
   3467 
   3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3469 fi
   3470 
   3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3472    ac_c_werror_flag=$ac_save_c_werror_flag
   3473 fi
   3474 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3475 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3476 if test "$ac_test_CFLAGS" = set; then
   3477   CFLAGS=$ac_save_CFLAGS
   3478 elif test $ac_cv_prog_cc_g = yes; then
   3479   if test "$GCC" = yes; then
   3480     CFLAGS="-g -O2"
   3481   else
   3482     CFLAGS="-g"
   3483   fi
   3484 else
   3485   if test "$GCC" = yes; then
   3486     CFLAGS="-O2"
   3487   else
   3488     CFLAGS=
   3489   fi
   3490 fi
   3491 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3492 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3493 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3494   $as_echo_n "(cached) " >&6
   3495 else
   3496   ac_cv_prog_cc_c89=no
   3497 ac_save_CC=$CC
   3498 cat >conftest.$ac_ext <<_ACEOF
   3499 /* confdefs.h.  */
   3500 _ACEOF
   3501 cat confdefs.h >>conftest.$ac_ext
   3502 cat >>conftest.$ac_ext <<_ACEOF
   3503 /* end confdefs.h.  */
   3504 #include <stdarg.h>
   3505 #include <stdio.h>
   3506 #include <sys/types.h>
   3507 #include <sys/stat.h>
   3508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3509 struct buf { int x; };
   3510 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3511 static char *e (p, i)
   3512      char **p;
   3513      int i;
   3514 {
   3515   return p[i];
   3516 }
   3517 static char *f (char * (*g) (char **, int), char **p, ...)
   3518 {
   3519   char *s;
   3520   va_list v;
   3521   va_start (v,p);
   3522   s = g (p, va_arg (v,int));
   3523   va_end (v);
   3524   return s;
   3525 }
   3526 
   3527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3528    function prototypes and stuff, but not '\xHH' hex character constants.
   3529    These don't provoke an error unfortunately, instead are silently treated
   3530    as 'x'.  The following induces an error, until -std is added to get
   3531    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3532    array size at least.  It's necessary to write '\x00'==0 to get something
   3533    that's true only with -std.  */
   3534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3535 
   3536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3537    inside strings and character constants.  */
   3538 #define FOO(x) 'x'
   3539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3540 
   3541 int test (int i, double x);
   3542 struct s1 {int (*f) (int a);};
   3543 struct s2 {int (*f) (double a);};
   3544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3545 int argc;
   3546 char **argv;
   3547 int
   3548 main ()
   3549 {
   3550 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3551   ;
   3552   return 0;
   3553 }
   3554 _ACEOF
   3555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3556 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3557 do
   3558   CC="$ac_save_CC $ac_arg"
   3559   rm -f conftest.$ac_objext
   3560 if { (ac_try="$ac_compile"
   3561 case "(($ac_try" in
   3562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3563   *) ac_try_echo=$ac_try;;
   3564 esac
   3565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3566 $as_echo "$ac_try_echo") >&5
   3567   (eval "$ac_compile") 2>conftest.er1
   3568   ac_status=$?
   3569   grep -v '^ *+' conftest.er1 >conftest.err
   3570   rm -f conftest.er1
   3571   cat conftest.err >&5
   3572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3573   (exit $ac_status); } && {
   3574 	 test -z "$ac_c_werror_flag" ||
   3575 	 test ! -s conftest.err
   3576        } && test -s conftest.$ac_objext; then
   3577   ac_cv_prog_cc_c89=$ac_arg
   3578 else
   3579   $as_echo "$as_me: failed program was:" >&5
   3580 sed 's/^/| /' conftest.$ac_ext >&5
   3581 
   3582 
   3583 fi
   3584 
   3585 rm -f core conftest.err conftest.$ac_objext
   3586   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3587 done
   3588 rm -f conftest.$ac_ext
   3589 CC=$ac_save_CC
   3590 
   3591 fi
   3592 # AC_CACHE_VAL
   3593 case "x$ac_cv_prog_cc_c89" in
   3594   x)
   3595     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3596 $as_echo "none needed" >&6; } ;;
   3597   xno)
   3598     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3599 $as_echo "unsupported" >&6; } ;;
   3600   *)
   3601     CC="$CC $ac_cv_prog_cc_c89"
   3602     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3603 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3604 esac
   3605 
   3606 
   3607 ac_ext=c
   3608 ac_cpp='$CPP $CPPFLAGS'
   3609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3612 
   3613 depcc="$CC"   am_compiler_list=
   3614 
   3615 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3616 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3617 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3618   $as_echo_n "(cached) " >&6
   3619 else
   3620   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3621   # We make a subdir and do the tests there.  Otherwise we can end up
   3622   # making bogus files that we don't know about and never remove.  For
   3623   # instance it was reported that on HP-UX the gcc test will end up
   3624   # making a dummy file named `D' -- because `-MD' means `put the output
   3625   # in D'.
   3626   mkdir conftest.dir
   3627   # Copy depcomp to subdir because otherwise we won't find it if we're
   3628   # using a relative directory.
   3629   cp "$am_depcomp" conftest.dir
   3630   cd conftest.dir
   3631   # We will build objects and dependencies in a subdirectory because
   3632   # it helps to detect inapplicable dependency modes.  For instance
   3633   # both Tru64's cc and ICC support -MD to output dependencies as a
   3634   # side effect of compilation, but ICC will put the dependencies in
   3635   # the current directory while Tru64 will put them in the object
   3636   # directory.
   3637   mkdir sub
   3638 
   3639   am_cv_CC_dependencies_compiler_type=none
   3640   if test "$am_compiler_list" = ""; then
   3641      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3642   fi
   3643   for depmode in $am_compiler_list; do
   3644     # Setup a source with many dependencies, because some compilers
   3645     # like to wrap large dependency lists on column 80 (with \), and
   3646     # we should not choose a depcomp mode which is confused by this.
   3647     #
   3648     # We need to recreate these files for each test, as the compiler may
   3649     # overwrite some of them when testing with obscure command lines.
   3650     # This happens at least with the AIX C compiler.
   3651     : > sub/conftest.c
   3652     for i in 1 2 3 4 5 6; do
   3653       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3654       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3655       # Solaris 8's {/usr,}/bin/sh.
   3656       touch sub/conftst$i.h
   3657     done
   3658     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3659 
   3660     case $depmode in
   3661     nosideeffect)
   3662       # after this tag, mechanisms are not by side-effect, so they'll
   3663       # only be used when explicitly requested
   3664       if test "x$enable_dependency_tracking" = xyes; then
   3665 	continue
   3666       else
   3667 	break
   3668       fi
   3669       ;;
   3670     none) break ;;
   3671     esac
   3672     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3673     # mode.  It turns out that the SunPro C++ compiler does not properly
   3674     # handle `-M -o', and we need to detect this.
   3675     if depmode=$depmode \
   3676        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3677        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3678        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3679          >/dev/null 2>conftest.err &&
   3680        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3681        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3682        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3683        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3684       # icc doesn't choke on unknown options, it will just issue warnings
   3685       # or remarks (even with -Werror).  So we grep stderr for any message
   3686       # that says an option was ignored or not supported.
   3687       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3688       #   icc: Command line warning: ignoring option '-M'; no argument required
   3689       # The diagnosis changed in icc 8.0:
   3690       #   icc: Command line remark: option '-MP' not supported
   3691       if (grep 'ignoring option' conftest.err ||
   3692           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3693         am_cv_CC_dependencies_compiler_type=$depmode
   3694         break
   3695       fi
   3696     fi
   3697   done
   3698 
   3699   cd ..
   3700   rm -rf conftest.dir
   3701 else
   3702   am_cv_CC_dependencies_compiler_type=none
   3703 fi
   3704 
   3705 fi
   3706 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3707 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3708 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3709 
   3710  if
   3711   test "x$enable_dependency_tracking" != xno \
   3712   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3713   am__fastdepCC_TRUE=
   3714   am__fastdepCC_FALSE='#'
   3715 else
   3716   am__fastdepCC_TRUE='#'
   3717   am__fastdepCC_FALSE=
   3718 fi
   3719 
   3720 
   3721    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   3722 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3723 if test "${ac_cv_prog_cc_c99+set}" = set; then
   3724   $as_echo_n "(cached) " >&6
   3725 else
   3726   ac_cv_prog_cc_c99=no
   3727 ac_save_CC=$CC
   3728 cat >conftest.$ac_ext <<_ACEOF
   3729 /* confdefs.h.  */
   3730 _ACEOF
   3731 cat confdefs.h >>conftest.$ac_ext
   3732 cat >>conftest.$ac_ext <<_ACEOF
   3733 /* end confdefs.h.  */
   3734 #include <stdarg.h>
   3735 #include <stdbool.h>
   3736 #include <stdlib.h>
   3737 #include <wchar.h>
   3738 #include <stdio.h>
   3739 
   3740 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3741 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3742 #define showlist(...) puts (#__VA_ARGS__)
   3743 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3744 static void
   3745 test_varargs_macros (void)
   3746 {
   3747   int x = 1234;
   3748   int y = 5678;
   3749   debug ("Flag");
   3750   debug ("X = %d\n", x);
   3751   showlist (The first, second, and third items.);
   3752   report (x>y, "x is %d but y is %d", x, y);
   3753 }
   3754 
   3755 // Check long long types.
   3756 #define BIG64 18446744073709551615ull
   3757 #define BIG32 4294967295ul
   3758 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3759 #if !BIG_OK
   3760   your preprocessor is broken;
   3761 #endif
   3762 #if BIG_OK
   3763 #else
   3764   your preprocessor is broken;
   3765 #endif
   3766 static long long int bignum = -9223372036854775807LL;
   3767 static unsigned long long int ubignum = BIG64;
   3768 
   3769 struct incomplete_array
   3770 {
   3771   int datasize;
   3772   double data[];
   3773 };
   3774 
   3775 struct named_init {
   3776   int number;
   3777   const wchar_t *name;
   3778   double average;
   3779 };
   3780 
   3781 typedef const char *ccp;
   3782 
   3783 static inline int
   3784 test_restrict (ccp restrict text)
   3785 {
   3786   // See if C++-style comments work.
   3787   // Iterate through items via the restricted pointer.
   3788   // Also check for declarations in for loops.
   3789   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3790     continue;
   3791   return 0;
   3792 }
   3793 
   3794 // Check varargs and va_copy.
   3795 static void
   3796 test_varargs (const char *format, ...)
   3797 {
   3798   va_list args;
   3799   va_start (args, format);
   3800   va_list args_copy;
   3801   va_copy (args_copy, args);
   3802 
   3803   const char *str;
   3804   int number;
   3805   float fnumber;
   3806 
   3807   while (*format)
   3808     {
   3809       switch (*format++)
   3810 	{
   3811 	case 's': // string
   3812 	  str = va_arg (args_copy, const char *);
   3813 	  break;
   3814 	case 'd': // int
   3815 	  number = va_arg (args_copy, int);
   3816 	  break;
   3817 	case 'f': // float
   3818 	  fnumber = va_arg (args_copy, double);
   3819 	  break;
   3820 	default:
   3821 	  break;
   3822 	}
   3823     }
   3824   va_end (args_copy);
   3825   va_end (args);
   3826 }
   3827 
   3828 int
   3829 main ()
   3830 {
   3831 
   3832   // Check bool.
   3833   _Bool success = false;
   3834 
   3835   // Check restrict.
   3836   if (test_restrict ("String literal") == 0)
   3837     success = true;
   3838   char *restrict newvar = "Another string";
   3839 
   3840   // Check varargs.
   3841   test_varargs ("s, d' f .", "string", 65, 34.234);
   3842   test_varargs_macros ();
   3843 
   3844   // Check flexible array members.
   3845   struct incomplete_array *ia =
   3846     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3847   ia->datasize = 10;
   3848   for (int i = 0; i < ia->datasize; ++i)
   3849     ia->data[i] = i * 1.234;
   3850 
   3851   // Check named initializers.
   3852   struct named_init ni = {
   3853     .number = 34,
   3854     .name = L"Test wide string",
   3855     .average = 543.34343,
   3856   };
   3857 
   3858   ni.number = 58;
   3859 
   3860   int dynamic_array[ni.number];
   3861   dynamic_array[ni.number - 1] = 543;
   3862 
   3863   // work around unused variable warnings
   3864   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3865 	  || dynamic_array[ni.number - 1] != 543);
   3866 
   3867   ;
   3868   return 0;
   3869 }
   3870 _ACEOF
   3871 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3872 do
   3873   CC="$ac_save_CC $ac_arg"
   3874   rm -f conftest.$ac_objext
   3875 if { (ac_try="$ac_compile"
   3876 case "(($ac_try" in
   3877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3878   *) ac_try_echo=$ac_try;;
   3879 esac
   3880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3881 $as_echo "$ac_try_echo") >&5
   3882   (eval "$ac_compile") 2>conftest.er1
   3883   ac_status=$?
   3884   grep -v '^ *+' conftest.er1 >conftest.err
   3885   rm -f conftest.er1
   3886   cat conftest.err >&5
   3887   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3888   (exit $ac_status); } && {
   3889 	 test -z "$ac_c_werror_flag" ||
   3890 	 test ! -s conftest.err
   3891        } && test -s conftest.$ac_objext; then
   3892   ac_cv_prog_cc_c99=$ac_arg
   3893 else
   3894   $as_echo "$as_me: failed program was:" >&5
   3895 sed 's/^/| /' conftest.$ac_ext >&5
   3896 
   3897 
   3898 fi
   3899 
   3900 rm -f core conftest.err conftest.$ac_objext
   3901   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3902 done
   3903 rm -f conftest.$ac_ext
   3904 CC=$ac_save_CC
   3905 
   3906 fi
   3907 # AC_CACHE_VAL
   3908 case "x$ac_cv_prog_cc_c99" in
   3909   x)
   3910     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3911 $as_echo "none needed" >&6; } ;;
   3912   xno)
   3913     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3914 $as_echo "unsupported" >&6; } ;;
   3915   *)
   3916     CC="$CC $ac_cv_prog_cc_c99"
   3917     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   3918 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3919 esac
   3920 
   3921 
   3922 
   3923 
   3924 ac_ext=c
   3925 ac_cpp='$CPP $CPPFLAGS'
   3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3929 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3930 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3931 # On Suns, sometimes $CPP names a directory.
   3932 if test -n "$CPP" && test -d "$CPP"; then
   3933   CPP=
   3934 fi
   3935 if test -z "$CPP"; then
   3936   if test "${ac_cv_prog_CPP+set}" = set; then
   3937   $as_echo_n "(cached) " >&6
   3938 else
   3939       # Double quotes because CPP needs to be expanded
   3940     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3941     do
   3942       ac_preproc_ok=false
   3943 for ac_c_preproc_warn_flag in '' yes
   3944 do
   3945   # Use a header file that comes with gcc, so configuring glibc
   3946   # with a fresh cross-compiler works.
   3947   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3948   # <limits.h> exists even on freestanding compilers.
   3949   # On the NeXT, cc -E runs the code through the compiler's parser,
   3950   # not just through cpp. "Syntax error" is here to catch this case.
   3951   cat >conftest.$ac_ext <<_ACEOF
   3952 /* confdefs.h.  */
   3953 _ACEOF
   3954 cat confdefs.h >>conftest.$ac_ext
   3955 cat >>conftest.$ac_ext <<_ACEOF
   3956 /* end confdefs.h.  */
   3957 #ifdef __STDC__
   3958 # include <limits.h>
   3959 #else
   3960 # include <assert.h>
   3961 #endif
   3962 		     Syntax error
   3963 _ACEOF
   3964 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3965 case "(($ac_try" in
   3966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3967   *) ac_try_echo=$ac_try;;
   3968 esac
   3969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3970 $as_echo "$ac_try_echo") >&5
   3971   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3972   ac_status=$?
   3973   grep -v '^ *+' conftest.er1 >conftest.err
   3974   rm -f conftest.er1
   3975   cat conftest.err >&5
   3976   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3977   (exit $ac_status); } >/dev/null && {
   3978 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3979 	 test ! -s conftest.err
   3980        }; then
   3981   :
   3982 else
   3983   $as_echo "$as_me: failed program was:" >&5
   3984 sed 's/^/| /' conftest.$ac_ext >&5
   3985 
   3986   # Broken: fails on valid input.
   3987 continue
   3988 fi
   3989 
   3990 rm -f conftest.err conftest.$ac_ext
   3991 
   3992   # OK, works on sane cases.  Now check whether nonexistent headers
   3993   # can be detected and how.
   3994   cat >conftest.$ac_ext <<_ACEOF
   3995 /* confdefs.h.  */
   3996 _ACEOF
   3997 cat confdefs.h >>conftest.$ac_ext
   3998 cat >>conftest.$ac_ext <<_ACEOF
   3999 /* end confdefs.h.  */
   4000 #include <ac_nonexistent.h>
   4001 _ACEOF
   4002 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4003 case "(($ac_try" in
   4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4005   *) ac_try_echo=$ac_try;;
   4006 esac
   4007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4008 $as_echo "$ac_try_echo") >&5
   4009   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4010   ac_status=$?
   4011   grep -v '^ *+' conftest.er1 >conftest.err
   4012   rm -f conftest.er1
   4013   cat conftest.err >&5
   4014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4015   (exit $ac_status); } >/dev/null && {
   4016 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4017 	 test ! -s conftest.err
   4018        }; then
   4019   # Broken: success on invalid input.
   4020 continue
   4021 else
   4022   $as_echo "$as_me: failed program was:" >&5
   4023 sed 's/^/| /' conftest.$ac_ext >&5
   4024 
   4025   # Passes both tests.
   4026 ac_preproc_ok=:
   4027 break
   4028 fi
   4029 
   4030 rm -f conftest.err conftest.$ac_ext
   4031 
   4032 done
   4033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4034 rm -f conftest.err conftest.$ac_ext
   4035 if $ac_preproc_ok; then
   4036   break
   4037 fi
   4038 
   4039     done
   4040     ac_cv_prog_CPP=$CPP
   4041 
   4042 fi
   4043   CPP=$ac_cv_prog_CPP
   4044 else
   4045   ac_cv_prog_CPP=$CPP
   4046 fi
   4047 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4048 $as_echo "$CPP" >&6; }
   4049 ac_preproc_ok=false
   4050 for ac_c_preproc_warn_flag in '' yes
   4051 do
   4052   # Use a header file that comes with gcc, so configuring glibc
   4053   # with a fresh cross-compiler works.
   4054   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4055   # <limits.h> exists even on freestanding compilers.
   4056   # On the NeXT, cc -E runs the code through the compiler's parser,
   4057   # not just through cpp. "Syntax error" is here to catch this case.
   4058   cat >conftest.$ac_ext <<_ACEOF
   4059 /* confdefs.h.  */
   4060 _ACEOF
   4061 cat confdefs.h >>conftest.$ac_ext
   4062 cat >>conftest.$ac_ext <<_ACEOF
   4063 /* end confdefs.h.  */
   4064 #ifdef __STDC__
   4065 # include <limits.h>
   4066 #else
   4067 # include <assert.h>
   4068 #endif
   4069 		     Syntax error
   4070 _ACEOF
   4071 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4072 case "(($ac_try" in
   4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4074   *) ac_try_echo=$ac_try;;
   4075 esac
   4076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4077 $as_echo "$ac_try_echo") >&5
   4078   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4079   ac_status=$?
   4080   grep -v '^ *+' conftest.er1 >conftest.err
   4081   rm -f conftest.er1
   4082   cat conftest.err >&5
   4083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4084   (exit $ac_status); } >/dev/null && {
   4085 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4086 	 test ! -s conftest.err
   4087        }; then
   4088   :
   4089 else
   4090   $as_echo "$as_me: failed program was:" >&5
   4091 sed 's/^/| /' conftest.$ac_ext >&5
   4092 
   4093   # Broken: fails on valid input.
   4094 continue
   4095 fi
   4096 
   4097 rm -f conftest.err conftest.$ac_ext
   4098 
   4099   # OK, works on sane cases.  Now check whether nonexistent headers
   4100   # can be detected and how.
   4101   cat >conftest.$ac_ext <<_ACEOF
   4102 /* confdefs.h.  */
   4103 _ACEOF
   4104 cat confdefs.h >>conftest.$ac_ext
   4105 cat >>conftest.$ac_ext <<_ACEOF
   4106 /* end confdefs.h.  */
   4107 #include <ac_nonexistent.h>
   4108 _ACEOF
   4109 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4110 case "(($ac_try" in
   4111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4112   *) ac_try_echo=$ac_try;;
   4113 esac
   4114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4115 $as_echo "$ac_try_echo") >&5
   4116   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4117   ac_status=$?
   4118   grep -v '^ *+' conftest.er1 >conftest.err
   4119   rm -f conftest.er1
   4120   cat conftest.err >&5
   4121   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4122   (exit $ac_status); } >/dev/null && {
   4123 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4124 	 test ! -s conftest.err
   4125        }; then
   4126   # Broken: success on invalid input.
   4127 continue
   4128 else
   4129   $as_echo "$as_me: failed program was:" >&5
   4130 sed 's/^/| /' conftest.$ac_ext >&5
   4131 
   4132   # Passes both tests.
   4133 ac_preproc_ok=:
   4134 break
   4135 fi
   4136 
   4137 rm -f conftest.err conftest.$ac_ext
   4138 
   4139 done
   4140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4141 rm -f conftest.err conftest.$ac_ext
   4142 if $ac_preproc_ok; then
   4143   :
   4144 else
   4145   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4147 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4148 See \`config.log' for more details." >&5
   4149 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4150 See \`config.log' for more details." >&2;}
   4151    { (exit 1); exit 1; }; }; }
   4152 fi
   4153 
   4154 ac_ext=c
   4155 ac_cpp='$CPP $CPPFLAGS'
   4156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4159 
   4160 
   4161 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4162 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4163 if test "${ac_cv_path_GREP+set}" = set; then
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   if test -z "$GREP"; then
   4167   ac_path_GREP_found=false
   4168   # Loop through the user's path and test for each of PROGNAME-LIST
   4169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4171 do
   4172   IFS=$as_save_IFS
   4173   test -z "$as_dir" && as_dir=.
   4174   for ac_prog in grep ggrep; do
   4175     for ac_exec_ext in '' $ac_executable_extensions; do
   4176       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4177       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4178 # Check for GNU ac_path_GREP and select it if it is found.
   4179   # Check for GNU $ac_path_GREP
   4180 case `"$ac_path_GREP" --version 2>&1` in
   4181 *GNU*)
   4182   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4183 *)
   4184   ac_count=0
   4185   $as_echo_n 0123456789 >"conftest.in"
   4186   while :
   4187   do
   4188     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4189     mv "conftest.tmp" "conftest.in"
   4190     cp "conftest.in" "conftest.nl"
   4191     $as_echo 'GREP' >> "conftest.nl"
   4192     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4193     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4194     ac_count=`expr $ac_count + 1`
   4195     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4196       # Best one so far, save it but keep looking for a better one
   4197       ac_cv_path_GREP="$ac_path_GREP"
   4198       ac_path_GREP_max=$ac_count
   4199     fi
   4200     # 10*(2^10) chars as input seems more than enough
   4201     test $ac_count -gt 10 && break
   4202   done
   4203   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4204 esac
   4205 
   4206       $ac_path_GREP_found && break 3
   4207     done
   4208   done
   4209 done
   4210 IFS=$as_save_IFS
   4211   if test -z "$ac_cv_path_GREP"; then
   4212     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4213 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4214    { (exit 1); exit 1; }; }
   4215   fi
   4216 else
   4217   ac_cv_path_GREP=$GREP
   4218 fi
   4219 
   4220 fi
   4221 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4222 $as_echo "$ac_cv_path_GREP" >&6; }
   4223  GREP="$ac_cv_path_GREP"
   4224 
   4225 
   4226 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4227 $as_echo_n "checking for egrep... " >&6; }
   4228 if test "${ac_cv_path_EGREP+set}" = set; then
   4229   $as_echo_n "(cached) " >&6
   4230 else
   4231   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4232    then ac_cv_path_EGREP="$GREP -E"
   4233    else
   4234      if test -z "$EGREP"; then
   4235   ac_path_EGREP_found=false
   4236   # Loop through the user's path and test for each of PROGNAME-LIST
   4237   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4238 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4239 do
   4240   IFS=$as_save_IFS
   4241   test -z "$as_dir" && as_dir=.
   4242   for ac_prog in egrep; do
   4243     for ac_exec_ext in '' $ac_executable_extensions; do
   4244       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4245       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4246 # Check for GNU ac_path_EGREP and select it if it is found.
   4247   # Check for GNU $ac_path_EGREP
   4248 case `"$ac_path_EGREP" --version 2>&1` in
   4249 *GNU*)
   4250   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4251 *)
   4252   ac_count=0
   4253   $as_echo_n 0123456789 >"conftest.in"
   4254   while :
   4255   do
   4256     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4257     mv "conftest.tmp" "conftest.in"
   4258     cp "conftest.in" "conftest.nl"
   4259     $as_echo 'EGREP' >> "conftest.nl"
   4260     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4261     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4262     ac_count=`expr $ac_count + 1`
   4263     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4264       # Best one so far, save it but keep looking for a better one
   4265       ac_cv_path_EGREP="$ac_path_EGREP"
   4266       ac_path_EGREP_max=$ac_count
   4267     fi
   4268     # 10*(2^10) chars as input seems more than enough
   4269     test $ac_count -gt 10 && break
   4270   done
   4271   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4272 esac
   4273 
   4274       $ac_path_EGREP_found && break 3
   4275     done
   4276   done
   4277 done
   4278 IFS=$as_save_IFS
   4279   if test -z "$ac_cv_path_EGREP"; then
   4280     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4281 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4282    { (exit 1); exit 1; }; }
   4283   fi
   4284 else
   4285   ac_cv_path_EGREP=$EGREP
   4286 fi
   4287 
   4288    fi
   4289 fi
   4290 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4291 $as_echo "$ac_cv_path_EGREP" >&6; }
   4292  EGREP="$ac_cv_path_EGREP"
   4293 
   4294 
   4295 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4296 $as_echo_n "checking for ANSI C header files... " >&6; }
   4297 if test "${ac_cv_header_stdc+set}" = set; then
   4298   $as_echo_n "(cached) " >&6
   4299 else
   4300   cat >conftest.$ac_ext <<_ACEOF
   4301 /* confdefs.h.  */
   4302 _ACEOF
   4303 cat confdefs.h >>conftest.$ac_ext
   4304 cat >>conftest.$ac_ext <<_ACEOF
   4305 /* end confdefs.h.  */
   4306 #include <stdlib.h>
   4307 #include <stdarg.h>
   4308 #include <string.h>
   4309 #include <float.h>
   4310 
   4311 int
   4312 main ()
   4313 {
   4314 
   4315   ;
   4316   return 0;
   4317 }
   4318 _ACEOF
   4319 rm -f conftest.$ac_objext
   4320 if { (ac_try="$ac_compile"
   4321 case "(($ac_try" in
   4322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4323   *) ac_try_echo=$ac_try;;
   4324 esac
   4325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4326 $as_echo "$ac_try_echo") >&5
   4327   (eval "$ac_compile") 2>conftest.er1
   4328   ac_status=$?
   4329   grep -v '^ *+' conftest.er1 >conftest.err
   4330   rm -f conftest.er1
   4331   cat conftest.err >&5
   4332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4333   (exit $ac_status); } && {
   4334 	 test -z "$ac_c_werror_flag" ||
   4335 	 test ! -s conftest.err
   4336        } && test -s conftest.$ac_objext; then
   4337   ac_cv_header_stdc=yes
   4338 else
   4339   $as_echo "$as_me: failed program was:" >&5
   4340 sed 's/^/| /' conftest.$ac_ext >&5
   4341 
   4342 	ac_cv_header_stdc=no
   4343 fi
   4344 
   4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4346 
   4347 if test $ac_cv_header_stdc = yes; then
   4348   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4349   cat >conftest.$ac_ext <<_ACEOF
   4350 /* confdefs.h.  */
   4351 _ACEOF
   4352 cat confdefs.h >>conftest.$ac_ext
   4353 cat >>conftest.$ac_ext <<_ACEOF
   4354 /* end confdefs.h.  */
   4355 #include <string.h>
   4356 
   4357 _ACEOF
   4358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4359   $EGREP "memchr" >/dev/null 2>&1; then
   4360   :
   4361 else
   4362   ac_cv_header_stdc=no
   4363 fi
   4364 rm -f conftest*
   4365 
   4366 fi
   4367 
   4368 if test $ac_cv_header_stdc = yes; then
   4369   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4370   cat >conftest.$ac_ext <<_ACEOF
   4371 /* confdefs.h.  */
   4372 _ACEOF
   4373 cat confdefs.h >>conftest.$ac_ext
   4374 cat >>conftest.$ac_ext <<_ACEOF
   4375 /* end confdefs.h.  */
   4376 #include <stdlib.h>
   4377 
   4378 _ACEOF
   4379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4380   $EGREP "free" >/dev/null 2>&1; then
   4381   :
   4382 else
   4383   ac_cv_header_stdc=no
   4384 fi
   4385 rm -f conftest*
   4386 
   4387 fi
   4388 
   4389 if test $ac_cv_header_stdc = yes; then
   4390   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4391   if test "$cross_compiling" = yes; then
   4392   :
   4393 else
   4394   cat >conftest.$ac_ext <<_ACEOF
   4395 /* confdefs.h.  */
   4396 _ACEOF
   4397 cat confdefs.h >>conftest.$ac_ext
   4398 cat >>conftest.$ac_ext <<_ACEOF
   4399 /* end confdefs.h.  */
   4400 #include <ctype.h>
   4401 #include <stdlib.h>
   4402 #if ((' ' & 0x0FF) == 0x020)
   4403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4405 #else
   4406 # define ISLOWER(c) \
   4407 		   (('a' <= (c) && (c) <= 'i') \
   4408 		     || ('j' <= (c) && (c) <= 'r') \
   4409 		     || ('s' <= (c) && (c) <= 'z'))
   4410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4411 #endif
   4412 
   4413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4414 int
   4415 main ()
   4416 {
   4417   int i;
   4418   for (i = 0; i < 256; i++)
   4419     if (XOR (islower (i), ISLOWER (i))
   4420 	|| toupper (i) != TOUPPER (i))
   4421       return 2;
   4422   return 0;
   4423 }
   4424 _ACEOF
   4425 rm -f conftest$ac_exeext
   4426 if { (ac_try="$ac_link"
   4427 case "(($ac_try" in
   4428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4429   *) ac_try_echo=$ac_try;;
   4430 esac
   4431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4432 $as_echo "$ac_try_echo") >&5
   4433   (eval "$ac_link") 2>&5
   4434   ac_status=$?
   4435   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4436   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4437   { (case "(($ac_try" in
   4438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4439   *) ac_try_echo=$ac_try;;
   4440 esac
   4441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4442 $as_echo "$ac_try_echo") >&5
   4443   (eval "$ac_try") 2>&5
   4444   ac_status=$?
   4445   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4446   (exit $ac_status); }; }; then
   4447   :
   4448 else
   4449   $as_echo "$as_me: program exited with status $ac_status" >&5
   4450 $as_echo "$as_me: failed program was:" >&5
   4451 sed 's/^/| /' conftest.$ac_ext >&5
   4452 
   4453 ( exit $ac_status )
   4454 ac_cv_header_stdc=no
   4455 fi
   4456 rm -rf conftest.dSYM
   4457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4458 fi
   4459 
   4460 
   4461 fi
   4462 fi
   4463 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4464 $as_echo "$ac_cv_header_stdc" >&6; }
   4465 if test $ac_cv_header_stdc = yes; then
   4466 
   4467 cat >>confdefs.h <<\_ACEOF
   4468 #define STDC_HEADERS 1
   4469 _ACEOF
   4470 
   4471 fi
   4472 
   4473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 
   4483 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4484 		  inttypes.h stdint.h unistd.h
   4485 do
   4486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4487 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4488 $as_echo_n "checking for $ac_header... " >&6; }
   4489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4490   $as_echo_n "(cached) " >&6
   4491 else
   4492   cat >conftest.$ac_ext <<_ACEOF
   4493 /* confdefs.h.  */
   4494 _ACEOF
   4495 cat confdefs.h >>conftest.$ac_ext
   4496 cat >>conftest.$ac_ext <<_ACEOF
   4497 /* end confdefs.h.  */
   4498 $ac_includes_default
   4499 
   4500 #include <$ac_header>
   4501 _ACEOF
   4502 rm -f conftest.$ac_objext
   4503 if { (ac_try="$ac_compile"
   4504 case "(($ac_try" in
   4505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4506   *) ac_try_echo=$ac_try;;
   4507 esac
   4508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4509 $as_echo "$ac_try_echo") >&5
   4510   (eval "$ac_compile") 2>conftest.er1
   4511   ac_status=$?
   4512   grep -v '^ *+' conftest.er1 >conftest.err
   4513   rm -f conftest.er1
   4514   cat conftest.err >&5
   4515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4516   (exit $ac_status); } && {
   4517 	 test -z "$ac_c_werror_flag" ||
   4518 	 test ! -s conftest.err
   4519        } && test -s conftest.$ac_objext; then
   4520   eval "$as_ac_Header=yes"
   4521 else
   4522   $as_echo "$as_me: failed program was:" >&5
   4523 sed 's/^/| /' conftest.$ac_ext >&5
   4524 
   4525 	eval "$as_ac_Header=no"
   4526 fi
   4527 
   4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4529 fi
   4530 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4531 		 $as_echo "$as_val"'`
   4532 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4533 $as_echo "$ac_res" >&6; }
   4534 as_val=`eval 'as_val=${'$as_ac_Header'}
   4535 		 $as_echo "$as_val"'`
   4536    if test "x$as_val" = x""yes; then
   4537   cat >>confdefs.h <<_ACEOF
   4538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4539 _ACEOF
   4540 
   4541 fi
   4542 
   4543 done
   4544 
   4545 
   4546 
   4547 
   4548 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4549 	if test -n "$ac_tool_prefix"; then
   4550   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4551 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4552 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4553 $as_echo_n "checking for $ac_word... " >&6; }
   4554 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   4555   $as_echo_n "(cached) " >&6
   4556 else
   4557   case $PKG_CONFIG in
   4558   [\\/]* | ?:[\\/]*)
   4559   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4560   ;;
   4561   *)
   4562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4563 for as_dir in $PATH
   4564 do
   4565   IFS=$as_save_IFS
   4566   test -z "$as_dir" && as_dir=.
   4567   for ac_exec_ext in '' $ac_executable_extensions; do
   4568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4569     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4570     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4571     break 2
   4572   fi
   4573 done
   4574 done
   4575 IFS=$as_save_IFS
   4576 
   4577   ;;
   4578 esac
   4579 fi
   4580 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4581 if test -n "$PKG_CONFIG"; then
   4582   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   4583 $as_echo "$PKG_CONFIG" >&6; }
   4584 else
   4585   { $as_echo "$as_me:$LINENO: result: no" >&5
   4586 $as_echo "no" >&6; }
   4587 fi
   4588 
   4589 
   4590 fi
   4591 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4592   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4593   # Extract the first word of "pkg-config", so it can be a program name with args.
   4594 set dummy pkg-config; ac_word=$2
   4595 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4596 $as_echo_n "checking for $ac_word... " >&6; }
   4597 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   4598   $as_echo_n "(cached) " >&6
   4599 else
   4600   case $ac_pt_PKG_CONFIG in
   4601   [\\/]* | ?:[\\/]*)
   4602   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4603   ;;
   4604   *)
   4605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4606 for as_dir in $PATH
   4607 do
   4608   IFS=$as_save_IFS
   4609   test -z "$as_dir" && as_dir=.
   4610   for ac_exec_ext in '' $ac_executable_extensions; do
   4611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4612     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4613     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4614     break 2
   4615   fi
   4616 done
   4617 done
   4618 IFS=$as_save_IFS
   4619 
   4620   ;;
   4621 esac
   4622 fi
   4623 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4624 if test -n "$ac_pt_PKG_CONFIG"; then
   4625   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   4626 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4627 else
   4628   { $as_echo "$as_me:$LINENO: result: no" >&5
   4629 $as_echo "no" >&6; }
   4630 fi
   4631 
   4632   if test "x$ac_pt_PKG_CONFIG" = x; then
   4633     PKG_CONFIG=""
   4634   else
   4635     case $cross_compiling:$ac_tool_warned in
   4636 yes:)
   4637 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4639 ac_tool_warned=yes ;;
   4640 esac
   4641     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4642   fi
   4643 else
   4644   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4645 fi
   4646 
   4647 fi
   4648 if test -n "$PKG_CONFIG"; then
   4649 	_pkg_min_version=0.9.0
   4650 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   4651 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4652 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4653 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   4654 $as_echo "yes" >&6; }
   4655 	else
   4656 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   4657 $as_echo "no" >&6; }
   4658 		PKG_CONFIG=""
   4659 	fi
   4660 
   4661 fi
   4662 # Make sure we can run config.sub.
   4663 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4664   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4665 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4666    { (exit 1); exit 1; }; }
   4667 
   4668 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4669 $as_echo_n "checking build system type... " >&6; }
   4670 if test "${ac_cv_build+set}" = set; then
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   ac_build_alias=$build_alias
   4674 test "x$ac_build_alias" = x &&
   4675   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4676 test "x$ac_build_alias" = x &&
   4677   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4678 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4679    { (exit 1); exit 1; }; }
   4680 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4681   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4682 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4683    { (exit 1); exit 1; }; }
   4684 
   4685 fi
   4686 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4687 $as_echo "$ac_cv_build" >&6; }
   4688 case $ac_cv_build in
   4689 *-*-*) ;;
   4690 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4691 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4692    { (exit 1); exit 1; }; };;
   4693 esac
   4694 build=$ac_cv_build
   4695 ac_save_IFS=$IFS; IFS='-'
   4696 set x $ac_cv_build
   4697 shift
   4698 build_cpu=$1
   4699 build_vendor=$2
   4700 shift; shift
   4701 # Remember, the first character of IFS is used to create $*,
   4702 # except with old shells:
   4703 build_os=$*
   4704 IFS=$ac_save_IFS
   4705 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4706 
   4707 
   4708 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4709 $as_echo_n "checking host system type... " >&6; }
   4710 if test "${ac_cv_host+set}" = set; then
   4711   $as_echo_n "(cached) " >&6
   4712 else
   4713   if test "x$host_alias" = x; then
   4714   ac_cv_host=$ac_cv_build
   4715 else
   4716   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4717     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4718 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4719    { (exit 1); exit 1; }; }
   4720 fi
   4721 
   4722 fi
   4723 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4724 $as_echo "$ac_cv_host" >&6; }
   4725 case $ac_cv_host in
   4726 *-*-*) ;;
   4727 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4728 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4729    { (exit 1); exit 1; }; };;
   4730 esac
   4731 host=$ac_cv_host
   4732 ac_save_IFS=$IFS; IFS='-'
   4733 set x $ac_cv_host
   4734 shift
   4735 host_cpu=$1
   4736 host_vendor=$2
   4737 shift; shift
   4738 # Remember, the first character of IFS is used to create $*,
   4739 # except with old shells:
   4740 host_os=$*
   4741 IFS=$ac_save_IFS
   4742 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4743 
   4744 
   4745 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4746 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4747 if test "${ac_cv_path_SED+set}" = set; then
   4748   $as_echo_n "(cached) " >&6
   4749 else
   4750             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4751      for ac_i in 1 2 3 4 5 6 7; do
   4752        ac_script="$ac_script$as_nl$ac_script"
   4753      done
   4754      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4755      $as_unset ac_script || ac_script=
   4756      if test -z "$SED"; then
   4757   ac_path_SED_found=false
   4758   # Loop through the user's path and test for each of PROGNAME-LIST
   4759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4760 for as_dir in $PATH
   4761 do
   4762   IFS=$as_save_IFS
   4763   test -z "$as_dir" && as_dir=.
   4764   for ac_prog in sed gsed; do
   4765     for ac_exec_ext in '' $ac_executable_extensions; do
   4766       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4767       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4768 # Check for GNU ac_path_SED and select it if it is found.
   4769   # Check for GNU $ac_path_SED
   4770 case `"$ac_path_SED" --version 2>&1` in
   4771 *GNU*)
   4772   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4773 *)
   4774   ac_count=0
   4775   $as_echo_n 0123456789 >"conftest.in"
   4776   while :
   4777   do
   4778     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4779     mv "conftest.tmp" "conftest.in"
   4780     cp "conftest.in" "conftest.nl"
   4781     $as_echo '' >> "conftest.nl"
   4782     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4783     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4784     ac_count=`expr $ac_count + 1`
   4785     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4786       # Best one so far, save it but keep looking for a better one
   4787       ac_cv_path_SED="$ac_path_SED"
   4788       ac_path_SED_max=$ac_count
   4789     fi
   4790     # 10*(2^10) chars as input seems more than enough
   4791     test $ac_count -gt 10 && break
   4792   done
   4793   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4794 esac
   4795 
   4796       $ac_path_SED_found && break 3
   4797     done
   4798   done
   4799 done
   4800 IFS=$as_save_IFS
   4801   if test -z "$ac_cv_path_SED"; then
   4802     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   4803 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   4804    { (exit 1); exit 1; }; }
   4805   fi
   4806 else
   4807   ac_cv_path_SED=$SED
   4808 fi
   4809 
   4810 fi
   4811 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   4812 $as_echo "$ac_cv_path_SED" >&6; }
   4813  SED="$ac_cv_path_SED"
   4814   rm -f conftest.sed
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 if  test "x$GCC" = xyes ; then
   4821     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4822 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4823 -Wbad-function-cast -Wformat=2"
   4824     case `$CC -dumpversion` in
   4825     3.4.* | 4.*)
   4826 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4827 	;;
   4828     esac
   4829 else
   4830     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4831 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4832 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4833   $as_echo_n "(cached) " >&6
   4834 else
   4835   cat >conftest.$ac_ext <<_ACEOF
   4836 /* confdefs.h.  */
   4837 _ACEOF
   4838 cat confdefs.h >>conftest.$ac_ext
   4839 cat >>conftest.$ac_ext <<_ACEOF
   4840 /* end confdefs.h.  */
   4841 $ac_includes_default
   4842 int
   4843 main ()
   4844 {
   4845 #ifndef __SUNPRO_C
   4846   (void) __SUNPRO_C;
   4847 #endif
   4848 
   4849   ;
   4850   return 0;
   4851 }
   4852 _ACEOF
   4853 rm -f conftest.$ac_objext
   4854 if { (ac_try="$ac_compile"
   4855 case "(($ac_try" in
   4856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4857   *) ac_try_echo=$ac_try;;
   4858 esac
   4859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4860 $as_echo "$ac_try_echo") >&5
   4861   (eval "$ac_compile") 2>conftest.er1
   4862   ac_status=$?
   4863   grep -v '^ *+' conftest.er1 >conftest.err
   4864   rm -f conftest.er1
   4865   cat conftest.err >&5
   4866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4867   (exit $ac_status); } && {
   4868 	 test -z "$ac_c_werror_flag" ||
   4869 	 test ! -s conftest.err
   4870        } && test -s conftest.$ac_objext; then
   4871   ac_cv_have_decl___SUNPRO_C=yes
   4872 else
   4873   $as_echo "$as_me: failed program was:" >&5
   4874 sed 's/^/| /' conftest.$ac_ext >&5
   4875 
   4876 	ac_cv_have_decl___SUNPRO_C=no
   4877 fi
   4878 
   4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4880 fi
   4881 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4882 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4883 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4884   SUNCC="yes"
   4885 else
   4886   SUNCC="no"
   4887 fi
   4888 
   4889     if test "x$SUNCC" = "xyes"; then
   4890 	CWARNFLAGS="-v"
   4891     fi
   4892 fi
   4893 
   4894 
   4895 
   4896 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4897 
   4898 
   4899 
   4900 # Check whether --enable-strict-compilation was given.
   4901 if test "${enable_strict_compilation+set}" = set; then
   4902   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4903 else
   4904   STRICT_COMPILE=no
   4905 fi
   4906 
   4907 if test "x$STRICT_COMPILE" = "xyes"; then
   4908 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4909 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4910 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   cat >conftest.$ac_ext <<_ACEOF
   4914 /* confdefs.h.  */
   4915 _ACEOF
   4916 cat confdefs.h >>conftest.$ac_ext
   4917 cat >>conftest.$ac_ext <<_ACEOF
   4918 /* end confdefs.h.  */
   4919 $ac_includes_default
   4920 int
   4921 main ()
   4922 {
   4923 #ifndef __SUNPRO_C
   4924   (void) __SUNPRO_C;
   4925 #endif
   4926 
   4927   ;
   4928   return 0;
   4929 }
   4930 _ACEOF
   4931 rm -f conftest.$ac_objext
   4932 if { (ac_try="$ac_compile"
   4933 case "(($ac_try" in
   4934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4935   *) ac_try_echo=$ac_try;;
   4936 esac
   4937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4938 $as_echo "$ac_try_echo") >&5
   4939   (eval "$ac_compile") 2>conftest.er1
   4940   ac_status=$?
   4941   grep -v '^ *+' conftest.er1 >conftest.err
   4942   rm -f conftest.er1
   4943   cat conftest.err >&5
   4944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4945   (exit $ac_status); } && {
   4946 	 test -z "$ac_c_werror_flag" ||
   4947 	 test ! -s conftest.err
   4948        } && test -s conftest.$ac_objext; then
   4949   ac_cv_have_decl___SUNPRO_C=yes
   4950 else
   4951   $as_echo "$as_me: failed program was:" >&5
   4952 sed 's/^/| /' conftest.$ac_ext >&5
   4953 
   4954 	ac_cv_have_decl___SUNPRO_C=no
   4955 fi
   4956 
   4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4958 fi
   4959 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4960 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4961 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4962   SUNCC="yes"
   4963 else
   4964   SUNCC="no"
   4965 fi
   4966 
   4967 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   4968 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   4969 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   4970   $as_echo_n "(cached) " >&6
   4971 else
   4972   cat >conftest.$ac_ext <<_ACEOF
   4973 /* confdefs.h.  */
   4974 _ACEOF
   4975 cat confdefs.h >>conftest.$ac_ext
   4976 cat >>conftest.$ac_ext <<_ACEOF
   4977 /* end confdefs.h.  */
   4978 $ac_includes_default
   4979 int
   4980 main ()
   4981 {
   4982 #ifndef __INTEL_COMPILER
   4983   (void) __INTEL_COMPILER;
   4984 #endif
   4985 
   4986   ;
   4987   return 0;
   4988 }
   4989 _ACEOF
   4990 rm -f conftest.$ac_objext
   4991 if { (ac_try="$ac_compile"
   4992 case "(($ac_try" in
   4993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4994   *) ac_try_echo=$ac_try;;
   4995 esac
   4996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4997 $as_echo "$ac_try_echo") >&5
   4998   (eval "$ac_compile") 2>conftest.er1
   4999   ac_status=$?
   5000   grep -v '^ *+' conftest.er1 >conftest.err
   5001   rm -f conftest.er1
   5002   cat conftest.err >&5
   5003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5004   (exit $ac_status); } && {
   5005 	 test -z "$ac_c_werror_flag" ||
   5006 	 test ! -s conftest.err
   5007        } && test -s conftest.$ac_objext; then
   5008   ac_cv_have_decl___INTEL_COMPILER=yes
   5009 else
   5010   $as_echo "$as_me: failed program was:" >&5
   5011 sed 's/^/| /' conftest.$ac_ext >&5
   5012 
   5013 	ac_cv_have_decl___INTEL_COMPILER=no
   5014 fi
   5015 
   5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5017 fi
   5018 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   5019 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   5020 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   5021   INTELCC="yes"
   5022 else
   5023   INTELCC="no"
   5024 fi
   5025 
   5026 	if test "x$GCC" = xyes ; then
   5027 		STRICT_CFLAGS="-pedantic -Werror"
   5028 	elif test "x$SUNCC" = "xyes"; then
   5029 		STRICT_CFLAGS="-errwarn"
   5030     elif test "x$INTELCC" = "xyes"; then
   5031 		STRICT_CFLAGS="-Werror"
   5032 	fi
   5033 fi
   5034 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   5035 
   5036 
   5037 
   5038 
   5039 cat >>confdefs.h <<_ACEOF
   5040 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   5041 _ACEOF
   5042 
   5043 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   5044 	if test "x$PVM" = "x"; then
   5045 		PVM="0"
   5046 	fi
   5047 
   5048 cat >>confdefs.h <<_ACEOF
   5049 #define PACKAGE_VERSION_MINOR $PVM
   5050 _ACEOF
   5051 
   5052 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   5053 	if test "x$PVP" = "x"; then
   5054 		PVP="0"
   5055 	fi
   5056 
   5057 cat >>confdefs.h <<_ACEOF
   5058 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   5059 _ACEOF
   5060 
   5061 
   5062 
   5063 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   5064 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   5065 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   5066 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   5067 
   5068 
   5069 
   5070 
   5071 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   5072 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   5073 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   5074 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   5075 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 if test x$APP_MAN_SUFFIX = x    ; then
   5083     APP_MAN_SUFFIX=1
   5084 fi
   5085 if test x$APP_MAN_DIR = x    ; then
   5086     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   5087 fi
   5088 
   5089 if test x$LIB_MAN_SUFFIX = x    ; then
   5090     LIB_MAN_SUFFIX=3
   5091 fi
   5092 if test x$LIB_MAN_DIR = x    ; then
   5093     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   5094 fi
   5095 
   5096 if test x$FILE_MAN_SUFFIX = x    ; then
   5097     case $host_os in
   5098 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   5099 	*)		FILE_MAN_SUFFIX=5  ;;
   5100     esac
   5101 fi
   5102 if test x$FILE_MAN_DIR = x    ; then
   5103     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   5104 fi
   5105 
   5106 if test x$MISC_MAN_SUFFIX = x    ; then
   5107     case $host_os in
   5108 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   5109 	*)		MISC_MAN_SUFFIX=7  ;;
   5110     esac
   5111 fi
   5112 if test x$MISC_MAN_DIR = x    ; then
   5113     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   5114 fi
   5115 
   5116 if test x$DRIVER_MAN_SUFFIX = x    ; then
   5117     case $host_os in
   5118 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   5119 	*)		DRIVER_MAN_SUFFIX=4  ;;
   5120     esac
   5121 fi
   5122 if test x$DRIVER_MAN_DIR = x    ; then
   5123     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   5124 fi
   5125 
   5126 if test x$ADMIN_MAN_SUFFIX = x    ; then
   5127     case $host_os in
   5128 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   5129 	*)		ADMIN_MAN_SUFFIX=8  ;;
   5130     esac
   5131 fi
   5132 if test x$ADMIN_MAN_DIR = x    ; then
   5133     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   5134 fi
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 XORG_MAN_PAGE="X Version 11"
   5151 
   5152 MAN_SUBSTS="\
   5153 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   5154 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   5155 	-e 's|__xservername__|Xorg|g' \
   5156 	-e 's|__xconfigfile__|xorg.conf|g' \
   5157 	-e 's|__projectroot__|\$(prefix)|g' \
   5158 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   5159 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   5160 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   5161 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   5162 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   5163 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   5164 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   5165 
   5166 
   5167 
   5168 AM_DEFAULT_VERBOSITY=1
   5169 
   5170 
   5171 
   5172 DRIVER_NAME=vmmouse
   5173 
   5174 
   5175 ac_config_headers="$ac_config_headers config.h"
   5176 
   5177 
   5178 # Checks for programs.
   5179 # Check whether --enable-static was given.
   5180 if test "${enable_static+set}" = set; then
   5181   enableval=$enable_static; p=${PACKAGE-default}
   5182     case $enableval in
   5183     yes) enable_static=yes ;;
   5184     no) enable_static=no ;;
   5185     *)
   5186      enable_static=no
   5187       # Look at the argument we got.  We use all the common list separators.
   5188       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5189       for pkg in $enableval; do
   5190 	IFS="$lt_save_ifs"
   5191 	if test "X$pkg" = "X$p"; then
   5192 	  enable_static=yes
   5193 	fi
   5194       done
   5195       IFS="$lt_save_ifs"
   5196       ;;
   5197     esac
   5198 else
   5199   enable_static=no
   5200 fi
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 case `pwd` in
   5211   *\ * | *\	*)
   5212     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5213 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5214 esac
   5215 
   5216 
   5217 
   5218 macro_version='2.2.6'
   5219 macro_revision='1.3012'
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 ltmain="$ac_aux_dir/ltmain.sh"
   5234 
   5235 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   5236 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5237 if test "${ac_cv_path_SED+set}" = set; then
   5238   $as_echo_n "(cached) " >&6
   5239 else
   5240             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5241      for ac_i in 1 2 3 4 5 6 7; do
   5242        ac_script="$ac_script$as_nl$ac_script"
   5243      done
   5244      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5245      $as_unset ac_script || ac_script=
   5246      if test -z "$SED"; then
   5247   ac_path_SED_found=false
   5248   # Loop through the user's path and test for each of PROGNAME-LIST
   5249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5250 for as_dir in $PATH
   5251 do
   5252   IFS=$as_save_IFS
   5253   test -z "$as_dir" && as_dir=.
   5254   for ac_prog in sed gsed; do
   5255     for ac_exec_ext in '' $ac_executable_extensions; do
   5256       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5257       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5258 # Check for GNU ac_path_SED and select it if it is found.
   5259   # Check for GNU $ac_path_SED
   5260 case `"$ac_path_SED" --version 2>&1` in
   5261 *GNU*)
   5262   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5263 *)
   5264   ac_count=0
   5265   $as_echo_n 0123456789 >"conftest.in"
   5266   while :
   5267   do
   5268     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5269     mv "conftest.tmp" "conftest.in"
   5270     cp "conftest.in" "conftest.nl"
   5271     $as_echo '' >> "conftest.nl"
   5272     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5273     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5274     ac_count=`expr $ac_count + 1`
   5275     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5276       # Best one so far, save it but keep looking for a better one
   5277       ac_cv_path_SED="$ac_path_SED"
   5278       ac_path_SED_max=$ac_count
   5279     fi
   5280     # 10*(2^10) chars as input seems more than enough
   5281     test $ac_count -gt 10 && break
   5282   done
   5283   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5284 esac
   5285 
   5286       $ac_path_SED_found && break 3
   5287     done
   5288   done
   5289 done
   5290 IFS=$as_save_IFS
   5291   if test -z "$ac_cv_path_SED"; then
   5292     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   5293 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   5294    { (exit 1); exit 1; }; }
   5295   fi
   5296 else
   5297   ac_cv_path_SED=$SED
   5298 fi
   5299 
   5300 fi
   5301 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   5302 $as_echo "$ac_cv_path_SED" >&6; }
   5303  SED="$ac_cv_path_SED"
   5304   rm -f conftest.sed
   5305 
   5306 test -z "$SED" && SED=sed
   5307 Xsed="$SED -e 1s/^X//"
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   5320 $as_echo_n "checking for fgrep... " >&6; }
   5321 if test "${ac_cv_path_FGREP+set}" = set; then
   5322   $as_echo_n "(cached) " >&6
   5323 else
   5324   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5325    then ac_cv_path_FGREP="$GREP -F"
   5326    else
   5327      if test -z "$FGREP"; then
   5328   ac_path_FGREP_found=false
   5329   # Loop through the user's path and test for each of PROGNAME-LIST
   5330   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5331 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5332 do
   5333   IFS=$as_save_IFS
   5334   test -z "$as_dir" && as_dir=.
   5335   for ac_prog in fgrep; do
   5336     for ac_exec_ext in '' $ac_executable_extensions; do
   5337       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5338       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5339 # Check for GNU ac_path_FGREP and select it if it is found.
   5340   # Check for GNU $ac_path_FGREP
   5341 case `"$ac_path_FGREP" --version 2>&1` in
   5342 *GNU*)
   5343   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5344 *)
   5345   ac_count=0
   5346   $as_echo_n 0123456789 >"conftest.in"
   5347   while :
   5348   do
   5349     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5350     mv "conftest.tmp" "conftest.in"
   5351     cp "conftest.in" "conftest.nl"
   5352     $as_echo 'FGREP' >> "conftest.nl"
   5353     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5354     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5355     ac_count=`expr $ac_count + 1`
   5356     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5357       # Best one so far, save it but keep looking for a better one
   5358       ac_cv_path_FGREP="$ac_path_FGREP"
   5359       ac_path_FGREP_max=$ac_count
   5360     fi
   5361     # 10*(2^10) chars as input seems more than enough
   5362     test $ac_count -gt 10 && break
   5363   done
   5364   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5365 esac
   5366 
   5367       $ac_path_FGREP_found && break 3
   5368     done
   5369   done
   5370 done
   5371 IFS=$as_save_IFS
   5372   if test -z "$ac_cv_path_FGREP"; then
   5373     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   5374 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   5375    { (exit 1); exit 1; }; }
   5376   fi
   5377 else
   5378   ac_cv_path_FGREP=$FGREP
   5379 fi
   5380 
   5381    fi
   5382 fi
   5383 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   5384 $as_echo "$ac_cv_path_FGREP" >&6; }
   5385  FGREP="$ac_cv_path_FGREP"
   5386 
   5387 
   5388 test -z "$GREP" && GREP=grep
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 # Check whether --with-gnu-ld was given.
   5409 if test "${with_gnu_ld+set}" = set; then
   5410   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5411 else
   5412   with_gnu_ld=no
   5413 fi
   5414 
   5415 ac_prog=ld
   5416 if test "$GCC" = yes; then
   5417   # Check if gcc -print-prog-name=ld gives a path.
   5418   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5419 $as_echo_n "checking for ld used by $CC... " >&6; }
   5420   case $host in
   5421   *-*-mingw*)
   5422     # gcc leaves a trailing carriage return which upsets mingw
   5423     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5424   *)
   5425     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5426   esac
   5427   case $ac_prog in
   5428     # Accept absolute paths.
   5429     [\\/]* | ?:[\\/]*)
   5430       re_direlt='/[^/][^/]*/\.\./'
   5431       # Canonicalize the pathname of ld
   5432       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5433       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5434 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5435       done
   5436       test -z "$LD" && LD="$ac_prog"
   5437       ;;
   5438   "")
   5439     # If it fails, then pretend we aren't using GCC.
   5440     ac_prog=ld
   5441     ;;
   5442   *)
   5443     # If it is relative, then search for the first ld in PATH.
   5444     with_gnu_ld=unknown
   5445     ;;
   5446   esac
   5447 elif test "$with_gnu_ld" = yes; then
   5448   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   5449 $as_echo_n "checking for GNU ld... " >&6; }
   5450 else
   5451   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5452 $as_echo_n "checking for non-GNU ld... " >&6; }
   5453 fi
   5454 if test "${lt_cv_path_LD+set}" = set; then
   5455   $as_echo_n "(cached) " >&6
   5456 else
   5457   if test -z "$LD"; then
   5458   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5459   for ac_dir in $PATH; do
   5460     IFS="$lt_save_ifs"
   5461     test -z "$ac_dir" && ac_dir=.
   5462     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5463       lt_cv_path_LD="$ac_dir/$ac_prog"
   5464       # Check to see if the program is GNU ld.  I'd rather use --version,
   5465       # but apparently some variants of GNU ld only accept -v.
   5466       # Break only if it was the GNU/non-GNU ld that we prefer.
   5467       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5468       *GNU* | *'with BFD'*)
   5469 	test "$with_gnu_ld" != no && break
   5470 	;;
   5471       *)
   5472 	test "$with_gnu_ld" != yes && break
   5473 	;;
   5474       esac
   5475     fi
   5476   done
   5477   IFS="$lt_save_ifs"
   5478 else
   5479   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5480 fi
   5481 fi
   5482 
   5483 LD="$lt_cv_path_LD"
   5484 if test -n "$LD"; then
   5485   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   5486 $as_echo "$LD" >&6; }
   5487 else
   5488   { $as_echo "$as_me:$LINENO: result: no" >&5
   5489 $as_echo "no" >&6; }
   5490 fi
   5491 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5492 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5493    { (exit 1); exit 1; }; }
   5494 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5495 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5496 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5497   $as_echo_n "(cached) " >&6
   5498 else
   5499   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5500 case `$LD -v 2>&1 </dev/null` in
   5501 *GNU* | *'with BFD'*)
   5502   lt_cv_prog_gnu_ld=yes
   5503   ;;
   5504 *)
   5505   lt_cv_prog_gnu_ld=no
   5506   ;;
   5507 esac
   5508 fi
   5509 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5510 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5511 with_gnu_ld=$lt_cv_prog_gnu_ld
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   5522 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5523 if test "${lt_cv_path_NM+set}" = set; then
   5524   $as_echo_n "(cached) " >&6
   5525 else
   5526   if test -n "$NM"; then
   5527   # Let the user override the test.
   5528   lt_cv_path_NM="$NM"
   5529 else
   5530   lt_nm_to_check="${ac_tool_prefix}nm"
   5531   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5532     lt_nm_to_check="$lt_nm_to_check nm"
   5533   fi
   5534   for lt_tmp_nm in $lt_nm_to_check; do
   5535     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5536     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5537       IFS="$lt_save_ifs"
   5538       test -z "$ac_dir" && ac_dir=.
   5539       tmp_nm="$ac_dir/$lt_tmp_nm"
   5540       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5541 	# Check to see if the nm accepts a BSD-compat flag.
   5542 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5543 	#   nm: unknown option "B" ignored
   5544 	# Tru64's nm complains that /dev/null is an invalid object file
   5545 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5546 	*/dev/null* | *'Invalid file or object type'*)
   5547 	  lt_cv_path_NM="$tmp_nm -B"
   5548 	  break
   5549 	  ;;
   5550 	*)
   5551 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5552 	  */dev/null*)
   5553 	    lt_cv_path_NM="$tmp_nm -p"
   5554 	    break
   5555 	    ;;
   5556 	  *)
   5557 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5558 	    continue # so that we can try to find one that supports BSD flags
   5559 	    ;;
   5560 	  esac
   5561 	  ;;
   5562 	esac
   5563       fi
   5564     done
   5565     IFS="$lt_save_ifs"
   5566   done
   5567   : ${lt_cv_path_NM=no}
   5568 fi
   5569 fi
   5570 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5571 $as_echo "$lt_cv_path_NM" >&6; }
   5572 if test "$lt_cv_path_NM" != "no"; then
   5573   NM="$lt_cv_path_NM"
   5574 else
   5575   # Didn't find any BSD compatible name lister, look for dumpbin.
   5576   if test -n "$ac_tool_prefix"; then
   5577   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5578   do
   5579     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5582 $as_echo_n "checking for $ac_word... " >&6; }
   5583 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   if test -n "$DUMPBIN"; then
   5587   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5588 else
   5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5590 for as_dir in $PATH
   5591 do
   5592   IFS=$as_save_IFS
   5593   test -z "$as_dir" && as_dir=.
   5594   for ac_exec_ext in '' $ac_executable_extensions; do
   5595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5596     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5597     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5598     break 2
   5599   fi
   5600 done
   5601 done
   5602 IFS=$as_save_IFS
   5603 
   5604 fi
   5605 fi
   5606 DUMPBIN=$ac_cv_prog_DUMPBIN
   5607 if test -n "$DUMPBIN"; then
   5608   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   5609 $as_echo "$DUMPBIN" >&6; }
   5610 else
   5611   { $as_echo "$as_me:$LINENO: result: no" >&5
   5612 $as_echo "no" >&6; }
   5613 fi
   5614 
   5615 
   5616     test -n "$DUMPBIN" && break
   5617   done
   5618 fi
   5619 if test -z "$DUMPBIN"; then
   5620   ac_ct_DUMPBIN=$DUMPBIN
   5621   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5622 do
   5623   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5624 set dummy $ac_prog; ac_word=$2
   5625 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5626 $as_echo_n "checking for $ac_word... " >&6; }
   5627 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   5628   $as_echo_n "(cached) " >&6
   5629 else
   5630   if test -n "$ac_ct_DUMPBIN"; then
   5631   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5632 else
   5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5634 for as_dir in $PATH
   5635 do
   5636   IFS=$as_save_IFS
   5637   test -z "$as_dir" && as_dir=.
   5638   for ac_exec_ext in '' $ac_executable_extensions; do
   5639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5640     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5641     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5642     break 2
   5643   fi
   5644 done
   5645 done
   5646 IFS=$as_save_IFS
   5647 
   5648 fi
   5649 fi
   5650 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5651 if test -n "$ac_ct_DUMPBIN"; then
   5652   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   5653 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5654 else
   5655   { $as_echo "$as_me:$LINENO: result: no" >&5
   5656 $as_echo "no" >&6; }
   5657 fi
   5658 
   5659 
   5660   test -n "$ac_ct_DUMPBIN" && break
   5661 done
   5662 
   5663   if test "x$ac_ct_DUMPBIN" = x; then
   5664     DUMPBIN=":"
   5665   else
   5666     case $cross_compiling:$ac_tool_warned in
   5667 yes:)
   5668 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5670 ac_tool_warned=yes ;;
   5671 esac
   5672     DUMPBIN=$ac_ct_DUMPBIN
   5673   fi
   5674 fi
   5675 
   5676 
   5677   if test "$DUMPBIN" != ":"; then
   5678     NM="$DUMPBIN"
   5679   fi
   5680 fi
   5681 test -z "$NM" && NM=nm
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   5689 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5690 if test "${lt_cv_nm_interface+set}" = set; then
   5691   $as_echo_n "(cached) " >&6
   5692 else
   5693   lt_cv_nm_interface="BSD nm"
   5694   echo "int some_variable = 0;" > conftest.$ac_ext
   5695   (eval echo "\"\$as_me:5695: $ac_compile\"" >&5)
   5696   (eval "$ac_compile" 2>conftest.err)
   5697   cat conftest.err >&5
   5698   (eval echo "\"\$as_me:5698: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5699   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5700   cat conftest.err >&5
   5701   (eval echo "\"\$as_me:5701: output\"" >&5)
   5702   cat conftest.out >&5
   5703   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5704     lt_cv_nm_interface="MS dumpbin"
   5705   fi
   5706   rm -f conftest*
   5707 fi
   5708 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   5709 $as_echo "$lt_cv_nm_interface" >&6; }
   5710 
   5711 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5712 $as_echo_n "checking whether ln -s works... " >&6; }
   5713 LN_S=$as_ln_s
   5714 if test "$LN_S" = "ln -s"; then
   5715   { $as_echo "$as_me:$LINENO: result: yes" >&5
   5716 $as_echo "yes" >&6; }
   5717 else
   5718   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5719 $as_echo "no, using $LN_S" >&6; }
   5720 fi
   5721 
   5722 # find the maximum length of command line arguments
   5723 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5724 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5725 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5726   $as_echo_n "(cached) " >&6
   5727 else
   5728     i=0
   5729   teststring="ABCD"
   5730 
   5731   case $build_os in
   5732   msdosdjgpp*)
   5733     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5734     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5735     # during glob expansion).  Even if it were fixed, the result of this
   5736     # check would be larger than it should be.
   5737     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5738     ;;
   5739 
   5740   gnu*)
   5741     # Under GNU Hurd, this test is not required because there is
   5742     # no limit to the length of command line arguments.
   5743     # Libtool will interpret -1 as no limit whatsoever
   5744     lt_cv_sys_max_cmd_len=-1;
   5745     ;;
   5746 
   5747   cygwin* | mingw* | cegcc*)
   5748     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5749     # about 5 minutes as the teststring grows exponentially.
   5750     # Worse, since 9x/ME are not pre-emptively multitasking,
   5751     # you end up with a "frozen" computer, even though with patience
   5752     # the test eventually succeeds (with a max line length of 256k).
   5753     # Instead, let's just punt: use the minimum linelength reported by
   5754     # all of the supported platforms: 8192 (on NT/2K/XP).
   5755     lt_cv_sys_max_cmd_len=8192;
   5756     ;;
   5757 
   5758   amigaos*)
   5759     # On AmigaOS with pdksh, this test takes hours, literally.
   5760     # So we just punt and use a minimum line length of 8192.
   5761     lt_cv_sys_max_cmd_len=8192;
   5762     ;;
   5763 
   5764   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5765     # This has been around since 386BSD, at least.  Likely further.
   5766     if test -x /sbin/sysctl; then
   5767       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5768     elif test -x /usr/sbin/sysctl; then
   5769       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5770     else
   5771       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5772     fi
   5773     # And add a safety zone
   5774     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5775     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5776     ;;
   5777 
   5778   interix*)
   5779     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5780     lt_cv_sys_max_cmd_len=196608
   5781     ;;
   5782 
   5783   osf*)
   5784     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5785     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5786     # nice to cause kernel panics so lets avoid the loop below.
   5787     # First set a reasonable default.
   5788     lt_cv_sys_max_cmd_len=16384
   5789     #
   5790     if test -x /sbin/sysconfig; then
   5791       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5792         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5793       esac
   5794     fi
   5795     ;;
   5796   sco3.2v5*)
   5797     lt_cv_sys_max_cmd_len=102400
   5798     ;;
   5799   sysv5* | sco5v6* | sysv4.2uw2*)
   5800     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5801     if test -n "$kargmax"; then
   5802       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5803     else
   5804       lt_cv_sys_max_cmd_len=32768
   5805     fi
   5806     ;;
   5807   *)
   5808     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5809     if test -n "$lt_cv_sys_max_cmd_len"; then
   5810       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5811       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5812     else
   5813       # Make teststring a little bigger before we do anything with it.
   5814       # a 1K string should be a reasonable start.
   5815       for i in 1 2 3 4 5 6 7 8 ; do
   5816         teststring=$teststring$teststring
   5817       done
   5818       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5819       # If test is not a shell built-in, we'll probably end up computing a
   5820       # maximum length that is only half of the actual maximum length, but
   5821       # we can't tell.
   5822       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5823 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5824 	      test $i != 17 # 1/2 MB should be enough
   5825       do
   5826         i=`expr $i + 1`
   5827         teststring=$teststring$teststring
   5828       done
   5829       # Only check the string length outside the loop.
   5830       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5831       teststring=
   5832       # Add a significant safety factor because C++ compilers can tack on
   5833       # massive amounts of additional arguments before passing them to the
   5834       # linker.  It appears as though 1/2 is a usable value.
   5835       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5836     fi
   5837     ;;
   5838   esac
   5839 
   5840 fi
   5841 
   5842 if test -n $lt_cv_sys_max_cmd_len ; then
   5843   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5844 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5845 else
   5846   { $as_echo "$as_me:$LINENO: result: none" >&5
   5847 $as_echo "none" >&6; }
   5848 fi
   5849 max_cmd_len=$lt_cv_sys_max_cmd_len
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 : ${CP="cp -f"}
   5857 : ${MV="mv -f"}
   5858 : ${RM="rm -f"}
   5859 
   5860 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5861 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5862 # Try some XSI features
   5863 xsi_shell=no
   5864 ( _lt_dummy="a/b/c"
   5865   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5866       = c,a/b,, \
   5867     && eval 'test $(( 1 + 1 )) -eq 2 \
   5868     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5869   && xsi_shell=yes
   5870 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5871 $as_echo "$xsi_shell" >&6; }
   5872 
   5873 
   5874 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5875 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5876 lt_shell_append=no
   5877 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5878     >/dev/null 2>&1 \
   5879   && lt_shell_append=yes
   5880 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5881 $as_echo "$lt_shell_append" >&6; }
   5882 
   5883 
   5884 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5885   lt_unset=unset
   5886 else
   5887   lt_unset=false
   5888 fi
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 # test EBCDIC or ASCII
   5895 case `echo X|tr X '\101'` in
   5896  A) # ASCII based system
   5897     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5898   lt_SP2NL='tr \040 \012'
   5899   lt_NL2SP='tr \015\012 \040\040'
   5900   ;;
   5901  *) # EBCDIC based system
   5902   lt_SP2NL='tr \100 \n'
   5903   lt_NL2SP='tr \r\n \100\100'
   5904   ;;
   5905 esac
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   5916 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5917 if test "${lt_cv_ld_reload_flag+set}" = set; then
   5918   $as_echo_n "(cached) " >&6
   5919 else
   5920   lt_cv_ld_reload_flag='-r'
   5921 fi
   5922 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   5923 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5924 reload_flag=$lt_cv_ld_reload_flag
   5925 case $reload_flag in
   5926 "" | " "*) ;;
   5927 *) reload_flag=" $reload_flag" ;;
   5928 esac
   5929 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5930 case $host_os in
   5931   darwin*)
   5932     if test "$GCC" = yes; then
   5933       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5934     else
   5935       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5936     fi
   5937     ;;
   5938 esac
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 if test -n "$ac_tool_prefix"; then
   5949   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5950 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5951 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5952 $as_echo_n "checking for $ac_word... " >&6; }
   5953 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   5954   $as_echo_n "(cached) " >&6
   5955 else
   5956   if test -n "$OBJDUMP"; then
   5957   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5958 else
   5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5960 for as_dir in $PATH
   5961 do
   5962   IFS=$as_save_IFS
   5963   test -z "$as_dir" && as_dir=.
   5964   for ac_exec_ext in '' $ac_executable_extensions; do
   5965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5966     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5967     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5968     break 2
   5969   fi
   5970 done
   5971 done
   5972 IFS=$as_save_IFS
   5973 
   5974 fi
   5975 fi
   5976 OBJDUMP=$ac_cv_prog_OBJDUMP
   5977 if test -n "$OBJDUMP"; then
   5978   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   5979 $as_echo "$OBJDUMP" >&6; }
   5980 else
   5981   { $as_echo "$as_me:$LINENO: result: no" >&5
   5982 $as_echo "no" >&6; }
   5983 fi
   5984 
   5985 
   5986 fi
   5987 if test -z "$ac_cv_prog_OBJDUMP"; then
   5988   ac_ct_OBJDUMP=$OBJDUMP
   5989   # Extract the first word of "objdump", so it can be a program name with args.
   5990 set dummy objdump; ac_word=$2
   5991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5992 $as_echo_n "checking for $ac_word... " >&6; }
   5993 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   5994   $as_echo_n "(cached) " >&6
   5995 else
   5996   if test -n "$ac_ct_OBJDUMP"; then
   5997   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5998 else
   5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6000 for as_dir in $PATH
   6001 do
   6002   IFS=$as_save_IFS
   6003   test -z "$as_dir" && as_dir=.
   6004   for ac_exec_ext in '' $ac_executable_extensions; do
   6005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6006     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6007     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6008     break 2
   6009   fi
   6010 done
   6011 done
   6012 IFS=$as_save_IFS
   6013 
   6014 fi
   6015 fi
   6016 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6017 if test -n "$ac_ct_OBJDUMP"; then
   6018   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   6019 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6020 else
   6021   { $as_echo "$as_me:$LINENO: result: no" >&5
   6022 $as_echo "no" >&6; }
   6023 fi
   6024 
   6025   if test "x$ac_ct_OBJDUMP" = x; then
   6026     OBJDUMP="false"
   6027   else
   6028     case $cross_compiling:$ac_tool_warned in
   6029 yes:)
   6030 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6032 ac_tool_warned=yes ;;
   6033 esac
   6034     OBJDUMP=$ac_ct_OBJDUMP
   6035   fi
   6036 else
   6037   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6038 fi
   6039 
   6040 test -z "$OBJDUMP" && OBJDUMP=objdump
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   6051 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6052 if test "${lt_cv_deplibs_check_method+set}" = set; then
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6056 lt_cv_file_magic_test_file=
   6057 lt_cv_deplibs_check_method='unknown'
   6058 # Need to set the preceding variable on all platforms that support
   6059 # interlibrary dependencies.
   6060 # 'none' -- dependencies not supported.
   6061 # `unknown' -- same as none, but documents that we really don't know.
   6062 # 'pass_all' -- all dependencies passed with no checks.
   6063 # 'test_compile' -- check by making test program.
   6064 # 'file_magic [[regex]]' -- check by looking for files in library path
   6065 # which responds to the $file_magic_cmd with a given extended regex.
   6066 # If you have `file' or equivalent on your system and you're not sure
   6067 # whether `pass_all' will *always* work, you probably want this one.
   6068 
   6069 case $host_os in
   6070 aix[4-9]*)
   6071   lt_cv_deplibs_check_method=pass_all
   6072   ;;
   6073 
   6074 beos*)
   6075   lt_cv_deplibs_check_method=pass_all
   6076   ;;
   6077 
   6078 bsdi[45]*)
   6079   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6080   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6081   lt_cv_file_magic_test_file=/shlib/libc.so
   6082   ;;
   6083 
   6084 cygwin*)
   6085   # func_win32_libid is a shell function defined in ltmain.sh
   6086   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6087   lt_cv_file_magic_cmd='func_win32_libid'
   6088   ;;
   6089 
   6090 mingw* | pw32*)
   6091   # Base MSYS/MinGW do not provide the 'file' command needed by
   6092   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6093   # unless we find 'file', for example because we are cross-compiling.
   6094   if ( file / ) >/dev/null 2>&1; then
   6095     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6096     lt_cv_file_magic_cmd='func_win32_libid'
   6097   else
   6098     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6099     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6100   fi
   6101   ;;
   6102 
   6103 cegcc)
   6104   # use the weaker test based on 'objdump'. See mingw*.
   6105   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6106   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6107   ;;
   6108 
   6109 darwin* | rhapsody*)
   6110   lt_cv_deplibs_check_method=pass_all
   6111   ;;
   6112 
   6113 freebsd* | dragonfly*)
   6114   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6115     case $host_cpu in
   6116     i*86 )
   6117       # Not sure whether the presence of OpenBSD here was a mistake.
   6118       # Let's accept both of them until this is cleared up.
   6119       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6120       lt_cv_file_magic_cmd=/usr/bin/file
   6121       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6122       ;;
   6123     esac
   6124   else
   6125     lt_cv_deplibs_check_method=pass_all
   6126   fi
   6127   ;;
   6128 
   6129 gnu*)
   6130   lt_cv_deplibs_check_method=pass_all
   6131   ;;
   6132 
   6133 hpux10.20* | hpux11*)
   6134   lt_cv_file_magic_cmd=/usr/bin/file
   6135   case $host_cpu in
   6136   ia64*)
   6137     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6138     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6139     ;;
   6140   hppa*64*)
   6141     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]'
   6142     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6143     ;;
   6144   *)
   6145     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6146     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6147     ;;
   6148   esac
   6149   ;;
   6150 
   6151 interix[3-9]*)
   6152   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6153   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6154   ;;
   6155 
   6156 irix5* | irix6* | nonstopux*)
   6157   case $LD in
   6158   *-32|*"-32 ") libmagic=32-bit;;
   6159   *-n32|*"-n32 ") libmagic=N32;;
   6160   *-64|*"-64 ") libmagic=64-bit;;
   6161   *) libmagic=never-match;;
   6162   esac
   6163   lt_cv_deplibs_check_method=pass_all
   6164   ;;
   6165 
   6166 # This must be Linux ELF.
   6167 linux* | k*bsd*-gnu)
   6168   lt_cv_deplibs_check_method=pass_all
   6169   ;;
   6170 
   6171 netbsd*)
   6172   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6173     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6174   else
   6175     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6176   fi
   6177   ;;
   6178 
   6179 newos6*)
   6180   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6181   lt_cv_file_magic_cmd=/usr/bin/file
   6182   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6183   ;;
   6184 
   6185 *nto* | *qnx*)
   6186   lt_cv_deplibs_check_method=pass_all
   6187   ;;
   6188 
   6189 openbsd*)
   6190   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6191     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6192   else
   6193     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6194   fi
   6195   ;;
   6196 
   6197 osf3* | osf4* | osf5*)
   6198   lt_cv_deplibs_check_method=pass_all
   6199   ;;
   6200 
   6201 rdos*)
   6202   lt_cv_deplibs_check_method=pass_all
   6203   ;;
   6204 
   6205 solaris*)
   6206   lt_cv_deplibs_check_method=pass_all
   6207   ;;
   6208 
   6209 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6210   lt_cv_deplibs_check_method=pass_all
   6211   ;;
   6212 
   6213 sysv4 | sysv4.3*)
   6214   case $host_vendor in
   6215   motorola)
   6216     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]'
   6217     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6218     ;;
   6219   ncr)
   6220     lt_cv_deplibs_check_method=pass_all
   6221     ;;
   6222   sequent)
   6223     lt_cv_file_magic_cmd='/bin/file'
   6224     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6225     ;;
   6226   sni)
   6227     lt_cv_file_magic_cmd='/bin/file'
   6228     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6229     lt_cv_file_magic_test_file=/lib/libc.so
   6230     ;;
   6231   siemens)
   6232     lt_cv_deplibs_check_method=pass_all
   6233     ;;
   6234   pc)
   6235     lt_cv_deplibs_check_method=pass_all
   6236     ;;
   6237   esac
   6238   ;;
   6239 
   6240 tpf*)
   6241   lt_cv_deplibs_check_method=pass_all
   6242   ;;
   6243 esac
   6244 
   6245 fi
   6246 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   6247 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6248 file_magic_cmd=$lt_cv_file_magic_cmd
   6249 deplibs_check_method=$lt_cv_deplibs_check_method
   6250 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 if test -n "$ac_tool_prefix"; then
   6264   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6265 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6267 $as_echo_n "checking for $ac_word... " >&6; }
   6268 if test "${ac_cv_prog_AR+set}" = set; then
   6269   $as_echo_n "(cached) " >&6
   6270 else
   6271   if test -n "$AR"; then
   6272   ac_cv_prog_AR="$AR" # Let the user override the test.
   6273 else
   6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6275 for as_dir in $PATH
   6276 do
   6277   IFS=$as_save_IFS
   6278   test -z "$as_dir" && as_dir=.
   6279   for ac_exec_ext in '' $ac_executable_extensions; do
   6280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6281     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6282     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6283     break 2
   6284   fi
   6285 done
   6286 done
   6287 IFS=$as_save_IFS
   6288 
   6289 fi
   6290 fi
   6291 AR=$ac_cv_prog_AR
   6292 if test -n "$AR"; then
   6293   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6294 $as_echo "$AR" >&6; }
   6295 else
   6296   { $as_echo "$as_me:$LINENO: result: no" >&5
   6297 $as_echo "no" >&6; }
   6298 fi
   6299 
   6300 
   6301 fi
   6302 if test -z "$ac_cv_prog_AR"; then
   6303   ac_ct_AR=$AR
   6304   # Extract the first word of "ar", so it can be a program name with args.
   6305 set dummy ar; ac_word=$2
   6306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6307 $as_echo_n "checking for $ac_word... " >&6; }
   6308 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6309   $as_echo_n "(cached) " >&6
   6310 else
   6311   if test -n "$ac_ct_AR"; then
   6312   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6313 else
   6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6315 for as_dir in $PATH
   6316 do
   6317   IFS=$as_save_IFS
   6318   test -z "$as_dir" && as_dir=.
   6319   for ac_exec_ext in '' $ac_executable_extensions; do
   6320   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6321     ac_cv_prog_ac_ct_AR="ar"
   6322     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6323     break 2
   6324   fi
   6325 done
   6326 done
   6327 IFS=$as_save_IFS
   6328 
   6329 fi
   6330 fi
   6331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6332 if test -n "$ac_ct_AR"; then
   6333   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6334 $as_echo "$ac_ct_AR" >&6; }
   6335 else
   6336   { $as_echo "$as_me:$LINENO: result: no" >&5
   6337 $as_echo "no" >&6; }
   6338 fi
   6339 
   6340   if test "x$ac_ct_AR" = x; then
   6341     AR="false"
   6342   else
   6343     case $cross_compiling:$ac_tool_warned in
   6344 yes:)
   6345 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6347 ac_tool_warned=yes ;;
   6348 esac
   6349     AR=$ac_ct_AR
   6350   fi
   6351 else
   6352   AR="$ac_cv_prog_AR"
   6353 fi
   6354 
   6355 test -z "$AR" && AR=ar
   6356 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 if test -n "$ac_tool_prefix"; then
   6369   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6370 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6372 $as_echo_n "checking for $ac_word... " >&6; }
   6373 if test "${ac_cv_prog_STRIP+set}" = set; then
   6374   $as_echo_n "(cached) " >&6
   6375 else
   6376   if test -n "$STRIP"; then
   6377   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6378 else
   6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6380 for as_dir in $PATH
   6381 do
   6382   IFS=$as_save_IFS
   6383   test -z "$as_dir" && as_dir=.
   6384   for ac_exec_ext in '' $ac_executable_extensions; do
   6385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6386     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6387     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6388     break 2
   6389   fi
   6390 done
   6391 done
   6392 IFS=$as_save_IFS
   6393 
   6394 fi
   6395 fi
   6396 STRIP=$ac_cv_prog_STRIP
   6397 if test -n "$STRIP"; then
   6398   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6399 $as_echo "$STRIP" >&6; }
   6400 else
   6401   { $as_echo "$as_me:$LINENO: result: no" >&5
   6402 $as_echo "no" >&6; }
   6403 fi
   6404 
   6405 
   6406 fi
   6407 if test -z "$ac_cv_prog_STRIP"; then
   6408   ac_ct_STRIP=$STRIP
   6409   # Extract the first word of "strip", so it can be a program name with args.
   6410 set dummy strip; ac_word=$2
   6411 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6412 $as_echo_n "checking for $ac_word... " >&6; }
   6413 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6414   $as_echo_n "(cached) " >&6
   6415 else
   6416   if test -n "$ac_ct_STRIP"; then
   6417   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6418 else
   6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6420 for as_dir in $PATH
   6421 do
   6422   IFS=$as_save_IFS
   6423   test -z "$as_dir" && as_dir=.
   6424   for ac_exec_ext in '' $ac_executable_extensions; do
   6425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6426     ac_cv_prog_ac_ct_STRIP="strip"
   6427     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6428     break 2
   6429   fi
   6430 done
   6431 done
   6432 IFS=$as_save_IFS
   6433 
   6434 fi
   6435 fi
   6436 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6437 if test -n "$ac_ct_STRIP"; then
   6438   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6439 $as_echo "$ac_ct_STRIP" >&6; }
   6440 else
   6441   { $as_echo "$as_me:$LINENO: result: no" >&5
   6442 $as_echo "no" >&6; }
   6443 fi
   6444 
   6445   if test "x$ac_ct_STRIP" = x; then
   6446     STRIP=":"
   6447   else
   6448     case $cross_compiling:$ac_tool_warned in
   6449 yes:)
   6450 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6452 ac_tool_warned=yes ;;
   6453 esac
   6454     STRIP=$ac_ct_STRIP
   6455   fi
   6456 else
   6457   STRIP="$ac_cv_prog_STRIP"
   6458 fi
   6459 
   6460 test -z "$STRIP" && STRIP=:
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 if test -n "$ac_tool_prefix"; then
   6468   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6469 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6471 $as_echo_n "checking for $ac_word... " >&6; }
   6472 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6473   $as_echo_n "(cached) " >&6
   6474 else
   6475   if test -n "$RANLIB"; then
   6476   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6477 else
   6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6479 for as_dir in $PATH
   6480 do
   6481   IFS=$as_save_IFS
   6482   test -z "$as_dir" && as_dir=.
   6483   for ac_exec_ext in '' $ac_executable_extensions; do
   6484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6485     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6486     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6487     break 2
   6488   fi
   6489 done
   6490 done
   6491 IFS=$as_save_IFS
   6492 
   6493 fi
   6494 fi
   6495 RANLIB=$ac_cv_prog_RANLIB
   6496 if test -n "$RANLIB"; then
   6497   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6498 $as_echo "$RANLIB" >&6; }
   6499 else
   6500   { $as_echo "$as_me:$LINENO: result: no" >&5
   6501 $as_echo "no" >&6; }
   6502 fi
   6503 
   6504 
   6505 fi
   6506 if test -z "$ac_cv_prog_RANLIB"; then
   6507   ac_ct_RANLIB=$RANLIB
   6508   # Extract the first word of "ranlib", so it can be a program name with args.
   6509 set dummy ranlib; ac_word=$2
   6510 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6511 $as_echo_n "checking for $ac_word... " >&6; }
   6512 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6513   $as_echo_n "(cached) " >&6
   6514 else
   6515   if test -n "$ac_ct_RANLIB"; then
   6516   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6517 else
   6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6519 for as_dir in $PATH
   6520 do
   6521   IFS=$as_save_IFS
   6522   test -z "$as_dir" && as_dir=.
   6523   for ac_exec_ext in '' $ac_executable_extensions; do
   6524   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6525     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6526     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6527     break 2
   6528   fi
   6529 done
   6530 done
   6531 IFS=$as_save_IFS
   6532 
   6533 fi
   6534 fi
   6535 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6536 if test -n "$ac_ct_RANLIB"; then
   6537   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6538 $as_echo "$ac_ct_RANLIB" >&6; }
   6539 else
   6540   { $as_echo "$as_me:$LINENO: result: no" >&5
   6541 $as_echo "no" >&6; }
   6542 fi
   6543 
   6544   if test "x$ac_ct_RANLIB" = x; then
   6545     RANLIB=":"
   6546   else
   6547     case $cross_compiling:$ac_tool_warned in
   6548 yes:)
   6549 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6551 ac_tool_warned=yes ;;
   6552 esac
   6553     RANLIB=$ac_ct_RANLIB
   6554   fi
   6555 else
   6556   RANLIB="$ac_cv_prog_RANLIB"
   6557 fi
   6558 
   6559 test -z "$RANLIB" && RANLIB=:
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 # Determine commands to create old-style static archives.
   6567 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6568 old_postinstall_cmds='chmod 644 $oldlib'
   6569 old_postuninstall_cmds=
   6570 
   6571 if test -n "$RANLIB"; then
   6572   case $host_os in
   6573   openbsd*)
   6574     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6575     ;;
   6576   *)
   6577     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6578     ;;
   6579   esac
   6580   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6581 fi
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 # If no C compiler was specified, use CC.
   6617 LTCC=${LTCC-"$CC"}
   6618 
   6619 # If no C compiler flags were specified, use CFLAGS.
   6620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6621 
   6622 # Allow CC to be a program name with arguments.
   6623 compiler=$CC
   6624 
   6625 
   6626 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6627 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6628 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6629 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6630   $as_echo_n "(cached) " >&6
   6631 else
   6632 
   6633 # These are sane defaults that work on at least a few old systems.
   6634 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6635 
   6636 # Character class describing NM global symbol codes.
   6637 symcode='[BCDEGRST]'
   6638 
   6639 # Regexp to match symbols that can be accessed directly from C.
   6640 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6641 
   6642 # Define system-specific variables.
   6643 case $host_os in
   6644 aix*)
   6645   symcode='[BCDT]'
   6646   ;;
   6647 cygwin* | mingw* | pw32* | cegcc*)
   6648   symcode='[ABCDGISTW]'
   6649   ;;
   6650 hpux*)
   6651   if test "$host_cpu" = ia64; then
   6652     symcode='[ABCDEGRST]'
   6653   fi
   6654   ;;
   6655 irix* | nonstopux*)
   6656   symcode='[BCDEGRST]'
   6657   ;;
   6658 osf*)
   6659   symcode='[BCDEGQRST]'
   6660   ;;
   6661 solaris*)
   6662   symcode='[BDRT]'
   6663   ;;
   6664 sco3.2v5*)
   6665   symcode='[DT]'
   6666   ;;
   6667 sysv4.2uw2*)
   6668   symcode='[DT]'
   6669   ;;
   6670 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6671   symcode='[ABDT]'
   6672   ;;
   6673 sysv4)
   6674   symcode='[DFNSTU]'
   6675   ;;
   6676 esac
   6677 
   6678 # If we're using GNU nm, then use its standard symbol codes.
   6679 case `$NM -V 2>&1` in
   6680 *GNU* | *'with BFD'*)
   6681   symcode='[ABCDGIRSTW]' ;;
   6682 esac
   6683 
   6684 # Transform an extracted symbol line into a proper C declaration.
   6685 # Some systems (esp. on ia64) link data and code symbols differently,
   6686 # so use this general approach.
   6687 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6688 
   6689 # Transform an extracted symbol line into symbol name and symbol address
   6690 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6691 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'"
   6692 
   6693 # Handle CRLF in mingw tool chain
   6694 opt_cr=
   6695 case $build_os in
   6696 mingw*)
   6697   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6698   ;;
   6699 esac
   6700 
   6701 # Try without a prefix underscore, then with it.
   6702 for ac_symprfx in "" "_"; do
   6703 
   6704   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6705   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6706 
   6707   # Write the raw and C identifiers.
   6708   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6709     # Fake it for dumpbin and say T for any non-static function
   6710     # and D for any global variable.
   6711     # Also find C++ and __fastcall symbols from MSVC++,
   6712     # which start with @ or ?.
   6713     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6714 "     {last_section=section; section=\$ 3};"\
   6715 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6716 "     \$ 0!~/External *\|/{next};"\
   6717 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6718 "     {if(hide[section]) next};"\
   6719 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6720 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6721 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6722 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6723 "     ' prfx=^$ac_symprfx"
   6724   else
   6725     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6726   fi
   6727 
   6728   # Check to see that the pipe works correctly.
   6729   pipe_works=no
   6730 
   6731   rm -f conftest*
   6732   cat > conftest.$ac_ext <<_LT_EOF
   6733 #ifdef __cplusplus
   6734 extern "C" {
   6735 #endif
   6736 char nm_test_var;
   6737 void nm_test_func(void);
   6738 void nm_test_func(void){}
   6739 #ifdef __cplusplus
   6740 }
   6741 #endif
   6742 int main(){nm_test_var='a';nm_test_func();return(0);}
   6743 _LT_EOF
   6744 
   6745   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6746   (eval $ac_compile) 2>&5
   6747   ac_status=$?
   6748   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6749   (exit $ac_status); }; then
   6750     # Now try to grab the symbols.
   6751     nlist=conftest.nm
   6752     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6753   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6754   ac_status=$?
   6755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6756   (exit $ac_status); } && test -s "$nlist"; then
   6757       # Try sorting and uniquifying the output.
   6758       if sort "$nlist" | uniq > "$nlist"T; then
   6759 	mv -f "$nlist"T "$nlist"
   6760       else
   6761 	rm -f "$nlist"T
   6762       fi
   6763 
   6764       # Make sure that we snagged all the symbols we need.
   6765       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6766 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6767 	  cat <<_LT_EOF > conftest.$ac_ext
   6768 #ifdef __cplusplus
   6769 extern "C" {
   6770 #endif
   6771 
   6772 _LT_EOF
   6773 	  # Now generate the symbol file.
   6774 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6775 
   6776 	  cat <<_LT_EOF >> conftest.$ac_ext
   6777 
   6778 /* The mapping between symbol names and symbols.  */
   6779 const struct {
   6780   const char *name;
   6781   void       *address;
   6782 }
   6783 lt__PROGRAM__LTX_preloaded_symbols[] =
   6784 {
   6785   { "@PROGRAM@", (void *) 0 },
   6786 _LT_EOF
   6787 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6788 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6789   {0, (void *) 0}
   6790 };
   6791 
   6792 /* This works around a problem in FreeBSD linker */
   6793 #ifdef FREEBSD_WORKAROUND
   6794 static const void *lt_preloaded_setup() {
   6795   return lt__PROGRAM__LTX_preloaded_symbols;
   6796 }
   6797 #endif
   6798 
   6799 #ifdef __cplusplus
   6800 }
   6801 #endif
   6802 _LT_EOF
   6803 	  # Now try linking the two files.
   6804 	  mv conftest.$ac_objext conftstm.$ac_objext
   6805 	  lt_save_LIBS="$LIBS"
   6806 	  lt_save_CFLAGS="$CFLAGS"
   6807 	  LIBS="conftstm.$ac_objext"
   6808 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6809 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6810   (eval $ac_link) 2>&5
   6811   ac_status=$?
   6812   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6813   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6814 	    pipe_works=yes
   6815 	  fi
   6816 	  LIBS="$lt_save_LIBS"
   6817 	  CFLAGS="$lt_save_CFLAGS"
   6818 	else
   6819 	  echo "cannot find nm_test_func in $nlist" >&5
   6820 	fi
   6821       else
   6822 	echo "cannot find nm_test_var in $nlist" >&5
   6823       fi
   6824     else
   6825       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6826     fi
   6827   else
   6828     echo "$progname: failed program was:" >&5
   6829     cat conftest.$ac_ext >&5
   6830   fi
   6831   rm -rf conftest* conftst*
   6832 
   6833   # Do not use the global_symbol_pipe unless it works.
   6834   if test "$pipe_works" = yes; then
   6835     break
   6836   else
   6837     lt_cv_sys_global_symbol_pipe=
   6838   fi
   6839 done
   6840 
   6841 fi
   6842 
   6843 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6844   lt_cv_sys_global_symbol_to_cdecl=
   6845 fi
   6846 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6847   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6848 $as_echo "failed" >&6; }
   6849 else
   6850   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6851 $as_echo "ok" >&6; }
   6852 fi
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 # Check whether --enable-libtool-lock was given.
   6876 if test "${enable_libtool_lock+set}" = set; then
   6877   enableval=$enable_libtool_lock;
   6878 fi
   6879 
   6880 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6881 
   6882 # Some flags need to be propagated to the compiler or linker for good
   6883 # libtool support.
   6884 case $host in
   6885 ia64-*-hpux*)
   6886   # Find out which ABI we are using.
   6887   echo 'int i;' > conftest.$ac_ext
   6888   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6889   (eval $ac_compile) 2>&5
   6890   ac_status=$?
   6891   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6892   (exit $ac_status); }; then
   6893     case `/usr/bin/file conftest.$ac_objext` in
   6894       *ELF-32*)
   6895 	HPUX_IA64_MODE="32"
   6896 	;;
   6897       *ELF-64*)
   6898 	HPUX_IA64_MODE="64"
   6899 	;;
   6900     esac
   6901   fi
   6902   rm -rf conftest*
   6903   ;;
   6904 *-*-irix6*)
   6905   # Find out which ABI we are using.
   6906   echo '#line 6906 "configure"' > conftest.$ac_ext
   6907   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6908   (eval $ac_compile) 2>&5
   6909   ac_status=$?
   6910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6911   (exit $ac_status); }; then
   6912     if test "$lt_cv_prog_gnu_ld" = yes; then
   6913       case `/usr/bin/file conftest.$ac_objext` in
   6914 	*32-bit*)
   6915 	  LD="${LD-ld} -melf32bsmip"
   6916 	  ;;
   6917 	*N32*)
   6918 	  LD="${LD-ld} -melf32bmipn32"
   6919 	  ;;
   6920 	*64-bit*)
   6921 	  LD="${LD-ld} -melf64bmip"
   6922 	;;
   6923       esac
   6924     else
   6925       case `/usr/bin/file conftest.$ac_objext` in
   6926 	*32-bit*)
   6927 	  LD="${LD-ld} -32"
   6928 	  ;;
   6929 	*N32*)
   6930 	  LD="${LD-ld} -n32"
   6931 	  ;;
   6932 	*64-bit*)
   6933 	  LD="${LD-ld} -64"
   6934 	  ;;
   6935       esac
   6936     fi
   6937   fi
   6938   rm -rf conftest*
   6939   ;;
   6940 
   6941 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6942 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6943   # Find out which ABI we are using.
   6944   echo 'int i;' > conftest.$ac_ext
   6945   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6946   (eval $ac_compile) 2>&5
   6947   ac_status=$?
   6948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6949   (exit $ac_status); }; then
   6950     case `/usr/bin/file conftest.o` in
   6951       *32-bit*)
   6952 	case $host in
   6953 	  x86_64-*kfreebsd*-gnu)
   6954 	    LD="${LD-ld} -m elf_i386_fbsd"
   6955 	    ;;
   6956 	  x86_64-*linux*)
   6957 	    LD="${LD-ld} -m elf_i386"
   6958 	    ;;
   6959 	  ppc64-*linux*|powerpc64-*linux*)
   6960 	    LD="${LD-ld} -m elf32ppclinux"
   6961 	    ;;
   6962 	  s390x-*linux*)
   6963 	    LD="${LD-ld} -m elf_s390"
   6964 	    ;;
   6965 	  sparc64-*linux*)
   6966 	    LD="${LD-ld} -m elf32_sparc"
   6967 	    ;;
   6968 	esac
   6969 	;;
   6970       *64-bit*)
   6971 	case $host in
   6972 	  x86_64-*kfreebsd*-gnu)
   6973 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6974 	    ;;
   6975 	  x86_64-*linux*)
   6976 	    LD="${LD-ld} -m elf_x86_64"
   6977 	    ;;
   6978 	  ppc*-*linux*|powerpc*-*linux*)
   6979 	    LD="${LD-ld} -m elf64ppc"
   6980 	    ;;
   6981 	  s390*-*linux*|s390*-*tpf*)
   6982 	    LD="${LD-ld} -m elf64_s390"
   6983 	    ;;
   6984 	  sparc*-*linux*)
   6985 	    LD="${LD-ld} -m elf64_sparc"
   6986 	    ;;
   6987 	esac
   6988 	;;
   6989     esac
   6990   fi
   6991   rm -rf conftest*
   6992   ;;
   6993 
   6994 *-*-sco3.2v5*)
   6995   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6996   SAVE_CFLAGS="$CFLAGS"
   6997   CFLAGS="$CFLAGS -belf"
   6998   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   6999 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7000 if test "${lt_cv_cc_needs_belf+set}" = set; then
   7001   $as_echo_n "(cached) " >&6
   7002 else
   7003   ac_ext=c
   7004 ac_cpp='$CPP $CPPFLAGS'
   7005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7008 
   7009      cat >conftest.$ac_ext <<_ACEOF
   7010 /* confdefs.h.  */
   7011 _ACEOF
   7012 cat confdefs.h >>conftest.$ac_ext
   7013 cat >>conftest.$ac_ext <<_ACEOF
   7014 /* end confdefs.h.  */
   7015 
   7016 int
   7017 main ()
   7018 {
   7019 
   7020   ;
   7021   return 0;
   7022 }
   7023 _ACEOF
   7024 rm -f conftest.$ac_objext conftest$ac_exeext
   7025 if { (ac_try="$ac_link"
   7026 case "(($ac_try" in
   7027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7028   *) ac_try_echo=$ac_try;;
   7029 esac
   7030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7031 $as_echo "$ac_try_echo") >&5
   7032   (eval "$ac_link") 2>conftest.er1
   7033   ac_status=$?
   7034   grep -v '^ *+' conftest.er1 >conftest.err
   7035   rm -f conftest.er1
   7036   cat conftest.err >&5
   7037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7038   (exit $ac_status); } && {
   7039 	 test -z "$ac_c_werror_flag" ||
   7040 	 test ! -s conftest.err
   7041        } && test -s conftest$ac_exeext && {
   7042 	 test "$cross_compiling" = yes ||
   7043 	 $as_test_x conftest$ac_exeext
   7044        }; then
   7045   lt_cv_cc_needs_belf=yes
   7046 else
   7047   $as_echo "$as_me: failed program was:" >&5
   7048 sed 's/^/| /' conftest.$ac_ext >&5
   7049 
   7050 	lt_cv_cc_needs_belf=no
   7051 fi
   7052 
   7053 rm -rf conftest.dSYM
   7054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7055       conftest$ac_exeext conftest.$ac_ext
   7056      ac_ext=c
   7057 ac_cpp='$CPP $CPPFLAGS'
   7058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7061 
   7062 fi
   7063 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   7064 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7065   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7066     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7067     CFLAGS="$SAVE_CFLAGS"
   7068   fi
   7069   ;;
   7070 sparc*-*solaris*)
   7071   # Find out which ABI we are using.
   7072   echo 'int i;' > conftest.$ac_ext
   7073   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7074   (eval $ac_compile) 2>&5
   7075   ac_status=$?
   7076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7077   (exit $ac_status); }; then
   7078     case `/usr/bin/file conftest.o` in
   7079     *64-bit*)
   7080       case $lt_cv_prog_gnu_ld in
   7081       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7082       *)
   7083 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7084 	  LD="${LD-ld} -64"
   7085 	fi
   7086 	;;
   7087       esac
   7088       ;;
   7089     esac
   7090   fi
   7091   rm -rf conftest*
   7092   ;;
   7093 esac
   7094 
   7095 need_locks="$enable_libtool_lock"
   7096 
   7097 
   7098   case $host_os in
   7099     rhapsody* | darwin*)
   7100     if test -n "$ac_tool_prefix"; then
   7101   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7102 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7104 $as_echo_n "checking for $ac_word... " >&6; }
   7105 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7106   $as_echo_n "(cached) " >&6
   7107 else
   7108   if test -n "$DSYMUTIL"; then
   7109   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7110 else
   7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7112 for as_dir in $PATH
   7113 do
   7114   IFS=$as_save_IFS
   7115   test -z "$as_dir" && as_dir=.
   7116   for ac_exec_ext in '' $ac_executable_extensions; do
   7117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7118     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7119     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7120     break 2
   7121   fi
   7122 done
   7123 done
   7124 IFS=$as_save_IFS
   7125 
   7126 fi
   7127 fi
   7128 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7129 if test -n "$DSYMUTIL"; then
   7130   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7131 $as_echo "$DSYMUTIL" >&6; }
   7132 else
   7133   { $as_echo "$as_me:$LINENO: result: no" >&5
   7134 $as_echo "no" >&6; }
   7135 fi
   7136 
   7137 
   7138 fi
   7139 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7140   ac_ct_DSYMUTIL=$DSYMUTIL
   7141   # Extract the first word of "dsymutil", so it can be a program name with args.
   7142 set dummy dsymutil; ac_word=$2
   7143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7144 $as_echo_n "checking for $ac_word... " >&6; }
   7145 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7146   $as_echo_n "(cached) " >&6
   7147 else
   7148   if test -n "$ac_ct_DSYMUTIL"; then
   7149   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7150 else
   7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7152 for as_dir in $PATH
   7153 do
   7154   IFS=$as_save_IFS
   7155   test -z "$as_dir" && as_dir=.
   7156   for ac_exec_ext in '' $ac_executable_extensions; do
   7157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7158     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7160     break 2
   7161   fi
   7162 done
   7163 done
   7164 IFS=$as_save_IFS
   7165 
   7166 fi
   7167 fi
   7168 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7169 if test -n "$ac_ct_DSYMUTIL"; then
   7170   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7171 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7172 else
   7173   { $as_echo "$as_me:$LINENO: result: no" >&5
   7174 $as_echo "no" >&6; }
   7175 fi
   7176 
   7177   if test "x$ac_ct_DSYMUTIL" = x; then
   7178     DSYMUTIL=":"
   7179   else
   7180     case $cross_compiling:$ac_tool_warned in
   7181 yes:)
   7182 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7184 ac_tool_warned=yes ;;
   7185 esac
   7186     DSYMUTIL=$ac_ct_DSYMUTIL
   7187   fi
   7188 else
   7189   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7190 fi
   7191 
   7192     if test -n "$ac_tool_prefix"; then
   7193   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7194 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7196 $as_echo_n "checking for $ac_word... " >&6; }
   7197 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7198   $as_echo_n "(cached) " >&6
   7199 else
   7200   if test -n "$NMEDIT"; then
   7201   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7202 else
   7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7204 for as_dir in $PATH
   7205 do
   7206   IFS=$as_save_IFS
   7207   test -z "$as_dir" && as_dir=.
   7208   for ac_exec_ext in '' $ac_executable_extensions; do
   7209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7210     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7211     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7212     break 2
   7213   fi
   7214 done
   7215 done
   7216 IFS=$as_save_IFS
   7217 
   7218 fi
   7219 fi
   7220 NMEDIT=$ac_cv_prog_NMEDIT
   7221 if test -n "$NMEDIT"; then
   7222   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7223 $as_echo "$NMEDIT" >&6; }
   7224 else
   7225   { $as_echo "$as_me:$LINENO: result: no" >&5
   7226 $as_echo "no" >&6; }
   7227 fi
   7228 
   7229 
   7230 fi
   7231 if test -z "$ac_cv_prog_NMEDIT"; then
   7232   ac_ct_NMEDIT=$NMEDIT
   7233   # Extract the first word of "nmedit", so it can be a program name with args.
   7234 set dummy nmedit; ac_word=$2
   7235 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7236 $as_echo_n "checking for $ac_word... " >&6; }
   7237 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7238   $as_echo_n "(cached) " >&6
   7239 else
   7240   if test -n "$ac_ct_NMEDIT"; then
   7241   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7242 else
   7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7244 for as_dir in $PATH
   7245 do
   7246   IFS=$as_save_IFS
   7247   test -z "$as_dir" && as_dir=.
   7248   for ac_exec_ext in '' $ac_executable_extensions; do
   7249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7250     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7251     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7252     break 2
   7253   fi
   7254 done
   7255 done
   7256 IFS=$as_save_IFS
   7257 
   7258 fi
   7259 fi
   7260 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7261 if test -n "$ac_ct_NMEDIT"; then
   7262   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7263 $as_echo "$ac_ct_NMEDIT" >&6; }
   7264 else
   7265   { $as_echo "$as_me:$LINENO: result: no" >&5
   7266 $as_echo "no" >&6; }
   7267 fi
   7268 
   7269   if test "x$ac_ct_NMEDIT" = x; then
   7270     NMEDIT=":"
   7271   else
   7272     case $cross_compiling:$ac_tool_warned in
   7273 yes:)
   7274 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7276 ac_tool_warned=yes ;;
   7277 esac
   7278     NMEDIT=$ac_ct_NMEDIT
   7279   fi
   7280 else
   7281   NMEDIT="$ac_cv_prog_NMEDIT"
   7282 fi
   7283 
   7284     if test -n "$ac_tool_prefix"; then
   7285   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7286 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7288 $as_echo_n "checking for $ac_word... " >&6; }
   7289 if test "${ac_cv_prog_LIPO+set}" = set; then
   7290   $as_echo_n "(cached) " >&6
   7291 else
   7292   if test -n "$LIPO"; then
   7293   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7294 else
   7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7296 for as_dir in $PATH
   7297 do
   7298   IFS=$as_save_IFS
   7299   test -z "$as_dir" && as_dir=.
   7300   for ac_exec_ext in '' $ac_executable_extensions; do
   7301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7302     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7303     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7304     break 2
   7305   fi
   7306 done
   7307 done
   7308 IFS=$as_save_IFS
   7309 
   7310 fi
   7311 fi
   7312 LIPO=$ac_cv_prog_LIPO
   7313 if test -n "$LIPO"; then
   7314   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   7315 $as_echo "$LIPO" >&6; }
   7316 else
   7317   { $as_echo "$as_me:$LINENO: result: no" >&5
   7318 $as_echo "no" >&6; }
   7319 fi
   7320 
   7321 
   7322 fi
   7323 if test -z "$ac_cv_prog_LIPO"; then
   7324   ac_ct_LIPO=$LIPO
   7325   # Extract the first word of "lipo", so it can be a program name with args.
   7326 set dummy lipo; ac_word=$2
   7327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7328 $as_echo_n "checking for $ac_word... " >&6; }
   7329 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   if test -n "$ac_ct_LIPO"; then
   7333   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7334 else
   7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7336 for as_dir in $PATH
   7337 do
   7338   IFS=$as_save_IFS
   7339   test -z "$as_dir" && as_dir=.
   7340   for ac_exec_ext in '' $ac_executable_extensions; do
   7341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7342     ac_cv_prog_ac_ct_LIPO="lipo"
   7343     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7344     break 2
   7345   fi
   7346 done
   7347 done
   7348 IFS=$as_save_IFS
   7349 
   7350 fi
   7351 fi
   7352 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7353 if test -n "$ac_ct_LIPO"; then
   7354   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   7355 $as_echo "$ac_ct_LIPO" >&6; }
   7356 else
   7357   { $as_echo "$as_me:$LINENO: result: no" >&5
   7358 $as_echo "no" >&6; }
   7359 fi
   7360 
   7361   if test "x$ac_ct_LIPO" = x; then
   7362     LIPO=":"
   7363   else
   7364     case $cross_compiling:$ac_tool_warned in
   7365 yes:)
   7366 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7368 ac_tool_warned=yes ;;
   7369 esac
   7370     LIPO=$ac_ct_LIPO
   7371   fi
   7372 else
   7373   LIPO="$ac_cv_prog_LIPO"
   7374 fi
   7375 
   7376     if test -n "$ac_tool_prefix"; then
   7377   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7378 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7380 $as_echo_n "checking for $ac_word... " >&6; }
   7381 if test "${ac_cv_prog_OTOOL+set}" = set; then
   7382   $as_echo_n "(cached) " >&6
   7383 else
   7384   if test -n "$OTOOL"; then
   7385   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7386 else
   7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7388 for as_dir in $PATH
   7389 do
   7390   IFS=$as_save_IFS
   7391   test -z "$as_dir" && as_dir=.
   7392   for ac_exec_ext in '' $ac_executable_extensions; do
   7393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7394     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7395     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7396     break 2
   7397   fi
   7398 done
   7399 done
   7400 IFS=$as_save_IFS
   7401 
   7402 fi
   7403 fi
   7404 OTOOL=$ac_cv_prog_OTOOL
   7405 if test -n "$OTOOL"; then
   7406   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   7407 $as_echo "$OTOOL" >&6; }
   7408 else
   7409   { $as_echo "$as_me:$LINENO: result: no" >&5
   7410 $as_echo "no" >&6; }
   7411 fi
   7412 
   7413 
   7414 fi
   7415 if test -z "$ac_cv_prog_OTOOL"; then
   7416   ac_ct_OTOOL=$OTOOL
   7417   # Extract the first word of "otool", so it can be a program name with args.
   7418 set dummy otool; ac_word=$2
   7419 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7420 $as_echo_n "checking for $ac_word... " >&6; }
   7421 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   if test -n "$ac_ct_OTOOL"; then
   7425   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7426 else
   7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7428 for as_dir in $PATH
   7429 do
   7430   IFS=$as_save_IFS
   7431   test -z "$as_dir" && as_dir=.
   7432   for ac_exec_ext in '' $ac_executable_extensions; do
   7433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7434     ac_cv_prog_ac_ct_OTOOL="otool"
   7435     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7436     break 2
   7437   fi
   7438 done
   7439 done
   7440 IFS=$as_save_IFS
   7441 
   7442 fi
   7443 fi
   7444 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7445 if test -n "$ac_ct_OTOOL"; then
   7446   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   7447 $as_echo "$ac_ct_OTOOL" >&6; }
   7448 else
   7449   { $as_echo "$as_me:$LINENO: result: no" >&5
   7450 $as_echo "no" >&6; }
   7451 fi
   7452 
   7453   if test "x$ac_ct_OTOOL" = x; then
   7454     OTOOL=":"
   7455   else
   7456     case $cross_compiling:$ac_tool_warned in
   7457 yes:)
   7458 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7460 ac_tool_warned=yes ;;
   7461 esac
   7462     OTOOL=$ac_ct_OTOOL
   7463   fi
   7464 else
   7465   OTOOL="$ac_cv_prog_OTOOL"
   7466 fi
   7467 
   7468     if test -n "$ac_tool_prefix"; then
   7469   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7470 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7472 $as_echo_n "checking for $ac_word... " >&6; }
   7473 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   7474   $as_echo_n "(cached) " >&6
   7475 else
   7476   if test -n "$OTOOL64"; then
   7477   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7478 else
   7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7480 for as_dir in $PATH
   7481 do
   7482   IFS=$as_save_IFS
   7483   test -z "$as_dir" && as_dir=.
   7484   for ac_exec_ext in '' $ac_executable_extensions; do
   7485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7486     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7487     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7488     break 2
   7489   fi
   7490 done
   7491 done
   7492 IFS=$as_save_IFS
   7493 
   7494 fi
   7495 fi
   7496 OTOOL64=$ac_cv_prog_OTOOL64
   7497 if test -n "$OTOOL64"; then
   7498   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   7499 $as_echo "$OTOOL64" >&6; }
   7500 else
   7501   { $as_echo "$as_me:$LINENO: result: no" >&5
   7502 $as_echo "no" >&6; }
   7503 fi
   7504 
   7505 
   7506 fi
   7507 if test -z "$ac_cv_prog_OTOOL64"; then
   7508   ac_ct_OTOOL64=$OTOOL64
   7509   # Extract the first word of "otool64", so it can be a program name with args.
   7510 set dummy otool64; ac_word=$2
   7511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7512 $as_echo_n "checking for $ac_word... " >&6; }
   7513 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   7514   $as_echo_n "(cached) " >&6
   7515 else
   7516   if test -n "$ac_ct_OTOOL64"; then
   7517   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7518 else
   7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7520 for as_dir in $PATH
   7521 do
   7522   IFS=$as_save_IFS
   7523   test -z "$as_dir" && as_dir=.
   7524   for ac_exec_ext in '' $ac_executable_extensions; do
   7525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7526     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7527     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7528     break 2
   7529   fi
   7530 done
   7531 done
   7532 IFS=$as_save_IFS
   7533 
   7534 fi
   7535 fi
   7536 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7537 if test -n "$ac_ct_OTOOL64"; then
   7538   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   7539 $as_echo "$ac_ct_OTOOL64" >&6; }
   7540 else
   7541   { $as_echo "$as_me:$LINENO: result: no" >&5
   7542 $as_echo "no" >&6; }
   7543 fi
   7544 
   7545   if test "x$ac_ct_OTOOL64" = x; then
   7546     OTOOL64=":"
   7547   else
   7548     case $cross_compiling:$ac_tool_warned in
   7549 yes:)
   7550 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7552 ac_tool_warned=yes ;;
   7553 esac
   7554     OTOOL64=$ac_ct_OTOOL64
   7555   fi
   7556 else
   7557   OTOOL64="$ac_cv_prog_OTOOL64"
   7558 fi
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7587 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7588 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7589   $as_echo_n "(cached) " >&6
   7590 else
   7591   lt_cv_apple_cc_single_mod=no
   7592       if test -z "${LT_MULTI_MODULE}"; then
   7593 	# By default we will add the -single_module flag. You can override
   7594 	# by either setting the environment variable LT_MULTI_MODULE
   7595 	# non-empty at configure time, or by adding -multi_module to the
   7596 	# link flags.
   7597 	rm -rf libconftest.dylib*
   7598 	echo "int foo(void){return 1;}" > conftest.c
   7599 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7600 -dynamiclib -Wl,-single_module conftest.c" >&5
   7601 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7602 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7603         _lt_result=$?
   7604 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7605 	  lt_cv_apple_cc_single_mod=yes
   7606 	else
   7607 	  cat conftest.err >&5
   7608 	fi
   7609 	rm -rf libconftest.dylib*
   7610 	rm -f conftest.*
   7611       fi
   7612 fi
   7613 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7614 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7615     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7616 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7617 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7618   $as_echo_n "(cached) " >&6
   7619 else
   7620   lt_cv_ld_exported_symbols_list=no
   7621       save_LDFLAGS=$LDFLAGS
   7622       echo "_main" > conftest.sym
   7623       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7624       cat >conftest.$ac_ext <<_ACEOF
   7625 /* confdefs.h.  */
   7626 _ACEOF
   7627 cat confdefs.h >>conftest.$ac_ext
   7628 cat >>conftest.$ac_ext <<_ACEOF
   7629 /* end confdefs.h.  */
   7630 
   7631 int
   7632 main ()
   7633 {
   7634 
   7635   ;
   7636   return 0;
   7637 }
   7638 _ACEOF
   7639 rm -f conftest.$ac_objext conftest$ac_exeext
   7640 if { (ac_try="$ac_link"
   7641 case "(($ac_try" in
   7642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7643   *) ac_try_echo=$ac_try;;
   7644 esac
   7645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7646 $as_echo "$ac_try_echo") >&5
   7647   (eval "$ac_link") 2>conftest.er1
   7648   ac_status=$?
   7649   grep -v '^ *+' conftest.er1 >conftest.err
   7650   rm -f conftest.er1
   7651   cat conftest.err >&5
   7652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7653   (exit $ac_status); } && {
   7654 	 test -z "$ac_c_werror_flag" ||
   7655 	 test ! -s conftest.err
   7656        } && test -s conftest$ac_exeext && {
   7657 	 test "$cross_compiling" = yes ||
   7658 	 $as_test_x conftest$ac_exeext
   7659        }; then
   7660   lt_cv_ld_exported_symbols_list=yes
   7661 else
   7662   $as_echo "$as_me: failed program was:" >&5
   7663 sed 's/^/| /' conftest.$ac_ext >&5
   7664 
   7665 	lt_cv_ld_exported_symbols_list=no
   7666 fi
   7667 
   7668 rm -rf conftest.dSYM
   7669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7670       conftest$ac_exeext conftest.$ac_ext
   7671 	LDFLAGS="$save_LDFLAGS"
   7672 
   7673 fi
   7674 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7675 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7676     case $host_os in
   7677     rhapsody* | darwin1.[012])
   7678       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7679     darwin1.*)
   7680       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7681     darwin*) # darwin 5.x on
   7682       # if running on 10.5 or later, the deployment target defaults
   7683       # to the OS version, if on x86, and 10.4, the deployment
   7684       # target defaults to 10.4. Don't you love it?
   7685       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7686 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7687 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7688 	10.[012]*)
   7689 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7690 	10.*)
   7691 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7692       esac
   7693     ;;
   7694   esac
   7695     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7696       _lt_dar_single_mod='$single_module'
   7697     fi
   7698     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7699       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7700     else
   7701       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7702     fi
   7703     if test "$DSYMUTIL" != ":"; then
   7704       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7705     else
   7706       _lt_dsymutil=
   7707     fi
   7708     ;;
   7709   esac
   7710 
   7711 
   7712 for ac_header in dlfcn.h
   7713 do
   7714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7715 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   7716 $as_echo_n "checking for $ac_header... " >&6; }
   7717 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   7718   $as_echo_n "(cached) " >&6
   7719 else
   7720   cat >conftest.$ac_ext <<_ACEOF
   7721 /* confdefs.h.  */
   7722 _ACEOF
   7723 cat confdefs.h >>conftest.$ac_ext
   7724 cat >>conftest.$ac_ext <<_ACEOF
   7725 /* end confdefs.h.  */
   7726 $ac_includes_default
   7727 
   7728 #include <$ac_header>
   7729 _ACEOF
   7730 rm -f conftest.$ac_objext
   7731 if { (ac_try="$ac_compile"
   7732 case "(($ac_try" in
   7733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7734   *) ac_try_echo=$ac_try;;
   7735 esac
   7736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7737 $as_echo "$ac_try_echo") >&5
   7738   (eval "$ac_compile") 2>conftest.er1
   7739   ac_status=$?
   7740   grep -v '^ *+' conftest.er1 >conftest.err
   7741   rm -f conftest.er1
   7742   cat conftest.err >&5
   7743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7744   (exit $ac_status); } && {
   7745 	 test -z "$ac_c_werror_flag" ||
   7746 	 test ! -s conftest.err
   7747        } && test -s conftest.$ac_objext; then
   7748   eval "$as_ac_Header=yes"
   7749 else
   7750   $as_echo "$as_me: failed program was:" >&5
   7751 sed 's/^/| /' conftest.$ac_ext >&5
   7752 
   7753 	eval "$as_ac_Header=no"
   7754 fi
   7755 
   7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7757 fi
   7758 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7759 		 $as_echo "$as_val"'`
   7760 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7761 $as_echo "$ac_res" >&6; }
   7762 as_val=`eval 'as_val=${'$as_ac_Header'}
   7763 		 $as_echo "$as_val"'`
   7764    if test "x$as_val" = x""yes; then
   7765   cat >>confdefs.h <<_ACEOF
   7766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7767 _ACEOF
   7768 
   7769 fi
   7770 
   7771 done
   7772 
   7773 
   7774 
   7775 # Set options
   7776 
   7777 
   7778 
   7779         enable_dlopen=no
   7780 
   7781 
   7782   enable_win32_dll=no
   7783 
   7784 
   7785             # Check whether --enable-shared was given.
   7786 if test "${enable_shared+set}" = set; then
   7787   enableval=$enable_shared; p=${PACKAGE-default}
   7788     case $enableval in
   7789     yes) enable_shared=yes ;;
   7790     no) enable_shared=no ;;
   7791     *)
   7792       enable_shared=no
   7793       # Look at the argument we got.  We use all the common list separators.
   7794       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7795       for pkg in $enableval; do
   7796 	IFS="$lt_save_ifs"
   7797 	if test "X$pkg" = "X$p"; then
   7798 	  enable_shared=yes
   7799 	fi
   7800       done
   7801       IFS="$lt_save_ifs"
   7802       ;;
   7803     esac
   7804 else
   7805   enable_shared=yes
   7806 fi
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 # Check whether --with-pic was given.
   7819 if test "${with_pic+set}" = set; then
   7820   withval=$with_pic; pic_mode="$withval"
   7821 else
   7822   pic_mode=default
   7823 fi
   7824 
   7825 
   7826 test -z "$pic_mode" && pic_mode=default
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834   # Check whether --enable-fast-install was given.
   7835 if test "${enable_fast_install+set}" = set; then
   7836   enableval=$enable_fast_install; p=${PACKAGE-default}
   7837     case $enableval in
   7838     yes) enable_fast_install=yes ;;
   7839     no) enable_fast_install=no ;;
   7840     *)
   7841       enable_fast_install=no
   7842       # Look at the argument we got.  We use all the common list separators.
   7843       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7844       for pkg in $enableval; do
   7845 	IFS="$lt_save_ifs"
   7846 	if test "X$pkg" = "X$p"; then
   7847 	  enable_fast_install=yes
   7848 	fi
   7849       done
   7850       IFS="$lt_save_ifs"
   7851       ;;
   7852     esac
   7853 else
   7854   enable_fast_install=yes
   7855 fi
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 # This can be used to rebuild libtool when needed
   7868 LIBTOOL_DEPS="$ltmain"
   7869 
   7870 # Always use our own libtool.
   7871 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 test -z "$LN_S" && LN_S="ln -s"
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 if test -n "${ZSH_VERSION+set}" ; then
   7913    setopt NO_GLOB_SUBST
   7914 fi
   7915 
   7916 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7917 $as_echo_n "checking for objdir... " >&6; }
   7918 if test "${lt_cv_objdir+set}" = set; then
   7919   $as_echo_n "(cached) " >&6
   7920 else
   7921   rm -f .libs 2>/dev/null
   7922 mkdir .libs 2>/dev/null
   7923 if test -d .libs; then
   7924   lt_cv_objdir=.libs
   7925 else
   7926   # MS-DOS does not allow filenames that begin with a dot.
   7927   lt_cv_objdir=_libs
   7928 fi
   7929 rmdir .libs 2>/dev/null
   7930 fi
   7931 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7932 $as_echo "$lt_cv_objdir" >&6; }
   7933 objdir=$lt_cv_objdir
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 cat >>confdefs.h <<_ACEOF
   7940 #define LT_OBJDIR "$lt_cv_objdir/"
   7941 _ACEOF
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 case $host_os in
   7960 aix3*)
   7961   # AIX sometimes has problems with the GCC collect2 program.  For some
   7962   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7963   # vanish in a puff of smoke.
   7964   if test "X${COLLECT_NAMES+set}" != Xset; then
   7965     COLLECT_NAMES=
   7966     export COLLECT_NAMES
   7967   fi
   7968   ;;
   7969 esac
   7970 
   7971 # Sed substitution that helps us do robust quoting.  It backslashifies
   7972 # metacharacters that are still active within double-quoted strings.
   7973 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7974 
   7975 # Same as above, but do not quote variable references.
   7976 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7977 
   7978 # Sed substitution to delay expansion of an escaped shell variable in a
   7979 # double_quote_subst'ed string.
   7980 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7981 
   7982 # Sed substitution to delay expansion of an escaped single quote.
   7983 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7984 
   7985 # Sed substitution to avoid accidental globbing in evaled expressions
   7986 no_glob_subst='s/\*/\\\*/g'
   7987 
   7988 # Global variables:
   7989 ofile=libtool
   7990 can_build_shared=yes
   7991 
   7992 # All known linkers require a `.a' archive for static linking (except MSVC,
   7993 # which needs '.lib').
   7994 libext=a
   7995 
   7996 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7997 
   7998 old_CC="$CC"
   7999 old_CFLAGS="$CFLAGS"
   8000 
   8001 # Set sane defaults for various variables
   8002 test -z "$CC" && CC=cc
   8003 test -z "$LTCC" && LTCC=$CC
   8004 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8005 test -z "$LD" && LD=ld
   8006 test -z "$ac_objext" && ac_objext=o
   8007 
   8008 for cc_temp in $compiler""; do
   8009   case $cc_temp in
   8010     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8011     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8012     \-*) ;;
   8013     *) break;;
   8014   esac
   8015 done
   8016 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8017 
   8018 
   8019 # Only perform the check for file, if the check method requires it
   8020 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8021 case $deplibs_check_method in
   8022 file_magic*)
   8023   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8024     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   8025 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8026 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8027   $as_echo_n "(cached) " >&6
   8028 else
   8029   case $MAGIC_CMD in
   8030 [\\/*] |  ?:[\\/]*)
   8031   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8032   ;;
   8033 *)
   8034   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8035   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8036   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8037   for ac_dir in $ac_dummy; do
   8038     IFS="$lt_save_ifs"
   8039     test -z "$ac_dir" && ac_dir=.
   8040     if test -f $ac_dir/${ac_tool_prefix}file; then
   8041       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8042       if test -n "$file_magic_test_file"; then
   8043 	case $deplibs_check_method in
   8044 	"file_magic "*)
   8045 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8046 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8047 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8048 	    $EGREP "$file_magic_regex" > /dev/null; then
   8049 	    :
   8050 	  else
   8051 	    cat <<_LT_EOF 1>&2
   8052 
   8053 *** Warning: the command libtool uses to detect shared libraries,
   8054 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8055 *** The result is that libtool may fail to recognize shared libraries
   8056 *** as such.  This will affect the creation of libtool libraries that
   8057 *** depend on shared libraries, but programs linked with such libtool
   8058 *** libraries will work regardless of this problem.  Nevertheless, you
   8059 *** may want to report the problem to your system manager and/or to
   8060 *** bug-libtool@gnu.org
   8061 
   8062 _LT_EOF
   8063 	  fi ;;
   8064 	esac
   8065       fi
   8066       break
   8067     fi
   8068   done
   8069   IFS="$lt_save_ifs"
   8070   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8071   ;;
   8072 esac
   8073 fi
   8074 
   8075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8076 if test -n "$MAGIC_CMD"; then
   8077   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8078 $as_echo "$MAGIC_CMD" >&6; }
   8079 else
   8080   { $as_echo "$as_me:$LINENO: result: no" >&5
   8081 $as_echo "no" >&6; }
   8082 fi
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8089   if test -n "$ac_tool_prefix"; then
   8090     { $as_echo "$as_me:$LINENO: checking for file" >&5
   8091 $as_echo_n "checking for file... " >&6; }
   8092 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8093   $as_echo_n "(cached) " >&6
   8094 else
   8095   case $MAGIC_CMD in
   8096 [\\/*] |  ?:[\\/]*)
   8097   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8098   ;;
   8099 *)
   8100   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8101   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8102   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8103   for ac_dir in $ac_dummy; do
   8104     IFS="$lt_save_ifs"
   8105     test -z "$ac_dir" && ac_dir=.
   8106     if test -f $ac_dir/file; then
   8107       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8108       if test -n "$file_magic_test_file"; then
   8109 	case $deplibs_check_method in
   8110 	"file_magic "*)
   8111 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8112 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8113 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8114 	    $EGREP "$file_magic_regex" > /dev/null; then
   8115 	    :
   8116 	  else
   8117 	    cat <<_LT_EOF 1>&2
   8118 
   8119 *** Warning: the command libtool uses to detect shared libraries,
   8120 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8121 *** The result is that libtool may fail to recognize shared libraries
   8122 *** as such.  This will affect the creation of libtool libraries that
   8123 *** depend on shared libraries, but programs linked with such libtool
   8124 *** libraries will work regardless of this problem.  Nevertheless, you
   8125 *** may want to report the problem to your system manager and/or to
   8126 *** bug-libtool@gnu.org
   8127 
   8128 _LT_EOF
   8129 	  fi ;;
   8130 	esac
   8131       fi
   8132       break
   8133     fi
   8134   done
   8135   IFS="$lt_save_ifs"
   8136   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8137   ;;
   8138 esac
   8139 fi
   8140 
   8141 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8142 if test -n "$MAGIC_CMD"; then
   8143   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8144 $as_echo "$MAGIC_CMD" >&6; }
   8145 else
   8146   { $as_echo "$as_me:$LINENO: result: no" >&5
   8147 $as_echo "no" >&6; }
   8148 fi
   8149 
   8150 
   8151   else
   8152     MAGIC_CMD=:
   8153   fi
   8154 fi
   8155 
   8156   fi
   8157   ;;
   8158 esac
   8159 
   8160 # Use C for the default configuration in the libtool script
   8161 
   8162 lt_save_CC="$CC"
   8163 ac_ext=c
   8164 ac_cpp='$CPP $CPPFLAGS'
   8165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8168 
   8169 
   8170 # Source file extension for C test sources.
   8171 ac_ext=c
   8172 
   8173 # Object file extension for compiled C test sources.
   8174 objext=o
   8175 objext=$objext
   8176 
   8177 # Code to be used in simple compile tests
   8178 lt_simple_compile_test_code="int some_variable = 0;"
   8179 
   8180 # Code to be used in simple link tests
   8181 lt_simple_link_test_code='int main(){return(0);}'
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 # If no C compiler was specified, use CC.
   8190 LTCC=${LTCC-"$CC"}
   8191 
   8192 # If no C compiler flags were specified, use CFLAGS.
   8193 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8194 
   8195 # Allow CC to be a program name with arguments.
   8196 compiler=$CC
   8197 
   8198 # Save the default compiler, since it gets overwritten when the other
   8199 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8200 compiler_DEFAULT=$CC
   8201 
   8202 # save warnings/boilerplate of simple test code
   8203 ac_outfile=conftest.$ac_objext
   8204 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8205 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8206 _lt_compiler_boilerplate=`cat conftest.err`
   8207 $RM conftest*
   8208 
   8209 ac_outfile=conftest.$ac_objext
   8210 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8211 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8212 _lt_linker_boilerplate=`cat conftest.err`
   8213 $RM -r conftest*
   8214 
   8215 
   8216 if test -n "$compiler"; then
   8217 
   8218 lt_prog_compiler_no_builtin_flag=
   8219 
   8220 if test "$GCC" = yes; then
   8221   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8222 
   8223   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8224 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8225 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   8226   $as_echo_n "(cached) " >&6
   8227 else
   8228   lt_cv_prog_compiler_rtti_exceptions=no
   8229    ac_outfile=conftest.$ac_objext
   8230    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8231    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8232    # Insert the option either (1) after the last *FLAGS variable, or
   8233    # (2) before a word containing "conftest.", or (3) at the end.
   8234    # Note that $ac_compile itself does not contain backslashes and begins
   8235    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8236    # The option is referenced via a variable to avoid confusing sed.
   8237    lt_compile=`echo "$ac_compile" | $SED \
   8238    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8239    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8240    -e 's:$: $lt_compiler_flag:'`
   8241    (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
   8242    (eval "$lt_compile" 2>conftest.err)
   8243    ac_status=$?
   8244    cat conftest.err >&5
   8245    echo "$as_me:8245: \$? = $ac_status" >&5
   8246    if (exit $ac_status) && test -s "$ac_outfile"; then
   8247      # The compiler can only warn and ignore the option if not recognized
   8248      # So say no if there are warnings other than the usual output.
   8249      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8250      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8251      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8252        lt_cv_prog_compiler_rtti_exceptions=yes
   8253      fi
   8254    fi
   8255    $RM conftest*
   8256 
   8257 fi
   8258 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8259 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8260 
   8261 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8262     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8263 else
   8264     :
   8265 fi
   8266 
   8267 fi
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274   lt_prog_compiler_wl=
   8275 lt_prog_compiler_pic=
   8276 lt_prog_compiler_static=
   8277 
   8278 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   8279 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8280 
   8281   if test "$GCC" = yes; then
   8282     lt_prog_compiler_wl='-Wl,'
   8283     lt_prog_compiler_static='-static'
   8284 
   8285     case $host_os in
   8286       aix*)
   8287       # All AIX code is PIC.
   8288       if test "$host_cpu" = ia64; then
   8289 	# AIX 5 now supports IA64 processor
   8290 	lt_prog_compiler_static='-Bstatic'
   8291       fi
   8292       ;;
   8293 
   8294     amigaos*)
   8295       case $host_cpu in
   8296       powerpc)
   8297             # see comment about AmigaOS4 .so support
   8298             lt_prog_compiler_pic='-fPIC'
   8299         ;;
   8300       m68k)
   8301             # FIXME: we need at least 68020 code to build shared libraries, but
   8302             # adding the `-m68020' flag to GCC prevents building anything better,
   8303             # like `-m68040'.
   8304             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8305         ;;
   8306       esac
   8307       ;;
   8308 
   8309     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8310       # PIC is the default for these OSes.
   8311       ;;
   8312 
   8313     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8314       # This hack is so that the source file can tell whether it is being
   8315       # built for inclusion in a dll (and should export symbols for example).
   8316       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8317       # (--disable-auto-import) libraries
   8318       lt_prog_compiler_pic='-DDLL_EXPORT'
   8319       ;;
   8320 
   8321     darwin* | rhapsody*)
   8322       # PIC is the default on this platform
   8323       # Common symbols not allowed in MH_DYLIB files
   8324       lt_prog_compiler_pic='-fno-common'
   8325       ;;
   8326 
   8327     hpux*)
   8328       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8329       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8330       # sets the default TLS model and affects inlining.
   8331       case $host_cpu in
   8332       hppa*64*)
   8333 	# +Z the default
   8334 	;;
   8335       *)
   8336 	lt_prog_compiler_pic='-fPIC'
   8337 	;;
   8338       esac
   8339       ;;
   8340 
   8341     interix[3-9]*)
   8342       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8343       # Instead, we relocate shared libraries at runtime.
   8344       ;;
   8345 
   8346     msdosdjgpp*)
   8347       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8348       # on systems that don't support them.
   8349       lt_prog_compiler_can_build_shared=no
   8350       enable_shared=no
   8351       ;;
   8352 
   8353     *nto* | *qnx*)
   8354       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8355       # it will coredump.
   8356       lt_prog_compiler_pic='-fPIC -shared'
   8357       ;;
   8358 
   8359     sysv4*MP*)
   8360       if test -d /usr/nec; then
   8361 	lt_prog_compiler_pic=-Kconform_pic
   8362       fi
   8363       ;;
   8364 
   8365     *)
   8366       lt_prog_compiler_pic='-fPIC'
   8367       ;;
   8368     esac
   8369   else
   8370     # PORTME Check for flag to pass linker flags through the system compiler.
   8371     case $host_os in
   8372     aix*)
   8373       lt_prog_compiler_wl='-Wl,'
   8374       if test "$host_cpu" = ia64; then
   8375 	# AIX 5 now supports IA64 processor
   8376 	lt_prog_compiler_static='-Bstatic'
   8377       else
   8378 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8379       fi
   8380       ;;
   8381 
   8382     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8383       # This hack is so that the source file can tell whether it is being
   8384       # built for inclusion in a dll (and should export symbols for example).
   8385       lt_prog_compiler_pic='-DDLL_EXPORT'
   8386       ;;
   8387 
   8388     hpux9* | hpux10* | hpux11*)
   8389       lt_prog_compiler_wl='-Wl,'
   8390       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8391       # not for PA HP-UX.
   8392       case $host_cpu in
   8393       hppa*64*|ia64*)
   8394 	# +Z the default
   8395 	;;
   8396       *)
   8397 	lt_prog_compiler_pic='+Z'
   8398 	;;
   8399       esac
   8400       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8401       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8402       ;;
   8403 
   8404     irix5* | irix6* | nonstopux*)
   8405       lt_prog_compiler_wl='-Wl,'
   8406       # PIC (with -KPIC) is the default.
   8407       lt_prog_compiler_static='-non_shared'
   8408       ;;
   8409 
   8410     linux* | k*bsd*-gnu)
   8411       case $cc_basename in
   8412       # old Intel for x86_64 which still supported -KPIC.
   8413       ecc*)
   8414 	lt_prog_compiler_wl='-Wl,'
   8415 	lt_prog_compiler_pic='-KPIC'
   8416 	lt_prog_compiler_static='-static'
   8417         ;;
   8418       # icc used to be incompatible with GCC.
   8419       # ICC 10 doesn't accept -KPIC any more.
   8420       icc* | ifort*)
   8421 	lt_prog_compiler_wl='-Wl,'
   8422 	lt_prog_compiler_pic='-fPIC'
   8423 	lt_prog_compiler_static='-static'
   8424         ;;
   8425       # Lahey Fortran 8.1.
   8426       lf95*)
   8427 	lt_prog_compiler_wl='-Wl,'
   8428 	lt_prog_compiler_pic='--shared'
   8429 	lt_prog_compiler_static='--static'
   8430 	;;
   8431       pgcc* | pgf77* | pgf90* | pgf95*)
   8432         # Portland Group compilers (*not* the Pentium gcc compiler,
   8433 	# which looks to be a dead project)
   8434 	lt_prog_compiler_wl='-Wl,'
   8435 	lt_prog_compiler_pic='-fpic'
   8436 	lt_prog_compiler_static='-Bstatic'
   8437         ;;
   8438       ccc*)
   8439         lt_prog_compiler_wl='-Wl,'
   8440         # All Alpha code is PIC.
   8441         lt_prog_compiler_static='-non_shared'
   8442         ;;
   8443       xl*)
   8444 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8445 	lt_prog_compiler_wl='-Wl,'
   8446 	lt_prog_compiler_pic='-qpic'
   8447 	lt_prog_compiler_static='-qstaticlink'
   8448 	;;
   8449       *)
   8450 	case `$CC -V 2>&1 | sed 5q` in
   8451 	*Sun\ C*)
   8452 	  # Sun C 5.9
   8453 	  lt_prog_compiler_pic='-KPIC'
   8454 	  lt_prog_compiler_static='-Bstatic'
   8455 	  lt_prog_compiler_wl='-Wl,'
   8456 	  ;;
   8457 	*Sun\ F*)
   8458 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8459 	  lt_prog_compiler_pic='-KPIC'
   8460 	  lt_prog_compiler_static='-Bstatic'
   8461 	  lt_prog_compiler_wl=''
   8462 	  ;;
   8463 	esac
   8464 	;;
   8465       esac
   8466       ;;
   8467 
   8468     newsos6)
   8469       lt_prog_compiler_pic='-KPIC'
   8470       lt_prog_compiler_static='-Bstatic'
   8471       ;;
   8472 
   8473     *nto* | *qnx*)
   8474       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8475       # it will coredump.
   8476       lt_prog_compiler_pic='-fPIC -shared'
   8477       ;;
   8478 
   8479     osf3* | osf4* | osf5*)
   8480       lt_prog_compiler_wl='-Wl,'
   8481       # All OSF/1 code is PIC.
   8482       lt_prog_compiler_static='-non_shared'
   8483       ;;
   8484 
   8485     rdos*)
   8486       lt_prog_compiler_static='-non_shared'
   8487       ;;
   8488 
   8489     solaris*)
   8490       lt_prog_compiler_pic='-KPIC'
   8491       lt_prog_compiler_static='-Bstatic'
   8492       case $cc_basename in
   8493       f77* | f90* | f95*)
   8494 	lt_prog_compiler_wl='-Qoption ld ';;
   8495       *)
   8496 	lt_prog_compiler_wl='-Wl,';;
   8497       esac
   8498       ;;
   8499 
   8500     sunos4*)
   8501       lt_prog_compiler_wl='-Qoption ld '
   8502       lt_prog_compiler_pic='-PIC'
   8503       lt_prog_compiler_static='-Bstatic'
   8504       ;;
   8505 
   8506     sysv4 | sysv4.2uw2* | sysv4.3*)
   8507       lt_prog_compiler_wl='-Wl,'
   8508       lt_prog_compiler_pic='-KPIC'
   8509       lt_prog_compiler_static='-Bstatic'
   8510       ;;
   8511 
   8512     sysv4*MP*)
   8513       if test -d /usr/nec ;then
   8514 	lt_prog_compiler_pic='-Kconform_pic'
   8515 	lt_prog_compiler_static='-Bstatic'
   8516       fi
   8517       ;;
   8518 
   8519     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8520       lt_prog_compiler_wl='-Wl,'
   8521       lt_prog_compiler_pic='-KPIC'
   8522       lt_prog_compiler_static='-Bstatic'
   8523       ;;
   8524 
   8525     unicos*)
   8526       lt_prog_compiler_wl='-Wl,'
   8527       lt_prog_compiler_can_build_shared=no
   8528       ;;
   8529 
   8530     uts4*)
   8531       lt_prog_compiler_pic='-pic'
   8532       lt_prog_compiler_static='-Bstatic'
   8533       ;;
   8534 
   8535     *)
   8536       lt_prog_compiler_can_build_shared=no
   8537       ;;
   8538     esac
   8539   fi
   8540 
   8541 case $host_os in
   8542   # For platforms which do not support PIC, -DPIC is meaningless:
   8543   *djgpp*)
   8544     lt_prog_compiler_pic=
   8545     ;;
   8546   *)
   8547     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8548     ;;
   8549 esac
   8550 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8551 $as_echo "$lt_prog_compiler_pic" >&6; }
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 #
   8559 # Check to make sure the PIC flag actually works.
   8560 #
   8561 if test -n "$lt_prog_compiler_pic"; then
   8562   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8563 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8564 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   lt_cv_prog_compiler_pic_works=no
   8568    ac_outfile=conftest.$ac_objext
   8569    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8570    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8571    # Insert the option either (1) after the last *FLAGS variable, or
   8572    # (2) before a word containing "conftest.", or (3) at the end.
   8573    # Note that $ac_compile itself does not contain backslashes and begins
   8574    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8575    # The option is referenced via a variable to avoid confusing sed.
   8576    lt_compile=`echo "$ac_compile" | $SED \
   8577    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8578    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8579    -e 's:$: $lt_compiler_flag:'`
   8580    (eval echo "\"\$as_me:8580: $lt_compile\"" >&5)
   8581    (eval "$lt_compile" 2>conftest.err)
   8582    ac_status=$?
   8583    cat conftest.err >&5
   8584    echo "$as_me:8584: \$? = $ac_status" >&5
   8585    if (exit $ac_status) && test -s "$ac_outfile"; then
   8586      # The compiler can only warn and ignore the option if not recognized
   8587      # So say no if there are warnings other than the usual output.
   8588      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8589      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8590      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8591        lt_cv_prog_compiler_pic_works=yes
   8592      fi
   8593    fi
   8594    $RM conftest*
   8595 
   8596 fi
   8597 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   8598 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8599 
   8600 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8601     case $lt_prog_compiler_pic in
   8602      "" | " "*) ;;
   8603      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8604      esac
   8605 else
   8606     lt_prog_compiler_pic=
   8607      lt_prog_compiler_can_build_shared=no
   8608 fi
   8609 
   8610 fi
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 #
   8618 # Check to make sure the static flag actually works.
   8619 #
   8620 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8621 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8622 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8623 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8624   $as_echo_n "(cached) " >&6
   8625 else
   8626   lt_cv_prog_compiler_static_works=no
   8627    save_LDFLAGS="$LDFLAGS"
   8628    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8629    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8630    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8631      # The linker can only warn and ignore the option if not recognized
   8632      # So say no if there are warnings
   8633      if test -s conftest.err; then
   8634        # Append any errors to the config.log.
   8635        cat conftest.err 1>&5
   8636        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8637        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8638        if diff conftest.exp conftest.er2 >/dev/null; then
   8639          lt_cv_prog_compiler_static_works=yes
   8640        fi
   8641      else
   8642        lt_cv_prog_compiler_static_works=yes
   8643      fi
   8644    fi
   8645    $RM -r conftest*
   8646    LDFLAGS="$save_LDFLAGS"
   8647 
   8648 fi
   8649 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8650 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8651 
   8652 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8653     :
   8654 else
   8655     lt_prog_compiler_static=
   8656 fi
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8666 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8667   $as_echo_n "(cached) " >&6
   8668 else
   8669   lt_cv_prog_compiler_c_o=no
   8670    $RM -r conftest 2>/dev/null
   8671    mkdir conftest
   8672    cd conftest
   8673    mkdir out
   8674    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8675 
   8676    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8677    # Insert the option either (1) after the last *FLAGS variable, or
   8678    # (2) before a word containing "conftest.", or (3) at the end.
   8679    # Note that $ac_compile itself does not contain backslashes and begins
   8680    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8681    lt_compile=`echo "$ac_compile" | $SED \
   8682    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8683    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8684    -e 's:$: $lt_compiler_flag:'`
   8685    (eval echo "\"\$as_me:8685: $lt_compile\"" >&5)
   8686    (eval "$lt_compile" 2>out/conftest.err)
   8687    ac_status=$?
   8688    cat out/conftest.err >&5
   8689    echo "$as_me:8689: \$? = $ac_status" >&5
   8690    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8691    then
   8692      # The compiler can only warn and ignore the option if not recognized
   8693      # So say no if there are warnings
   8694      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8695      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8696      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8697        lt_cv_prog_compiler_c_o=yes
   8698      fi
   8699    fi
   8700    chmod u+w . 2>&5
   8701    $RM conftest*
   8702    # SGI C++ compiler will create directory out/ii_files/ for
   8703    # template instantiation
   8704    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8705    $RM out/* && rmdir out
   8706    cd ..
   8707    $RM -r conftest
   8708    $RM conftest*
   8709 
   8710 fi
   8711 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8712 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8720 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8721 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   lt_cv_prog_compiler_c_o=no
   8725    $RM -r conftest 2>/dev/null
   8726    mkdir conftest
   8727    cd conftest
   8728    mkdir out
   8729    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8730 
   8731    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8732    # Insert the option either (1) after the last *FLAGS variable, or
   8733    # (2) before a word containing "conftest.", or (3) at the end.
   8734    # Note that $ac_compile itself does not contain backslashes and begins
   8735    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8736    lt_compile=`echo "$ac_compile" | $SED \
   8737    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8738    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8739    -e 's:$: $lt_compiler_flag:'`
   8740    (eval echo "\"\$as_me:8740: $lt_compile\"" >&5)
   8741    (eval "$lt_compile" 2>out/conftest.err)
   8742    ac_status=$?
   8743    cat out/conftest.err >&5
   8744    echo "$as_me:8744: \$? = $ac_status" >&5
   8745    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8746    then
   8747      # The compiler can only warn and ignore the option if not recognized
   8748      # So say no if there are warnings
   8749      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8750      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8751      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8752        lt_cv_prog_compiler_c_o=yes
   8753      fi
   8754    fi
   8755    chmod u+w . 2>&5
   8756    $RM conftest*
   8757    # SGI C++ compiler will create directory out/ii_files/ for
   8758    # template instantiation
   8759    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8760    $RM out/* && rmdir out
   8761    cd ..
   8762    $RM -r conftest
   8763    $RM conftest*
   8764 
   8765 fi
   8766 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8767 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8768 
   8769 
   8770 
   8771 
   8772 hard_links="nottested"
   8773 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8774   # do not overwrite the value of need_locks provided by the user
   8775   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8776 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8777   hard_links=yes
   8778   $RM conftest*
   8779   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8780   touch conftest.a
   8781   ln conftest.a conftest.b 2>&5 || hard_links=no
   8782   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8783   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8784 $as_echo "$hard_links" >&6; }
   8785   if test "$hard_links" = no; then
   8786     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8787 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8788     need_locks=warn
   8789   fi
   8790 else
   8791   need_locks=no
   8792 fi
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8800 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8801 
   8802   runpath_var=
   8803   allow_undefined_flag=
   8804   always_export_symbols=no
   8805   archive_cmds=
   8806   archive_expsym_cmds=
   8807   compiler_needs_object=no
   8808   enable_shared_with_static_runtimes=no
   8809   export_dynamic_flag_spec=
   8810   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8811   hardcode_automatic=no
   8812   hardcode_direct=no
   8813   hardcode_direct_absolute=no
   8814   hardcode_libdir_flag_spec=
   8815   hardcode_libdir_flag_spec_ld=
   8816   hardcode_libdir_separator=
   8817   hardcode_minus_L=no
   8818   hardcode_shlibpath_var=unsupported
   8819   inherit_rpath=no
   8820   link_all_deplibs=unknown
   8821   module_cmds=
   8822   module_expsym_cmds=
   8823   old_archive_from_new_cmds=
   8824   old_archive_from_expsyms_cmds=
   8825   thread_safe_flag_spec=
   8826   whole_archive_flag_spec=
   8827   # include_expsyms should be a list of space-separated symbols to be *always*
   8828   # included in the symbol list
   8829   include_expsyms=
   8830   # exclude_expsyms can be an extended regexp of symbols to exclude
   8831   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8832   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8833   # as well as any symbol that contains `d'.
   8834   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8835   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8836   # platforms (ab)use it in PIC code, but their linkers get confused if
   8837   # the symbol is explicitly referenced.  Since portable code cannot
   8838   # rely on this symbol name, it's probably fine to never include it in
   8839   # preloaded symbol tables.
   8840   # Exclude shared library initialization/finalization symbols.
   8841   extract_expsyms_cmds=
   8842 
   8843   case $host_os in
   8844   cygwin* | mingw* | pw32* | cegcc*)
   8845     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8846     # When not using gcc, we currently assume that we are using
   8847     # Microsoft Visual C++.
   8848     if test "$GCC" != yes; then
   8849       with_gnu_ld=no
   8850     fi
   8851     ;;
   8852   interix*)
   8853     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8854     with_gnu_ld=yes
   8855     ;;
   8856   openbsd*)
   8857     with_gnu_ld=no
   8858     ;;
   8859   esac
   8860 
   8861   ld_shlibs=yes
   8862   if test "$with_gnu_ld" = yes; then
   8863     # If archive_cmds runs LD, not CC, wlarc should be empty
   8864     wlarc='${wl}'
   8865 
   8866     # Set some defaults for GNU ld with shared library support. These
   8867     # are reset later if shared libraries are not supported. Putting them
   8868     # here allows them to be overridden if necessary.
   8869     runpath_var=LD_RUN_PATH
   8870     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8871     export_dynamic_flag_spec='${wl}--export-dynamic'
   8872     # ancient GNU ld didn't support --whole-archive et. al.
   8873     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8874       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8875     else
   8876       whole_archive_flag_spec=
   8877     fi
   8878     supports_anon_versioning=no
   8879     case `$LD -v 2>&1` in
   8880       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8881       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8882       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8883       *\ 2.11.*) ;; # other 2.11 versions
   8884       *) supports_anon_versioning=yes ;;
   8885     esac
   8886 
   8887     # See if GNU ld supports shared libraries.
   8888     case $host_os in
   8889     aix[3-9]*)
   8890       # On AIX/PPC, the GNU linker is very broken
   8891       if test "$host_cpu" != ia64; then
   8892 	ld_shlibs=no
   8893 	cat <<_LT_EOF 1>&2
   8894 
   8895 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8896 *** to be unable to reliably create shared libraries on AIX.
   8897 *** Therefore, libtool is disabling shared libraries support.  If you
   8898 *** really care for shared libraries, you may want to modify your PATH
   8899 *** so that a non-GNU linker is found, and then restart.
   8900 
   8901 _LT_EOF
   8902       fi
   8903       ;;
   8904 
   8905     amigaos*)
   8906       case $host_cpu in
   8907       powerpc)
   8908             # see comment about AmigaOS4 .so support
   8909             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8910             archive_expsym_cmds=''
   8911         ;;
   8912       m68k)
   8913             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)'
   8914             hardcode_libdir_flag_spec='-L$libdir'
   8915             hardcode_minus_L=yes
   8916         ;;
   8917       esac
   8918       ;;
   8919 
   8920     beos*)
   8921       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8922 	allow_undefined_flag=unsupported
   8923 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8924 	# support --undefined.  This deserves some investigation.  FIXME
   8925 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8926       else
   8927 	ld_shlibs=no
   8928       fi
   8929       ;;
   8930 
   8931     cygwin* | mingw* | pw32* | cegcc*)
   8932       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8933       # as there is no search path for DLLs.
   8934       hardcode_libdir_flag_spec='-L$libdir'
   8935       allow_undefined_flag=unsupported
   8936       always_export_symbols=no
   8937       enable_shared_with_static_runtimes=yes
   8938       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8939 
   8940       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8941         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8942 	# If the export-symbols file already is a .def file (1st line
   8943 	# is EXPORTS), use it as is; otherwise, prepend...
   8944 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8945 	  cp $export_symbols $output_objdir/$soname.def;
   8946 	else
   8947 	  echo EXPORTS > $output_objdir/$soname.def;
   8948 	  cat $export_symbols >> $output_objdir/$soname.def;
   8949 	fi~
   8950 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8951       else
   8952 	ld_shlibs=no
   8953       fi
   8954       ;;
   8955 
   8956     interix[3-9]*)
   8957       hardcode_direct=no
   8958       hardcode_shlibpath_var=no
   8959       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8960       export_dynamic_flag_spec='${wl}-E'
   8961       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8962       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8963       # default) and relocated if they conflict, which is a slow very memory
   8964       # consuming and fragmenting process.  To avoid this, we pick a random,
   8965       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8966       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8967       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8968       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'
   8969       ;;
   8970 
   8971     gnu* | linux* | tpf* | k*bsd*-gnu)
   8972       tmp_diet=no
   8973       if test "$host_os" = linux-dietlibc; then
   8974 	case $cc_basename in
   8975 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8976 	esac
   8977       fi
   8978       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8979 	 && test "$tmp_diet" = no
   8980       then
   8981 	tmp_addflag=
   8982 	tmp_sharedflag='-shared'
   8983 	case $cc_basename,$host_cpu in
   8984         pgcc*)				# Portland Group C compiler
   8985 	  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'
   8986 	  tmp_addflag=' $pic_flag'
   8987 	  ;;
   8988 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8989 	  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'
   8990 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8991 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8992 	  tmp_addflag=' -i_dynamic' ;;
   8993 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8994 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8995 	ifc* | ifort*)			# Intel Fortran compiler
   8996 	  tmp_addflag=' -nofor_main' ;;
   8997 	lf95*)				# Lahey Fortran 8.1
   8998 	  whole_archive_flag_spec=
   8999 	  tmp_sharedflag='--shared' ;;
   9000 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9001 	  tmp_sharedflag='-qmkshrobj'
   9002 	  tmp_addflag= ;;
   9003 	esac
   9004 	case `$CC -V 2>&1 | sed 5q` in
   9005 	*Sun\ C*)			# Sun C 5.9
   9006 	  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'
   9007 	  compiler_needs_object=yes
   9008 	  tmp_sharedflag='-G' ;;
   9009 	*Sun\ F*)			# Sun Fortran 8.3
   9010 	  tmp_sharedflag='-G' ;;
   9011 	esac
   9012 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9013 
   9014         if test "x$supports_anon_versioning" = xyes; then
   9015           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9016 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9017 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9018 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9019         fi
   9020 
   9021 	case $cc_basename in
   9022 	xlf*)
   9023 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9024 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9025 	  hardcode_libdir_flag_spec=
   9026 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9027 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9028 	  if test "x$supports_anon_versioning" = xyes; then
   9029 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9030 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9031 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9032 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9033 	  fi
   9034 	  ;;
   9035 	esac
   9036       else
   9037         ld_shlibs=no
   9038       fi
   9039       ;;
   9040 
   9041     netbsd*)
   9042       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9043 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9044 	wlarc=
   9045       else
   9046 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9047 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9048       fi
   9049       ;;
   9050 
   9051     solaris*)
   9052       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9053 	ld_shlibs=no
   9054 	cat <<_LT_EOF 1>&2
   9055 
   9056 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9057 *** create shared libraries on Solaris systems.  Therefore, libtool
   9058 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9059 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9060 *** your PATH or compiler configuration so that the native linker is
   9061 *** used, and then restart.
   9062 
   9063 _LT_EOF
   9064       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9065 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9066 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9067       else
   9068 	ld_shlibs=no
   9069       fi
   9070       ;;
   9071 
   9072     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9073       case `$LD -v 2>&1` in
   9074         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9075 	ld_shlibs=no
   9076 	cat <<_LT_EOF 1>&2
   9077 
   9078 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9079 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9080 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9081 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9082 *** your PATH or compiler configuration so that the native linker is
   9083 *** used, and then restart.
   9084 
   9085 _LT_EOF
   9086 	;;
   9087 	*)
   9088 	  # For security reasons, it is highly recommended that you always
   9089 	  # use absolute paths for naming shared libraries, and exclude the
   9090 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9091 	  # requires that you compile everything twice, which is a pain.
   9092 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9093 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9094 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9095 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9096 	  else
   9097 	    ld_shlibs=no
   9098 	  fi
   9099 	;;
   9100       esac
   9101       ;;
   9102 
   9103     sunos4*)
   9104       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9105       wlarc=
   9106       hardcode_direct=yes
   9107       hardcode_shlibpath_var=no
   9108       ;;
   9109 
   9110     *)
   9111       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9112 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9113 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9114       else
   9115 	ld_shlibs=no
   9116       fi
   9117       ;;
   9118     esac
   9119 
   9120     if test "$ld_shlibs" = no; then
   9121       runpath_var=
   9122       hardcode_libdir_flag_spec=
   9123       export_dynamic_flag_spec=
   9124       whole_archive_flag_spec=
   9125     fi
   9126   else
   9127     # PORTME fill in a description of your system's linker (not GNU ld)
   9128     case $host_os in
   9129     aix3*)
   9130       allow_undefined_flag=unsupported
   9131       always_export_symbols=yes
   9132       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'
   9133       # Note: this linker hardcodes the directories in LIBPATH if there
   9134       # are no directories specified by -L.
   9135       hardcode_minus_L=yes
   9136       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9137 	# Neither direct hardcoding nor static linking is supported with a
   9138 	# broken collect2.
   9139 	hardcode_direct=unsupported
   9140       fi
   9141       ;;
   9142 
   9143     aix[4-9]*)
   9144       if test "$host_cpu" = ia64; then
   9145 	# On IA64, the linker does run time linking by default, so we don't
   9146 	# have to do anything special.
   9147 	aix_use_runtimelinking=no
   9148 	exp_sym_flag='-Bexport'
   9149 	no_entry_flag=""
   9150       else
   9151 	# If we're using GNU nm, then we don't want the "-C" option.
   9152 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9153 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9154 	  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'
   9155 	else
   9156 	  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'
   9157 	fi
   9158 	aix_use_runtimelinking=no
   9159 
   9160 	# Test if we are trying to use run time linking or normal
   9161 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9162 	# need to do runtime linking.
   9163 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9164 	  for ld_flag in $LDFLAGS; do
   9165 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9166 	    aix_use_runtimelinking=yes
   9167 	    break
   9168 	  fi
   9169 	  done
   9170 	  ;;
   9171 	esac
   9172 
   9173 	exp_sym_flag='-bexport'
   9174 	no_entry_flag='-bnoentry'
   9175       fi
   9176 
   9177       # When large executables or shared objects are built, AIX ld can
   9178       # have problems creating the table of contents.  If linking a library
   9179       # or program results in "error TOC overflow" add -mminimal-toc to
   9180       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9181       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9182 
   9183       archive_cmds=''
   9184       hardcode_direct=yes
   9185       hardcode_direct_absolute=yes
   9186       hardcode_libdir_separator=':'
   9187       link_all_deplibs=yes
   9188       file_list_spec='${wl}-f,'
   9189 
   9190       if test "$GCC" = yes; then
   9191 	case $host_os in aix4.[012]|aix4.[012].*)
   9192 	# We only want to do this on AIX 4.2 and lower, the check
   9193 	# below for broken collect2 doesn't work under 4.3+
   9194 	  collect2name=`${CC} -print-prog-name=collect2`
   9195 	  if test -f "$collect2name" &&
   9196 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9197 	  then
   9198 	  # We have reworked collect2
   9199 	  :
   9200 	  else
   9201 	  # We have old collect2
   9202 	  hardcode_direct=unsupported
   9203 	  # It fails to find uninstalled libraries when the uninstalled
   9204 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9205 	  # to unsupported forces relinking
   9206 	  hardcode_minus_L=yes
   9207 	  hardcode_libdir_flag_spec='-L$libdir'
   9208 	  hardcode_libdir_separator=
   9209 	  fi
   9210 	  ;;
   9211 	esac
   9212 	shared_flag='-shared'
   9213 	if test "$aix_use_runtimelinking" = yes; then
   9214 	  shared_flag="$shared_flag "'${wl}-G'
   9215 	fi
   9216 	link_all_deplibs=no
   9217       else
   9218 	# not using gcc
   9219 	if test "$host_cpu" = ia64; then
   9220 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9221 	# chokes on -Wl,-G. The following line is correct:
   9222 	  shared_flag='-G'
   9223 	else
   9224 	  if test "$aix_use_runtimelinking" = yes; then
   9225 	    shared_flag='${wl}-G'
   9226 	  else
   9227 	    shared_flag='${wl}-bM:SRE'
   9228 	  fi
   9229 	fi
   9230       fi
   9231 
   9232       export_dynamic_flag_spec='${wl}-bexpall'
   9233       # It seems that -bexpall does not export symbols beginning with
   9234       # underscore (_), so it is better to generate a list of symbols to export.
   9235       always_export_symbols=yes
   9236       if test "$aix_use_runtimelinking" = yes; then
   9237 	# Warning - without using the other runtime loading flags (-brtl),
   9238 	# -berok will link without error, but may produce a broken library.
   9239 	allow_undefined_flag='-berok'
   9240         # Determine the default libpath from the value encoded in an
   9241         # empty executable.
   9242         cat >conftest.$ac_ext <<_ACEOF
   9243 /* confdefs.h.  */
   9244 _ACEOF
   9245 cat confdefs.h >>conftest.$ac_ext
   9246 cat >>conftest.$ac_ext <<_ACEOF
   9247 /* end confdefs.h.  */
   9248 
   9249 int
   9250 main ()
   9251 {
   9252 
   9253   ;
   9254   return 0;
   9255 }
   9256 _ACEOF
   9257 rm -f conftest.$ac_objext conftest$ac_exeext
   9258 if { (ac_try="$ac_link"
   9259 case "(($ac_try" in
   9260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9261   *) ac_try_echo=$ac_try;;
   9262 esac
   9263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9264 $as_echo "$ac_try_echo") >&5
   9265   (eval "$ac_link") 2>conftest.er1
   9266   ac_status=$?
   9267   grep -v '^ *+' conftest.er1 >conftest.err
   9268   rm -f conftest.er1
   9269   cat conftest.err >&5
   9270   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9271   (exit $ac_status); } && {
   9272 	 test -z "$ac_c_werror_flag" ||
   9273 	 test ! -s conftest.err
   9274        } && test -s conftest$ac_exeext && {
   9275 	 test "$cross_compiling" = yes ||
   9276 	 $as_test_x conftest$ac_exeext
   9277        }; then
   9278 
   9279 lt_aix_libpath_sed='
   9280     /Import File Strings/,/^$/ {
   9281 	/^0/ {
   9282 	    s/^0  *\(.*\)$/\1/
   9283 	    p
   9284 	}
   9285     }'
   9286 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9287 # Check for a 64-bit object if we didn't find anything.
   9288 if test -z "$aix_libpath"; then
   9289   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9290 fi
   9291 else
   9292   $as_echo "$as_me: failed program was:" >&5
   9293 sed 's/^/| /' conftest.$ac_ext >&5
   9294 
   9295 
   9296 fi
   9297 
   9298 rm -rf conftest.dSYM
   9299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9300       conftest$ac_exeext conftest.$ac_ext
   9301 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9302 
   9303         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9304         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"
   9305       else
   9306 	if test "$host_cpu" = ia64; then
   9307 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9308 	  allow_undefined_flag="-z nodefs"
   9309 	  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"
   9310 	else
   9311 	 # Determine the default libpath from the value encoded in an
   9312 	 # empty executable.
   9313 	 cat >conftest.$ac_ext <<_ACEOF
   9314 /* confdefs.h.  */
   9315 _ACEOF
   9316 cat confdefs.h >>conftest.$ac_ext
   9317 cat >>conftest.$ac_ext <<_ACEOF
   9318 /* end confdefs.h.  */
   9319 
   9320 int
   9321 main ()
   9322 {
   9323 
   9324   ;
   9325   return 0;
   9326 }
   9327 _ACEOF
   9328 rm -f conftest.$ac_objext conftest$ac_exeext
   9329 if { (ac_try="$ac_link"
   9330 case "(($ac_try" in
   9331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9332   *) ac_try_echo=$ac_try;;
   9333 esac
   9334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9335 $as_echo "$ac_try_echo") >&5
   9336   (eval "$ac_link") 2>conftest.er1
   9337   ac_status=$?
   9338   grep -v '^ *+' conftest.er1 >conftest.err
   9339   rm -f conftest.er1
   9340   cat conftest.err >&5
   9341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9342   (exit $ac_status); } && {
   9343 	 test -z "$ac_c_werror_flag" ||
   9344 	 test ! -s conftest.err
   9345        } && test -s conftest$ac_exeext && {
   9346 	 test "$cross_compiling" = yes ||
   9347 	 $as_test_x conftest$ac_exeext
   9348        }; then
   9349 
   9350 lt_aix_libpath_sed='
   9351     /Import File Strings/,/^$/ {
   9352 	/^0/ {
   9353 	    s/^0  *\(.*\)$/\1/
   9354 	    p
   9355 	}
   9356     }'
   9357 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9358 # Check for a 64-bit object if we didn't find anything.
   9359 if test -z "$aix_libpath"; then
   9360   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9361 fi
   9362 else
   9363   $as_echo "$as_me: failed program was:" >&5
   9364 sed 's/^/| /' conftest.$ac_ext >&5
   9365 
   9366 
   9367 fi
   9368 
   9369 rm -rf conftest.dSYM
   9370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9371       conftest$ac_exeext conftest.$ac_ext
   9372 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9373 
   9374 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9375 	  # Warning - without using the other run time loading flags,
   9376 	  # -berok will link without error, but may produce a broken library.
   9377 	  no_undefined_flag=' ${wl}-bernotok'
   9378 	  allow_undefined_flag=' ${wl}-berok'
   9379 	  # Exported symbols can be pulled into shared objects from archives
   9380 	  whole_archive_flag_spec='$convenience'
   9381 	  archive_cmds_need_lc=yes
   9382 	  # This is similar to how AIX traditionally builds its shared libraries.
   9383 	  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'
   9384 	fi
   9385       fi
   9386       ;;
   9387 
   9388     amigaos*)
   9389       case $host_cpu in
   9390       powerpc)
   9391             # see comment about AmigaOS4 .so support
   9392             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9393             archive_expsym_cmds=''
   9394         ;;
   9395       m68k)
   9396             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)'
   9397             hardcode_libdir_flag_spec='-L$libdir'
   9398             hardcode_minus_L=yes
   9399         ;;
   9400       esac
   9401       ;;
   9402 
   9403     bsdi[45]*)
   9404       export_dynamic_flag_spec=-rdynamic
   9405       ;;
   9406 
   9407     cygwin* | mingw* | pw32* | cegcc*)
   9408       # When not using gcc, we currently assume that we are using
   9409       # Microsoft Visual C++.
   9410       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9411       # no search path for DLLs.
   9412       hardcode_libdir_flag_spec=' '
   9413       allow_undefined_flag=unsupported
   9414       # Tell ltmain to make .lib files, not .a files.
   9415       libext=lib
   9416       # Tell ltmain to make .dll files, not .so files.
   9417       shrext_cmds=".dll"
   9418       # FIXME: Setting linknames here is a bad hack.
   9419       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9420       # The linker will automatically build a .lib file if we build a DLL.
   9421       old_archive_from_new_cmds='true'
   9422       # FIXME: Should let the user specify the lib program.
   9423       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9424       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9425       enable_shared_with_static_runtimes=yes
   9426       ;;
   9427 
   9428     darwin* | rhapsody*)
   9429 
   9430 
   9431   archive_cmds_need_lc=no
   9432   hardcode_direct=no
   9433   hardcode_automatic=yes
   9434   hardcode_shlibpath_var=unsupported
   9435   whole_archive_flag_spec=''
   9436   link_all_deplibs=yes
   9437   allow_undefined_flag="$_lt_dar_allow_undefined"
   9438   case $cc_basename in
   9439      ifort*) _lt_dar_can_shared=yes ;;
   9440      *) _lt_dar_can_shared=$GCC ;;
   9441   esac
   9442   if test "$_lt_dar_can_shared" = "yes"; then
   9443     output_verbose_link_cmd=echo
   9444     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9445     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9446     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}"
   9447     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}"
   9448 
   9449   else
   9450   ld_shlibs=no
   9451   fi
   9452 
   9453       ;;
   9454 
   9455     dgux*)
   9456       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9457       hardcode_libdir_flag_spec='-L$libdir'
   9458       hardcode_shlibpath_var=no
   9459       ;;
   9460 
   9461     freebsd1*)
   9462       ld_shlibs=no
   9463       ;;
   9464 
   9465     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9466     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9467     # does not break anything, and helps significantly (at the cost of a little
   9468     # extra space).
   9469     freebsd2.2*)
   9470       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9471       hardcode_libdir_flag_spec='-R$libdir'
   9472       hardcode_direct=yes
   9473       hardcode_shlibpath_var=no
   9474       ;;
   9475 
   9476     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9477     freebsd2*)
   9478       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9479       hardcode_direct=yes
   9480       hardcode_minus_L=yes
   9481       hardcode_shlibpath_var=no
   9482       ;;
   9483 
   9484     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9485     freebsd* | dragonfly*)
   9486       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9487       hardcode_libdir_flag_spec='-R$libdir'
   9488       hardcode_direct=yes
   9489       hardcode_shlibpath_var=no
   9490       ;;
   9491 
   9492     hpux9*)
   9493       if test "$GCC" = yes; then
   9494 	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'
   9495       else
   9496 	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'
   9497       fi
   9498       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9499       hardcode_libdir_separator=:
   9500       hardcode_direct=yes
   9501 
   9502       # hardcode_minus_L: Not really in the search PATH,
   9503       # but as the default location of the library.
   9504       hardcode_minus_L=yes
   9505       export_dynamic_flag_spec='${wl}-E'
   9506       ;;
   9507 
   9508     hpux10*)
   9509       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9510 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9511       else
   9512 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9513       fi
   9514       if test "$with_gnu_ld" = no; then
   9515 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9516 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9517 	hardcode_libdir_separator=:
   9518 	hardcode_direct=yes
   9519 	hardcode_direct_absolute=yes
   9520 	export_dynamic_flag_spec='${wl}-E'
   9521 	# hardcode_minus_L: Not really in the search PATH,
   9522 	# but as the default location of the library.
   9523 	hardcode_minus_L=yes
   9524       fi
   9525       ;;
   9526 
   9527     hpux11*)
   9528       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9529 	case $host_cpu in
   9530 	hppa*64*)
   9531 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9532 	  ;;
   9533 	ia64*)
   9534 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9535 	  ;;
   9536 	*)
   9537 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9538 	  ;;
   9539 	esac
   9540       else
   9541 	case $host_cpu in
   9542 	hppa*64*)
   9543 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9544 	  ;;
   9545 	ia64*)
   9546 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9547 	  ;;
   9548 	*)
   9549 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9550 	  ;;
   9551 	esac
   9552       fi
   9553       if test "$with_gnu_ld" = no; then
   9554 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9555 	hardcode_libdir_separator=:
   9556 
   9557 	case $host_cpu in
   9558 	hppa*64*|ia64*)
   9559 	  hardcode_direct=no
   9560 	  hardcode_shlibpath_var=no
   9561 	  ;;
   9562 	*)
   9563 	  hardcode_direct=yes
   9564 	  hardcode_direct_absolute=yes
   9565 	  export_dynamic_flag_spec='${wl}-E'
   9566 
   9567 	  # hardcode_minus_L: Not really in the search PATH,
   9568 	  # but as the default location of the library.
   9569 	  hardcode_minus_L=yes
   9570 	  ;;
   9571 	esac
   9572       fi
   9573       ;;
   9574 
   9575     irix5* | irix6* | nonstopux*)
   9576       if test "$GCC" = yes; then
   9577 	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'
   9578 	# Try to use the -exported_symbol ld option, if it does not
   9579 	# work, assume that -exports_file does not work either and
   9580 	# implicitly export all symbols.
   9581         save_LDFLAGS="$LDFLAGS"
   9582         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9583         cat >conftest.$ac_ext <<_ACEOF
   9584 int foo(void) {}
   9585 _ACEOF
   9586 rm -f conftest.$ac_objext conftest$ac_exeext
   9587 if { (ac_try="$ac_link"
   9588 case "(($ac_try" in
   9589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9590   *) ac_try_echo=$ac_try;;
   9591 esac
   9592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9593 $as_echo "$ac_try_echo") >&5
   9594   (eval "$ac_link") 2>conftest.er1
   9595   ac_status=$?
   9596   grep -v '^ *+' conftest.er1 >conftest.err
   9597   rm -f conftest.er1
   9598   cat conftest.err >&5
   9599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9600   (exit $ac_status); } && {
   9601 	 test -z "$ac_c_werror_flag" ||
   9602 	 test ! -s conftest.err
   9603        } && test -s conftest$ac_exeext && {
   9604 	 test "$cross_compiling" = yes ||
   9605 	 $as_test_x conftest$ac_exeext
   9606        }; then
   9607   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'
   9608 
   9609 else
   9610   $as_echo "$as_me: failed program was:" >&5
   9611 sed 's/^/| /' conftest.$ac_ext >&5
   9612 
   9613 
   9614 fi
   9615 
   9616 rm -rf conftest.dSYM
   9617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9618       conftest$ac_exeext conftest.$ac_ext
   9619         LDFLAGS="$save_LDFLAGS"
   9620       else
   9621 	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'
   9622 	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'
   9623       fi
   9624       archive_cmds_need_lc='no'
   9625       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9626       hardcode_libdir_separator=:
   9627       inherit_rpath=yes
   9628       link_all_deplibs=yes
   9629       ;;
   9630 
   9631     netbsd*)
   9632       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9633 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9634       else
   9635 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9636       fi
   9637       hardcode_libdir_flag_spec='-R$libdir'
   9638       hardcode_direct=yes
   9639       hardcode_shlibpath_var=no
   9640       ;;
   9641 
   9642     newsos6)
   9643       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9644       hardcode_direct=yes
   9645       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9646       hardcode_libdir_separator=:
   9647       hardcode_shlibpath_var=no
   9648       ;;
   9649 
   9650     *nto* | *qnx*)
   9651       ;;
   9652 
   9653     openbsd*)
   9654       if test -f /usr/libexec/ld.so; then
   9655 	hardcode_direct=yes
   9656 	hardcode_shlibpath_var=no
   9657 	hardcode_direct_absolute=yes
   9658 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9659 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9660 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9661 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9662 	  export_dynamic_flag_spec='${wl}-E'
   9663 	else
   9664 	  case $host_os in
   9665 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9666 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9667 	     hardcode_libdir_flag_spec='-R$libdir'
   9668 	     ;;
   9669 	   *)
   9670 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9671 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9672 	     ;;
   9673 	  esac
   9674 	fi
   9675       else
   9676 	ld_shlibs=no
   9677       fi
   9678       ;;
   9679 
   9680     os2*)
   9681       hardcode_libdir_flag_spec='-L$libdir'
   9682       hardcode_minus_L=yes
   9683       allow_undefined_flag=unsupported
   9684       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'
   9685       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9686       ;;
   9687 
   9688     osf3*)
   9689       if test "$GCC" = yes; then
   9690 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9691 	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'
   9692       else
   9693 	allow_undefined_flag=' -expect_unresolved \*'
   9694 	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'
   9695       fi
   9696       archive_cmds_need_lc='no'
   9697       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9698       hardcode_libdir_separator=:
   9699       ;;
   9700 
   9701     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9702       if test "$GCC" = yes; then
   9703 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9704 	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'
   9705 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9706       else
   9707 	allow_undefined_flag=' -expect_unresolved \*'
   9708 	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'
   9709 	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~
   9710 	$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'
   9711 
   9712 	# Both c and cxx compiler support -rpath directly
   9713 	hardcode_libdir_flag_spec='-rpath $libdir'
   9714       fi
   9715       archive_cmds_need_lc='no'
   9716       hardcode_libdir_separator=:
   9717       ;;
   9718 
   9719     solaris*)
   9720       no_undefined_flag=' -z defs'
   9721       if test "$GCC" = yes; then
   9722 	wlarc='${wl}'
   9723 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9724 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9725 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9726       else
   9727 	case `$CC -V 2>&1` in
   9728 	*"Compilers 5.0"*)
   9729 	  wlarc=''
   9730 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9731 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9732 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9733 	  ;;
   9734 	*)
   9735 	  wlarc='${wl}'
   9736 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9737 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9738 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9739 	  ;;
   9740 	esac
   9741       fi
   9742       hardcode_libdir_flag_spec='-R$libdir'
   9743       hardcode_shlibpath_var=no
   9744       case $host_os in
   9745       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9746       *)
   9747 	# The compiler driver will combine and reorder linker options,
   9748 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9749 	# but is careful enough not to reorder.
   9750 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9751 	if test "$GCC" = yes; then
   9752 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9753 	else
   9754 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9755 	fi
   9756 	;;
   9757       esac
   9758       link_all_deplibs=yes
   9759       ;;
   9760 
   9761     sunos4*)
   9762       if test "x$host_vendor" = xsequent; then
   9763 	# Use $CC to link under sequent, because it throws in some extra .o
   9764 	# files that make .init and .fini sections work.
   9765 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9766       else
   9767 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9768       fi
   9769       hardcode_libdir_flag_spec='-L$libdir'
   9770       hardcode_direct=yes
   9771       hardcode_minus_L=yes
   9772       hardcode_shlibpath_var=no
   9773       ;;
   9774 
   9775     sysv4)
   9776       case $host_vendor in
   9777 	sni)
   9778 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9779 	  hardcode_direct=yes # is this really true???
   9780 	;;
   9781 	siemens)
   9782 	  ## LD is ld it makes a PLAMLIB
   9783 	  ## CC just makes a GrossModule.
   9784 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9785 	  reload_cmds='$CC -r -o $output$reload_objs'
   9786 	  hardcode_direct=no
   9787         ;;
   9788 	motorola)
   9789 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9790 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9791 	;;
   9792       esac
   9793       runpath_var='LD_RUN_PATH'
   9794       hardcode_shlibpath_var=no
   9795       ;;
   9796 
   9797     sysv4.3*)
   9798       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9799       hardcode_shlibpath_var=no
   9800       export_dynamic_flag_spec='-Bexport'
   9801       ;;
   9802 
   9803     sysv4*MP*)
   9804       if test -d /usr/nec; then
   9805 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9806 	hardcode_shlibpath_var=no
   9807 	runpath_var=LD_RUN_PATH
   9808 	hardcode_runpath_var=yes
   9809 	ld_shlibs=yes
   9810       fi
   9811       ;;
   9812 
   9813     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9814       no_undefined_flag='${wl}-z,text'
   9815       archive_cmds_need_lc=no
   9816       hardcode_shlibpath_var=no
   9817       runpath_var='LD_RUN_PATH'
   9818 
   9819       if test "$GCC" = yes; then
   9820 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9821 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9822       else
   9823 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9824 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9825       fi
   9826       ;;
   9827 
   9828     sysv5* | sco3.2v5* | sco5v6*)
   9829       # Note: We can NOT use -z defs as we might desire, because we do not
   9830       # link with -lc, and that would cause any symbols used from libc to
   9831       # always be unresolved, which means just about no library would
   9832       # ever link correctly.  If we're not using GNU ld we use -z text
   9833       # though, which does catch some bad symbols but isn't as heavy-handed
   9834       # as -z defs.
   9835       no_undefined_flag='${wl}-z,text'
   9836       allow_undefined_flag='${wl}-z,nodefs'
   9837       archive_cmds_need_lc=no
   9838       hardcode_shlibpath_var=no
   9839       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9840       hardcode_libdir_separator=':'
   9841       link_all_deplibs=yes
   9842       export_dynamic_flag_spec='${wl}-Bexport'
   9843       runpath_var='LD_RUN_PATH'
   9844 
   9845       if test "$GCC" = yes; then
   9846 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9847 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9848       else
   9849 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9850 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9851       fi
   9852       ;;
   9853 
   9854     uts4*)
   9855       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9856       hardcode_libdir_flag_spec='-L$libdir'
   9857       hardcode_shlibpath_var=no
   9858       ;;
   9859 
   9860     *)
   9861       ld_shlibs=no
   9862       ;;
   9863     esac
   9864 
   9865     if test x$host_vendor = xsni; then
   9866       case $host in
   9867       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9868 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9869 	;;
   9870       esac
   9871     fi
   9872   fi
   9873 
   9874 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9875 $as_echo "$ld_shlibs" >&6; }
   9876 test "$ld_shlibs" = no && can_build_shared=no
   9877 
   9878 with_gnu_ld=$with_gnu_ld
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 #
   9895 # Do we need to explicitly link libc?
   9896 #
   9897 case "x$archive_cmds_need_lc" in
   9898 x|xyes)
   9899   # Assume -lc should be added
   9900   archive_cmds_need_lc=yes
   9901 
   9902   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9903     case $archive_cmds in
   9904     *'~'*)
   9905       # FIXME: we may have to deal with multi-command sequences.
   9906       ;;
   9907     '$CC '*)
   9908       # Test whether the compiler implicitly links with -lc since on some
   9909       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9910       # to ld, don't add -lc before -lgcc.
   9911       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9912 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9913       $RM conftest*
   9914       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9915 
   9916       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9917   (eval $ac_compile) 2>&5
   9918   ac_status=$?
   9919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9920   (exit $ac_status); } 2>conftest.err; then
   9921         soname=conftest
   9922         lib=conftest
   9923         libobjs=conftest.$ac_objext
   9924         deplibs=
   9925         wl=$lt_prog_compiler_wl
   9926 	pic_flag=$lt_prog_compiler_pic
   9927         compiler_flags=-v
   9928         linker_flags=-v
   9929         verstring=
   9930         output_objdir=.
   9931         libname=conftest
   9932         lt_save_allow_undefined_flag=$allow_undefined_flag
   9933         allow_undefined_flag=
   9934         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9935   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9936   ac_status=$?
   9937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9938   (exit $ac_status); }
   9939         then
   9940 	  archive_cmds_need_lc=no
   9941         else
   9942 	  archive_cmds_need_lc=yes
   9943         fi
   9944         allow_undefined_flag=$lt_save_allow_undefined_flag
   9945       else
   9946         cat conftest.err 1>&5
   9947       fi
   9948       $RM conftest*
   9949       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9950 $as_echo "$archive_cmds_need_lc" >&6; }
   9951       ;;
   9952     esac
   9953   fi
   9954   ;;
   9955 esac
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   10114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10115 
   10116 if test "$GCC" = yes; then
   10117   case $host_os in
   10118     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10119     *) lt_awk_arg="/^libraries:/" ;;
   10120   esac
   10121   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10122   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10123     # if the path contains ";" then we assume it to be the separator
   10124     # otherwise default to the standard path separator (i.e. ":") - it is
   10125     # assumed that no part of a normal pathname contains ";" but that should
   10126     # okay in the real world where ";" in dirpaths is itself problematic.
   10127     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10128   else
   10129     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10130   fi
   10131   # Ok, now we have the path, separated by spaces, we can step through it
   10132   # and add multilib dir if necessary.
   10133   lt_tmp_lt_search_path_spec=
   10134   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10135   for lt_sys_path in $lt_search_path_spec; do
   10136     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10137       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10138     else
   10139       test -d "$lt_sys_path" && \
   10140 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10141     fi
   10142   done
   10143   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10144 BEGIN {RS=" "; FS="/|\n";} {
   10145   lt_foo="";
   10146   lt_count=0;
   10147   for (lt_i = NF; lt_i > 0; lt_i--) {
   10148     if ($lt_i != "" && $lt_i != ".") {
   10149       if ($lt_i == "..") {
   10150         lt_count++;
   10151       } else {
   10152         if (lt_count == 0) {
   10153           lt_foo="/" $lt_i lt_foo;
   10154         } else {
   10155           lt_count--;
   10156         }
   10157       }
   10158     }
   10159   }
   10160   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10161   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10162 }'`
   10163   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10164 else
   10165   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10166 fi
   10167 library_names_spec=
   10168 libname_spec='lib$name'
   10169 soname_spec=
   10170 shrext_cmds=".so"
   10171 postinstall_cmds=
   10172 postuninstall_cmds=
   10173 finish_cmds=
   10174 finish_eval=
   10175 shlibpath_var=
   10176 shlibpath_overrides_runpath=unknown
   10177 version_type=none
   10178 dynamic_linker="$host_os ld.so"
   10179 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10180 need_lib_prefix=unknown
   10181 hardcode_into_libs=no
   10182 
   10183 # when you set need_version to no, make sure it does not cause -set_version
   10184 # flags to be left without arguments
   10185 need_version=unknown
   10186 
   10187 case $host_os in
   10188 aix3*)
   10189   version_type=linux
   10190   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10191   shlibpath_var=LIBPATH
   10192 
   10193   # AIX 3 has no versioning support, so we append a major version to the name.
   10194   soname_spec='${libname}${release}${shared_ext}$major'
   10195   ;;
   10196 
   10197 aix[4-9]*)
   10198   version_type=linux
   10199   need_lib_prefix=no
   10200   need_version=no
   10201   hardcode_into_libs=yes
   10202   if test "$host_cpu" = ia64; then
   10203     # AIX 5 supports IA64
   10204     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10205     shlibpath_var=LD_LIBRARY_PATH
   10206   else
   10207     # With GCC up to 2.95.x, collect2 would create an import file
   10208     # for dependence libraries.  The import file would start with
   10209     # the line `#! .'.  This would cause the generated library to
   10210     # depend on `.', always an invalid library.  This was fixed in
   10211     # development snapshots of GCC prior to 3.0.
   10212     case $host_os in
   10213       aix4 | aix4.[01] | aix4.[01].*)
   10214       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10215 	   echo ' yes '
   10216 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10217 	:
   10218       else
   10219 	can_build_shared=no
   10220       fi
   10221       ;;
   10222     esac
   10223     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10224     # soname into executable. Probably we can add versioning support to
   10225     # collect2, so additional links can be useful in future.
   10226     if test "$aix_use_runtimelinking" = yes; then
   10227       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10228       # instead of lib<name>.a to let people know that these are not
   10229       # typical AIX shared libraries.
   10230       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10231     else
   10232       # We preserve .a as extension for shared libraries through AIX4.2
   10233       # and later when we are not doing run time linking.
   10234       library_names_spec='${libname}${release}.a $libname.a'
   10235       soname_spec='${libname}${release}${shared_ext}$major'
   10236     fi
   10237     shlibpath_var=LIBPATH
   10238   fi
   10239   ;;
   10240 
   10241 amigaos*)
   10242   case $host_cpu in
   10243   powerpc)
   10244     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10245     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10246     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10247     ;;
   10248   m68k)
   10249     library_names_spec='$libname.ixlibrary $libname.a'
   10250     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10251     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'
   10252     ;;
   10253   esac
   10254   ;;
   10255 
   10256 beos*)
   10257   library_names_spec='${libname}${shared_ext}'
   10258   dynamic_linker="$host_os ld.so"
   10259   shlibpath_var=LIBRARY_PATH
   10260   ;;
   10261 
   10262 bsdi[45]*)
   10263   version_type=linux
   10264   need_version=no
   10265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10266   soname_spec='${libname}${release}${shared_ext}$major'
   10267   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10268   shlibpath_var=LD_LIBRARY_PATH
   10269   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10270   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10271   # the default ld.so.conf also contains /usr/contrib/lib and
   10272   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10273   # libtool to hard-code these into programs
   10274   ;;
   10275 
   10276 cygwin* | mingw* | pw32* | cegcc*)
   10277   version_type=windows
   10278   shrext_cmds=".dll"
   10279   need_version=no
   10280   need_lib_prefix=no
   10281 
   10282   case $GCC,$host_os in
   10283   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10284     library_names_spec='$libname.dll.a'
   10285     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10286     postinstall_cmds='base_file=`basename \${file}`~
   10287       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10288       dldir=$destdir/`dirname \$dlpath`~
   10289       test -d \$dldir || mkdir -p \$dldir~
   10290       $install_prog $dir/$dlname \$dldir/$dlname~
   10291       chmod a+x \$dldir/$dlname~
   10292       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10293         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10294       fi'
   10295     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10296       dlpath=$dir/\$dldll~
   10297        $RM \$dlpath'
   10298     shlibpath_overrides_runpath=yes
   10299 
   10300     case $host_os in
   10301     cygwin*)
   10302       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10303       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10304       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10305       ;;
   10306     mingw* | cegcc*)
   10307       # MinGW DLLs use traditional 'lib' prefix
   10308       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10309       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10310       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10311         # It is most probably a Windows format PATH printed by
   10312         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10313         # path with ; separators, and with drive letters. We can handle the
   10314         # drive letters (cygwin fileutils understands them), so leave them,
   10315         # especially as we might pass files found there to a mingw objdump,
   10316         # which wouldn't understand a cygwinified path. Ahh.
   10317         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10318       else
   10319         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10320       fi
   10321       ;;
   10322     pw32*)
   10323       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10324       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10325       ;;
   10326     esac
   10327     ;;
   10328 
   10329   *)
   10330     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10331     ;;
   10332   esac
   10333   dynamic_linker='Win32 ld.exe'
   10334   # FIXME: first we should search . and the directory the executable is in
   10335   shlibpath_var=PATH
   10336   ;;
   10337 
   10338 darwin* | rhapsody*)
   10339   dynamic_linker="$host_os dyld"
   10340   version_type=darwin
   10341   need_lib_prefix=no
   10342   need_version=no
   10343   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10344   soname_spec='${libname}${release}${major}$shared_ext'
   10345   shlibpath_overrides_runpath=yes
   10346   shlibpath_var=DYLD_LIBRARY_PATH
   10347   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10348 
   10349   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10350   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10351   ;;
   10352 
   10353 dgux*)
   10354   version_type=linux
   10355   need_lib_prefix=no
   10356   need_version=no
   10357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10358   soname_spec='${libname}${release}${shared_ext}$major'
   10359   shlibpath_var=LD_LIBRARY_PATH
   10360   ;;
   10361 
   10362 freebsd1*)
   10363   dynamic_linker=no
   10364   ;;
   10365 
   10366 freebsd* | dragonfly*)
   10367   # DragonFly does not have aout.  When/if they implement a new
   10368   # versioning mechanism, adjust this.
   10369   if test -x /usr/bin/objformat; then
   10370     objformat=`/usr/bin/objformat`
   10371   else
   10372     case $host_os in
   10373     freebsd[123]*) objformat=aout ;;
   10374     *) objformat=elf ;;
   10375     esac
   10376   fi
   10377   version_type=freebsd-$objformat
   10378   case $version_type in
   10379     freebsd-elf*)
   10380       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10381       need_version=no
   10382       need_lib_prefix=no
   10383       ;;
   10384     freebsd-*)
   10385       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10386       need_version=yes
   10387       ;;
   10388   esac
   10389   shlibpath_var=LD_LIBRARY_PATH
   10390   case $host_os in
   10391   freebsd2*)
   10392     shlibpath_overrides_runpath=yes
   10393     ;;
   10394   freebsd3.[01]* | freebsdelf3.[01]*)
   10395     shlibpath_overrides_runpath=yes
   10396     hardcode_into_libs=yes
   10397     ;;
   10398   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10399   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10400     shlibpath_overrides_runpath=no
   10401     hardcode_into_libs=yes
   10402     ;;
   10403   *) # from 4.6 on, and DragonFly
   10404     shlibpath_overrides_runpath=yes
   10405     hardcode_into_libs=yes
   10406     ;;
   10407   esac
   10408   ;;
   10409 
   10410 gnu*)
   10411   version_type=linux
   10412   need_lib_prefix=no
   10413   need_version=no
   10414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10415   soname_spec='${libname}${release}${shared_ext}$major'
   10416   shlibpath_var=LD_LIBRARY_PATH
   10417   hardcode_into_libs=yes
   10418   ;;
   10419 
   10420 hpux9* | hpux10* | hpux11*)
   10421   # Give a soname corresponding to the major version so that dld.sl refuses to
   10422   # link against other versions.
   10423   version_type=sunos
   10424   need_lib_prefix=no
   10425   need_version=no
   10426   case $host_cpu in
   10427   ia64*)
   10428     shrext_cmds='.so'
   10429     hardcode_into_libs=yes
   10430     dynamic_linker="$host_os dld.so"
   10431     shlibpath_var=LD_LIBRARY_PATH
   10432     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10433     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10434     soname_spec='${libname}${release}${shared_ext}$major'
   10435     if test "X$HPUX_IA64_MODE" = X32; then
   10436       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10437     else
   10438       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10439     fi
   10440     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10441     ;;
   10442   hppa*64*)
   10443     shrext_cmds='.sl'
   10444     hardcode_into_libs=yes
   10445     dynamic_linker="$host_os dld.sl"
   10446     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10447     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10448     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10449     soname_spec='${libname}${release}${shared_ext}$major'
   10450     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10451     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10452     ;;
   10453   *)
   10454     shrext_cmds='.sl'
   10455     dynamic_linker="$host_os dld.sl"
   10456     shlibpath_var=SHLIB_PATH
   10457     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10459     soname_spec='${libname}${release}${shared_ext}$major'
   10460     ;;
   10461   esac
   10462   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10463   postinstall_cmds='chmod 555 $lib'
   10464   ;;
   10465 
   10466 interix[3-9]*)
   10467   version_type=linux
   10468   need_lib_prefix=no
   10469   need_version=no
   10470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10471   soname_spec='${libname}${release}${shared_ext}$major'
   10472   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10473   shlibpath_var=LD_LIBRARY_PATH
   10474   shlibpath_overrides_runpath=no
   10475   hardcode_into_libs=yes
   10476   ;;
   10477 
   10478 irix5* | irix6* | nonstopux*)
   10479   case $host_os in
   10480     nonstopux*) version_type=nonstopux ;;
   10481     *)
   10482 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10483 		version_type=linux
   10484 	else
   10485 		version_type=irix
   10486 	fi ;;
   10487   esac
   10488   need_lib_prefix=no
   10489   need_version=no
   10490   soname_spec='${libname}${release}${shared_ext}$major'
   10491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10492   case $host_os in
   10493   irix5* | nonstopux*)
   10494     libsuff= shlibsuff=
   10495     ;;
   10496   *)
   10497     case $LD in # libtool.m4 will add one of these switches to LD
   10498     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10499       libsuff= shlibsuff= libmagic=32-bit;;
   10500     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10501       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10502     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10503       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10504     *) libsuff= shlibsuff= libmagic=never-match;;
   10505     esac
   10506     ;;
   10507   esac
   10508   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10509   shlibpath_overrides_runpath=no
   10510   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10511   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10512   hardcode_into_libs=yes
   10513   ;;
   10514 
   10515 # No shared lib support for Linux oldld, aout, or coff.
   10516 linux*oldld* | linux*aout* | linux*coff*)
   10517   dynamic_linker=no
   10518   ;;
   10519 
   10520 # This must be Linux ELF.
   10521 linux* | k*bsd*-gnu)
   10522   version_type=linux
   10523   need_lib_prefix=no
   10524   need_version=no
   10525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10526   soname_spec='${libname}${release}${shared_ext}$major'
   10527   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10528   shlibpath_var=LD_LIBRARY_PATH
   10529   shlibpath_overrides_runpath=no
   10530   # Some binutils ld are patched to set DT_RUNPATH
   10531   save_LDFLAGS=$LDFLAGS
   10532   save_libdir=$libdir
   10533   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10534        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10535   cat >conftest.$ac_ext <<_ACEOF
   10536 /* confdefs.h.  */
   10537 _ACEOF
   10538 cat confdefs.h >>conftest.$ac_ext
   10539 cat >>conftest.$ac_ext <<_ACEOF
   10540 /* end confdefs.h.  */
   10541 
   10542 int
   10543 main ()
   10544 {
   10545 
   10546   ;
   10547   return 0;
   10548 }
   10549 _ACEOF
   10550 rm -f conftest.$ac_objext conftest$ac_exeext
   10551 if { (ac_try="$ac_link"
   10552 case "(($ac_try" in
   10553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10554   *) ac_try_echo=$ac_try;;
   10555 esac
   10556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10557 $as_echo "$ac_try_echo") >&5
   10558   (eval "$ac_link") 2>conftest.er1
   10559   ac_status=$?
   10560   grep -v '^ *+' conftest.er1 >conftest.err
   10561   rm -f conftest.er1
   10562   cat conftest.err >&5
   10563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10564   (exit $ac_status); } && {
   10565 	 test -z "$ac_c_werror_flag" ||
   10566 	 test ! -s conftest.err
   10567        } && test -s conftest$ac_exeext && {
   10568 	 test "$cross_compiling" = yes ||
   10569 	 $as_test_x conftest$ac_exeext
   10570        }; then
   10571   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   10572   shlibpath_overrides_runpath=yes
   10573 fi
   10574 
   10575 else
   10576   $as_echo "$as_me: failed program was:" >&5
   10577 sed 's/^/| /' conftest.$ac_ext >&5
   10578 
   10579 
   10580 fi
   10581 
   10582 rm -rf conftest.dSYM
   10583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10584       conftest$ac_exeext conftest.$ac_ext
   10585   LDFLAGS=$save_LDFLAGS
   10586   libdir=$save_libdir
   10587 
   10588   # This implies no fast_install, which is unacceptable.
   10589   # Some rework will be needed to allow for fast_install
   10590   # before this can be enabled.
   10591   hardcode_into_libs=yes
   10592 
   10593   # find out which ABI we are using
   10594   libsuff=
   10595   case "$host_cpu" in
   10596   x86_64*|s390x*|powerpc64*)
   10597     echo '#line 10597 "configure"' > conftest.$ac_ext
   10598     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10599   (eval $ac_compile) 2>&5
   10600   ac_status=$?
   10601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10602   (exit $ac_status); }; then
   10603       case `/usr/bin/file conftest.$ac_objext` in
   10604       *64-bit*)
   10605         libsuff=64
   10606         ;;
   10607       esac
   10608     fi
   10609     rm -rf conftest*
   10610     ;;
   10611   esac
   10612 
   10613   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
   10614 
   10615   # Append ld.so.conf contents to the search path
   10616   if test -f /etc/ld.so.conf; then
   10617     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' ' '`
   10618     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10619   fi
   10620 
   10621   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10622   # powerpc, because MkLinux only supported shared libraries with the
   10623   # GNU dynamic linker.  Since this was broken with cross compilers,
   10624   # most powerpc-linux boxes support dynamic linking these days and
   10625   # people can always --disable-shared, the test was removed, and we
   10626   # assume the GNU/Linux dynamic linker is in use.
   10627   dynamic_linker='GNU/Linux ld.so'
   10628   ;;
   10629 
   10630 netbsd*)
   10631   version_type=sunos
   10632   need_lib_prefix=no
   10633   need_version=no
   10634   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10635     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10636     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10637     dynamic_linker='NetBSD (a.out) ld.so'
   10638   else
   10639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10640     soname_spec='${libname}${release}${shared_ext}$major'
   10641     dynamic_linker='NetBSD ld.elf_so'
   10642   fi
   10643   shlibpath_var=LD_LIBRARY_PATH
   10644   shlibpath_overrides_runpath=yes
   10645   hardcode_into_libs=yes
   10646   ;;
   10647 
   10648 newsos6)
   10649   version_type=linux
   10650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10651   shlibpath_var=LD_LIBRARY_PATH
   10652   shlibpath_overrides_runpath=yes
   10653   ;;
   10654 
   10655 *nto* | *qnx*)
   10656   version_type=qnx
   10657   need_lib_prefix=no
   10658   need_version=no
   10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10660   soname_spec='${libname}${release}${shared_ext}$major'
   10661   shlibpath_var=LD_LIBRARY_PATH
   10662   shlibpath_overrides_runpath=no
   10663   hardcode_into_libs=yes
   10664   dynamic_linker='ldqnx.so'
   10665   ;;
   10666 
   10667 openbsd*)
   10668   version_type=sunos
   10669   sys_lib_dlsearch_path_spec="/usr/lib"
   10670   need_lib_prefix=no
   10671   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10672   case $host_os in
   10673     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10674     *)				need_version=no  ;;
   10675   esac
   10676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10677   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10678   shlibpath_var=LD_LIBRARY_PATH
   10679   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10680     case $host_os in
   10681       openbsd2.[89] | openbsd2.[89].*)
   10682 	shlibpath_overrides_runpath=no
   10683 	;;
   10684       *)
   10685 	shlibpath_overrides_runpath=yes
   10686 	;;
   10687       esac
   10688   else
   10689     shlibpath_overrides_runpath=yes
   10690   fi
   10691   ;;
   10692 
   10693 os2*)
   10694   libname_spec='$name'
   10695   shrext_cmds=".dll"
   10696   need_lib_prefix=no
   10697   library_names_spec='$libname${shared_ext} $libname.a'
   10698   dynamic_linker='OS/2 ld.exe'
   10699   shlibpath_var=LIBPATH
   10700   ;;
   10701 
   10702 osf3* | osf4* | osf5*)
   10703   version_type=osf
   10704   need_lib_prefix=no
   10705   need_version=no
   10706   soname_spec='${libname}${release}${shared_ext}$major'
   10707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10708   shlibpath_var=LD_LIBRARY_PATH
   10709   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10710   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10711   ;;
   10712 
   10713 rdos*)
   10714   dynamic_linker=no
   10715   ;;
   10716 
   10717 solaris*)
   10718   version_type=linux
   10719   need_lib_prefix=no
   10720   need_version=no
   10721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10722   soname_spec='${libname}${release}${shared_ext}$major'
   10723   shlibpath_var=LD_LIBRARY_PATH
   10724   shlibpath_overrides_runpath=yes
   10725   hardcode_into_libs=yes
   10726   # ldd complains unless libraries are executable
   10727   postinstall_cmds='chmod +x $lib'
   10728   ;;
   10729 
   10730 sunos4*)
   10731   version_type=sunos
   10732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10733   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10734   shlibpath_var=LD_LIBRARY_PATH
   10735   shlibpath_overrides_runpath=yes
   10736   if test "$with_gnu_ld" = yes; then
   10737     need_lib_prefix=no
   10738   fi
   10739   need_version=yes
   10740   ;;
   10741 
   10742 sysv4 | sysv4.3*)
   10743   version_type=linux
   10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10745   soname_spec='${libname}${release}${shared_ext}$major'
   10746   shlibpath_var=LD_LIBRARY_PATH
   10747   case $host_vendor in
   10748     sni)
   10749       shlibpath_overrides_runpath=no
   10750       need_lib_prefix=no
   10751       runpath_var=LD_RUN_PATH
   10752       ;;
   10753     siemens)
   10754       need_lib_prefix=no
   10755       ;;
   10756     motorola)
   10757       need_lib_prefix=no
   10758       need_version=no
   10759       shlibpath_overrides_runpath=no
   10760       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10761       ;;
   10762   esac
   10763   ;;
   10764 
   10765 sysv4*MP*)
   10766   if test -d /usr/nec ;then
   10767     version_type=linux
   10768     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10769     soname_spec='$libname${shared_ext}.$major'
   10770     shlibpath_var=LD_LIBRARY_PATH
   10771   fi
   10772   ;;
   10773 
   10774 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10775   version_type=freebsd-elf
   10776   need_lib_prefix=no
   10777   need_version=no
   10778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10779   soname_spec='${libname}${release}${shared_ext}$major'
   10780   shlibpath_var=LD_LIBRARY_PATH
   10781   shlibpath_overrides_runpath=yes
   10782   hardcode_into_libs=yes
   10783   if test "$with_gnu_ld" = yes; then
   10784     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10785   else
   10786     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10787     case $host_os in
   10788       sco3.2v5*)
   10789         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10790 	;;
   10791     esac
   10792   fi
   10793   sys_lib_dlsearch_path_spec='/usr/lib'
   10794   ;;
   10795 
   10796 tpf*)
   10797   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10798   version_type=linux
   10799   need_lib_prefix=no
   10800   need_version=no
   10801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10802   shlibpath_var=LD_LIBRARY_PATH
   10803   shlibpath_overrides_runpath=no
   10804   hardcode_into_libs=yes
   10805   ;;
   10806 
   10807 uts4*)
   10808   version_type=linux
   10809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10810   soname_spec='${libname}${release}${shared_ext}$major'
   10811   shlibpath_var=LD_LIBRARY_PATH
   10812   ;;
   10813 
   10814 *)
   10815   dynamic_linker=no
   10816   ;;
   10817 esac
   10818 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10819 $as_echo "$dynamic_linker" >&6; }
   10820 test "$dynamic_linker" = no && can_build_shared=no
   10821 
   10822 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10823 if test "$GCC" = yes; then
   10824   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10825 fi
   10826 
   10827 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10828   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10829 fi
   10830 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10831   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10832 fi
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10921 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10922 hardcode_action=
   10923 if test -n "$hardcode_libdir_flag_spec" ||
   10924    test -n "$runpath_var" ||
   10925    test "X$hardcode_automatic" = "Xyes" ; then
   10926 
   10927   # We can hardcode non-existent directories.
   10928   if test "$hardcode_direct" != no &&
   10929      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10930      # have to relink, otherwise we might link with an installed library
   10931      # when we should be linking with a yet-to-be-installed one
   10932      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10933      test "$hardcode_minus_L" != no; then
   10934     # Linking always hardcodes the temporary library directory.
   10935     hardcode_action=relink
   10936   else
   10937     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10938     hardcode_action=immediate
   10939   fi
   10940 else
   10941   # We cannot hardcode anything, or else we can only hardcode existing
   10942   # directories.
   10943   hardcode_action=unsupported
   10944 fi
   10945 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10946 $as_echo "$hardcode_action" >&6; }
   10947 
   10948 if test "$hardcode_action" = relink ||
   10949    test "$inherit_rpath" = yes; then
   10950   # Fast installation is not supported
   10951   enable_fast_install=no
   10952 elif test "$shlibpath_overrides_runpath" = yes ||
   10953      test "$enable_shared" = no; then
   10954   # Fast installation is not necessary
   10955   enable_fast_install=needless
   10956 fi
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963   if test "x$enable_dlopen" != xyes; then
   10964   enable_dlopen=unknown
   10965   enable_dlopen_self=unknown
   10966   enable_dlopen_self_static=unknown
   10967 else
   10968   lt_cv_dlopen=no
   10969   lt_cv_dlopen_libs=
   10970 
   10971   case $host_os in
   10972   beos*)
   10973     lt_cv_dlopen="load_add_on"
   10974     lt_cv_dlopen_libs=
   10975     lt_cv_dlopen_self=yes
   10976     ;;
   10977 
   10978   mingw* | pw32* | cegcc*)
   10979     lt_cv_dlopen="LoadLibrary"
   10980     lt_cv_dlopen_libs=
   10981     ;;
   10982 
   10983   cygwin*)
   10984     lt_cv_dlopen="dlopen"
   10985     lt_cv_dlopen_libs=
   10986     ;;
   10987 
   10988   darwin*)
   10989   # if libdl is installed we need to link against it
   10990     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10991 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10992 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10993   $as_echo_n "(cached) " >&6
   10994 else
   10995   ac_check_lib_save_LIBS=$LIBS
   10996 LIBS="-ldl  $LIBS"
   10997 cat >conftest.$ac_ext <<_ACEOF
   10998 /* confdefs.h.  */
   10999 _ACEOF
   11000 cat confdefs.h >>conftest.$ac_ext
   11001 cat >>conftest.$ac_ext <<_ACEOF
   11002 /* end confdefs.h.  */
   11003 
   11004 /* Override any GCC internal prototype to avoid an error.
   11005    Use char because int might match the return type of a GCC
   11006    builtin and then its argument prototype would still apply.  */
   11007 #ifdef __cplusplus
   11008 extern "C"
   11009 #endif
   11010 char dlopen ();
   11011 int
   11012 main ()
   11013 {
   11014 return dlopen ();
   11015   ;
   11016   return 0;
   11017 }
   11018 _ACEOF
   11019 rm -f conftest.$ac_objext conftest$ac_exeext
   11020 if { (ac_try="$ac_link"
   11021 case "(($ac_try" in
   11022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11023   *) ac_try_echo=$ac_try;;
   11024 esac
   11025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11026 $as_echo "$ac_try_echo") >&5
   11027   (eval "$ac_link") 2>conftest.er1
   11028   ac_status=$?
   11029   grep -v '^ *+' conftest.er1 >conftest.err
   11030   rm -f conftest.er1
   11031   cat conftest.err >&5
   11032   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11033   (exit $ac_status); } && {
   11034 	 test -z "$ac_c_werror_flag" ||
   11035 	 test ! -s conftest.err
   11036        } && test -s conftest$ac_exeext && {
   11037 	 test "$cross_compiling" = yes ||
   11038 	 $as_test_x conftest$ac_exeext
   11039        }; then
   11040   ac_cv_lib_dl_dlopen=yes
   11041 else
   11042   $as_echo "$as_me: failed program was:" >&5
   11043 sed 's/^/| /' conftest.$ac_ext >&5
   11044 
   11045 	ac_cv_lib_dl_dlopen=no
   11046 fi
   11047 
   11048 rm -rf conftest.dSYM
   11049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11050       conftest$ac_exeext conftest.$ac_ext
   11051 LIBS=$ac_check_lib_save_LIBS
   11052 fi
   11053 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11055 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11056   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11057 else
   11058 
   11059     lt_cv_dlopen="dyld"
   11060     lt_cv_dlopen_libs=
   11061     lt_cv_dlopen_self=yes
   11062 
   11063 fi
   11064 
   11065     ;;
   11066 
   11067   *)
   11068     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   11069 $as_echo_n "checking for shl_load... " >&6; }
   11070 if test "${ac_cv_func_shl_load+set}" = set; then
   11071   $as_echo_n "(cached) " >&6
   11072 else
   11073   cat >conftest.$ac_ext <<_ACEOF
   11074 /* confdefs.h.  */
   11075 _ACEOF
   11076 cat confdefs.h >>conftest.$ac_ext
   11077 cat >>conftest.$ac_ext <<_ACEOF
   11078 /* end confdefs.h.  */
   11079 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   11080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11081 #define shl_load innocuous_shl_load
   11082 
   11083 /* System header to define __stub macros and hopefully few prototypes,
   11084     which can conflict with char shl_load (); below.
   11085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11086     <limits.h> exists even on freestanding compilers.  */
   11087 
   11088 #ifdef __STDC__
   11089 # include <limits.h>
   11090 #else
   11091 # include <assert.h>
   11092 #endif
   11093 
   11094 #undef shl_load
   11095 
   11096 /* Override any GCC internal prototype to avoid an error.
   11097    Use char because int might match the return type of a GCC
   11098    builtin and then its argument prototype would still apply.  */
   11099 #ifdef __cplusplus
   11100 extern "C"
   11101 #endif
   11102 char shl_load ();
   11103 /* The GNU C library defines this for functions which it implements
   11104     to always fail with ENOSYS.  Some functions are actually named
   11105     something starting with __ and the normal name is an alias.  */
   11106 #if defined __stub_shl_load || defined __stub___shl_load
   11107 choke me
   11108 #endif
   11109 
   11110 int
   11111 main ()
   11112 {
   11113 return shl_load ();
   11114   ;
   11115   return 0;
   11116 }
   11117 _ACEOF
   11118 rm -f conftest.$ac_objext conftest$ac_exeext
   11119 if { (ac_try="$ac_link"
   11120 case "(($ac_try" in
   11121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11122   *) ac_try_echo=$ac_try;;
   11123 esac
   11124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11125 $as_echo "$ac_try_echo") >&5
   11126   (eval "$ac_link") 2>conftest.er1
   11127   ac_status=$?
   11128   grep -v '^ *+' conftest.er1 >conftest.err
   11129   rm -f conftest.er1
   11130   cat conftest.err >&5
   11131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11132   (exit $ac_status); } && {
   11133 	 test -z "$ac_c_werror_flag" ||
   11134 	 test ! -s conftest.err
   11135        } && test -s conftest$ac_exeext && {
   11136 	 test "$cross_compiling" = yes ||
   11137 	 $as_test_x conftest$ac_exeext
   11138        }; then
   11139   ac_cv_func_shl_load=yes
   11140 else
   11141   $as_echo "$as_me: failed program was:" >&5
   11142 sed 's/^/| /' conftest.$ac_ext >&5
   11143 
   11144 	ac_cv_func_shl_load=no
   11145 fi
   11146 
   11147 rm -rf conftest.dSYM
   11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11149       conftest$ac_exeext conftest.$ac_ext
   11150 fi
   11151 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   11152 $as_echo "$ac_cv_func_shl_load" >&6; }
   11153 if test "x$ac_cv_func_shl_load" = x""yes; then
   11154   lt_cv_dlopen="shl_load"
   11155 else
   11156   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   11157 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11158 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   11159   $as_echo_n "(cached) " >&6
   11160 else
   11161   ac_check_lib_save_LIBS=$LIBS
   11162 LIBS="-ldld  $LIBS"
   11163 cat >conftest.$ac_ext <<_ACEOF
   11164 /* confdefs.h.  */
   11165 _ACEOF
   11166 cat confdefs.h >>conftest.$ac_ext
   11167 cat >>conftest.$ac_ext <<_ACEOF
   11168 /* end confdefs.h.  */
   11169 
   11170 /* Override any GCC internal prototype to avoid an error.
   11171    Use char because int might match the return type of a GCC
   11172    builtin and then its argument prototype would still apply.  */
   11173 #ifdef __cplusplus
   11174 extern "C"
   11175 #endif
   11176 char shl_load ();
   11177 int
   11178 main ()
   11179 {
   11180 return shl_load ();
   11181   ;
   11182   return 0;
   11183 }
   11184 _ACEOF
   11185 rm -f conftest.$ac_objext conftest$ac_exeext
   11186 if { (ac_try="$ac_link"
   11187 case "(($ac_try" in
   11188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11189   *) ac_try_echo=$ac_try;;
   11190 esac
   11191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11192 $as_echo "$ac_try_echo") >&5
   11193   (eval "$ac_link") 2>conftest.er1
   11194   ac_status=$?
   11195   grep -v '^ *+' conftest.er1 >conftest.err
   11196   rm -f conftest.er1
   11197   cat conftest.err >&5
   11198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11199   (exit $ac_status); } && {
   11200 	 test -z "$ac_c_werror_flag" ||
   11201 	 test ! -s conftest.err
   11202        } && test -s conftest$ac_exeext && {
   11203 	 test "$cross_compiling" = yes ||
   11204 	 $as_test_x conftest$ac_exeext
   11205        }; then
   11206   ac_cv_lib_dld_shl_load=yes
   11207 else
   11208   $as_echo "$as_me: failed program was:" >&5
   11209 sed 's/^/| /' conftest.$ac_ext >&5
   11210 
   11211 	ac_cv_lib_dld_shl_load=no
   11212 fi
   11213 
   11214 rm -rf conftest.dSYM
   11215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11216       conftest$ac_exeext conftest.$ac_ext
   11217 LIBS=$ac_check_lib_save_LIBS
   11218 fi
   11219 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   11220 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11221 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   11222   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11223 else
   11224   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   11225 $as_echo_n "checking for dlopen... " >&6; }
   11226 if test "${ac_cv_func_dlopen+set}" = set; then
   11227   $as_echo_n "(cached) " >&6
   11228 else
   11229   cat >conftest.$ac_ext <<_ACEOF
   11230 /* confdefs.h.  */
   11231 _ACEOF
   11232 cat confdefs.h >>conftest.$ac_ext
   11233 cat >>conftest.$ac_ext <<_ACEOF
   11234 /* end confdefs.h.  */
   11235 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   11236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11237 #define dlopen innocuous_dlopen
   11238 
   11239 /* System header to define __stub macros and hopefully few prototypes,
   11240     which can conflict with char dlopen (); below.
   11241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11242     <limits.h> exists even on freestanding compilers.  */
   11243 
   11244 #ifdef __STDC__
   11245 # include <limits.h>
   11246 #else
   11247 # include <assert.h>
   11248 #endif
   11249 
   11250 #undef dlopen
   11251 
   11252 /* Override any GCC internal prototype to avoid an error.
   11253    Use char because int might match the return type of a GCC
   11254    builtin and then its argument prototype would still apply.  */
   11255 #ifdef __cplusplus
   11256 extern "C"
   11257 #endif
   11258 char dlopen ();
   11259 /* The GNU C library defines this for functions which it implements
   11260     to always fail with ENOSYS.  Some functions are actually named
   11261     something starting with __ and the normal name is an alias.  */
   11262 #if defined __stub_dlopen || defined __stub___dlopen
   11263 choke me
   11264 #endif
   11265 
   11266 int
   11267 main ()
   11268 {
   11269 return dlopen ();
   11270   ;
   11271   return 0;
   11272 }
   11273 _ACEOF
   11274 rm -f conftest.$ac_objext conftest$ac_exeext
   11275 if { (ac_try="$ac_link"
   11276 case "(($ac_try" in
   11277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11278   *) ac_try_echo=$ac_try;;
   11279 esac
   11280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11281 $as_echo "$ac_try_echo") >&5
   11282   (eval "$ac_link") 2>conftest.er1
   11283   ac_status=$?
   11284   grep -v '^ *+' conftest.er1 >conftest.err
   11285   rm -f conftest.er1
   11286   cat conftest.err >&5
   11287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11288   (exit $ac_status); } && {
   11289 	 test -z "$ac_c_werror_flag" ||
   11290 	 test ! -s conftest.err
   11291        } && test -s conftest$ac_exeext && {
   11292 	 test "$cross_compiling" = yes ||
   11293 	 $as_test_x conftest$ac_exeext
   11294        }; then
   11295   ac_cv_func_dlopen=yes
   11296 else
   11297   $as_echo "$as_me: failed program was:" >&5
   11298 sed 's/^/| /' conftest.$ac_ext >&5
   11299 
   11300 	ac_cv_func_dlopen=no
   11301 fi
   11302 
   11303 rm -rf conftest.dSYM
   11304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11305       conftest$ac_exeext conftest.$ac_ext
   11306 fi
   11307 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   11308 $as_echo "$ac_cv_func_dlopen" >&6; }
   11309 if test "x$ac_cv_func_dlopen" = x""yes; then
   11310   lt_cv_dlopen="dlopen"
   11311 else
   11312   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11313 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11314 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11315   $as_echo_n "(cached) " >&6
   11316 else
   11317   ac_check_lib_save_LIBS=$LIBS
   11318 LIBS="-ldl  $LIBS"
   11319 cat >conftest.$ac_ext <<_ACEOF
   11320 /* confdefs.h.  */
   11321 _ACEOF
   11322 cat confdefs.h >>conftest.$ac_ext
   11323 cat >>conftest.$ac_ext <<_ACEOF
   11324 /* end confdefs.h.  */
   11325 
   11326 /* Override any GCC internal prototype to avoid an error.
   11327    Use char because int might match the return type of a GCC
   11328    builtin and then its argument prototype would still apply.  */
   11329 #ifdef __cplusplus
   11330 extern "C"
   11331 #endif
   11332 char dlopen ();
   11333 int
   11334 main ()
   11335 {
   11336 return dlopen ();
   11337   ;
   11338   return 0;
   11339 }
   11340 _ACEOF
   11341 rm -f conftest.$ac_objext conftest$ac_exeext
   11342 if { (ac_try="$ac_link"
   11343 case "(($ac_try" in
   11344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11345   *) ac_try_echo=$ac_try;;
   11346 esac
   11347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11348 $as_echo "$ac_try_echo") >&5
   11349   (eval "$ac_link") 2>conftest.er1
   11350   ac_status=$?
   11351   grep -v '^ *+' conftest.er1 >conftest.err
   11352   rm -f conftest.er1
   11353   cat conftest.err >&5
   11354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11355   (exit $ac_status); } && {
   11356 	 test -z "$ac_c_werror_flag" ||
   11357 	 test ! -s conftest.err
   11358        } && test -s conftest$ac_exeext && {
   11359 	 test "$cross_compiling" = yes ||
   11360 	 $as_test_x conftest$ac_exeext
   11361        }; then
   11362   ac_cv_lib_dl_dlopen=yes
   11363 else
   11364   $as_echo "$as_me: failed program was:" >&5
   11365 sed 's/^/| /' conftest.$ac_ext >&5
   11366 
   11367 	ac_cv_lib_dl_dlopen=no
   11368 fi
   11369 
   11370 rm -rf conftest.dSYM
   11371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11372       conftest$ac_exeext conftest.$ac_ext
   11373 LIBS=$ac_check_lib_save_LIBS
   11374 fi
   11375 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11376 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11377 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11378   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11379 else
   11380   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   11381 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11382 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   11383   $as_echo_n "(cached) " >&6
   11384 else
   11385   ac_check_lib_save_LIBS=$LIBS
   11386 LIBS="-lsvld  $LIBS"
   11387 cat >conftest.$ac_ext <<_ACEOF
   11388 /* confdefs.h.  */
   11389 _ACEOF
   11390 cat confdefs.h >>conftest.$ac_ext
   11391 cat >>conftest.$ac_ext <<_ACEOF
   11392 /* end confdefs.h.  */
   11393 
   11394 /* Override any GCC internal prototype to avoid an error.
   11395    Use char because int might match the return type of a GCC
   11396    builtin and then its argument prototype would still apply.  */
   11397 #ifdef __cplusplus
   11398 extern "C"
   11399 #endif
   11400 char dlopen ();
   11401 int
   11402 main ()
   11403 {
   11404 return dlopen ();
   11405   ;
   11406   return 0;
   11407 }
   11408 _ACEOF
   11409 rm -f conftest.$ac_objext conftest$ac_exeext
   11410 if { (ac_try="$ac_link"
   11411 case "(($ac_try" in
   11412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11413   *) ac_try_echo=$ac_try;;
   11414 esac
   11415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11416 $as_echo "$ac_try_echo") >&5
   11417   (eval "$ac_link") 2>conftest.er1
   11418   ac_status=$?
   11419   grep -v '^ *+' conftest.er1 >conftest.err
   11420   rm -f conftest.er1
   11421   cat conftest.err >&5
   11422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11423   (exit $ac_status); } && {
   11424 	 test -z "$ac_c_werror_flag" ||
   11425 	 test ! -s conftest.err
   11426        } && test -s conftest$ac_exeext && {
   11427 	 test "$cross_compiling" = yes ||
   11428 	 $as_test_x conftest$ac_exeext
   11429        }; then
   11430   ac_cv_lib_svld_dlopen=yes
   11431 else
   11432   $as_echo "$as_me: failed program was:" >&5
   11433 sed 's/^/| /' conftest.$ac_ext >&5
   11434 
   11435 	ac_cv_lib_svld_dlopen=no
   11436 fi
   11437 
   11438 rm -rf conftest.dSYM
   11439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11440       conftest$ac_exeext conftest.$ac_ext
   11441 LIBS=$ac_check_lib_save_LIBS
   11442 fi
   11443 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   11444 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11445 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   11446   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11447 else
   11448   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   11449 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11450 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   11451   $as_echo_n "(cached) " >&6
   11452 else
   11453   ac_check_lib_save_LIBS=$LIBS
   11454 LIBS="-ldld  $LIBS"
   11455 cat >conftest.$ac_ext <<_ACEOF
   11456 /* confdefs.h.  */
   11457 _ACEOF
   11458 cat confdefs.h >>conftest.$ac_ext
   11459 cat >>conftest.$ac_ext <<_ACEOF
   11460 /* end confdefs.h.  */
   11461 
   11462 /* Override any GCC internal prototype to avoid an error.
   11463    Use char because int might match the return type of a GCC
   11464    builtin and then its argument prototype would still apply.  */
   11465 #ifdef __cplusplus
   11466 extern "C"
   11467 #endif
   11468 char dld_link ();
   11469 int
   11470 main ()
   11471 {
   11472 return dld_link ();
   11473   ;
   11474   return 0;
   11475 }
   11476 _ACEOF
   11477 rm -f conftest.$ac_objext conftest$ac_exeext
   11478 if { (ac_try="$ac_link"
   11479 case "(($ac_try" in
   11480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11481   *) ac_try_echo=$ac_try;;
   11482 esac
   11483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11484 $as_echo "$ac_try_echo") >&5
   11485   (eval "$ac_link") 2>conftest.er1
   11486   ac_status=$?
   11487   grep -v '^ *+' conftest.er1 >conftest.err
   11488   rm -f conftest.er1
   11489   cat conftest.err >&5
   11490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11491   (exit $ac_status); } && {
   11492 	 test -z "$ac_c_werror_flag" ||
   11493 	 test ! -s conftest.err
   11494        } && test -s conftest$ac_exeext && {
   11495 	 test "$cross_compiling" = yes ||
   11496 	 $as_test_x conftest$ac_exeext
   11497        }; then
   11498   ac_cv_lib_dld_dld_link=yes
   11499 else
   11500   $as_echo "$as_me: failed program was:" >&5
   11501 sed 's/^/| /' conftest.$ac_ext >&5
   11502 
   11503 	ac_cv_lib_dld_dld_link=no
   11504 fi
   11505 
   11506 rm -rf conftest.dSYM
   11507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11508       conftest$ac_exeext conftest.$ac_ext
   11509 LIBS=$ac_check_lib_save_LIBS
   11510 fi
   11511 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   11512 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11513 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   11514   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11515 fi
   11516 
   11517 
   11518 fi
   11519 
   11520 
   11521 fi
   11522 
   11523 
   11524 fi
   11525 
   11526 
   11527 fi
   11528 
   11529 
   11530 fi
   11531 
   11532     ;;
   11533   esac
   11534 
   11535   if test "x$lt_cv_dlopen" != xno; then
   11536     enable_dlopen=yes
   11537   else
   11538     enable_dlopen=no
   11539   fi
   11540 
   11541   case $lt_cv_dlopen in
   11542   dlopen)
   11543     save_CPPFLAGS="$CPPFLAGS"
   11544     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11545 
   11546     save_LDFLAGS="$LDFLAGS"
   11547     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11548 
   11549     save_LIBS="$LIBS"
   11550     LIBS="$lt_cv_dlopen_libs $LIBS"
   11551 
   11552     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   11553 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11554 if test "${lt_cv_dlopen_self+set}" = set; then
   11555   $as_echo_n "(cached) " >&6
   11556 else
   11557   	  if test "$cross_compiling" = yes; then :
   11558   lt_cv_dlopen_self=cross
   11559 else
   11560   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11561   lt_status=$lt_dlunknown
   11562   cat > conftest.$ac_ext <<_LT_EOF
   11563 #line 11563 "configure"
   11564 #include "confdefs.h"
   11565 
   11566 #if HAVE_DLFCN_H
   11567 #include <dlfcn.h>
   11568 #endif
   11569 
   11570 #include <stdio.h>
   11571 
   11572 #ifdef RTLD_GLOBAL
   11573 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11574 #else
   11575 #  ifdef DL_GLOBAL
   11576 #    define LT_DLGLOBAL		DL_GLOBAL
   11577 #  else
   11578 #    define LT_DLGLOBAL		0
   11579 #  endif
   11580 #endif
   11581 
   11582 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11583    find out it does not work in some platform. */
   11584 #ifndef LT_DLLAZY_OR_NOW
   11585 #  ifdef RTLD_LAZY
   11586 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11587 #  else
   11588 #    ifdef DL_LAZY
   11589 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11590 #    else
   11591 #      ifdef RTLD_NOW
   11592 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11593 #      else
   11594 #        ifdef DL_NOW
   11595 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11596 #        else
   11597 #          define LT_DLLAZY_OR_NOW	0
   11598 #        endif
   11599 #      endif
   11600 #    endif
   11601 #  endif
   11602 #endif
   11603 
   11604 void fnord() { int i=42;}
   11605 int main ()
   11606 {
   11607   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11608   int status = $lt_dlunknown;
   11609 
   11610   if (self)
   11611     {
   11612       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11613       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11614       /* dlclose (self); */
   11615     }
   11616   else
   11617     puts (dlerror ());
   11618 
   11619   return status;
   11620 }
   11621 _LT_EOF
   11622   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11623   (eval $ac_link) 2>&5
   11624   ac_status=$?
   11625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11626   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11627     (./conftest; exit; ) >&5 2>/dev/null
   11628     lt_status=$?
   11629     case x$lt_status in
   11630       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11631       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11632       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11633     esac
   11634   else :
   11635     # compilation failed
   11636     lt_cv_dlopen_self=no
   11637   fi
   11638 fi
   11639 rm -fr conftest*
   11640 
   11641 
   11642 fi
   11643 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   11644 $as_echo "$lt_cv_dlopen_self" >&6; }
   11645 
   11646     if test "x$lt_cv_dlopen_self" = xyes; then
   11647       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11648       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   11649 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11650 if test "${lt_cv_dlopen_self_static+set}" = set; then
   11651   $as_echo_n "(cached) " >&6
   11652 else
   11653   	  if test "$cross_compiling" = yes; then :
   11654   lt_cv_dlopen_self_static=cross
   11655 else
   11656   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11657   lt_status=$lt_dlunknown
   11658   cat > conftest.$ac_ext <<_LT_EOF
   11659 #line 11659 "configure"
   11660 #include "confdefs.h"
   11661 
   11662 #if HAVE_DLFCN_H
   11663 #include <dlfcn.h>
   11664 #endif
   11665 
   11666 #include <stdio.h>
   11667 
   11668 #ifdef RTLD_GLOBAL
   11669 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11670 #else
   11671 #  ifdef DL_GLOBAL
   11672 #    define LT_DLGLOBAL		DL_GLOBAL
   11673 #  else
   11674 #    define LT_DLGLOBAL		0
   11675 #  endif
   11676 #endif
   11677 
   11678 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11679    find out it does not work in some platform. */
   11680 #ifndef LT_DLLAZY_OR_NOW
   11681 #  ifdef RTLD_LAZY
   11682 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11683 #  else
   11684 #    ifdef DL_LAZY
   11685 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11686 #    else
   11687 #      ifdef RTLD_NOW
   11688 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11689 #      else
   11690 #        ifdef DL_NOW
   11691 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11692 #        else
   11693 #          define LT_DLLAZY_OR_NOW	0
   11694 #        endif
   11695 #      endif
   11696 #    endif
   11697 #  endif
   11698 #endif
   11699 
   11700 void fnord() { int i=42;}
   11701 int main ()
   11702 {
   11703   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11704   int status = $lt_dlunknown;
   11705 
   11706   if (self)
   11707     {
   11708       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11709       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11710       /* dlclose (self); */
   11711     }
   11712   else
   11713     puts (dlerror ());
   11714 
   11715   return status;
   11716 }
   11717 _LT_EOF
   11718   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11719   (eval $ac_link) 2>&5
   11720   ac_status=$?
   11721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11722   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11723     (./conftest; exit; ) >&5 2>/dev/null
   11724     lt_status=$?
   11725     case x$lt_status in
   11726       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11727       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11728       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11729     esac
   11730   else :
   11731     # compilation failed
   11732     lt_cv_dlopen_self_static=no
   11733   fi
   11734 fi
   11735 rm -fr conftest*
   11736 
   11737 
   11738 fi
   11739 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11740 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11741     fi
   11742 
   11743     CPPFLAGS="$save_CPPFLAGS"
   11744     LDFLAGS="$save_LDFLAGS"
   11745     LIBS="$save_LIBS"
   11746     ;;
   11747   esac
   11748 
   11749   case $lt_cv_dlopen_self in
   11750   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11751   *) enable_dlopen_self=unknown ;;
   11752   esac
   11753 
   11754   case $lt_cv_dlopen_self_static in
   11755   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11756   *) enable_dlopen_self_static=unknown ;;
   11757   esac
   11758 fi
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 striplib=
   11777 old_striplib=
   11778 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11779 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11780 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11781   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11782   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11783   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11784 $as_echo "yes" >&6; }
   11785 else
   11786 # FIXME - insert some real tests, host_os isn't really good enough
   11787   case $host_os in
   11788   darwin*)
   11789     if test -n "$STRIP" ; then
   11790       striplib="$STRIP -x"
   11791       old_striplib="$STRIP -S"
   11792       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11793 $as_echo "yes" >&6; }
   11794     else
   11795       { $as_echo "$as_me:$LINENO: result: no" >&5
   11796 $as_echo "no" >&6; }
   11797     fi
   11798     ;;
   11799   *)
   11800     { $as_echo "$as_me:$LINENO: result: no" >&5
   11801 $as_echo "no" >&6; }
   11802     ;;
   11803   esac
   11804 fi
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817   # Report which library types will actually be built
   11818   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11819 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11820   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11821 $as_echo "$can_build_shared" >&6; }
   11822 
   11823   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11824 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11825   test "$can_build_shared" = "no" && enable_shared=no
   11826 
   11827   # On AIX, shared libraries and static libraries use the same namespace, and
   11828   # are all built from PIC.
   11829   case $host_os in
   11830   aix3*)
   11831     test "$enable_shared" = yes && enable_static=no
   11832     if test -n "$RANLIB"; then
   11833       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11834       postinstall_cmds='$RANLIB $lib'
   11835     fi
   11836     ;;
   11837 
   11838   aix[4-9]*)
   11839     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11840       test "$enable_shared" = yes && enable_static=no
   11841     fi
   11842     ;;
   11843   esac
   11844   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11845 $as_echo "$enable_shared" >&6; }
   11846 
   11847   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11848 $as_echo_n "checking whether to build static libraries... " >&6; }
   11849   # Make sure either enable_shared or enable_static is yes.
   11850   test "$enable_shared" = yes || enable_static=yes
   11851   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11852 $as_echo "$enable_static" >&6; }
   11853 
   11854 
   11855 
   11856 
   11857 fi
   11858 ac_ext=c
   11859 ac_cpp='$CPP $CPPFLAGS'
   11860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11863 
   11864 CC="$lt_save_CC"
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878         ac_config_commands="$ac_config_commands libtool"
   11879 
   11880 
   11881 
   11882 
   11883 # Only expand once:
   11884 
   11885 
   11886 ac_ext=c
   11887 ac_cpp='$CPP $CPPFLAGS'
   11888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11891 if test -n "$ac_tool_prefix"; then
   11892   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11893 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11894 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11895 $as_echo_n "checking for $ac_word... " >&6; }
   11896 if test "${ac_cv_prog_CC+set}" = set; then
   11897   $as_echo_n "(cached) " >&6
   11898 else
   11899   if test -n "$CC"; then
   11900   ac_cv_prog_CC="$CC" # Let the user override the test.
   11901 else
   11902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11903 for as_dir in $PATH
   11904 do
   11905   IFS=$as_save_IFS
   11906   test -z "$as_dir" && as_dir=.
   11907   for ac_exec_ext in '' $ac_executable_extensions; do
   11908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11909     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11910     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11911     break 2
   11912   fi
   11913 done
   11914 done
   11915 IFS=$as_save_IFS
   11916 
   11917 fi
   11918 fi
   11919 CC=$ac_cv_prog_CC
   11920 if test -n "$CC"; then
   11921   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11922 $as_echo "$CC" >&6; }
   11923 else
   11924   { $as_echo "$as_me:$LINENO: result: no" >&5
   11925 $as_echo "no" >&6; }
   11926 fi
   11927 
   11928 
   11929 fi
   11930 if test -z "$ac_cv_prog_CC"; then
   11931   ac_ct_CC=$CC
   11932   # Extract the first word of "gcc", so it can be a program name with args.
   11933 set dummy gcc; ac_word=$2
   11934 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11935 $as_echo_n "checking for $ac_word... " >&6; }
   11936 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11937   $as_echo_n "(cached) " >&6
   11938 else
   11939   if test -n "$ac_ct_CC"; then
   11940   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11941 else
   11942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11943 for as_dir in $PATH
   11944 do
   11945   IFS=$as_save_IFS
   11946   test -z "$as_dir" && as_dir=.
   11947   for ac_exec_ext in '' $ac_executable_extensions; do
   11948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11949     ac_cv_prog_ac_ct_CC="gcc"
   11950     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11951     break 2
   11952   fi
   11953 done
   11954 done
   11955 IFS=$as_save_IFS
   11956 
   11957 fi
   11958 fi
   11959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11960 if test -n "$ac_ct_CC"; then
   11961   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11962 $as_echo "$ac_ct_CC" >&6; }
   11963 else
   11964   { $as_echo "$as_me:$LINENO: result: no" >&5
   11965 $as_echo "no" >&6; }
   11966 fi
   11967 
   11968   if test "x$ac_ct_CC" = x; then
   11969     CC=""
   11970   else
   11971     case $cross_compiling:$ac_tool_warned in
   11972 yes:)
   11973 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11975 ac_tool_warned=yes ;;
   11976 esac
   11977     CC=$ac_ct_CC
   11978   fi
   11979 else
   11980   CC="$ac_cv_prog_CC"
   11981 fi
   11982 
   11983 if test -z "$CC"; then
   11984           if test -n "$ac_tool_prefix"; then
   11985     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11986 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11988 $as_echo_n "checking for $ac_word... " >&6; }
   11989 if test "${ac_cv_prog_CC+set}" = set; then
   11990   $as_echo_n "(cached) " >&6
   11991 else
   11992   if test -n "$CC"; then
   11993   ac_cv_prog_CC="$CC" # Let the user override the test.
   11994 else
   11995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11996 for as_dir in $PATH
   11997 do
   11998   IFS=$as_save_IFS
   11999   test -z "$as_dir" && as_dir=.
   12000   for ac_exec_ext in '' $ac_executable_extensions; do
   12001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12002     ac_cv_prog_CC="${ac_tool_prefix}cc"
   12003     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12004     break 2
   12005   fi
   12006 done
   12007 done
   12008 IFS=$as_save_IFS
   12009 
   12010 fi
   12011 fi
   12012 CC=$ac_cv_prog_CC
   12013 if test -n "$CC"; then
   12014   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12015 $as_echo "$CC" >&6; }
   12016 else
   12017   { $as_echo "$as_me:$LINENO: result: no" >&5
   12018 $as_echo "no" >&6; }
   12019 fi
   12020 
   12021 
   12022   fi
   12023 fi
   12024 if test -z "$CC"; then
   12025   # Extract the first word of "cc", so it can be a program name with args.
   12026 set dummy cc; ac_word=$2
   12027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12028 $as_echo_n "checking for $ac_word... " >&6; }
   12029 if test "${ac_cv_prog_CC+set}" = set; then
   12030   $as_echo_n "(cached) " >&6
   12031 else
   12032   if test -n "$CC"; then
   12033   ac_cv_prog_CC="$CC" # Let the user override the test.
   12034 else
   12035   ac_prog_rejected=no
   12036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12037 for as_dir in $PATH
   12038 do
   12039   IFS=$as_save_IFS
   12040   test -z "$as_dir" && as_dir=.
   12041   for ac_exec_ext in '' $ac_executable_extensions; do
   12042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12043     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   12044        ac_prog_rejected=yes
   12045        continue
   12046      fi
   12047     ac_cv_prog_CC="cc"
   12048     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12049     break 2
   12050   fi
   12051 done
   12052 done
   12053 IFS=$as_save_IFS
   12054 
   12055 if test $ac_prog_rejected = yes; then
   12056   # We found a bogon in the path, so make sure we never use it.
   12057   set dummy $ac_cv_prog_CC
   12058   shift
   12059   if test $# != 0; then
   12060     # We chose a different compiler from the bogus one.
   12061     # However, it has the same basename, so the bogon will be chosen
   12062     # first if we set CC to just the basename; use the full file name.
   12063     shift
   12064     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   12065   fi
   12066 fi
   12067 fi
   12068 fi
   12069 CC=$ac_cv_prog_CC
   12070 if test -n "$CC"; then
   12071   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12072 $as_echo "$CC" >&6; }
   12073 else
   12074   { $as_echo "$as_me:$LINENO: result: no" >&5
   12075 $as_echo "no" >&6; }
   12076 fi
   12077 
   12078 
   12079 fi
   12080 if test -z "$CC"; then
   12081   if test -n "$ac_tool_prefix"; then
   12082   for ac_prog in cl.exe
   12083   do
   12084     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12087 $as_echo_n "checking for $ac_word... " >&6; }
   12088 if test "${ac_cv_prog_CC+set}" = set; then
   12089   $as_echo_n "(cached) " >&6
   12090 else
   12091   if test -n "$CC"; then
   12092   ac_cv_prog_CC="$CC" # Let the user override the test.
   12093 else
   12094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12095 for as_dir in $PATH
   12096 do
   12097   IFS=$as_save_IFS
   12098   test -z "$as_dir" && as_dir=.
   12099   for ac_exec_ext in '' $ac_executable_extensions; do
   12100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12101     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   12102     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12103     break 2
   12104   fi
   12105 done
   12106 done
   12107 IFS=$as_save_IFS
   12108 
   12109 fi
   12110 fi
   12111 CC=$ac_cv_prog_CC
   12112 if test -n "$CC"; then
   12113   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12114 $as_echo "$CC" >&6; }
   12115 else
   12116   { $as_echo "$as_me:$LINENO: result: no" >&5
   12117 $as_echo "no" >&6; }
   12118 fi
   12119 
   12120 
   12121     test -n "$CC" && break
   12122   done
   12123 fi
   12124 if test -z "$CC"; then
   12125   ac_ct_CC=$CC
   12126   for ac_prog in cl.exe
   12127 do
   12128   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12129 set dummy $ac_prog; ac_word=$2
   12130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12131 $as_echo_n "checking for $ac_word... " >&6; }
   12132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   12133   $as_echo_n "(cached) " >&6
   12134 else
   12135   if test -n "$ac_ct_CC"; then
   12136   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12137 else
   12138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12139 for as_dir in $PATH
   12140 do
   12141   IFS=$as_save_IFS
   12142   test -z "$as_dir" && as_dir=.
   12143   for ac_exec_ext in '' $ac_executable_extensions; do
   12144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12145     ac_cv_prog_ac_ct_CC="$ac_prog"
   12146     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12147     break 2
   12148   fi
   12149 done
   12150 done
   12151 IFS=$as_save_IFS
   12152 
   12153 fi
   12154 fi
   12155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12156 if test -n "$ac_ct_CC"; then
   12157   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12158 $as_echo "$ac_ct_CC" >&6; }
   12159 else
   12160   { $as_echo "$as_me:$LINENO: result: no" >&5
   12161 $as_echo "no" >&6; }
   12162 fi
   12163 
   12164 
   12165   test -n "$ac_ct_CC" && break
   12166 done
   12167 
   12168   if test "x$ac_ct_CC" = x; then
   12169     CC=""
   12170   else
   12171     case $cross_compiling:$ac_tool_warned in
   12172 yes:)
   12173 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12175 ac_tool_warned=yes ;;
   12176 esac
   12177     CC=$ac_ct_CC
   12178   fi
   12179 fi
   12180 
   12181 fi
   12182 
   12183 
   12184 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12186 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   12187 See \`config.log' for more details." >&5
   12188 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   12189 See \`config.log' for more details." >&2;}
   12190    { (exit 1); exit 1; }; }; }
   12191 
   12192 # Provide some information about the compiler.
   12193 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   12194 set X $ac_compile
   12195 ac_compiler=$2
   12196 { (ac_try="$ac_compiler --version >&5"
   12197 case "(($ac_try" in
   12198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12199   *) ac_try_echo=$ac_try;;
   12200 esac
   12201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12202 $as_echo "$ac_try_echo") >&5
   12203   (eval "$ac_compiler --version >&5") 2>&5
   12204   ac_status=$?
   12205   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12206   (exit $ac_status); }
   12207 { (ac_try="$ac_compiler -v >&5"
   12208 case "(($ac_try" in
   12209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12210   *) ac_try_echo=$ac_try;;
   12211 esac
   12212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12213 $as_echo "$ac_try_echo") >&5
   12214   (eval "$ac_compiler -v >&5") 2>&5
   12215   ac_status=$?
   12216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12217   (exit $ac_status); }
   12218 { (ac_try="$ac_compiler -V >&5"
   12219 case "(($ac_try" in
   12220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12221   *) ac_try_echo=$ac_try;;
   12222 esac
   12223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12224 $as_echo "$ac_try_echo") >&5
   12225   (eval "$ac_compiler -V >&5") 2>&5
   12226   ac_status=$?
   12227   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12228   (exit $ac_status); }
   12229 
   12230 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   12231 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   12232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   12233   $as_echo_n "(cached) " >&6
   12234 else
   12235   cat >conftest.$ac_ext <<_ACEOF
   12236 /* confdefs.h.  */
   12237 _ACEOF
   12238 cat confdefs.h >>conftest.$ac_ext
   12239 cat >>conftest.$ac_ext <<_ACEOF
   12240 /* end confdefs.h.  */
   12241 
   12242 int
   12243 main ()
   12244 {
   12245 #ifndef __GNUC__
   12246        choke me
   12247 #endif
   12248 
   12249   ;
   12250   return 0;
   12251 }
   12252 _ACEOF
   12253 rm -f conftest.$ac_objext
   12254 if { (ac_try="$ac_compile"
   12255 case "(($ac_try" in
   12256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12257   *) ac_try_echo=$ac_try;;
   12258 esac
   12259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12260 $as_echo "$ac_try_echo") >&5
   12261   (eval "$ac_compile") 2>conftest.er1
   12262   ac_status=$?
   12263   grep -v '^ *+' conftest.er1 >conftest.err
   12264   rm -f conftest.er1
   12265   cat conftest.err >&5
   12266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12267   (exit $ac_status); } && {
   12268 	 test -z "$ac_c_werror_flag" ||
   12269 	 test ! -s conftest.err
   12270        } && test -s conftest.$ac_objext; then
   12271   ac_compiler_gnu=yes
   12272 else
   12273   $as_echo "$as_me: failed program was:" >&5
   12274 sed 's/^/| /' conftest.$ac_ext >&5
   12275 
   12276 	ac_compiler_gnu=no
   12277 fi
   12278 
   12279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12280 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   12281 
   12282 fi
   12283 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   12284 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   12285 if test $ac_compiler_gnu = yes; then
   12286   GCC=yes
   12287 else
   12288   GCC=
   12289 fi
   12290 ac_test_CFLAGS=${CFLAGS+set}
   12291 ac_save_CFLAGS=$CFLAGS
   12292 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   12293 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   12294 if test "${ac_cv_prog_cc_g+set}" = set; then
   12295   $as_echo_n "(cached) " >&6
   12296 else
   12297   ac_save_c_werror_flag=$ac_c_werror_flag
   12298    ac_c_werror_flag=yes
   12299    ac_cv_prog_cc_g=no
   12300    CFLAGS="-g"
   12301    cat >conftest.$ac_ext <<_ACEOF
   12302 /* confdefs.h.  */
   12303 _ACEOF
   12304 cat confdefs.h >>conftest.$ac_ext
   12305 cat >>conftest.$ac_ext <<_ACEOF
   12306 /* end confdefs.h.  */
   12307 
   12308 int
   12309 main ()
   12310 {
   12311 
   12312   ;
   12313   return 0;
   12314 }
   12315 _ACEOF
   12316 rm -f conftest.$ac_objext
   12317 if { (ac_try="$ac_compile"
   12318 case "(($ac_try" in
   12319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12320   *) ac_try_echo=$ac_try;;
   12321 esac
   12322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12323 $as_echo "$ac_try_echo") >&5
   12324   (eval "$ac_compile") 2>conftest.er1
   12325   ac_status=$?
   12326   grep -v '^ *+' conftest.er1 >conftest.err
   12327   rm -f conftest.er1
   12328   cat conftest.err >&5
   12329   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12330   (exit $ac_status); } && {
   12331 	 test -z "$ac_c_werror_flag" ||
   12332 	 test ! -s conftest.err
   12333        } && test -s conftest.$ac_objext; then
   12334   ac_cv_prog_cc_g=yes
   12335 else
   12336   $as_echo "$as_me: failed program was:" >&5
   12337 sed 's/^/| /' conftest.$ac_ext >&5
   12338 
   12339 	CFLAGS=""
   12340       cat >conftest.$ac_ext <<_ACEOF
   12341 /* confdefs.h.  */
   12342 _ACEOF
   12343 cat confdefs.h >>conftest.$ac_ext
   12344 cat >>conftest.$ac_ext <<_ACEOF
   12345 /* end confdefs.h.  */
   12346 
   12347 int
   12348 main ()
   12349 {
   12350 
   12351   ;
   12352   return 0;
   12353 }
   12354 _ACEOF
   12355 rm -f conftest.$ac_objext
   12356 if { (ac_try="$ac_compile"
   12357 case "(($ac_try" in
   12358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12359   *) ac_try_echo=$ac_try;;
   12360 esac
   12361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12362 $as_echo "$ac_try_echo") >&5
   12363   (eval "$ac_compile") 2>conftest.er1
   12364   ac_status=$?
   12365   grep -v '^ *+' conftest.er1 >conftest.err
   12366   rm -f conftest.er1
   12367   cat conftest.err >&5
   12368   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12369   (exit $ac_status); } && {
   12370 	 test -z "$ac_c_werror_flag" ||
   12371 	 test ! -s conftest.err
   12372        } && test -s conftest.$ac_objext; then
   12373   :
   12374 else
   12375   $as_echo "$as_me: failed program was:" >&5
   12376 sed 's/^/| /' conftest.$ac_ext >&5
   12377 
   12378 	ac_c_werror_flag=$ac_save_c_werror_flag
   12379 	 CFLAGS="-g"
   12380 	 cat >conftest.$ac_ext <<_ACEOF
   12381 /* confdefs.h.  */
   12382 _ACEOF
   12383 cat confdefs.h >>conftest.$ac_ext
   12384 cat >>conftest.$ac_ext <<_ACEOF
   12385 /* end confdefs.h.  */
   12386 
   12387 int
   12388 main ()
   12389 {
   12390 
   12391   ;
   12392   return 0;
   12393 }
   12394 _ACEOF
   12395 rm -f conftest.$ac_objext
   12396 if { (ac_try="$ac_compile"
   12397 case "(($ac_try" in
   12398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12399   *) ac_try_echo=$ac_try;;
   12400 esac
   12401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12402 $as_echo "$ac_try_echo") >&5
   12403   (eval "$ac_compile") 2>conftest.er1
   12404   ac_status=$?
   12405   grep -v '^ *+' conftest.er1 >conftest.err
   12406   rm -f conftest.er1
   12407   cat conftest.err >&5
   12408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12409   (exit $ac_status); } && {
   12410 	 test -z "$ac_c_werror_flag" ||
   12411 	 test ! -s conftest.err
   12412        } && test -s conftest.$ac_objext; then
   12413   ac_cv_prog_cc_g=yes
   12414 else
   12415   $as_echo "$as_me: failed program was:" >&5
   12416 sed 's/^/| /' conftest.$ac_ext >&5
   12417 
   12418 
   12419 fi
   12420 
   12421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12422 fi
   12423 
   12424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12425 fi
   12426 
   12427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12428    ac_c_werror_flag=$ac_save_c_werror_flag
   12429 fi
   12430 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   12431 $as_echo "$ac_cv_prog_cc_g" >&6; }
   12432 if test "$ac_test_CFLAGS" = set; then
   12433   CFLAGS=$ac_save_CFLAGS
   12434 elif test $ac_cv_prog_cc_g = yes; then
   12435   if test "$GCC" = yes; then
   12436     CFLAGS="-g -O2"
   12437   else
   12438     CFLAGS="-g"
   12439   fi
   12440 else
   12441   if test "$GCC" = yes; then
   12442     CFLAGS="-O2"
   12443   else
   12444     CFLAGS=
   12445   fi
   12446 fi
   12447 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   12448 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   12449 if test "${ac_cv_prog_cc_c89+set}" = set; then
   12450   $as_echo_n "(cached) " >&6
   12451 else
   12452   ac_cv_prog_cc_c89=no
   12453 ac_save_CC=$CC
   12454 cat >conftest.$ac_ext <<_ACEOF
   12455 /* confdefs.h.  */
   12456 _ACEOF
   12457 cat confdefs.h >>conftest.$ac_ext
   12458 cat >>conftest.$ac_ext <<_ACEOF
   12459 /* end confdefs.h.  */
   12460 #include <stdarg.h>
   12461 #include <stdio.h>
   12462 #include <sys/types.h>
   12463 #include <sys/stat.h>
   12464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12465 struct buf { int x; };
   12466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12467 static char *e (p, i)
   12468      char **p;
   12469      int i;
   12470 {
   12471   return p[i];
   12472 }
   12473 static char *f (char * (*g) (char **, int), char **p, ...)
   12474 {
   12475   char *s;
   12476   va_list v;
   12477   va_start (v,p);
   12478   s = g (p, va_arg (v,int));
   12479   va_end (v);
   12480   return s;
   12481 }
   12482 
   12483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12484    function prototypes and stuff, but not '\xHH' hex character constants.
   12485    These don't provoke an error unfortunately, instead are silently treated
   12486    as 'x'.  The following induces an error, until -std is added to get
   12487    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12488    array size at least.  It's necessary to write '\x00'==0 to get something
   12489    that's true only with -std.  */
   12490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12491 
   12492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12493    inside strings and character constants.  */
   12494 #define FOO(x) 'x'
   12495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12496 
   12497 int test (int i, double x);
   12498 struct s1 {int (*f) (int a);};
   12499 struct s2 {int (*f) (double a);};
   12500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12501 int argc;
   12502 char **argv;
   12503 int
   12504 main ()
   12505 {
   12506 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12507   ;
   12508   return 0;
   12509 }
   12510 _ACEOF
   12511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12512 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12513 do
   12514   CC="$ac_save_CC $ac_arg"
   12515   rm -f conftest.$ac_objext
   12516 if { (ac_try="$ac_compile"
   12517 case "(($ac_try" in
   12518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12519   *) ac_try_echo=$ac_try;;
   12520 esac
   12521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12522 $as_echo "$ac_try_echo") >&5
   12523   (eval "$ac_compile") 2>conftest.er1
   12524   ac_status=$?
   12525   grep -v '^ *+' conftest.er1 >conftest.err
   12526   rm -f conftest.er1
   12527   cat conftest.err >&5
   12528   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12529   (exit $ac_status); } && {
   12530 	 test -z "$ac_c_werror_flag" ||
   12531 	 test ! -s conftest.err
   12532        } && test -s conftest.$ac_objext; then
   12533   ac_cv_prog_cc_c89=$ac_arg
   12534 else
   12535   $as_echo "$as_me: failed program was:" >&5
   12536 sed 's/^/| /' conftest.$ac_ext >&5
   12537 
   12538 
   12539 fi
   12540 
   12541 rm -f core conftest.err conftest.$ac_objext
   12542   test "x$ac_cv_prog_cc_c89" != "xno" && break
   12543 done
   12544 rm -f conftest.$ac_ext
   12545 CC=$ac_save_CC
   12546 
   12547 fi
   12548 # AC_CACHE_VAL
   12549 case "x$ac_cv_prog_cc_c89" in
   12550   x)
   12551     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   12552 $as_echo "none needed" >&6; } ;;
   12553   xno)
   12554     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   12555 $as_echo "unsupported" >&6; } ;;
   12556   *)
   12557     CC="$CC $ac_cv_prog_cc_c89"
   12558     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   12559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   12560 esac
   12561 
   12562 
   12563 ac_ext=c
   12564 ac_cpp='$CPP $CPPFLAGS'
   12565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12568 
   12569 depcc="$CC"   am_compiler_list=
   12570 
   12571 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   12572 $as_echo_n "checking dependency style of $depcc... " >&6; }
   12573 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   12574   $as_echo_n "(cached) " >&6
   12575 else
   12576   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   12577   # We make a subdir and do the tests there.  Otherwise we can end up
   12578   # making bogus files that we don't know about and never remove.  For
   12579   # instance it was reported that on HP-UX the gcc test will end up
   12580   # making a dummy file named `D' -- because `-MD' means `put the output
   12581   # in D'.
   12582   mkdir conftest.dir
   12583   # Copy depcomp to subdir because otherwise we won't find it if we're
   12584   # using a relative directory.
   12585   cp "$am_depcomp" conftest.dir
   12586   cd conftest.dir
   12587   # We will build objects and dependencies in a subdirectory because
   12588   # it helps to detect inapplicable dependency modes.  For instance
   12589   # both Tru64's cc and ICC support -MD to output dependencies as a
   12590   # side effect of compilation, but ICC will put the dependencies in
   12591   # the current directory while Tru64 will put them in the object
   12592   # directory.
   12593   mkdir sub
   12594 
   12595   am_cv_CC_dependencies_compiler_type=none
   12596   if test "$am_compiler_list" = ""; then
   12597      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   12598   fi
   12599   for depmode in $am_compiler_list; do
   12600     # Setup a source with many dependencies, because some compilers
   12601     # like to wrap large dependency lists on column 80 (with \), and
   12602     # we should not choose a depcomp mode which is confused by this.
   12603     #
   12604     # We need to recreate these files for each test, as the compiler may
   12605     # overwrite some of them when testing with obscure command lines.
   12606     # This happens at least with the AIX C compiler.
   12607     : > sub/conftest.c
   12608     for i in 1 2 3 4 5 6; do
   12609       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   12610       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   12611       # Solaris 8's {/usr,}/bin/sh.
   12612       touch sub/conftst$i.h
   12613     done
   12614     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   12615 
   12616     case $depmode in
   12617     nosideeffect)
   12618       # after this tag, mechanisms are not by side-effect, so they'll
   12619       # only be used when explicitly requested
   12620       if test "x$enable_dependency_tracking" = xyes; then
   12621 	continue
   12622       else
   12623 	break
   12624       fi
   12625       ;;
   12626     none) break ;;
   12627     esac
   12628     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   12629     # mode.  It turns out that the SunPro C++ compiler does not properly
   12630     # handle `-M -o', and we need to detect this.
   12631     if depmode=$depmode \
   12632        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   12633        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   12634        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   12635          >/dev/null 2>conftest.err &&
   12636        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   12637        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   12638        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   12639        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   12640       # icc doesn't choke on unknown options, it will just issue warnings
   12641       # or remarks (even with -Werror).  So we grep stderr for any message
   12642       # that says an option was ignored or not supported.
   12643       # When given -MP, icc 7.0 and 7.1 complain thusly:
   12644       #   icc: Command line warning: ignoring option '-M'; no argument required
   12645       # The diagnosis changed in icc 8.0:
   12646       #   icc: Command line remark: option '-MP' not supported
   12647       if (grep 'ignoring option' conftest.err ||
   12648           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   12649         am_cv_CC_dependencies_compiler_type=$depmode
   12650         break
   12651       fi
   12652     fi
   12653   done
   12654 
   12655   cd ..
   12656   rm -rf conftest.dir
   12657 else
   12658   am_cv_CC_dependencies_compiler_type=none
   12659 fi
   12660 
   12661 fi
   12662 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   12663 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   12664 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   12665 
   12666  if
   12667   test "x$enable_dependency_tracking" != xno \
   12668   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   12669   am__fastdepCC_TRUE=
   12670   am__fastdepCC_FALSE='#'
   12671 else
   12672   am__fastdepCC_TRUE='#'
   12673   am__fastdepCC_FALSE=
   12674 fi
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 # Check whether --with-xorg-module-dir was given.
   12683 if test "${with_xorg_module_dir+set}" = set; then
   12684   withval=$with_xorg_module_dir; moduledir="$withval"
   12685 else
   12686   moduledir="$libdir/xorg/modules"
   12687 fi
   12688 
   12689 inputdir=${moduledir}/input
   12690 
   12691 
   12692 
   12693 # Check whether --with-xorg-conf-dir was given.
   12694 if test "${with_xorg_conf_dir+set}" = set; then
   12695   withval=$with_xorg_conf_dir; XORG_CONF_DIR="$withval"
   12696 else
   12697   XORG_CONF_DIR="`$PKG_CONFIG --variable=sysconfigdir xorg-server`"
   12698 fi
   12699 
   12700 
   12701  if test "x$XORG_CONF_DIR" != "x" && test "x$XORG_CONF_DIR" != "xno"; then
   12702   HAS_XORG_CONF_DIR_TRUE=
   12703   HAS_XORG_CONF_DIR_FALSE='#'
   12704 else
   12705   HAS_XORG_CONF_DIR_TRUE='#'
   12706   HAS_XORG_CONF_DIR_FALSE=
   12707 fi
   12708 
   12709 
   12710 
   12711 # Check whether --with-hal-bin-dir was given.
   12712 if test "${with_hal_bin_dir+set}" = set; then
   12713   withval=$with_hal_bin_dir; halbindir="$withval"
   12714 else
   12715   halbindir="$bindir"
   12716 fi
   12717 
   12718 HAL_BIN_DIR=${halbindir}
   12719 
   12720 
   12721 
   12722 # Check whether --with-hal-callouts-dir was given.
   12723 if test "${with_hal_callouts_dir+set}" = set; then
   12724   withval=$with_hal_callouts_dir; halcalloutsdir="$withval"
   12725 else
   12726   halcalloutsdir="$libdir/hal"
   12727 fi
   12728 
   12729 HAL_CALLOUTS_DIR=${halcalloutsdir}
   12730 
   12731 
   12732 
   12733 # Check whether --with-hal-fdi-dir was given.
   12734 if test "${with_hal_fdi_dir+set}" = set; then
   12735   withval=$with_hal_fdi_dir; halfdidir="$withval"
   12736 else
   12737   halfdidir="$datadir/hal/fdi/policy/20thirdparty"
   12738 fi
   12739 
   12740 HAL_FDI_DIR=${halfdidir}
   12741 
   12742 
   12743 case $host_os in
   12744   linux*)
   12745     if test "x$prefix" = "xNONE" -o "x$prefix" = "x/usr" -o "x$prefix" = "x/usr/local" ; then
   12746       slashlibdir=/lib
   12747     else
   12748       slashlibdir=$prefix/lib
   12749     fi
   12750     UDEV_RULES_DIR=$slashlibdir/udev/rules.d
   12751     ;;
   12752   *)
   12753     UDEV_RULES_DIR=no
   12754     ;;
   12755 esac
   12756 
   12757 
   12758 # Check whether --with-udev-rules-dir was given.
   12759 if test "${with_udev_rules_dir+set}" = set; then
   12760   withval=$with_udev_rules_dir; UDEV_RULES_DIR="$withval"
   12761 fi
   12762 
   12763 
   12764  if test "x$UDEV_RULES_DIR" != "xno"; then
   12765   HAS_UDEV_RULES_DIR_TRUE=
   12766   HAS_UDEV_RULES_DIR_FALSE='#'
   12767 else
   12768   HAS_UDEV_RULES_DIR_TRUE='#'
   12769   HAS_UDEV_RULES_DIR_FALSE=
   12770 fi
   12771 
   12772 
   12773 # Checks for extensions
   12774 
   12775 	SAVE_CFLAGS="$CFLAGS"
   12776 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12777 	cat >conftest.$ac_ext <<_ACEOF
   12778 /* confdefs.h.  */
   12779 _ACEOF
   12780 cat confdefs.h >>conftest.$ac_ext
   12781 cat >>conftest.$ac_ext <<_ACEOF
   12782 /* end confdefs.h.  */
   12783 
   12784 #include "xorg-server.h"
   12785 #if !defined RANDR
   12786 #error RANDR not defined
   12787 #endif
   12788 
   12789 int
   12790 main ()
   12791 {
   12792 
   12793   ;
   12794   return 0;
   12795 }
   12796 _ACEOF
   12797 rm -f conftest.$ac_objext
   12798 if { (ac_try="$ac_compile"
   12799 case "(($ac_try" in
   12800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12801   *) ac_try_echo=$ac_try;;
   12802 esac
   12803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12804 $as_echo "$ac_try_echo") >&5
   12805   (eval "$ac_compile") 2>conftest.er1
   12806   ac_status=$?
   12807   grep -v '^ *+' conftest.er1 >conftest.err
   12808   rm -f conftest.er1
   12809   cat conftest.err >&5
   12810   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12811   (exit $ac_status); } && {
   12812 	 test -z "$ac_c_werror_flag" ||
   12813 	 test ! -s conftest.err
   12814        } && test -s conftest.$ac_objext; then
   12815   _EXT_CHECK=yes
   12816 else
   12817   $as_echo "$as_me: failed program was:" >&5
   12818 sed 's/^/| /' conftest.$ac_ext >&5
   12819 
   12820 	_EXT_CHECK=no
   12821 fi
   12822 
   12823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12824 	CFLAGS="$SAVE_CFLAGS"
   12825 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   12826 $as_echo_n "checking if RANDR is defined... " >&6; }
   12827 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12828 $as_echo "$_EXT_CHECK" >&6; }
   12829 	if test "$_EXT_CHECK" != no; then
   12830 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   12831 	fi
   12832 
   12833 
   12834 	SAVE_CFLAGS="$CFLAGS"
   12835 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12836 	cat >conftest.$ac_ext <<_ACEOF
   12837 /* confdefs.h.  */
   12838 _ACEOF
   12839 cat confdefs.h >>conftest.$ac_ext
   12840 cat >>conftest.$ac_ext <<_ACEOF
   12841 /* end confdefs.h.  */
   12842 
   12843 #include "xorg-server.h"
   12844 #if !defined XINPUT
   12845 #error XINPUT not defined
   12846 #endif
   12847 
   12848 int
   12849 main ()
   12850 {
   12851 
   12852   ;
   12853   return 0;
   12854 }
   12855 _ACEOF
   12856 rm -f conftest.$ac_objext
   12857 if { (ac_try="$ac_compile"
   12858 case "(($ac_try" in
   12859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12860   *) ac_try_echo=$ac_try;;
   12861 esac
   12862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12863 $as_echo "$ac_try_echo") >&5
   12864   (eval "$ac_compile") 2>conftest.er1
   12865   ac_status=$?
   12866   grep -v '^ *+' conftest.er1 >conftest.err
   12867   rm -f conftest.er1
   12868   cat conftest.err >&5
   12869   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12870   (exit $ac_status); } && {
   12871 	 test -z "$ac_c_werror_flag" ||
   12872 	 test ! -s conftest.err
   12873        } && test -s conftest.$ac_objext; then
   12874   _EXT_CHECK=yes
   12875 else
   12876   $as_echo "$as_me: failed program was:" >&5
   12877 sed 's/^/| /' conftest.$ac_ext >&5
   12878 
   12879 	_EXT_CHECK=no
   12880 fi
   12881 
   12882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12883 	CFLAGS="$SAVE_CFLAGS"
   12884 	{ $as_echo "$as_me:$LINENO: checking if XINPUT is defined" >&5
   12885 $as_echo_n "checking if XINPUT is defined... " >&6; }
   12886 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12887 $as_echo "$_EXT_CHECK" >&6; }
   12888 	if test "$_EXT_CHECK" != no; then
   12889 		REQUIRED_MODULES="$REQUIRED_MODULES inputproto"
   12890 	fi
   12891 
   12892 
   12893 # Checks for pkg-config packages
   12894 
   12895 pkg_failed=no
   12896 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   12897 $as_echo_n "checking for XORG... " >&6; }
   12898 
   12899 if test -n "$XORG_CFLAGS"; then
   12900     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12901  elif test -n "$PKG_CONFIG"; then
   12902     if test -n "$PKG_CONFIG" && \
   12903     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto \$REQUIRED_MODULES\"") >&5
   12904   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES") 2>&5
   12905   ac_status=$?
   12906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12907   (exit $ac_status); }; then
   12908   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>/dev/null`
   12909 else
   12910   pkg_failed=yes
   12911 fi
   12912  else
   12913     pkg_failed=untried
   12914 fi
   12915 if test -n "$XORG_LIBS"; then
   12916     pkg_cv_XORG_LIBS="$XORG_LIBS"
   12917  elif test -n "$PKG_CONFIG"; then
   12918     if test -n "$PKG_CONFIG" && \
   12919     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto \$REQUIRED_MODULES\"") >&5
   12920   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES") 2>&5
   12921   ac_status=$?
   12922   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12923   (exit $ac_status); }; then
   12924   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>/dev/null`
   12925 else
   12926   pkg_failed=yes
   12927 fi
   12928  else
   12929     pkg_failed=untried
   12930 fi
   12931 
   12932 
   12933 
   12934 if test $pkg_failed = yes; then
   12935 
   12936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12937         _pkg_short_errors_supported=yes
   12938 else
   12939         _pkg_short_errors_supported=no
   12940 fi
   12941         if test $_pkg_short_errors_supported = yes; then
   12942 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>&1`
   12943         else
   12944 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>&1`
   12945         fi
   12946 	# Put the nasty error message in config.log where it belongs
   12947 	echo "$XORG_PKG_ERRORS" >&5
   12948 
   12949 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.1 xproto $REQUIRED_MODULES) were not met:
   12950 
   12951 $XORG_PKG_ERRORS
   12952 
   12953 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12954 installed software in a non-standard prefix.
   12955 
   12956 Alternatively, you may set the environment variables XORG_CFLAGS
   12957 and XORG_LIBS to avoid the need to call pkg-config.
   12958 See the pkg-config man page for more details.
   12959 " >&5
   12960 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.1 xproto $REQUIRED_MODULES) were not met:
   12961 
   12962 $XORG_PKG_ERRORS
   12963 
   12964 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12965 installed software in a non-standard prefix.
   12966 
   12967 Alternatively, you may set the environment variables XORG_CFLAGS
   12968 and XORG_LIBS to avoid the need to call pkg-config.
   12969 See the pkg-config man page for more details.
   12970 " >&2;}
   12971    { (exit 1); exit 1; }; }
   12972 elif test $pkg_failed = untried; then
   12973 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12975 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12976 is in your PATH or set the PKG_CONFIG environment variable to the full
   12977 path to pkg-config.
   12978 
   12979 Alternatively, you may set the environment variables XORG_CFLAGS
   12980 and XORG_LIBS to avoid the need to call pkg-config.
   12981 See the pkg-config man page for more details.
   12982 
   12983 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12984 See \`config.log' for more details." >&5
   12985 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12986 is in your PATH or set the PKG_CONFIG environment variable to the full
   12987 path to pkg-config.
   12988 
   12989 Alternatively, you may set the environment variables XORG_CFLAGS
   12990 and XORG_LIBS to avoid the need to call pkg-config.
   12991 See the pkg-config man page for more details.
   12992 
   12993 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12994 See \`config.log' for more details." >&2;}
   12995    { (exit 1); exit 1; }; }; }
   12996 else
   12997 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12998 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12999         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13000 $as_echo "yes" >&6; }
   13001 	:
   13002 fi
   13003 
   13004 if test -n "$PKG_CONFIG" && \
   13005     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0\"") >&5
   13006   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0") 2>&5
   13007   ac_status=$?
   13008   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13009   (exit $ac_status); }; then
   13010 
   13011 cat >>confdefs.h <<\_ACEOF
   13012 #define HAVE_XORG_SERVER_1_1_0 1
   13013 _ACEOF
   13014 
   13015 fi
   13016 
   13017 if test -n "$PKG_CONFIG" && \
   13018     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server > 1.4.99\"") >&5
   13019   ($PKG_CONFIG --exists --print-errors "xorg-server > 1.4.99") 2>&5
   13020   ac_status=$?
   13021   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13022   (exit $ac_status); }; then
   13023 
   13024 cat >>confdefs.h <<\_ACEOF
   13025 #define HAVE_XORG_SERVER_1_5_0 1
   13026 _ACEOF
   13027 
   13028 fi
   13029 
   13030 if test -n "$PKG_CONFIG" && \
   13031     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90\"") >&5
   13032   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90") 2>&5
   13033   ac_status=$?
   13034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13035   (exit $ac_status); }; then
   13036 
   13037 cat >>confdefs.h <<\_ACEOF
   13038 #define CALL_CONVERSION_PROC 1
   13039 _ACEOF
   13040 
   13041 fi
   13042 if test -n "$PKG_CONFIG" && \
   13043     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server > 1.4.0.90\"") >&5
   13044   ($PKG_CONFIG --exists --print-errors "xorg-server > 1.4.0.90") 2>&5
   13045   ac_status=$?
   13046   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13047   (exit $ac_status); }; then
   13048 
   13049 cat >>confdefs.h <<\_ACEOF
   13050 #define ABS_VALUATOR_AXES 1
   13051 _ACEOF
   13052 
   13053 fi
   13054 if test -n "$PKG_CONFIG" && \
   13055     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.0\"") >&5
   13056   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.0") 2>&5
   13057   ac_status=$?
   13058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13059   (exit $ac_status); }; then
   13060 
   13061 cat >>confdefs.h <<\_ACEOF
   13062 #define NO_MOUSE_MODULE 1
   13063 _ACEOF
   13064 
   13065 fi
   13066 
   13067 # Checks for libraries.
   13068 
   13069 # Checks for header files.
   13070 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   13071 $as_echo_n "checking for ANSI C header files... " >&6; }
   13072 if test "${ac_cv_header_stdc+set}" = set; then
   13073   $as_echo_n "(cached) " >&6
   13074 else
   13075   cat >conftest.$ac_ext <<_ACEOF
   13076 /* confdefs.h.  */
   13077 _ACEOF
   13078 cat confdefs.h >>conftest.$ac_ext
   13079 cat >>conftest.$ac_ext <<_ACEOF
   13080 /* end confdefs.h.  */
   13081 #include <stdlib.h>
   13082 #include <stdarg.h>
   13083 #include <string.h>
   13084 #include <float.h>
   13085 
   13086 int
   13087 main ()
   13088 {
   13089 
   13090   ;
   13091   return 0;
   13092 }
   13093 _ACEOF
   13094 rm -f conftest.$ac_objext
   13095 if { (ac_try="$ac_compile"
   13096 case "(($ac_try" in
   13097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13098   *) ac_try_echo=$ac_try;;
   13099 esac
   13100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13101 $as_echo "$ac_try_echo") >&5
   13102   (eval "$ac_compile") 2>conftest.er1
   13103   ac_status=$?
   13104   grep -v '^ *+' conftest.er1 >conftest.err
   13105   rm -f conftest.er1
   13106   cat conftest.err >&5
   13107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13108   (exit $ac_status); } && {
   13109 	 test -z "$ac_c_werror_flag" ||
   13110 	 test ! -s conftest.err
   13111        } && test -s conftest.$ac_objext; then
   13112   ac_cv_header_stdc=yes
   13113 else
   13114   $as_echo "$as_me: failed program was:" >&5
   13115 sed 's/^/| /' conftest.$ac_ext >&5
   13116 
   13117 	ac_cv_header_stdc=no
   13118 fi
   13119 
   13120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13121 
   13122 if test $ac_cv_header_stdc = yes; then
   13123   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13124   cat >conftest.$ac_ext <<_ACEOF
   13125 /* confdefs.h.  */
   13126 _ACEOF
   13127 cat confdefs.h >>conftest.$ac_ext
   13128 cat >>conftest.$ac_ext <<_ACEOF
   13129 /* end confdefs.h.  */
   13130 #include <string.h>
   13131 
   13132 _ACEOF
   13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13134   $EGREP "memchr" >/dev/null 2>&1; then
   13135   :
   13136 else
   13137   ac_cv_header_stdc=no
   13138 fi
   13139 rm -f conftest*
   13140 
   13141 fi
   13142 
   13143 if test $ac_cv_header_stdc = yes; then
   13144   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13145   cat >conftest.$ac_ext <<_ACEOF
   13146 /* confdefs.h.  */
   13147 _ACEOF
   13148 cat confdefs.h >>conftest.$ac_ext
   13149 cat >>conftest.$ac_ext <<_ACEOF
   13150 /* end confdefs.h.  */
   13151 #include <stdlib.h>
   13152 
   13153 _ACEOF
   13154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13155   $EGREP "free" >/dev/null 2>&1; then
   13156   :
   13157 else
   13158   ac_cv_header_stdc=no
   13159 fi
   13160 rm -f conftest*
   13161 
   13162 fi
   13163 
   13164 if test $ac_cv_header_stdc = yes; then
   13165   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13166   if test "$cross_compiling" = yes; then
   13167   :
   13168 else
   13169   cat >conftest.$ac_ext <<_ACEOF
   13170 /* confdefs.h.  */
   13171 _ACEOF
   13172 cat confdefs.h >>conftest.$ac_ext
   13173 cat >>conftest.$ac_ext <<_ACEOF
   13174 /* end confdefs.h.  */
   13175 #include <ctype.h>
   13176 #include <stdlib.h>
   13177 #if ((' ' & 0x0FF) == 0x020)
   13178 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13179 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13180 #else
   13181 # define ISLOWER(c) \
   13182 		   (('a' <= (c) && (c) <= 'i') \
   13183 		     || ('j' <= (c) && (c) <= 'r') \
   13184 		     || ('s' <= (c) && (c) <= 'z'))
   13185 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13186 #endif
   13187 
   13188 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13189 int
   13190 main ()
   13191 {
   13192   int i;
   13193   for (i = 0; i < 256; i++)
   13194     if (XOR (islower (i), ISLOWER (i))
   13195 	|| toupper (i) != TOUPPER (i))
   13196       return 2;
   13197   return 0;
   13198 }
   13199 _ACEOF
   13200 rm -f conftest$ac_exeext
   13201 if { (ac_try="$ac_link"
   13202 case "(($ac_try" in
   13203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13204   *) ac_try_echo=$ac_try;;
   13205 esac
   13206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13207 $as_echo "$ac_try_echo") >&5
   13208   (eval "$ac_link") 2>&5
   13209   ac_status=$?
   13210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13211   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13212   { (case "(($ac_try" in
   13213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13214   *) ac_try_echo=$ac_try;;
   13215 esac
   13216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13217 $as_echo "$ac_try_echo") >&5
   13218   (eval "$ac_try") 2>&5
   13219   ac_status=$?
   13220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13221   (exit $ac_status); }; }; then
   13222   :
   13223 else
   13224   $as_echo "$as_me: program exited with status $ac_status" >&5
   13225 $as_echo "$as_me: failed program was:" >&5
   13226 sed 's/^/| /' conftest.$ac_ext >&5
   13227 
   13228 ( exit $ac_status )
   13229 ac_cv_header_stdc=no
   13230 fi
   13231 rm -rf conftest.dSYM
   13232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13233 fi
   13234 
   13235 
   13236 fi
   13237 fi
   13238 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13239 $as_echo "$ac_cv_header_stdc" >&6; }
   13240 if test $ac_cv_header_stdc = yes; then
   13241 
   13242 cat >>confdefs.h <<\_ACEOF
   13243 #define STDC_HEADERS 1
   13244 _ACEOF
   13245 
   13246 fi
   13247 
   13248 
   13249 ac_config_files="$ac_config_files Makefile shared/Makefile src/Makefile tools/Makefile fdi/Makefile man/Makefile"
   13250 
   13251 cat >confcache <<\_ACEOF
   13252 # This file is a shell script that caches the results of configure
   13253 # tests run on this system so they can be shared between configure
   13254 # scripts and configure runs, see configure's option --config-cache.
   13255 # It is not useful on other systems.  If it contains results you don't
   13256 # want to keep, you may remove or edit it.
   13257 #
   13258 # config.status only pays attention to the cache file if you give it
   13259 # the --recheck option to rerun configure.
   13260 #
   13261 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13262 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13263 # following values.
   13264 
   13265 _ACEOF
   13266 
   13267 # The following way of writing the cache mishandles newlines in values,
   13268 # but we know of no workaround that is simple, portable, and efficient.
   13269 # So, we kill variables containing newlines.
   13270 # Ultrix sh set writes to stderr and can't be redirected directly,
   13271 # and sets the high bit in the cache file unless we assign to the vars.
   13272 (
   13273   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13274     eval ac_val=\$$ac_var
   13275     case $ac_val in #(
   13276     *${as_nl}*)
   13277       case $ac_var in #(
   13278       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   13279 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13280       esac
   13281       case $ac_var in #(
   13282       _ | IFS | as_nl) ;; #(
   13283       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13284       *) $as_unset $ac_var ;;
   13285       esac ;;
   13286     esac
   13287   done
   13288 
   13289   (set) 2>&1 |
   13290     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13291     *${as_nl}ac_space=\ *)
   13292       # `set' does not quote correctly, so add quotes (double-quote
   13293       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13294       sed -n \
   13295 	"s/'/'\\\\''/g;
   13296 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13297       ;; #(
   13298     *)
   13299       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13300       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13301       ;;
   13302     esac |
   13303     sort
   13304 ) |
   13305   sed '
   13306      /^ac_cv_env_/b end
   13307      t clear
   13308      :clear
   13309      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13310      t end
   13311      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13312      :end' >>confcache
   13313 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13314   if test -w "$cache_file"; then
   13315     test "x$cache_file" != "x/dev/null" &&
   13316       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   13317 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13318     cat confcache >$cache_file
   13319   else
   13320     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   13321 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13322   fi
   13323 fi
   13324 rm -f confcache
   13325 
   13326 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13327 # Let make expand exec_prefix.
   13328 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13329 
   13330 DEFS=-DHAVE_CONFIG_H
   13331 
   13332 ac_libobjs=
   13333 ac_ltlibobjs=
   13334 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13335   # 1. Remove the extension, and $U if already installed.
   13336   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13337   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13338   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13339   #    will be set to the directory where LIBOBJS objects are built.
   13340   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13341   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   13342 done
   13343 LIBOBJS=$ac_libobjs
   13344 
   13345 LTLIBOBJS=$ac_ltlibobjs
   13346 
   13347 
   13348 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13349   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13350 Usually this means the macro was only invoked conditionally." >&5
   13351 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13352 Usually this means the macro was only invoked conditionally." >&2;}
   13353    { (exit 1); exit 1; }; }
   13354 fi
   13355 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13356   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13357 Usually this means the macro was only invoked conditionally." >&5
   13358 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13359 Usually this means the macro was only invoked conditionally." >&2;}
   13360    { (exit 1); exit 1; }; }
   13361 fi
   13362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13363   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13364 Usually this means the macro was only invoked conditionally." >&5
   13365 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13366 Usually this means the macro was only invoked conditionally." >&2;}
   13367    { (exit 1); exit 1; }; }
   13368 fi
   13369 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13370   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13371 Usually this means the macro was only invoked conditionally." >&5
   13372 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13373 Usually this means the macro was only invoked conditionally." >&2;}
   13374    { (exit 1); exit 1; }; }
   13375 fi
   13376 if test -z "${HAS_XORG_CONF_DIR_TRUE}" && test -z "${HAS_XORG_CONF_DIR_FALSE}"; then
   13377   { { $as_echo "$as_me:$LINENO: error: conditional \"HAS_XORG_CONF_DIR\" was never defined.
   13378 Usually this means the macro was only invoked conditionally." >&5
   13379 $as_echo "$as_me: error: conditional \"HAS_XORG_CONF_DIR\" was never defined.
   13380 Usually this means the macro was only invoked conditionally." >&2;}
   13381    { (exit 1); exit 1; }; }
   13382 fi
   13383 if test -z "${HAS_UDEV_RULES_DIR_TRUE}" && test -z "${HAS_UDEV_RULES_DIR_FALSE}"; then
   13384   { { $as_echo "$as_me:$LINENO: error: conditional \"HAS_UDEV_RULES_DIR\" was never defined.
   13385 Usually this means the macro was only invoked conditionally." >&5
   13386 $as_echo "$as_me: error: conditional \"HAS_UDEV_RULES_DIR\" was never defined.
   13387 Usually this means the macro was only invoked conditionally." >&2;}
   13388    { (exit 1); exit 1; }; }
   13389 fi
   13390 
   13391 : ${CONFIG_STATUS=./config.status}
   13392 ac_write_fail=0
   13393 ac_clean_files_save=$ac_clean_files
   13394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13395 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13396 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13397 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13398 #! $SHELL
   13399 # Generated by $as_me.
   13400 # Run this file to recreate the current configuration.
   13401 # Compiler output produced by configure, useful for debugging
   13402 # configure, is in config.log if it exists.
   13403 
   13404 debug=false
   13405 ac_cs_recheck=false
   13406 ac_cs_silent=false
   13407 SHELL=\${CONFIG_SHELL-$SHELL}
   13408 _ACEOF
   13409 
   13410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13411 ## --------------------- ##
   13412 ## M4sh Initialization.  ##
   13413 ## --------------------- ##
   13414 
   13415 # Be more Bourne compatible
   13416 DUALCASE=1; export DUALCASE # for MKS sh
   13417 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13418   emulate sh
   13419   NULLCMD=:
   13420   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13421   # is contrary to our usage.  Disable this feature.
   13422   alias -g '${1+"$@"}'='"$@"'
   13423   setopt NO_GLOB_SUBST
   13424 else
   13425   case `(set -o) 2>/dev/null` in
   13426   *posix*) set -o posix ;;
   13427 esac
   13428 
   13429 fi
   13430 
   13431 
   13432 
   13433 
   13434 # PATH needs CR
   13435 # Avoid depending upon Character Ranges.
   13436 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13437 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13438 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13439 as_cr_digits='0123456789'
   13440 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13441 
   13442 as_nl='
   13443 '
   13444 export as_nl
   13445 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13446 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13449 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13450   as_echo='printf %s\n'
   13451   as_echo_n='printf %s'
   13452 else
   13453   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13454     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13455     as_echo_n='/usr/ucb/echo -n'
   13456   else
   13457     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13458     as_echo_n_body='eval
   13459       arg=$1;
   13460       case $arg in
   13461       *"$as_nl"*)
   13462 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13463 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13464       esac;
   13465       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13466     '
   13467     export as_echo_n_body
   13468     as_echo_n='sh -c $as_echo_n_body as_echo'
   13469   fi
   13470   export as_echo_body
   13471   as_echo='sh -c $as_echo_body as_echo'
   13472 fi
   13473 
   13474 # The user is always right.
   13475 if test "${PATH_SEPARATOR+set}" != set; then
   13476   PATH_SEPARATOR=:
   13477   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13478     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13479       PATH_SEPARATOR=';'
   13480   }
   13481 fi
   13482 
   13483 # Support unset when possible.
   13484 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13485   as_unset=unset
   13486 else
   13487   as_unset=false
   13488 fi
   13489 
   13490 
   13491 # IFS
   13492 # We need space, tab and new line, in precisely that order.  Quoting is
   13493 # there to prevent editors from complaining about space-tab.
   13494 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13495 # splitting by setting IFS to empty value.)
   13496 IFS=" ""	$as_nl"
   13497 
   13498 # Find who we are.  Look in the path if we contain no directory separator.
   13499 case $0 in
   13500   *[\\/]* ) as_myself=$0 ;;
   13501   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13502 for as_dir in $PATH
   13503 do
   13504   IFS=$as_save_IFS
   13505   test -z "$as_dir" && as_dir=.
   13506   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13507 done
   13508 IFS=$as_save_IFS
   13509 
   13510      ;;
   13511 esac
   13512 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13513 # in which case we are not to be found in the path.
   13514 if test "x$as_myself" = x; then
   13515   as_myself=$0
   13516 fi
   13517 if test ! -f "$as_myself"; then
   13518   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13519   { (exit 1); exit 1; }
   13520 fi
   13521 
   13522 # Work around bugs in pre-3.0 UWIN ksh.
   13523 for as_var in ENV MAIL MAILPATH
   13524 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   13525 done
   13526 PS1='$ '
   13527 PS2='> '
   13528 PS4='+ '
   13529 
   13530 # NLS nuisances.
   13531 LC_ALL=C
   13532 export LC_ALL
   13533 LANGUAGE=C
   13534 export LANGUAGE
   13535 
   13536 # Required to use basename.
   13537 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13538    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13539   as_expr=expr
   13540 else
   13541   as_expr=false
   13542 fi
   13543 
   13544 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13545   as_basename=basename
   13546 else
   13547   as_basename=false
   13548 fi
   13549 
   13550 
   13551 # Name of the executable.
   13552 as_me=`$as_basename -- "$0" ||
   13553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13554 	 X"$0" : 'X\(//\)$' \| \
   13555 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13556 $as_echo X/"$0" |
   13557     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13558 	    s//\1/
   13559 	    q
   13560 	  }
   13561 	  /^X\/\(\/\/\)$/{
   13562 	    s//\1/
   13563 	    q
   13564 	  }
   13565 	  /^X\/\(\/\).*/{
   13566 	    s//\1/
   13567 	    q
   13568 	  }
   13569 	  s/.*/./; q'`
   13570 
   13571 # CDPATH.
   13572 $as_unset CDPATH
   13573 
   13574 
   13575 
   13576   as_lineno_1=$LINENO
   13577   as_lineno_2=$LINENO
   13578   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13579   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   13580 
   13581   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13582   # uniformly replaced by the line number.  The first 'sed' inserts a
   13583   # line-number line after each line using $LINENO; the second 'sed'
   13584   # does the real work.  The second script uses 'N' to pair each
   13585   # line-number line with the line containing $LINENO, and appends
   13586   # trailing '-' during substitution so that $LINENO is not a special
   13587   # case at line end.
   13588   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13589   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   13590   # E. McMahon (1931-1989) for sed's syntax.  :-)
   13591   sed -n '
   13592     p
   13593     /[$]LINENO/=
   13594   ' <$as_myself |
   13595     sed '
   13596       s/[$]LINENO.*/&-/
   13597       t lineno
   13598       b
   13599       :lineno
   13600       N
   13601       :loop
   13602       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13603       t loop
   13604       s/-\n.*//
   13605     ' >$as_me.lineno &&
   13606   chmod +x "$as_me.lineno" ||
   13607     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13608    { (exit 1); exit 1; }; }
   13609 
   13610   # Don't try to exec as it changes $[0], causing all sort of problems
   13611   # (the dirname of $[0] is not the place where we might find the
   13612   # original and so on.  Autoconf is especially sensitive to this).
   13613   . "./$as_me.lineno"
   13614   # Exit status is that of the last command.
   13615   exit
   13616 }
   13617 
   13618 
   13619 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13620   as_dirname=dirname
   13621 else
   13622   as_dirname=false
   13623 fi
   13624 
   13625 ECHO_C= ECHO_N= ECHO_T=
   13626 case `echo -n x` in
   13627 -n*)
   13628   case `echo 'x\c'` in
   13629   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13630   *)   ECHO_C='\c';;
   13631   esac;;
   13632 *)
   13633   ECHO_N='-n';;
   13634 esac
   13635 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13636    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13637   as_expr=expr
   13638 else
   13639   as_expr=false
   13640 fi
   13641 
   13642 rm -f conf$$ conf$$.exe conf$$.file
   13643 if test -d conf$$.dir; then
   13644   rm -f conf$$.dir/conf$$.file
   13645 else
   13646   rm -f conf$$.dir
   13647   mkdir conf$$.dir 2>/dev/null
   13648 fi
   13649 if (echo >conf$$.file) 2>/dev/null; then
   13650   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13651     as_ln_s='ln -s'
   13652     # ... but there are two gotchas:
   13653     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13654     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13655     # In both cases, we have to default to `cp -p'.
   13656     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13657       as_ln_s='cp -p'
   13658   elif ln conf$$.file conf$$ 2>/dev/null; then
   13659     as_ln_s=ln
   13660   else
   13661     as_ln_s='cp -p'
   13662   fi
   13663 else
   13664   as_ln_s='cp -p'
   13665 fi
   13666 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13667 rmdir conf$$.dir 2>/dev/null
   13668 
   13669 if mkdir -p . 2>/dev/null; then
   13670   as_mkdir_p=:
   13671 else
   13672   test -d ./-p && rmdir ./-p
   13673   as_mkdir_p=false
   13674 fi
   13675 
   13676 if test -x / >/dev/null 2>&1; then
   13677   as_test_x='test -x'
   13678 else
   13679   if ls -dL / >/dev/null 2>&1; then
   13680     as_ls_L_option=L
   13681   else
   13682     as_ls_L_option=
   13683   fi
   13684   as_test_x='
   13685     eval sh -c '\''
   13686       if test -d "$1"; then
   13687 	test -d "$1/.";
   13688       else
   13689 	case $1 in
   13690 	-*)set "./$1";;
   13691 	esac;
   13692 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13693 	???[sx]*):;;*)false;;esac;fi
   13694     '\'' sh
   13695   '
   13696 fi
   13697 as_executable_p=$as_test_x
   13698 
   13699 # Sed expression to map a string onto a valid CPP name.
   13700 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13701 
   13702 # Sed expression to map a string onto a valid variable name.
   13703 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13704 
   13705 
   13706 exec 6>&1
   13707 
   13708 # Save the log message, to keep $[0] and so on meaningful, and to
   13709 # report actual input values of CONFIG_FILES etc. instead of their
   13710 # values after options handling.
   13711 ac_log="
   13712 This file was extended by xf86-input-vmmouse $as_me 12.7.0, which was
   13713 generated by GNU Autoconf 2.63.  Invocation command line was
   13714 
   13715   CONFIG_FILES    = $CONFIG_FILES
   13716   CONFIG_HEADERS  = $CONFIG_HEADERS
   13717   CONFIG_LINKS    = $CONFIG_LINKS
   13718   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13719   $ $0 $@
   13720 
   13721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13722 "
   13723 
   13724 _ACEOF
   13725 
   13726 case $ac_config_files in *"
   13727 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13728 esac
   13729 
   13730 case $ac_config_headers in *"
   13731 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13732 esac
   13733 
   13734 
   13735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13736 # Files that config.status was made for.
   13737 config_files="`echo $ac_config_files`"
   13738 config_headers="`echo $ac_config_headers`"
   13739 config_commands="`echo $ac_config_commands`"
   13740 
   13741 _ACEOF
   13742 
   13743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13744 ac_cs_usage="\
   13745 \`$as_me' instantiates files from templates according to the
   13746 current configuration.
   13747 
   13748 Usage: $0 [OPTION]... [FILE]...
   13749 
   13750   -h, --help       print this help, then exit
   13751   -V, --version    print version number and configuration settings, then exit
   13752   -q, --quiet, --silent
   13753                    do not print progress messages
   13754   -d, --debug      don't remove temporary files
   13755       --recheck    update $as_me by reconfiguring in the same conditions
   13756       --file=FILE[:TEMPLATE]
   13757                    instantiate the configuration file FILE
   13758       --header=FILE[:TEMPLATE]
   13759                    instantiate the configuration header FILE
   13760 
   13761 Configuration files:
   13762 $config_files
   13763 
   13764 Configuration headers:
   13765 $config_headers
   13766 
   13767 Configuration commands:
   13768 $config_commands
   13769 
   13770 Report bugs to <bug-autoconf (at] gnu.org>."
   13771 
   13772 _ACEOF
   13773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13774 ac_cs_version="\\
   13775 xf86-input-vmmouse config.status 12.7.0
   13776 configured by $0, generated by GNU Autoconf 2.63,
   13777   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   13778 
   13779 Copyright (C) 2008 Free Software Foundation, Inc.
   13780 This config.status script is free software; the Free Software Foundation
   13781 gives unlimited permission to copy, distribute and modify it."
   13782 
   13783 ac_pwd='$ac_pwd'
   13784 srcdir='$srcdir'
   13785 INSTALL='$INSTALL'
   13786 MKDIR_P='$MKDIR_P'
   13787 AWK='$AWK'
   13788 test -n "\$AWK" || AWK=awk
   13789 _ACEOF
   13790 
   13791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13792 # The default lists apply if the user does not specify any file.
   13793 ac_need_defaults=:
   13794 while test $# != 0
   13795 do
   13796   case $1 in
   13797   --*=*)
   13798     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13799     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13800     ac_shift=:
   13801     ;;
   13802   *)
   13803     ac_option=$1
   13804     ac_optarg=$2
   13805     ac_shift=shift
   13806     ;;
   13807   esac
   13808 
   13809   case $ac_option in
   13810   # Handling of the options.
   13811   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13812     ac_cs_recheck=: ;;
   13813   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13814     $as_echo "$ac_cs_version"; exit ;;
   13815   --debug | --debu | --deb | --de | --d | -d )
   13816     debug=: ;;
   13817   --file | --fil | --fi | --f )
   13818     $ac_shift
   13819     case $ac_optarg in
   13820     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13821     esac
   13822     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   13823     ac_need_defaults=false;;
   13824   --header | --heade | --head | --hea )
   13825     $ac_shift
   13826     case $ac_optarg in
   13827     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13828     esac
   13829     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   13830     ac_need_defaults=false;;
   13831   --he | --h)
   13832     # Conflict between --help and --header
   13833     { $as_echo "$as_me: error: ambiguous option: $1
   13834 Try \`$0 --help' for more information." >&2
   13835    { (exit 1); exit 1; }; };;
   13836   --help | --hel | -h )
   13837     $as_echo "$ac_cs_usage"; exit ;;
   13838   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13839   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13840     ac_cs_silent=: ;;
   13841 
   13842   # This is an error.
   13843   -*) { $as_echo "$as_me: error: unrecognized option: $1
   13844 Try \`$0 --help' for more information." >&2
   13845    { (exit 1); exit 1; }; } ;;
   13846 
   13847   *) ac_config_targets="$ac_config_targets $1"
   13848      ac_need_defaults=false ;;
   13849 
   13850   esac
   13851   shift
   13852 done
   13853 
   13854 ac_configure_extra_args=
   13855 
   13856 if $ac_cs_silent; then
   13857   exec 6>/dev/null
   13858   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13859 fi
   13860 
   13861 _ACEOF
   13862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13863 if \$ac_cs_recheck; then
   13864   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13865   shift
   13866   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13867   CONFIG_SHELL='$SHELL'
   13868   export CONFIG_SHELL
   13869   exec "\$@"
   13870 fi
   13871 
   13872 _ACEOF
   13873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13874 exec 5>>config.log
   13875 {
   13876   echo
   13877   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13878 ## Running $as_me. ##
   13879 _ASBOX
   13880   $as_echo "$ac_log"
   13881 } >&5
   13882 
   13883 _ACEOF
   13884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13885 #
   13886 # INIT-COMMANDS
   13887 #
   13888 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13889 
   13890 
   13891 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13892 # if CDPATH is set.
   13893 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13894 
   13895 sed_quote_subst='$sed_quote_subst'
   13896 double_quote_subst='$double_quote_subst'
   13897 delay_variable_subst='$delay_variable_subst'
   13898 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13899 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13900 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13901 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13902 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13903 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13904 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13905 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13906 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13907 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13908 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13909 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13910 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13911 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13912 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13913 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13914 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13915 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13916 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13917 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13918 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13919 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13920 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13921 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13922 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13923 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13924 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13925 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13926 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13927 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13928 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13929 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13930 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13931 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13932 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13933 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13934 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13935 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13936 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13937 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13938 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   13939 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   13940 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   13941 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   13942 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"`'
   13943 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"`'
   13944 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   13945 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   13946 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   13947 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   13948 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13949 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   13950 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   13951 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   13952 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   13953 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   13954 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   13955 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   13956 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   13957 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13958 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   13959 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   13960 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13961 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13962 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   13963 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   13964 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13965 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13966 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   13967 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13968 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13969 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13970 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13971 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13972 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13973 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13974 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13975 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13976 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13977 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13978 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   13979 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   13980 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   13981 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   13982 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13983 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   13984 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   13985 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   13986 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   13987 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   13988 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13989 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13990 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13991 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13992 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13993 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   13994 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   13995 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   13996 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   13997 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13998 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13999 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14000 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14001 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14002 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14003 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14004 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14005 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14006 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14007 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14008 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14009 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14010 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14011 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14012 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14013 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14014 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14015 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14016 
   14017 LTCC='$LTCC'
   14018 LTCFLAGS='$LTCFLAGS'
   14019 compiler='$compiler_DEFAULT'
   14020 
   14021 # Quote evaled strings.
   14022 for var in SED \
   14023 GREP \
   14024 EGREP \
   14025 FGREP \
   14026 LD \
   14027 NM \
   14028 LN_S \
   14029 lt_SP2NL \
   14030 lt_NL2SP \
   14031 reload_flag \
   14032 OBJDUMP \
   14033 deplibs_check_method \
   14034 file_magic_cmd \
   14035 AR \
   14036 AR_FLAGS \
   14037 STRIP \
   14038 RANLIB \
   14039 CC \
   14040 CFLAGS \
   14041 compiler \
   14042 lt_cv_sys_global_symbol_pipe \
   14043 lt_cv_sys_global_symbol_to_cdecl \
   14044 lt_cv_sys_global_symbol_to_c_name_address \
   14045 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14046 SHELL \
   14047 ECHO \
   14048 lt_prog_compiler_no_builtin_flag \
   14049 lt_prog_compiler_wl \
   14050 lt_prog_compiler_pic \
   14051 lt_prog_compiler_static \
   14052 lt_cv_prog_compiler_c_o \
   14053 need_locks \
   14054 DSYMUTIL \
   14055 NMEDIT \
   14056 LIPO \
   14057 OTOOL \
   14058 OTOOL64 \
   14059 shrext_cmds \
   14060 export_dynamic_flag_spec \
   14061 whole_archive_flag_spec \
   14062 compiler_needs_object \
   14063 with_gnu_ld \
   14064 allow_undefined_flag \
   14065 no_undefined_flag \
   14066 hardcode_libdir_flag_spec \
   14067 hardcode_libdir_flag_spec_ld \
   14068 hardcode_libdir_separator \
   14069 fix_srcfile_path \
   14070 exclude_expsyms \
   14071 include_expsyms \
   14072 file_list_spec \
   14073 variables_saved_for_relink \
   14074 libname_spec \
   14075 library_names_spec \
   14076 soname_spec \
   14077 finish_eval \
   14078 old_striplib \
   14079 striplib; do
   14080     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14081     *[\\\\\\\`\\"\\\$]*)
   14082       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14083       ;;
   14084     *)
   14085       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14086       ;;
   14087     esac
   14088 done
   14089 
   14090 # Double-quote double-evaled strings.
   14091 for var in reload_cmds \
   14092 old_postinstall_cmds \
   14093 old_postuninstall_cmds \
   14094 old_archive_cmds \
   14095 extract_expsyms_cmds \
   14096 old_archive_from_new_cmds \
   14097 old_archive_from_expsyms_cmds \
   14098 archive_cmds \
   14099 archive_expsym_cmds \
   14100 module_cmds \
   14101 module_expsym_cmds \
   14102 export_symbols_cmds \
   14103 prelink_cmds \
   14104 postinstall_cmds \
   14105 postuninstall_cmds \
   14106 finish_cmds \
   14107 sys_lib_search_path_spec \
   14108 sys_lib_dlsearch_path_spec; do
   14109     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14110     *[\\\\\\\`\\"\\\$]*)
   14111       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14112       ;;
   14113     *)
   14114       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14115       ;;
   14116     esac
   14117 done
   14118 
   14119 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14120 case \$lt_ECHO in
   14121 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14122   ;;
   14123 esac
   14124 
   14125 ac_aux_dir='$ac_aux_dir'
   14126 xsi_shell='$xsi_shell'
   14127 lt_shell_append='$lt_shell_append'
   14128 
   14129 # See if we are running on zsh, and set the options which allow our
   14130 # commands through without removal of \ escapes INIT.
   14131 if test -n "\${ZSH_VERSION+set}" ; then
   14132    setopt NO_GLOB_SUBST
   14133 fi
   14134 
   14135 
   14136     PACKAGE='$PACKAGE'
   14137     VERSION='$VERSION'
   14138     TIMESTAMP='$TIMESTAMP'
   14139     RM='$RM'
   14140     ofile='$ofile'
   14141 
   14142 
   14143 
   14144 
   14145 _ACEOF
   14146 
   14147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14148 
   14149 # Handling of arguments.
   14150 for ac_config_target in $ac_config_targets
   14151 do
   14152   case $ac_config_target in
   14153     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14154     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14155     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14156     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14157     "shared/Makefile") CONFIG_FILES="$CONFIG_FILES shared/Makefile" ;;
   14158     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14159     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   14160     "fdi/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/Makefile" ;;
   14161     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14162 
   14163   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14164 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14165    { (exit 1); exit 1; }; };;
   14166   esac
   14167 done
   14168 
   14169 
   14170 # If the user did not use the arguments to specify the items to instantiate,
   14171 # then the envvar interface is used.  Set only those that are not.
   14172 # We use the long form for the default assignment because of an extremely
   14173 # bizarre bug on SunOS 4.1.3.
   14174 if $ac_need_defaults; then
   14175   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14176   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14177   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14178 fi
   14179 
   14180 # Have a temporary directory for convenience.  Make it in the build tree
   14181 # simply because there is no reason against having it here, and in addition,
   14182 # creating and moving files from /tmp can sometimes cause problems.
   14183 # Hook for its removal unless debugging.
   14184 # Note that there is a small window in which the directory will not be cleaned:
   14185 # after its creation but before its name has been assigned to `$tmp'.
   14186 $debug ||
   14187 {
   14188   tmp=
   14189   trap 'exit_status=$?
   14190   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14191 ' 0
   14192   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14193 }
   14194 # Create a (secure) tmp directory for tmp files.
   14195 
   14196 {
   14197   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14198   test -n "$tmp" && test -d "$tmp"
   14199 }  ||
   14200 {
   14201   tmp=./conf$$-$RANDOM
   14202   (umask 077 && mkdir "$tmp")
   14203 } ||
   14204 {
   14205    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   14206    { (exit 1); exit 1; }
   14207 }
   14208 
   14209 # Set up the scripts for CONFIG_FILES section.
   14210 # No need to generate them if there are no CONFIG_FILES.
   14211 # This happens for instance with `./config.status config.h'.
   14212 if test -n "$CONFIG_FILES"; then
   14213 
   14214 
   14215 ac_cr='
'
   14217 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14218 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14219   ac_cs_awk_cr='\\r'
   14220 else
   14221   ac_cs_awk_cr=$ac_cr
   14222 fi
   14223 
   14224 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   14225 _ACEOF
   14226 
   14227 
   14228 {
   14229   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14230   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14231   echo "_ACEOF"
   14232 } >conf$$subs.sh ||
   14233   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14234 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14235    { (exit 1); exit 1; }; }
   14236 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14237 ac_delim='%!_!# '
   14238 for ac_last_try in false false false false false :; do
   14239   . ./conf$$subs.sh ||
   14240     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14241 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14242    { (exit 1); exit 1; }; }
   14243 
   14244   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14245   if test $ac_delim_n = $ac_delim_num; then
   14246     break
   14247   elif $ac_last_try; then
   14248     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14249 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14250    { (exit 1); exit 1; }; }
   14251   else
   14252     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14253   fi
   14254 done
   14255 rm -f conf$$subs.sh
   14256 
   14257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14258 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14259 _ACEOF
   14260 sed -n '
   14261 h
   14262 s/^/S["/; s/!.*/"]=/
   14263 p
   14264 g
   14265 s/^[^!]*!//
   14266 :repl
   14267 t repl
   14268 s/'"$ac_delim"'$//
   14269 t delim
   14270 :nl
   14271 h
   14272 s/\(.\{148\}\).*/\1/
   14273 t more1
   14274 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14275 p
   14276 n
   14277 b repl
   14278 :more1
   14279 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14280 p
   14281 g
   14282 s/.\{148\}//
   14283 t nl
   14284 :delim
   14285 h
   14286 s/\(.\{148\}\).*/\1/
   14287 t more2
   14288 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14289 p
   14290 b
   14291 :more2
   14292 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14293 p
   14294 g
   14295 s/.\{148\}//
   14296 t delim
   14297 ' <conf$$subs.awk | sed '
   14298 /^[^""]/{
   14299   N
   14300   s/\n//
   14301 }
   14302 ' >>$CONFIG_STATUS || ac_write_fail=1
   14303 rm -f conf$$subs.awk
   14304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14305 _ACAWK
   14306 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   14307   for (key in S) S_is_set[key] = 1
   14308   FS = ""
   14309 
   14310 }
   14311 {
   14312   line = $ 0
   14313   nfields = split(line, field, "@")
   14314   substed = 0
   14315   len = length(field[1])
   14316   for (i = 2; i < nfields; i++) {
   14317     key = field[i]
   14318     keylen = length(key)
   14319     if (S_is_set[key]) {
   14320       value = S[key]
   14321       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14322       len += length(value) + length(field[++i])
   14323       substed = 1
   14324     } else
   14325       len += 1 + keylen
   14326   }
   14327 
   14328   print line
   14329 }
   14330 
   14331 _ACAWK
   14332 _ACEOF
   14333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14334 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14335   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14336 else
   14337   cat
   14338 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   14339   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   14340 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   14341    { (exit 1); exit 1; }; }
   14342 _ACEOF
   14343 
   14344 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14345 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14346 # trailing colons and then remove the whole line if VPATH becomes empty
   14347 # (actually we leave an empty line to preserve line numbers).
   14348 if test "x$srcdir" = x.; then
   14349   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14350 s/:*\$(srcdir):*/:/
   14351 s/:*\${srcdir}:*/:/
   14352 s/:*@srcdir@:*/:/
   14353 s/^\([^=]*=[	 ]*\):*/\1/
   14354 s/:*$//
   14355 s/^[^=]*=[	 ]*$//
   14356 }'
   14357 fi
   14358 
   14359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14360 fi # test -n "$CONFIG_FILES"
   14361 
   14362 # Set up the scripts for CONFIG_HEADERS section.
   14363 # No need to generate them if there are no CONFIG_HEADERS.
   14364 # This happens for instance with `./config.status Makefile'.
   14365 if test -n "$CONFIG_HEADERS"; then
   14366 cat >"$tmp/defines.awk" <<\_ACAWK ||
   14367 BEGIN {
   14368 _ACEOF
   14369 
   14370 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14371 # here-document in config.status, that substitutes the proper values into
   14372 # config.h.in to produce config.h.
   14373 
   14374 # Create a delimiter string that does not exist in confdefs.h, to ease
   14375 # handling of long lines.
   14376 ac_delim='%!_!# '
   14377 for ac_last_try in false false :; do
   14378   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   14379   if test -z "$ac_t"; then
   14380     break
   14381   elif $ac_last_try; then
   14382     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   14383 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   14384    { (exit 1); exit 1; }; }
   14385   else
   14386     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14387   fi
   14388 done
   14389 
   14390 # For the awk script, D is an array of macro values keyed by name,
   14391 # likewise P contains macro parameters if any.  Preserve backslash
   14392 # newline sequences.
   14393 
   14394 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14395 sed -n '
   14396 s/.\{148\}/&'"$ac_delim"'/g
   14397 t rset
   14398 :rset
   14399 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14400 t def
   14401 d
   14402 :def
   14403 s/\\$//
   14404 t bsnl
   14405 s/["\\]/\\&/g
   14406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14407 D["\1"]=" \3"/p
   14408 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14409 d
   14410 :bsnl
   14411 s/["\\]/\\&/g
   14412 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14413 D["\1"]=" \3\\\\\\n"\\/p
   14414 t cont
   14415 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14416 t cont
   14417 d
   14418 :cont
   14419 n
   14420 s/.\{148\}/&'"$ac_delim"'/g
   14421 t clear
   14422 :clear
   14423 s/\\$//
   14424 t bsnlc
   14425 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14426 d
   14427 :bsnlc
   14428 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14429 b cont
   14430 ' <confdefs.h | sed '
   14431 s/'"$ac_delim"'/"\\\
   14432 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14433 
   14434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14435   for (key in D) D_is_set[key] = 1
   14436   FS = ""
   14437 }
   14438 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14439   line = \$ 0
   14440   split(line, arg, " ")
   14441   if (arg[1] == "#") {
   14442     defundef = arg[2]
   14443     mac1 = arg[3]
   14444   } else {
   14445     defundef = substr(arg[1], 2)
   14446     mac1 = arg[2]
   14447   }
   14448   split(mac1, mac2, "(") #)
   14449   macro = mac2[1]
   14450   prefix = substr(line, 1, index(line, defundef) - 1)
   14451   if (D_is_set[macro]) {
   14452     # Preserve the white space surrounding the "#".
   14453     print prefix "define", macro P[macro] D[macro]
   14454     next
   14455   } else {
   14456     # Replace #undef with comments.  This is necessary, for example,
   14457     # in the case of _POSIX_SOURCE, which is predefined and required
   14458     # on some systems where configure will not decide to define it.
   14459     if (defundef == "undef") {
   14460       print "/*", prefix defundef, macro, "*/"
   14461       next
   14462     }
   14463   }
   14464 }
   14465 { print }
   14466 _ACAWK
   14467 _ACEOF
   14468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14469   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   14470 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   14471    { (exit 1); exit 1; }; }
   14472 fi # test -n "$CONFIG_HEADERS"
   14473 
   14474 
   14475 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14476 shift
   14477 for ac_tag
   14478 do
   14479   case $ac_tag in
   14480   :[FHLC]) ac_mode=$ac_tag; continue;;
   14481   esac
   14482   case $ac_mode$ac_tag in
   14483   :[FHL]*:*);;
   14484   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   14485 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   14486    { (exit 1); exit 1; }; };;
   14487   :[FH]-) ac_tag=-:-;;
   14488   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14489   esac
   14490   ac_save_IFS=$IFS
   14491   IFS=:
   14492   set x $ac_tag
   14493   IFS=$ac_save_IFS
   14494   shift
   14495   ac_file=$1
   14496   shift
   14497 
   14498   case $ac_mode in
   14499   :L) ac_source=$1;;
   14500   :[FH])
   14501     ac_file_inputs=
   14502     for ac_f
   14503     do
   14504       case $ac_f in
   14505       -) ac_f="$tmp/stdin";;
   14506       *) # Look for the file first in the build tree, then in the source tree
   14507 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14508 	 # because $ac_f cannot contain `:'.
   14509 	 test -f "$ac_f" ||
   14510 	   case $ac_f in
   14511 	   [\\/$]*) false;;
   14512 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14513 	   esac ||
   14514 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   14515 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   14516    { (exit 1); exit 1; }; };;
   14517       esac
   14518       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14519       ac_file_inputs="$ac_file_inputs '$ac_f'"
   14520     done
   14521 
   14522     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14523     # use $as_me), people would be surprised to read:
   14524     #    /* config.h.  Generated by config.status.  */
   14525     configure_input='Generated from '`
   14526 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14527 	`' by configure.'
   14528     if test x"$ac_file" != x-; then
   14529       configure_input="$ac_file.  $configure_input"
   14530       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   14531 $as_echo "$as_me: creating $ac_file" >&6;}
   14532     fi
   14533     # Neutralize special characters interpreted by sed in replacement strings.
   14534     case $configure_input in #(
   14535     *\&* | *\|* | *\\* )
   14536        ac_sed_conf_input=`$as_echo "$configure_input" |
   14537        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14538     *) ac_sed_conf_input=$configure_input;;
   14539     esac
   14540 
   14541     case $ac_tag in
   14542     *:-:* | *:-) cat >"$tmp/stdin" \
   14543       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14544 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14545    { (exit 1); exit 1; }; } ;;
   14546     esac
   14547     ;;
   14548   esac
   14549 
   14550   ac_dir=`$as_dirname -- "$ac_file" ||
   14551 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14552 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14553 	 X"$ac_file" : 'X\(//\)$' \| \
   14554 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14555 $as_echo X"$ac_file" |
   14556     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14557 	    s//\1/
   14558 	    q
   14559 	  }
   14560 	  /^X\(\/\/\)[^/].*/{
   14561 	    s//\1/
   14562 	    q
   14563 	  }
   14564 	  /^X\(\/\/\)$/{
   14565 	    s//\1/
   14566 	    q
   14567 	  }
   14568 	  /^X\(\/\).*/{
   14569 	    s//\1/
   14570 	    q
   14571 	  }
   14572 	  s/.*/./; q'`
   14573   { as_dir="$ac_dir"
   14574   case $as_dir in #(
   14575   -*) as_dir=./$as_dir;;
   14576   esac
   14577   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14578     as_dirs=
   14579     while :; do
   14580       case $as_dir in #(
   14581       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14582       *) as_qdir=$as_dir;;
   14583       esac
   14584       as_dirs="'$as_qdir' $as_dirs"
   14585       as_dir=`$as_dirname -- "$as_dir" ||
   14586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14587 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14588 	 X"$as_dir" : 'X\(//\)$' \| \
   14589 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14590 $as_echo X"$as_dir" |
   14591     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14592 	    s//\1/
   14593 	    q
   14594 	  }
   14595 	  /^X\(\/\/\)[^/].*/{
   14596 	    s//\1/
   14597 	    q
   14598 	  }
   14599 	  /^X\(\/\/\)$/{
   14600 	    s//\1/
   14601 	    q
   14602 	  }
   14603 	  /^X\(\/\).*/{
   14604 	    s//\1/
   14605 	    q
   14606 	  }
   14607 	  s/.*/./; q'`
   14608       test -d "$as_dir" && break
   14609     done
   14610     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14611   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14612 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14613    { (exit 1); exit 1; }; }; }
   14614   ac_builddir=.
   14615 
   14616 case "$ac_dir" in
   14617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14618 *)
   14619   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14620   # A ".." for each directory in $ac_dir_suffix.
   14621   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14622   case $ac_top_builddir_sub in
   14623   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14624   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14625   esac ;;
   14626 esac
   14627 ac_abs_top_builddir=$ac_pwd
   14628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14629 # for backward compatibility:
   14630 ac_top_builddir=$ac_top_build_prefix
   14631 
   14632 case $srcdir in
   14633   .)  # We are building in place.
   14634     ac_srcdir=.
   14635     ac_top_srcdir=$ac_top_builddir_sub
   14636     ac_abs_top_srcdir=$ac_pwd ;;
   14637   [\\/]* | ?:[\\/]* )  # Absolute name.
   14638     ac_srcdir=$srcdir$ac_dir_suffix;
   14639     ac_top_srcdir=$srcdir
   14640     ac_abs_top_srcdir=$srcdir ;;
   14641   *) # Relative name.
   14642     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14643     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14644     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14645 esac
   14646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14647 
   14648 
   14649   case $ac_mode in
   14650   :F)
   14651   #
   14652   # CONFIG_FILE
   14653   #
   14654 
   14655   case $INSTALL in
   14656   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14657   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14658   esac
   14659   ac_MKDIR_P=$MKDIR_P
   14660   case $MKDIR_P in
   14661   [\\/$]* | ?:[\\/]* ) ;;
   14662   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14663   esac
   14664 _ACEOF
   14665 
   14666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14667 # If the template does not know about datarootdir, expand it.
   14668 # FIXME: This hack should be removed a few years after 2.60.
   14669 ac_datarootdir_hack=; ac_datarootdir_seen=
   14670 
   14671 ac_sed_dataroot='
   14672 /datarootdir/ {
   14673   p
   14674   q
   14675 }
   14676 /@datadir@/p
   14677 /@docdir@/p
   14678 /@infodir@/p
   14679 /@localedir@/p
   14680 /@mandir@/p
   14681 '
   14682 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14683 *datarootdir*) ac_datarootdir_seen=yes;;
   14684 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14685   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14686 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14687 _ACEOF
   14688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14689   ac_datarootdir_hack='
   14690   s&@datadir@&$datadir&g
   14691   s&@docdir@&$docdir&g
   14692   s&@infodir@&$infodir&g
   14693   s&@localedir@&$localedir&g
   14694   s&@mandir@&$mandir&g
   14695     s&\\\${datarootdir}&$datarootdir&g' ;;
   14696 esac
   14697 _ACEOF
   14698 
   14699 # Neutralize VPATH when `$srcdir' = `.'.
   14700 # Shell code in configure.ac might set extrasub.
   14701 # FIXME: do we really want to maintain this feature?
   14702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14703 ac_sed_extra="$ac_vpsub
   14704 $extrasub
   14705 _ACEOF
   14706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14707 :t
   14708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14709 s|@configure_input@|$ac_sed_conf_input|;t t
   14710 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14711 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14712 s&@srcdir@&$ac_srcdir&;t t
   14713 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14714 s&@top_srcdir@&$ac_top_srcdir&;t t
   14715 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14716 s&@builddir@&$ac_builddir&;t t
   14717 s&@abs_builddir@&$ac_abs_builddir&;t t
   14718 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14719 s&@INSTALL@&$ac_INSTALL&;t t
   14720 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14721 $ac_datarootdir_hack
   14722 "
   14723 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14724   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14725 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14726    { (exit 1); exit 1; }; }
   14727 
   14728 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14729   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14730   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   14731   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14732 which seems to be undefined.  Please make sure it is defined." >&5
   14733 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14734 which seems to be undefined.  Please make sure it is defined." >&2;}
   14735 
   14736   rm -f "$tmp/stdin"
   14737   case $ac_file in
   14738   -) cat "$tmp/out" && rm -f "$tmp/out";;
   14739   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   14740   esac \
   14741   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14742 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14743    { (exit 1); exit 1; }; }
   14744  ;;
   14745   :H)
   14746   #
   14747   # CONFIG_HEADER
   14748   #
   14749   if test x"$ac_file" != x-; then
   14750     {
   14751       $as_echo "/* $configure_input  */" \
   14752       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   14753     } >"$tmp/config.h" \
   14754       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14755 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14756    { (exit 1); exit 1; }; }
   14757     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   14758       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14759 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14760     else
   14761       rm -f "$ac_file"
   14762       mv "$tmp/config.h" "$ac_file" \
   14763 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14764 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14765    { (exit 1); exit 1; }; }
   14766     fi
   14767   else
   14768     $as_echo "/* $configure_input  */" \
   14769       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   14770       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   14771 $as_echo "$as_me: error: could not create -" >&2;}
   14772    { (exit 1); exit 1; }; }
   14773   fi
   14774 # Compute "$ac_file"'s index in $config_headers.
   14775 _am_arg="$ac_file"
   14776 _am_stamp_count=1
   14777 for _am_header in $config_headers :; do
   14778   case $_am_header in
   14779     $_am_arg | $_am_arg:* )
   14780       break ;;
   14781     * )
   14782       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14783   esac
   14784 done
   14785 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14786 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14787 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14788 	 X"$_am_arg" : 'X\(//\)$' \| \
   14789 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14790 $as_echo X"$_am_arg" |
   14791     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14792 	    s//\1/
   14793 	    q
   14794 	  }
   14795 	  /^X\(\/\/\)[^/].*/{
   14796 	    s//\1/
   14797 	    q
   14798 	  }
   14799 	  /^X\(\/\/\)$/{
   14800 	    s//\1/
   14801 	    q
   14802 	  }
   14803 	  /^X\(\/\).*/{
   14804 	    s//\1/
   14805 	    q
   14806 	  }
   14807 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14808  ;;
   14809 
   14810   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   14811 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14812  ;;
   14813   esac
   14814 
   14815 
   14816   case $ac_file$ac_mode in
   14817     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14818 # are listed without --file.  Let's play safe and only enable the eval
   14819 # if we detect the quoting.
   14820 case $CONFIG_FILES in
   14821 *\'*) eval set x "$CONFIG_FILES" ;;
   14822 *)   set x $CONFIG_FILES ;;
   14823 esac
   14824 shift
   14825 for mf
   14826 do
   14827   # Strip MF so we end up with the name of the file.
   14828   mf=`echo "$mf" | sed -e 's/:.*$//'`
   14829   # Check whether this is an Automake generated Makefile or not.
   14830   # We used to match only the files named `Makefile.in', but
   14831   # some people rename them; so instead we look at the file content.
   14832   # Grep'ing the first line is not enough: some people post-process
   14833   # each Makefile.in and add a new line on top of each file to say so.
   14834   # Grep'ing the whole file is not good either: AIX grep has a line
   14835   # limit of 2048, but all sed's we know have understand at least 4000.
   14836   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14837     dirpart=`$as_dirname -- "$mf" ||
   14838 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14839 	 X"$mf" : 'X\(//\)[^/]' \| \
   14840 	 X"$mf" : 'X\(//\)$' \| \
   14841 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14842 $as_echo X"$mf" |
   14843     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14844 	    s//\1/
   14845 	    q
   14846 	  }
   14847 	  /^X\(\/\/\)[^/].*/{
   14848 	    s//\1/
   14849 	    q
   14850 	  }
   14851 	  /^X\(\/\/\)$/{
   14852 	    s//\1/
   14853 	    q
   14854 	  }
   14855 	  /^X\(\/\).*/{
   14856 	    s//\1/
   14857 	    q
   14858 	  }
   14859 	  s/.*/./; q'`
   14860   else
   14861     continue
   14862   fi
   14863   # Extract the definition of DEPDIR, am__include, and am__quote
   14864   # from the Makefile without running `make'.
   14865   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14866   test -z "$DEPDIR" && continue
   14867   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14868   test -z "am__include" && continue
   14869   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14870   # When using ansi2knr, U may be empty or an underscore; expand it
   14871   U=`sed -n 's/^U = //p' < "$mf"`
   14872   # Find all dependency output files, they are included files with
   14873   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14874   # simplest approach to changing $(DEPDIR) to its actual value in the
   14875   # expansion.
   14876   for file in `sed -n "
   14877     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14878        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14879     # Make sure the directory exists.
   14880     test -f "$dirpart/$file" && continue
   14881     fdir=`$as_dirname -- "$file" ||
   14882 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14883 	 X"$file" : 'X\(//\)[^/]' \| \
   14884 	 X"$file" : 'X\(//\)$' \| \
   14885 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14886 $as_echo X"$file" |
   14887     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14888 	    s//\1/
   14889 	    q
   14890 	  }
   14891 	  /^X\(\/\/\)[^/].*/{
   14892 	    s//\1/
   14893 	    q
   14894 	  }
   14895 	  /^X\(\/\/\)$/{
   14896 	    s//\1/
   14897 	    q
   14898 	  }
   14899 	  /^X\(\/\).*/{
   14900 	    s//\1/
   14901 	    q
   14902 	  }
   14903 	  s/.*/./; q'`
   14904     { as_dir=$dirpart/$fdir
   14905   case $as_dir in #(
   14906   -*) as_dir=./$as_dir;;
   14907   esac
   14908   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14909     as_dirs=
   14910     while :; do
   14911       case $as_dir in #(
   14912       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14913       *) as_qdir=$as_dir;;
   14914       esac
   14915       as_dirs="'$as_qdir' $as_dirs"
   14916       as_dir=`$as_dirname -- "$as_dir" ||
   14917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14918 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14919 	 X"$as_dir" : 'X\(//\)$' \| \
   14920 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14921 $as_echo X"$as_dir" |
   14922     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14923 	    s//\1/
   14924 	    q
   14925 	  }
   14926 	  /^X\(\/\/\)[^/].*/{
   14927 	    s//\1/
   14928 	    q
   14929 	  }
   14930 	  /^X\(\/\/\)$/{
   14931 	    s//\1/
   14932 	    q
   14933 	  }
   14934 	  /^X\(\/\).*/{
   14935 	    s//\1/
   14936 	    q
   14937 	  }
   14938 	  s/.*/./; q'`
   14939       test -d "$as_dir" && break
   14940     done
   14941     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14942   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14943 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14944    { (exit 1); exit 1; }; }; }
   14945     # echo "creating $dirpart/$file"
   14946     echo '# dummy' > "$dirpart/$file"
   14947   done
   14948 done
   14949  ;;
   14950     "libtool":C)
   14951 
   14952     # See if we are running on zsh, and set the options which allow our
   14953     # commands through without removal of \ escapes.
   14954     if test -n "${ZSH_VERSION+set}" ; then
   14955       setopt NO_GLOB_SUBST
   14956     fi
   14957 
   14958     cfgfile="${ofile}T"
   14959     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14960     $RM "$cfgfile"
   14961 
   14962     cat <<_LT_EOF >> "$cfgfile"
   14963 #! $SHELL
   14964 
   14965 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14966 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14968 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14969 #
   14970 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14971 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   14972 #   Written by Gordon Matzigkeit, 1996
   14973 #
   14974 #   This file is part of GNU Libtool.
   14975 #
   14976 # GNU Libtool is free software; you can redistribute it and/or
   14977 # modify it under the terms of the GNU General Public License as
   14978 # published by the Free Software Foundation; either version 2 of
   14979 # the License, or (at your option) any later version.
   14980 #
   14981 # As a special exception to the GNU General Public License,
   14982 # if you distribute this file as part of a program or library that
   14983 # is built using GNU Libtool, you may include this file under the
   14984 # same distribution terms that you use for the rest of that program.
   14985 #
   14986 # GNU Libtool is distributed in the hope that it will be useful,
   14987 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14988 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14989 # GNU General Public License for more details.
   14990 #
   14991 # You should have received a copy of the GNU General Public License
   14992 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14993 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14994 # obtained by writing to the Free Software Foundation, Inc.,
   14995 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14996 
   14997 
   14998 # The names of the tagged configurations supported by this script.
   14999 available_tags=""
   15000 
   15001 # ### BEGIN LIBTOOL CONFIG
   15002 
   15003 # Whether or not to build static libraries.
   15004 build_old_libs=$enable_static
   15005 
   15006 # Which release of libtool.m4 was used?
   15007 macro_version=$macro_version
   15008 macro_revision=$macro_revision
   15009 
   15010 # Whether or not to build shared libraries.
   15011 build_libtool_libs=$enable_shared
   15012 
   15013 # What type of objects to build.
   15014 pic_mode=$pic_mode
   15015 
   15016 # Whether or not to optimize for fast installation.
   15017 fast_install=$enable_fast_install
   15018 
   15019 # The host system.
   15020 host_alias=$host_alias
   15021 host=$host
   15022 host_os=$host_os
   15023 
   15024 # The build system.
   15025 build_alias=$build_alias
   15026 build=$build
   15027 build_os=$build_os
   15028 
   15029 # A sed program that does not truncate output.
   15030 SED=$lt_SED
   15031 
   15032 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15033 Xsed="\$SED -e 1s/^X//"
   15034 
   15035 # A grep program that handles long lines.
   15036 GREP=$lt_GREP
   15037 
   15038 # An ERE matcher.
   15039 EGREP=$lt_EGREP
   15040 
   15041 # A literal string matcher.
   15042 FGREP=$lt_FGREP
   15043 
   15044 # A BSD- or MS-compatible name lister.
   15045 NM=$lt_NM
   15046 
   15047 # Whether we need soft or hard links.
   15048 LN_S=$lt_LN_S
   15049 
   15050 # What is the maximum length of a command?
   15051 max_cmd_len=$max_cmd_len
   15052 
   15053 # Object file suffix (normally "o").
   15054 objext=$ac_objext
   15055 
   15056 # Executable file suffix (normally "").
   15057 exeext=$exeext
   15058 
   15059 # whether the shell understands "unset".
   15060 lt_unset=$lt_unset
   15061 
   15062 # turn spaces into newlines.
   15063 SP2NL=$lt_lt_SP2NL
   15064 
   15065 # turn newlines into spaces.
   15066 NL2SP=$lt_lt_NL2SP
   15067 
   15068 # How to create reloadable object files.
   15069 reload_flag=$lt_reload_flag
   15070 reload_cmds=$lt_reload_cmds
   15071 
   15072 # An object symbol dumper.
   15073 OBJDUMP=$lt_OBJDUMP
   15074 
   15075 # Method to check whether dependent libraries are shared objects.
   15076 deplibs_check_method=$lt_deplibs_check_method
   15077 
   15078 # Command to use when deplibs_check_method == "file_magic".
   15079 file_magic_cmd=$lt_file_magic_cmd
   15080 
   15081 # The archiver.
   15082 AR=$lt_AR
   15083 AR_FLAGS=$lt_AR_FLAGS
   15084 
   15085 # A symbol stripping program.
   15086 STRIP=$lt_STRIP
   15087 
   15088 # Commands used to install an old-style archive.
   15089 RANLIB=$lt_RANLIB
   15090 old_postinstall_cmds=$lt_old_postinstall_cmds
   15091 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15092 
   15093 # A C compiler.
   15094 LTCC=$lt_CC
   15095 
   15096 # LTCC compiler flags.
   15097 LTCFLAGS=$lt_CFLAGS
   15098 
   15099 # Take the output of nm and produce a listing of raw symbols and C names.
   15100 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15101 
   15102 # Transform the output of nm in a proper C declaration.
   15103 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15104 
   15105 # Transform the output of nm in a C name address pair.
   15106 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15107 
   15108 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15109 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15110 
   15111 # The name of the directory that contains temporary libtool files.
   15112 objdir=$objdir
   15113 
   15114 # Shell to use when invoking shell scripts.
   15115 SHELL=$lt_SHELL
   15116 
   15117 # An echo program that does not interpret backslashes.
   15118 ECHO=$lt_ECHO
   15119 
   15120 # Used to examine libraries when file_magic_cmd begins with "file".
   15121 MAGIC_CMD=$MAGIC_CMD
   15122 
   15123 # Must we lock files when doing compilation?
   15124 need_locks=$lt_need_locks
   15125 
   15126 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15127 DSYMUTIL=$lt_DSYMUTIL
   15128 
   15129 # Tool to change global to local symbols on Mac OS X.
   15130 NMEDIT=$lt_NMEDIT
   15131 
   15132 # Tool to manipulate fat objects and archives on Mac OS X.
   15133 LIPO=$lt_LIPO
   15134 
   15135 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15136 OTOOL=$lt_OTOOL
   15137 
   15138 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15139 OTOOL64=$lt_OTOOL64
   15140 
   15141 # Old archive suffix (normally "a").
   15142 libext=$libext
   15143 
   15144 # Shared library suffix (normally ".so").
   15145 shrext_cmds=$lt_shrext_cmds
   15146 
   15147 # The commands to extract the exported symbol list from a shared archive.
   15148 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15149 
   15150 # Variables whose values should be saved in libtool wrapper scripts and
   15151 # restored at link time.
   15152 variables_saved_for_relink=$lt_variables_saved_for_relink
   15153 
   15154 # Do we need the "lib" prefix for modules?
   15155 need_lib_prefix=$need_lib_prefix
   15156 
   15157 # Do we need a version for libraries?
   15158 need_version=$need_version
   15159 
   15160 # Library versioning type.
   15161 version_type=$version_type
   15162 
   15163 # Shared library runtime path variable.
   15164 runpath_var=$runpath_var
   15165 
   15166 # Shared library path variable.
   15167 shlibpath_var=$shlibpath_var
   15168 
   15169 # Is shlibpath searched before the hard-coded library search path?
   15170 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15171 
   15172 # Format of library name prefix.
   15173 libname_spec=$lt_libname_spec
   15174 
   15175 # List of archive names.  First name is the real one, the rest are links.
   15176 # The last name is the one that the linker finds with -lNAME
   15177 library_names_spec=$lt_library_names_spec
   15178 
   15179 # The coded name of the library, if different from the real name.
   15180 soname_spec=$lt_soname_spec
   15181 
   15182 # Command to use after installation of a shared archive.
   15183 postinstall_cmds=$lt_postinstall_cmds
   15184 
   15185 # Command to use after uninstallation of a shared archive.
   15186 postuninstall_cmds=$lt_postuninstall_cmds
   15187 
   15188 # Commands used to finish a libtool library installation in a directory.
   15189 finish_cmds=$lt_finish_cmds
   15190 
   15191 # As "finish_cmds", except a single script fragment to be evaled but
   15192 # not shown.
   15193 finish_eval=$lt_finish_eval
   15194 
   15195 # Whether we should hardcode library paths into libraries.
   15196 hardcode_into_libs=$hardcode_into_libs
   15197 
   15198 # Compile-time system search path for libraries.
   15199 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15200 
   15201 # Run-time system search path for libraries.
   15202 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15203 
   15204 # Whether dlopen is supported.
   15205 dlopen_support=$enable_dlopen
   15206 
   15207 # Whether dlopen of programs is supported.
   15208 dlopen_self=$enable_dlopen_self
   15209 
   15210 # Whether dlopen of statically linked programs is supported.
   15211 dlopen_self_static=$enable_dlopen_self_static
   15212 
   15213 # Commands to strip libraries.
   15214 old_striplib=$lt_old_striplib
   15215 striplib=$lt_striplib
   15216 
   15217 
   15218 # The linker used to build libraries.
   15219 LD=$lt_LD
   15220 
   15221 # Commands used to build an old-style archive.
   15222 old_archive_cmds=$lt_old_archive_cmds
   15223 
   15224 # A language specific compiler.
   15225 CC=$lt_compiler
   15226 
   15227 # Is the compiler the GNU compiler?
   15228 with_gcc=$GCC
   15229 
   15230 # Compiler flag to turn off builtin functions.
   15231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15232 
   15233 # How to pass a linker flag through the compiler.
   15234 wl=$lt_lt_prog_compiler_wl
   15235 
   15236 # Additional compiler flags for building library objects.
   15237 pic_flag=$lt_lt_prog_compiler_pic
   15238 
   15239 # Compiler flag to prevent dynamic linking.
   15240 link_static_flag=$lt_lt_prog_compiler_static
   15241 
   15242 # Does compiler simultaneously support -c and -o options?
   15243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15244 
   15245 # Whether or not to add -lc for building shared libraries.
   15246 build_libtool_need_lc=$archive_cmds_need_lc
   15247 
   15248 # Whether or not to disallow shared libs when runtime libs are static.
   15249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15250 
   15251 # Compiler flag to allow reflexive dlopens.
   15252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15253 
   15254 # Compiler flag to generate shared objects directly from archives.
   15255 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15256 
   15257 # Whether the compiler copes with passing no objects directly.
   15258 compiler_needs_object=$lt_compiler_needs_object
   15259 
   15260 # Create an old-style archive from a shared archive.
   15261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15262 
   15263 # Create a temporary old-style archive to link instead of a shared archive.
   15264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15265 
   15266 # Commands used to build a shared archive.
   15267 archive_cmds=$lt_archive_cmds
   15268 archive_expsym_cmds=$lt_archive_expsym_cmds
   15269 
   15270 # Commands used to build a loadable module if different from building
   15271 # a shared archive.
   15272 module_cmds=$lt_module_cmds
   15273 module_expsym_cmds=$lt_module_expsym_cmds
   15274 
   15275 # Whether we are building with GNU ld or not.
   15276 with_gnu_ld=$lt_with_gnu_ld
   15277 
   15278 # Flag that allows shared libraries with undefined symbols to be built.
   15279 allow_undefined_flag=$lt_allow_undefined_flag
   15280 
   15281 # Flag that enforces no undefined symbols.
   15282 no_undefined_flag=$lt_no_undefined_flag
   15283 
   15284 # Flag to hardcode \$libdir into a binary during linking.
   15285 # This must work even if \$libdir does not exist
   15286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15287 
   15288 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15289 # during linking.  This must work even if \$libdir does not exist.
   15290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15291 
   15292 # Whether we need a single "-rpath" flag with a separated argument.
   15293 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15294 
   15295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15296 # DIR into the resulting binary.
   15297 hardcode_direct=$hardcode_direct
   15298 
   15299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15300 # DIR into the resulting binary and the resulting library dependency is
   15301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15302 # library is relocated.
   15303 hardcode_direct_absolute=$hardcode_direct_absolute
   15304 
   15305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15306 # into the resulting binary.
   15307 hardcode_minus_L=$hardcode_minus_L
   15308 
   15309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15310 # into the resulting binary.
   15311 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15312 
   15313 # Set to "yes" if building a shared library automatically hardcodes DIR
   15314 # into the library and all subsequent libraries and executables linked
   15315 # against it.
   15316 hardcode_automatic=$hardcode_automatic
   15317 
   15318 # Set to yes if linker adds runtime paths of dependent libraries
   15319 # to runtime path list.
   15320 inherit_rpath=$inherit_rpath
   15321 
   15322 # Whether libtool must link a program against all its dependency libraries.
   15323 link_all_deplibs=$link_all_deplibs
   15324 
   15325 # Fix the shell variable \$srcfile for the compiler.
   15326 fix_srcfile_path=$lt_fix_srcfile_path
   15327 
   15328 # Set to "yes" if exported symbols are required.
   15329 always_export_symbols=$always_export_symbols
   15330 
   15331 # The commands to list exported symbols.
   15332 export_symbols_cmds=$lt_export_symbols_cmds
   15333 
   15334 # Symbols that should not be listed in the preloaded symbols.
   15335 exclude_expsyms=$lt_exclude_expsyms
   15336 
   15337 # Symbols that must always be exported.
   15338 include_expsyms=$lt_include_expsyms
   15339 
   15340 # Commands necessary for linking programs (against libraries) with templates.
   15341 prelink_cmds=$lt_prelink_cmds
   15342 
   15343 # Specify filename containing input files.
   15344 file_list_spec=$lt_file_list_spec
   15345 
   15346 # How to hardcode a shared library path into an executable.
   15347 hardcode_action=$hardcode_action
   15348 
   15349 # ### END LIBTOOL CONFIG
   15350 
   15351 _LT_EOF
   15352 
   15353   case $host_os in
   15354   aix3*)
   15355     cat <<\_LT_EOF >> "$cfgfile"
   15356 # AIX sometimes has problems with the GCC collect2 program.  For some
   15357 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15358 # vanish in a puff of smoke.
   15359 if test "X${COLLECT_NAMES+set}" != Xset; then
   15360   COLLECT_NAMES=
   15361   export COLLECT_NAMES
   15362 fi
   15363 _LT_EOF
   15364     ;;
   15365   esac
   15366 
   15367 
   15368 ltmain="$ac_aux_dir/ltmain.sh"
   15369 
   15370 
   15371   # We use sed instead of cat because bash on DJGPP gets confused if
   15372   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15373   # text mode, it properly converts lines to CR/LF.  This bash problem
   15374   # is reportedly fixed, but why not run on old versions too?
   15375   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15376     || (rm -f "$cfgfile"; exit 1)
   15377 
   15378   case $xsi_shell in
   15379   yes)
   15380     cat << \_LT_EOF >> "$cfgfile"
   15381 
   15382 # func_dirname file append nondir_replacement
   15383 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15384 # otherwise set result to NONDIR_REPLACEMENT.
   15385 func_dirname ()
   15386 {
   15387   case ${1} in
   15388     */*) func_dirname_result="${1%/*}${2}" ;;
   15389     *  ) func_dirname_result="${3}" ;;
   15390   esac
   15391 }
   15392 
   15393 # func_basename file
   15394 func_basename ()
   15395 {
   15396   func_basename_result="${1##*/}"
   15397 }
   15398 
   15399 # func_dirname_and_basename file append nondir_replacement
   15400 # perform func_basename and func_dirname in a single function
   15401 # call:
   15402 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15403 #             add APPEND to the result, otherwise set result
   15404 #             to NONDIR_REPLACEMENT.
   15405 #             value returned in "$func_dirname_result"
   15406 #   basename: Compute filename of FILE.
   15407 #             value retuned in "$func_basename_result"
   15408 # Implementation must be kept synchronized with func_dirname
   15409 # and func_basename. For efficiency, we do not delegate to
   15410 # those functions but instead duplicate the functionality here.
   15411 func_dirname_and_basename ()
   15412 {
   15413   case ${1} in
   15414     */*) func_dirname_result="${1%/*}${2}" ;;
   15415     *  ) func_dirname_result="${3}" ;;
   15416   esac
   15417   func_basename_result="${1##*/}"
   15418 }
   15419 
   15420 # func_stripname prefix suffix name
   15421 # strip PREFIX and SUFFIX off of NAME.
   15422 # PREFIX and SUFFIX must not contain globbing or regex special
   15423 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15424 # dot (in which case that matches only a dot).
   15425 func_stripname ()
   15426 {
   15427   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15428   # positional parameters, so assign one to ordinary parameter first.
   15429   func_stripname_result=${3}
   15430   func_stripname_result=${func_stripname_result#"${1}"}
   15431   func_stripname_result=${func_stripname_result%"${2}"}
   15432 }
   15433 
   15434 # func_opt_split
   15435 func_opt_split ()
   15436 {
   15437   func_opt_split_opt=${1%%=*}
   15438   func_opt_split_arg=${1#*=}
   15439 }
   15440 
   15441 # func_lo2o object
   15442 func_lo2o ()
   15443 {
   15444   case ${1} in
   15445     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15446     *)    func_lo2o_result=${1} ;;
   15447   esac
   15448 }
   15449 
   15450 # func_xform libobj-or-source
   15451 func_xform ()
   15452 {
   15453   func_xform_result=${1%.*}.lo
   15454 }
   15455 
   15456 # func_arith arithmetic-term...
   15457 func_arith ()
   15458 {
   15459   func_arith_result=$(( $* ))
   15460 }
   15461 
   15462 # func_len string
   15463 # STRING may not start with a hyphen.
   15464 func_len ()
   15465 {
   15466   func_len_result=${#1}
   15467 }
   15468 
   15469 _LT_EOF
   15470     ;;
   15471   *) # Bourne compatible functions.
   15472     cat << \_LT_EOF >> "$cfgfile"
   15473 
   15474 # func_dirname file append nondir_replacement
   15475 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15476 # otherwise set result to NONDIR_REPLACEMENT.
   15477 func_dirname ()
   15478 {
   15479   # Extract subdirectory from the argument.
   15480   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15481   if test "X$func_dirname_result" = "X${1}"; then
   15482     func_dirname_result="${3}"
   15483   else
   15484     func_dirname_result="$func_dirname_result${2}"
   15485   fi
   15486 }
   15487 
   15488 # func_basename file
   15489 func_basename ()
   15490 {
   15491   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15492 }
   15493 
   15494 
   15495 # func_stripname prefix suffix name
   15496 # strip PREFIX and SUFFIX off of NAME.
   15497 # PREFIX and SUFFIX must not contain globbing or regex special
   15498 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15499 # dot (in which case that matches only a dot).
   15500 # func_strip_suffix prefix name
   15501 func_stripname ()
   15502 {
   15503   case ${2} in
   15504     .*) func_stripname_result=`$ECHO "X${3}" \
   15505            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15506     *)  func_stripname_result=`$ECHO "X${3}" \
   15507            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15508   esac
   15509 }
   15510 
   15511 # sed scripts:
   15512 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15513 my_sed_long_arg='1s/^-[^=]*=//'
   15514 
   15515 # func_opt_split
   15516 func_opt_split ()
   15517 {
   15518   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15519   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15520 }
   15521 
   15522 # func_lo2o object
   15523 func_lo2o ()
   15524 {
   15525   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15526 }
   15527 
   15528 # func_xform libobj-or-source
   15529 func_xform ()
   15530 {
   15531   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15532 }
   15533 
   15534 # func_arith arithmetic-term...
   15535 func_arith ()
   15536 {
   15537   func_arith_result=`expr "$@"`
   15538 }
   15539 
   15540 # func_len string
   15541 # STRING may not start with a hyphen.
   15542 func_len ()
   15543 {
   15544   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15545 }
   15546 
   15547 _LT_EOF
   15548 esac
   15549 
   15550 case $lt_shell_append in
   15551   yes)
   15552     cat << \_LT_EOF >> "$cfgfile"
   15553 
   15554 # func_append var value
   15555 # Append VALUE to the end of shell variable VAR.
   15556 func_append ()
   15557 {
   15558   eval "$1+=\$2"
   15559 }
   15560 _LT_EOF
   15561     ;;
   15562   *)
   15563     cat << \_LT_EOF >> "$cfgfile"
   15564 
   15565 # func_append var value
   15566 # Append VALUE to the end of shell variable VAR.
   15567 func_append ()
   15568 {
   15569   eval "$1=\$$1\$2"
   15570 }
   15571 
   15572 _LT_EOF
   15573     ;;
   15574   esac
   15575 
   15576 
   15577   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15578     || (rm -f "$cfgfile"; exit 1)
   15579 
   15580   mv -f "$cfgfile" "$ofile" ||
   15581     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15582   chmod +x "$ofile"
   15583 
   15584  ;;
   15585 
   15586   esac
   15587 done # for ac_tag
   15588 
   15589 
   15590 { (exit 0); exit 0; }
   15591 _ACEOF
   15592 chmod +x $CONFIG_STATUS
   15593 ac_clean_files=$ac_clean_files_save
   15594 
   15595 test $ac_write_fail = 0 ||
   15596   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15597 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15598    { (exit 1); exit 1; }; }
   15599 
   15600 
   15601 # configure is writing to config.log, and then calls config.status.
   15602 # config.status does its own redirection, appending to config.log.
   15603 # Unfortunately, on DOS this fails, as config.log is still kept open
   15604 # by configure, so config.status won't be able to write to it; its
   15605 # output is simply discarded.  So we exec the FD to /dev/null,
   15606 # effectively closing config.log, so it can be properly (re)opened and
   15607 # appended to by config.status.  When coming back to configure, we
   15608 # need to make the FD available again.
   15609 if test "$no_create" != yes; then
   15610   ac_cs_success=:
   15611   ac_config_status_args=
   15612   test "$silent" = yes &&
   15613     ac_config_status_args="$ac_config_status_args --quiet"
   15614   exec 5>/dev/null
   15615   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15616   exec 5>>config.log
   15617   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15618   # would make configure fail if this is the last instruction.
   15619   $ac_cs_success || { (exit 1); exit 1; }
   15620 fi
   15621 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15622   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15623 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15624 fi
   15625 
   15626