Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXrandr 1.3.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='libXrandr'
    747 PACKAGE_TARNAME='libXrandr'
    748 PACKAGE_VERSION='1.3.0'
    749 PACKAGE_STRING='libXrandr 1.3.0'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 # Factoring default headers for most tests.
    753 ac_includes_default="\
    754 #include <stdio.h>
    755 #ifdef HAVE_SYS_TYPES_H
    756 # include <sys/types.h>
    757 #endif
    758 #ifdef HAVE_SYS_STAT_H
    759 # include <sys/stat.h>
    760 #endif
    761 #ifdef STDC_HEADERS
    762 # include <stdlib.h>
    763 # include <stddef.h>
    764 #else
    765 # ifdef HAVE_STDLIB_H
    766 #  include <stdlib.h>
    767 # endif
    768 #endif
    769 #ifdef HAVE_STRING_H
    770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    771 #  include <memory.h>
    772 # endif
    773 # include <string.h>
    774 #endif
    775 #ifdef HAVE_STRINGS_H
    776 # include <strings.h>
    777 #endif
    778 #ifdef HAVE_INTTYPES_H
    779 # include <inttypes.h>
    780 #endif
    781 #ifdef HAVE_STDINT_H
    782 # include <stdint.h>
    783 #endif
    784 #ifdef HAVE_UNISTD_H
    785 # include <unistd.h>
    786 #endif"
    787 
    788 ac_subst_vars='LTLIBOBJS
    789 LIBOBJS
    790 distcleancheck_listfiles
    791 CHANGELOG_CMD
    792 ADMIN_MAN_DIR
    793 DRIVER_MAN_DIR
    794 MISC_MAN_DIR
    795 FILE_MAN_DIR
    796 LIB_MAN_DIR
    797 APP_MAN_DIR
    798 ADMIN_MAN_SUFFIX
    799 DRIVER_MAN_SUFFIX
    800 MISC_MAN_SUFFIX
    801 FILE_MAN_SUFFIX
    802 LIB_MAN_SUFFIX
    803 APP_MAN_SUFFIX
    804 XTMALLOC_ZERO_CFLAGS
    805 XMALLOC_ZERO_CFLAGS
    806 MALLOC_ZERO_CFLAGS
    807 RANDR_LIBS
    808 RANDR_CFLAGS
    809 PKG_CONFIG
    810 RANDR_VERSION
    811 CWARNFLAGS
    812 CPP
    813 OTOOL64
    814 OTOOL
    815 LIPO
    816 NMEDIT
    817 DSYMUTIL
    818 lt_ECHO
    819 RANLIB
    820 AR
    821 OBJDUMP
    822 LN_S
    823 NM
    824 ac_ct_DUMPBIN
    825 DUMPBIN
    826 LD
    827 FGREP
    828 EGREP
    829 GREP
    830 SED
    831 host_os
    832 host_vendor
    833 host_cpu
    834 host
    835 build_os
    836 build_vendor
    837 build_cpu
    838 build
    839 LIBTOOL
    840 am__fastdepCC_FALSE
    841 am__fastdepCC_TRUE
    842 CCDEPMODE
    843 AMDEPBACKSLASH
    844 AMDEP_FALSE
    845 AMDEP_TRUE
    846 am__quote
    847 am__include
    848 DEPDIR
    849 OBJEXT
    850 EXEEXT
    851 ac_ct_CC
    852 CPPFLAGS
    853 LDFLAGS
    854 CFLAGS
    855 CC
    856 MAINT
    857 MAINTAINER_MODE_FALSE
    858 MAINTAINER_MODE_TRUE
    859 am__untar
    860 am__tar
    861 AMTAR
    862 am__leading_dot
    863 SET_MAKE
    864 AWK
    865 mkdir_p
    866 MKDIR_P
    867 INSTALL_STRIP_PROGRAM
    868 STRIP
    869 install_sh
    870 MAKEINFO
    871 AUTOHEADER
    872 AUTOMAKE
    873 AUTOCONF
    874 ACLOCAL
    875 VERSION
    876 PACKAGE
    877 CYGPATH_W
    878 am__isrc
    879 INSTALL_DATA
    880 INSTALL_SCRIPT
    881 INSTALL_PROGRAM
    882 target_alias
    883 host_alias
    884 build_alias
    885 LIBS
    886 ECHO_T
    887 ECHO_N
    888 ECHO_C
    889 DEFS
    890 mandir
    891 localedir
    892 libdir
    893 psdir
    894 pdfdir
    895 dvidir
    896 htmldir
    897 infodir
    898 docdir
    899 oldincludedir
    900 includedir
    901 localstatedir
    902 sharedstatedir
    903 sysconfdir
    904 datadir
    905 datarootdir
    906 libexecdir
    907 sbindir
    908 bindir
    909 program_transform_name
    910 prefix
    911 exec_prefix
    912 PACKAGE_BUGREPORT
    913 PACKAGE_STRING
    914 PACKAGE_VERSION
    915 PACKAGE_TARNAME
    916 PACKAGE_NAME
    917 PATH_SEPARATOR
    918 SHELL'
    919 ac_subst_files=''
    920 ac_user_opts='
    921 enable_option_checking
    922 enable_maintainer_mode
    923 enable_dependency_tracking
    924 enable_shared
    925 enable_static
    926 with_pic
    927 enable_fast_install
    928 with_gnu_ld
    929 enable_libtool_lock
    930 enable_malloc0returnsnull
    931 with_release_version
    932 '
    933       ac_precious_vars='build_alias
    934 host_alias
    935 target_alias
    936 CC
    937 CFLAGS
    938 LDFLAGS
    939 LIBS
    940 CPPFLAGS
    941 CPP
    942 PKG_CONFIG
    943 RANDR_CFLAGS
    944 RANDR_LIBS'
    945 
    946 
    947 # Initialize some variables set by options.
    948 ac_init_help=
    949 ac_init_version=false
    950 ac_unrecognized_opts=
    951 ac_unrecognized_sep=
    952 # The variables have the same names as the options, with
    953 # dashes changed to underlines.
    954 cache_file=/dev/null
    955 exec_prefix=NONE
    956 no_create=
    957 no_recursion=
    958 prefix=NONE
    959 program_prefix=NONE
    960 program_suffix=NONE
    961 program_transform_name=s,x,x,
    962 silent=
    963 site=
    964 srcdir=
    965 verbose=
    966 x_includes=NONE
    967 x_libraries=NONE
    968 
    969 # Installation directory options.
    970 # These are left unexpanded so users can "make install exec_prefix=/foo"
    971 # and all the variables that are supposed to be based on exec_prefix
    972 # by default will actually change.
    973 # Use braces instead of parens because sh, perl, etc. also accept them.
    974 # (The list follows the same order as the GNU Coding Standards.)
    975 bindir='${exec_prefix}/bin'
    976 sbindir='${exec_prefix}/sbin'
    977 libexecdir='${exec_prefix}/libexec'
    978 datarootdir='${prefix}/share'
    979 datadir='${datarootdir}'
    980 sysconfdir='${prefix}/etc'
    981 sharedstatedir='${prefix}/com'
    982 localstatedir='${prefix}/var'
    983 includedir='${prefix}/include'
    984 oldincludedir='/usr/include'
    985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    986 infodir='${datarootdir}/info'
    987 htmldir='${docdir}'
    988 dvidir='${docdir}'
    989 pdfdir='${docdir}'
    990 psdir='${docdir}'
    991 libdir='${exec_prefix}/lib'
    992 localedir='${datarootdir}/locale'
    993 mandir='${datarootdir}/man'
    994 
    995 ac_prev=
    996 ac_dashdash=
    997 for ac_option
    998 do
    999   # If the previous option needs an argument, assign it.
   1000   if test -n "$ac_prev"; then
   1001     eval $ac_prev=\$ac_option
   1002     ac_prev=
   1003     continue
   1004   fi
   1005 
   1006   case $ac_option in
   1007   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1008   *)	ac_optarg=yes ;;
   1009   esac
   1010 
   1011   # Accept the important Cygnus configure options, so we can diagnose typos.
   1012 
   1013   case $ac_dashdash$ac_option in
   1014   --)
   1015     ac_dashdash=yes ;;
   1016 
   1017   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1018     ac_prev=bindir ;;
   1019   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1020     bindir=$ac_optarg ;;
   1021 
   1022   -build | --build | --buil | --bui | --bu)
   1023     ac_prev=build_alias ;;
   1024   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1025     build_alias=$ac_optarg ;;
   1026 
   1027   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1028   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1029     ac_prev=cache_file ;;
   1030   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1031   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1032     cache_file=$ac_optarg ;;
   1033 
   1034   --config-cache | -C)
   1035     cache_file=config.cache ;;
   1036 
   1037   -datadir | --datadir | --datadi | --datad)
   1038     ac_prev=datadir ;;
   1039   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1040     datadir=$ac_optarg ;;
   1041 
   1042   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1043   | --dataroo | --dataro | --datar)
   1044     ac_prev=datarootdir ;;
   1045   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1046   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1047     datarootdir=$ac_optarg ;;
   1048 
   1049   -disable-* | --disable-*)
   1050     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1051     # Reject names that are not valid shell variable names.
   1052     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1053       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1054    { (exit 1); exit 1; }; }
   1055     ac_useropt_orig=$ac_useropt
   1056     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1057     case $ac_user_opts in
   1058       *"
   1059 "enable_$ac_useropt"
   1060 "*) ;;
   1061       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1062 	 ac_unrecognized_sep=', ';;
   1063     esac
   1064     eval enable_$ac_useropt=no ;;
   1065 
   1066   -docdir | --docdir | --docdi | --doc | --do)
   1067     ac_prev=docdir ;;
   1068   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1069     docdir=$ac_optarg ;;
   1070 
   1071   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1072     ac_prev=dvidir ;;
   1073   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1074     dvidir=$ac_optarg ;;
   1075 
   1076   -enable-* | --enable-*)
   1077     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1078     # Reject names that are not valid shell variable names.
   1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1080       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1081    { (exit 1); exit 1; }; }
   1082     ac_useropt_orig=$ac_useropt
   1083     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1084     case $ac_user_opts in
   1085       *"
   1086 "enable_$ac_useropt"
   1087 "*) ;;
   1088       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1089 	 ac_unrecognized_sep=', ';;
   1090     esac
   1091     eval enable_$ac_useropt=\$ac_optarg ;;
   1092 
   1093   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1094   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1095   | --exec | --exe | --ex)
   1096     ac_prev=exec_prefix ;;
   1097   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1098   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1099   | --exec=* | --exe=* | --ex=*)
   1100     exec_prefix=$ac_optarg ;;
   1101 
   1102   -gas | --gas | --ga | --g)
   1103     # Obsolete; use --with-gas.
   1104     with_gas=yes ;;
   1105 
   1106   -help | --help | --hel | --he | -h)
   1107     ac_init_help=long ;;
   1108   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1109     ac_init_help=recursive ;;
   1110   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1111     ac_init_help=short ;;
   1112 
   1113   -host | --host | --hos | --ho)
   1114     ac_prev=host_alias ;;
   1115   -host=* | --host=* | --hos=* | --ho=*)
   1116     host_alias=$ac_optarg ;;
   1117 
   1118   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1119     ac_prev=htmldir ;;
   1120   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1121   | --ht=*)
   1122     htmldir=$ac_optarg ;;
   1123 
   1124   -includedir | --includedir | --includedi | --included | --include \
   1125   | --includ | --inclu | --incl | --inc)
   1126     ac_prev=includedir ;;
   1127   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1128   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1129     includedir=$ac_optarg ;;
   1130 
   1131   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1132     ac_prev=infodir ;;
   1133   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1134     infodir=$ac_optarg ;;
   1135 
   1136   -libdir | --libdir | --libdi | --libd)
   1137     ac_prev=libdir ;;
   1138   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1139     libdir=$ac_optarg ;;
   1140 
   1141   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1142   | --libexe | --libex | --libe)
   1143     ac_prev=libexecdir ;;
   1144   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1145   | --libexe=* | --libex=* | --libe=*)
   1146     libexecdir=$ac_optarg ;;
   1147 
   1148   -localedir | --localedir | --localedi | --localed | --locale)
   1149     ac_prev=localedir ;;
   1150   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1151     localedir=$ac_optarg ;;
   1152 
   1153   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1154   | --localstate | --localstat | --localsta | --localst | --locals)
   1155     ac_prev=localstatedir ;;
   1156   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1157   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1158     localstatedir=$ac_optarg ;;
   1159 
   1160   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1161     ac_prev=mandir ;;
   1162   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1163     mandir=$ac_optarg ;;
   1164 
   1165   -nfp | --nfp | --nf)
   1166     # Obsolete; use --without-fp.
   1167     with_fp=no ;;
   1168 
   1169   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1170   | --no-cr | --no-c | -n)
   1171     no_create=yes ;;
   1172 
   1173   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1174   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1175     no_recursion=yes ;;
   1176 
   1177   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1178   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1179   | --oldin | --oldi | --old | --ol | --o)
   1180     ac_prev=oldincludedir ;;
   1181   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1182   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1183   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1184     oldincludedir=$ac_optarg ;;
   1185 
   1186   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1187     ac_prev=prefix ;;
   1188   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1189     prefix=$ac_optarg ;;
   1190 
   1191   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1192   | --program-pre | --program-pr | --program-p)
   1193     ac_prev=program_prefix ;;
   1194   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1195   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1196     program_prefix=$ac_optarg ;;
   1197 
   1198   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1199   | --program-suf | --program-su | --program-s)
   1200     ac_prev=program_suffix ;;
   1201   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1202   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1203     program_suffix=$ac_optarg ;;
   1204 
   1205   -program-transform-name | --program-transform-name \
   1206   | --program-transform-nam | --program-transform-na \
   1207   | --program-transform-n | --program-transform- \
   1208   | --program-transform | --program-transfor \
   1209   | --program-transfo | --program-transf \
   1210   | --program-trans | --program-tran \
   1211   | --progr-tra | --program-tr | --program-t)
   1212     ac_prev=program_transform_name ;;
   1213   -program-transform-name=* | --program-transform-name=* \
   1214   | --program-transform-nam=* | --program-transform-na=* \
   1215   | --program-transform-n=* | --program-transform-=* \
   1216   | --program-transform=* | --program-transfor=* \
   1217   | --program-transfo=* | --program-transf=* \
   1218   | --program-trans=* | --program-tran=* \
   1219   | --progr-tra=* | --program-tr=* | --program-t=*)
   1220     program_transform_name=$ac_optarg ;;
   1221 
   1222   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1223     ac_prev=pdfdir ;;
   1224   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1225     pdfdir=$ac_optarg ;;
   1226 
   1227   -psdir | --psdir | --psdi | --psd | --ps)
   1228     ac_prev=psdir ;;
   1229   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1230     psdir=$ac_optarg ;;
   1231 
   1232   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1233   | -silent | --silent | --silen | --sile | --sil)
   1234     silent=yes ;;
   1235 
   1236   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1237     ac_prev=sbindir ;;
   1238   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1239   | --sbi=* | --sb=*)
   1240     sbindir=$ac_optarg ;;
   1241 
   1242   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1243   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1244   | --sharedst | --shareds | --shared | --share | --shar \
   1245   | --sha | --sh)
   1246     ac_prev=sharedstatedir ;;
   1247   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1248   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1249   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1250   | --sha=* | --sh=*)
   1251     sharedstatedir=$ac_optarg ;;
   1252 
   1253   -site | --site | --sit)
   1254     ac_prev=site ;;
   1255   -site=* | --site=* | --sit=*)
   1256     site=$ac_optarg ;;
   1257 
   1258   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1259     ac_prev=srcdir ;;
   1260   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1261     srcdir=$ac_optarg ;;
   1262 
   1263   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1264   | --syscon | --sysco | --sysc | --sys | --sy)
   1265     ac_prev=sysconfdir ;;
   1266   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1267   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1268     sysconfdir=$ac_optarg ;;
   1269 
   1270   -target | --target | --targe | --targ | --tar | --ta | --t)
   1271     ac_prev=target_alias ;;
   1272   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1273     target_alias=$ac_optarg ;;
   1274 
   1275   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1276     verbose=yes ;;
   1277 
   1278   -version | --version | --versio | --versi | --vers | -V)
   1279     ac_init_version=: ;;
   1280 
   1281   -with-* | --with-*)
   1282     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1283     # Reject names that are not valid shell variable names.
   1284     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1285       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1286    { (exit 1); exit 1; }; }
   1287     ac_useropt_orig=$ac_useropt
   1288     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1289     case $ac_user_opts in
   1290       *"
   1291 "with_$ac_useropt"
   1292 "*) ;;
   1293       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1294 	 ac_unrecognized_sep=', ';;
   1295     esac
   1296     eval with_$ac_useropt=\$ac_optarg ;;
   1297 
   1298   -without-* | --without-*)
   1299     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1300     # Reject names that are not valid shell variable names.
   1301     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1302       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1303    { (exit 1); exit 1; }; }
   1304     ac_useropt_orig=$ac_useropt
   1305     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1306     case $ac_user_opts in
   1307       *"
   1308 "with_$ac_useropt"
   1309 "*) ;;
   1310       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1311 	 ac_unrecognized_sep=', ';;
   1312     esac
   1313     eval with_$ac_useropt=no ;;
   1314 
   1315   --x)
   1316     # Obsolete; use --with-x.
   1317     with_x=yes ;;
   1318 
   1319   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1320   | --x-incl | --x-inc | --x-in | --x-i)
   1321     ac_prev=x_includes ;;
   1322   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1323   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1324     x_includes=$ac_optarg ;;
   1325 
   1326   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1327   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1328     ac_prev=x_libraries ;;
   1329   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1330   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1331     x_libraries=$ac_optarg ;;
   1332 
   1333   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1334 Try \`$0 --help' for more information." >&2
   1335    { (exit 1); exit 1; }; }
   1336     ;;
   1337 
   1338   *=*)
   1339     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1340     # Reject names that are not valid shell variable names.
   1341     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1342       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1343    { (exit 1); exit 1; }; }
   1344     eval $ac_envvar=\$ac_optarg
   1345     export $ac_envvar ;;
   1346 
   1347   *)
   1348     # FIXME: should be removed in autoconf 3.0.
   1349     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1350     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1351       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1352     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1353     ;;
   1354 
   1355   esac
   1356 done
   1357 
   1358 if test -n "$ac_prev"; then
   1359   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1360   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1361    { (exit 1); exit 1; }; }
   1362 fi
   1363 
   1364 if test -n "$ac_unrecognized_opts"; then
   1365   case $enable_option_checking in
   1366     no) ;;
   1367     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1368    { (exit 1); exit 1; }; } ;;
   1369     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1370   esac
   1371 fi
   1372 
   1373 # Check all directory arguments for consistency.
   1374 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1375 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1376 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1377 		libdir localedir mandir
   1378 do
   1379   eval ac_val=\$$ac_var
   1380   # Remove trailing slashes.
   1381   case $ac_val in
   1382     */ )
   1383       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1384       eval $ac_var=\$ac_val;;
   1385   esac
   1386   # Be sure to have absolute directory names.
   1387   case $ac_val in
   1388     [\\/$]* | ?:[\\/]* )  continue;;
   1389     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1390   esac
   1391   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1392    { (exit 1); exit 1; }; }
   1393 done
   1394 
   1395 # There might be people who depend on the old broken behavior: `$host'
   1396 # used to hold the argument of --host etc.
   1397 # FIXME: To remove some day.
   1398 build=$build_alias
   1399 host=$host_alias
   1400 target=$target_alias
   1401 
   1402 # FIXME: To remove some day.
   1403 if test "x$host_alias" != x; then
   1404   if test "x$build_alias" = x; then
   1405     cross_compiling=maybe
   1406     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1407     If a cross compiler is detected then cross compile mode will be used." >&2
   1408   elif test "x$build_alias" != "x$host_alias"; then
   1409     cross_compiling=yes
   1410   fi
   1411 fi
   1412 
   1413 ac_tool_prefix=
   1414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1415 
   1416 test "$silent" = yes && exec 6>/dev/null
   1417 
   1418 
   1419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1420 ac_ls_di=`ls -di .` &&
   1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1422   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1423    { (exit 1); exit 1; }; }
   1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1425   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1426    { (exit 1); exit 1; }; }
   1427 
   1428 
   1429 # Find the source files, if location was not specified.
   1430 if test -z "$srcdir"; then
   1431   ac_srcdir_defaulted=yes
   1432   # Try the directory containing this script, then the parent directory.
   1433   ac_confdir=`$as_dirname -- "$as_myself" ||
   1434 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1435 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1436 	 X"$as_myself" : 'X\(//\)$' \| \
   1437 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1438 $as_echo X"$as_myself" |
   1439     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1440 	    s//\1/
   1441 	    q
   1442 	  }
   1443 	  /^X\(\/\/\)[^/].*/{
   1444 	    s//\1/
   1445 	    q
   1446 	  }
   1447 	  /^X\(\/\/\)$/{
   1448 	    s//\1/
   1449 	    q
   1450 	  }
   1451 	  /^X\(\/\).*/{
   1452 	    s//\1/
   1453 	    q
   1454 	  }
   1455 	  s/.*/./; q'`
   1456   srcdir=$ac_confdir
   1457   if test ! -r "$srcdir/$ac_unique_file"; then
   1458     srcdir=..
   1459   fi
   1460 else
   1461   ac_srcdir_defaulted=no
   1462 fi
   1463 if test ! -r "$srcdir/$ac_unique_file"; then
   1464   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1465   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1466    { (exit 1); exit 1; }; }
   1467 fi
   1468 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1469 ac_abs_confdir=`(
   1470 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1471    { (exit 1); exit 1; }; }
   1472 	pwd)`
   1473 # When building in place, set srcdir=.
   1474 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1475   srcdir=.
   1476 fi
   1477 # Remove unnecessary trailing slashes from srcdir.
   1478 # Double slashes in file names in object file debugging info
   1479 # mess up M-x gdb in Emacs.
   1480 case $srcdir in
   1481 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1482 esac
   1483 for ac_var in $ac_precious_vars; do
   1484   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1485   eval ac_env_${ac_var}_value=\$${ac_var}
   1486   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1487   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1488 done
   1489 
   1490 #
   1491 # Report the --help message.
   1492 #
   1493 if test "$ac_init_help" = "long"; then
   1494   # Omit some internal or obsolete options to make the list less imposing.
   1495   # This message is too long to be a string in the A/UX 3.1 sh.
   1496   cat <<_ACEOF
   1497 \`configure' configures libXrandr 1.3.0 to adapt to many kinds of systems.
   1498 
   1499 Usage: $0 [OPTION]... [VAR=VALUE]...
   1500 
   1501 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1502 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1503 
   1504 Defaults for the options are specified in brackets.
   1505 
   1506 Configuration:
   1507   -h, --help              display this help and exit
   1508       --help=short        display options specific to this package
   1509       --help=recursive    display the short help of all the included packages
   1510   -V, --version           display version information and exit
   1511   -q, --quiet, --silent   do not print \`checking...' messages
   1512       --cache-file=FILE   cache test results in FILE [disabled]
   1513   -C, --config-cache      alias for \`--cache-file=config.cache'
   1514   -n, --no-create         do not create output files
   1515       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1516 
   1517 Installation directories:
   1518   --prefix=PREFIX         install architecture-independent files in PREFIX
   1519                           [$ac_default_prefix]
   1520   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1521                           [PREFIX]
   1522 
   1523 By default, \`make install' will install all the files in
   1524 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1525 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1526 for instance \`--prefix=\$HOME'.
   1527 
   1528 For better control, use the options below.
   1529 
   1530 Fine tuning of the installation directories:
   1531   --bindir=DIR            user executables [EPREFIX/bin]
   1532   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1533   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1534   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1535   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1536   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1537   --libdir=DIR            object code libraries [EPREFIX/lib]
   1538   --includedir=DIR        C header files [PREFIX/include]
   1539   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1540   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1541   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1542   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1543   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1544   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1545   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrandr]
   1546   --htmldir=DIR           html documentation [DOCDIR]
   1547   --dvidir=DIR            dvi documentation [DOCDIR]
   1548   --pdfdir=DIR            pdf documentation [DOCDIR]
   1549   --psdir=DIR             ps documentation [DOCDIR]
   1550 _ACEOF
   1551 
   1552   cat <<\_ACEOF
   1553 
   1554 Program names:
   1555   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1556   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1557   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1558 
   1559 System types:
   1560   --build=BUILD     configure for building on BUILD [guessed]
   1561   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1562 _ACEOF
   1563 fi
   1564 
   1565 if test -n "$ac_init_help"; then
   1566   case $ac_init_help in
   1567      short | recursive ) echo "Configuration of libXrandr 1.3.0:";;
   1568    esac
   1569   cat <<\_ACEOF
   1570 
   1571 Optional Features:
   1572   --disable-option-checking  ignore unrecognized --enable/--with options
   1573   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1574   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1575   --enable-maintainer-mode  enable make rules and dependencies not useful
   1576 			  (and sometimes confusing) to the casual installer
   1577   --disable-dependency-tracking  speeds up one-time build
   1578   --enable-dependency-tracking   do not reject slow dependency extractors
   1579   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1580   --enable-static[=PKGS]  build static libraries [default=yes]
   1581   --enable-fast-install[=PKGS]
   1582                           optimize for fast installation [default=yes]
   1583   --disable-libtool-lock  avoid locking (might break parallel builds)
   1584   --enable-malloc0returnsnull
   1585                           malloc(0) returns NULL (default: auto)
   1586 
   1587 Optional Packages:
   1588   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1589   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1590   --with-pic              try to use only PIC/non-PIC objects [default=use
   1591                           both]
   1592   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1593   --with-release-version=STRING
   1594                           Use release version string in package name
   1595 
   1596 Some influential environment variables:
   1597   CC          C compiler command
   1598   CFLAGS      C compiler flags
   1599   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1600               nonstandard directory <lib dir>
   1601   LIBS        libraries to pass to the linker, e.g. -l<library>
   1602   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1603               you have headers in a nonstandard directory <include dir>
   1604   CPP         C preprocessor
   1605   PKG_CONFIG  path to pkg-config utility
   1606   RANDR_CFLAGS
   1607               C compiler flags for RANDR, overriding pkg-config
   1608   RANDR_LIBS  linker flags for RANDR, overriding pkg-config
   1609 
   1610 Use these variables to override the choices made by `configure' or to help
   1611 it to find libraries and programs with nonstandard names/locations.
   1612 
   1613 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1614 _ACEOF
   1615 ac_status=$?
   1616 fi
   1617 
   1618 if test "$ac_init_help" = "recursive"; then
   1619   # If there are subdirs, report their specific --help.
   1620   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1621     test -d "$ac_dir" ||
   1622       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1623       continue
   1624     ac_builddir=.
   1625 
   1626 case "$ac_dir" in
   1627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1628 *)
   1629   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1630   # A ".." for each directory in $ac_dir_suffix.
   1631   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1632   case $ac_top_builddir_sub in
   1633   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1634   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1635   esac ;;
   1636 esac
   1637 ac_abs_top_builddir=$ac_pwd
   1638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1639 # for backward compatibility:
   1640 ac_top_builddir=$ac_top_build_prefix
   1641 
   1642 case $srcdir in
   1643   .)  # We are building in place.
   1644     ac_srcdir=.
   1645     ac_top_srcdir=$ac_top_builddir_sub
   1646     ac_abs_top_srcdir=$ac_pwd ;;
   1647   [\\/]* | ?:[\\/]* )  # Absolute name.
   1648     ac_srcdir=$srcdir$ac_dir_suffix;
   1649     ac_top_srcdir=$srcdir
   1650     ac_abs_top_srcdir=$srcdir ;;
   1651   *) # Relative name.
   1652     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1653     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1654     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1655 esac
   1656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1657 
   1658     cd "$ac_dir" || { ac_status=$?; continue; }
   1659     # Check for guested configure.
   1660     if test -f "$ac_srcdir/configure.gnu"; then
   1661       echo &&
   1662       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1663     elif test -f "$ac_srcdir/configure"; then
   1664       echo &&
   1665       $SHELL "$ac_srcdir/configure" --help=recursive
   1666     else
   1667       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1668     fi || ac_status=$?
   1669     cd "$ac_pwd" || { ac_status=$?; break; }
   1670   done
   1671 fi
   1672 
   1673 test -n "$ac_init_help" && exit $ac_status
   1674 if $ac_init_version; then
   1675   cat <<\_ACEOF
   1676 libXrandr configure 1.3.0
   1677 generated by GNU Autoconf 2.63
   1678 
   1679 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1680 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1681 This configure script is free software; the Free Software Foundation
   1682 gives unlimited permission to copy, distribute and modify it.
   1683 _ACEOF
   1684   exit
   1685 fi
   1686 cat >config.log <<_ACEOF
   1687 This file contains any messages produced by compilers while
   1688 running configure, to aid debugging if configure makes a mistake.
   1689 
   1690 It was created by libXrandr $as_me 1.3.0, which was
   1691 generated by GNU Autoconf 2.63.  Invocation command line was
   1692 
   1693   $ $0 $@
   1694 
   1695 _ACEOF
   1696 exec 5>>config.log
   1697 {
   1698 cat <<_ASUNAME
   1699 ## --------- ##
   1700 ## Platform. ##
   1701 ## --------- ##
   1702 
   1703 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1704 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1705 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1706 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1707 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1708 
   1709 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1710 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1711 
   1712 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1713 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1714 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1715 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1716 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1717 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1718 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1719 
   1720 _ASUNAME
   1721 
   1722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1723 for as_dir in $PATH
   1724 do
   1725   IFS=$as_save_IFS
   1726   test -z "$as_dir" && as_dir=.
   1727   $as_echo "PATH: $as_dir"
   1728 done
   1729 IFS=$as_save_IFS
   1730 
   1731 } >&5
   1732 
   1733 cat >&5 <<_ACEOF
   1734 
   1735 
   1736 ## ----------- ##
   1737 ## Core tests. ##
   1738 ## ----------- ##
   1739 
   1740 _ACEOF
   1741 
   1742 
   1743 # Keep a trace of the command line.
   1744 # Strip out --no-create and --no-recursion so they do not pile up.
   1745 # Strip out --silent because we don't want to record it for future runs.
   1746 # Also quote any args containing shell meta-characters.
   1747 # Make two passes to allow for proper duplicate-argument suppression.
   1748 ac_configure_args=
   1749 ac_configure_args0=
   1750 ac_configure_args1=
   1751 ac_must_keep_next=false
   1752 for ac_pass in 1 2
   1753 do
   1754   for ac_arg
   1755   do
   1756     case $ac_arg in
   1757     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1758     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1759     | -silent | --silent | --silen | --sile | --sil)
   1760       continue ;;
   1761     *\'*)
   1762       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1763     esac
   1764     case $ac_pass in
   1765     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1766     2)
   1767       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1768       if test $ac_must_keep_next = true; then
   1769 	ac_must_keep_next=false # Got value, back to normal.
   1770       else
   1771 	case $ac_arg in
   1772 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1773 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1774 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1775 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1776 	    case "$ac_configure_args0 " in
   1777 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1778 	    esac
   1779 	    ;;
   1780 	  -* ) ac_must_keep_next=true ;;
   1781 	esac
   1782       fi
   1783       ac_configure_args="$ac_configure_args '$ac_arg'"
   1784       ;;
   1785     esac
   1786   done
   1787 done
   1788 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1789 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1790 
   1791 # When interrupted or exit'd, cleanup temporary files, and complete
   1792 # config.log.  We remove comments because anyway the quotes in there
   1793 # would cause problems or look ugly.
   1794 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1795 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1796 trap 'exit_status=$?
   1797   # Save into config.log some information that might help in debugging.
   1798   {
   1799     echo
   1800 
   1801     cat <<\_ASBOX
   1802 ## ---------------- ##
   1803 ## Cache variables. ##
   1804 ## ---------------- ##
   1805 _ASBOX
   1806     echo
   1807     # The following way of writing the cache mishandles newlines in values,
   1808 (
   1809   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1810     eval ac_val=\$$ac_var
   1811     case $ac_val in #(
   1812     *${as_nl}*)
   1813       case $ac_var in #(
   1814       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1815 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1816       esac
   1817       case $ac_var in #(
   1818       _ | IFS | as_nl) ;; #(
   1819       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1820       *) $as_unset $ac_var ;;
   1821       esac ;;
   1822     esac
   1823   done
   1824   (set) 2>&1 |
   1825     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1826     *${as_nl}ac_space=\ *)
   1827       sed -n \
   1828 	"s/'\''/'\''\\\\'\'''\''/g;
   1829 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1830       ;; #(
   1831     *)
   1832       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1833       ;;
   1834     esac |
   1835     sort
   1836 )
   1837     echo
   1838 
   1839     cat <<\_ASBOX
   1840 ## ----------------- ##
   1841 ## Output variables. ##
   1842 ## ----------------- ##
   1843 _ASBOX
   1844     echo
   1845     for ac_var in $ac_subst_vars
   1846     do
   1847       eval ac_val=\$$ac_var
   1848       case $ac_val in
   1849       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1850       esac
   1851       $as_echo "$ac_var='\''$ac_val'\''"
   1852     done | sort
   1853     echo
   1854 
   1855     if test -n "$ac_subst_files"; then
   1856       cat <<\_ASBOX
   1857 ## ------------------- ##
   1858 ## File substitutions. ##
   1859 ## ------------------- ##
   1860 _ASBOX
   1861       echo
   1862       for ac_var in $ac_subst_files
   1863       do
   1864 	eval ac_val=\$$ac_var
   1865 	case $ac_val in
   1866 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1867 	esac
   1868 	$as_echo "$ac_var='\''$ac_val'\''"
   1869       done | sort
   1870       echo
   1871     fi
   1872 
   1873     if test -s confdefs.h; then
   1874       cat <<\_ASBOX
   1875 ## ----------- ##
   1876 ## confdefs.h. ##
   1877 ## ----------- ##
   1878 _ASBOX
   1879       echo
   1880       cat confdefs.h
   1881       echo
   1882     fi
   1883     test "$ac_signal" != 0 &&
   1884       $as_echo "$as_me: caught signal $ac_signal"
   1885     $as_echo "$as_me: exit $exit_status"
   1886   } >&5
   1887   rm -f core *.core core.conftest.* &&
   1888     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1889     exit $exit_status
   1890 ' 0
   1891 for ac_signal in 1 2 13 15; do
   1892   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1893 done
   1894 ac_signal=0
   1895 
   1896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1897 rm -f -r conftest* confdefs.h
   1898 
   1899 # Predefined preprocessor variables.
   1900 
   1901 cat >>confdefs.h <<_ACEOF
   1902 #define PACKAGE_NAME "$PACKAGE_NAME"
   1903 _ACEOF
   1904 
   1905 
   1906 cat >>confdefs.h <<_ACEOF
   1907 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1908 _ACEOF
   1909 
   1910 
   1911 cat >>confdefs.h <<_ACEOF
   1912 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1913 _ACEOF
   1914 
   1915 
   1916 cat >>confdefs.h <<_ACEOF
   1917 #define PACKAGE_STRING "$PACKAGE_STRING"
   1918 _ACEOF
   1919 
   1920 
   1921 cat >>confdefs.h <<_ACEOF
   1922 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1923 _ACEOF
   1924 
   1925 
   1926 # Let the site file select an alternate cache file if it wants to.
   1927 # Prefer an explicitly selected file to automatically selected ones.
   1928 ac_site_file1=NONE
   1929 ac_site_file2=NONE
   1930 if test -n "$CONFIG_SITE"; then
   1931   ac_site_file1=$CONFIG_SITE
   1932 elif test "x$prefix" != xNONE; then
   1933   ac_site_file1=$prefix/share/config.site
   1934   ac_site_file2=$prefix/etc/config.site
   1935 else
   1936   ac_site_file1=$ac_default_prefix/share/config.site
   1937   ac_site_file2=$ac_default_prefix/etc/config.site
   1938 fi
   1939 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1940 do
   1941   test "x$ac_site_file" = xNONE && continue
   1942   if test -r "$ac_site_file"; then
   1943     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1944 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1945     sed 's/^/| /' "$ac_site_file" >&5
   1946     . "$ac_site_file"
   1947   fi
   1948 done
   1949 
   1950 if test -r "$cache_file"; then
   1951   # Some versions of bash will fail to source /dev/null (special
   1952   # files actually), so we avoid doing that.
   1953   if test -f "$cache_file"; then
   1954     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1955 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1956     case $cache_file in
   1957       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1958       *)                      . "./$cache_file";;
   1959     esac
   1960   fi
   1961 else
   1962   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1963 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1964   >$cache_file
   1965 fi
   1966 
   1967 # Check that the precious variables saved in the cache have kept the same
   1968 # value.
   1969 ac_cache_corrupted=false
   1970 for ac_var in $ac_precious_vars; do
   1971   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1972   eval ac_new_set=\$ac_env_${ac_var}_set
   1973   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1974   eval ac_new_val=\$ac_env_${ac_var}_value
   1975   case $ac_old_set,$ac_new_set in
   1976     set,)
   1977       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1978 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1979       ac_cache_corrupted=: ;;
   1980     ,set)
   1981       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1982 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1983       ac_cache_corrupted=: ;;
   1984     ,);;
   1985     *)
   1986       if test "x$ac_old_val" != "x$ac_new_val"; then
   1987 	# differences in whitespace do not lead to failure.
   1988 	ac_old_val_w=`echo x $ac_old_val`
   1989 	ac_new_val_w=`echo x $ac_new_val`
   1990 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1991 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1992 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1993 	  ac_cache_corrupted=:
   1994 	else
   1995 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1996 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1997 	  eval $ac_var=\$ac_old_val
   1998 	fi
   1999 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2000 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2001 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2002 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2003       fi;;
   2004   esac
   2005   # Pass precious variables to config.status.
   2006   if test "$ac_new_set" = set; then
   2007     case $ac_new_val in
   2008     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2009     *) ac_arg=$ac_var=$ac_new_val ;;
   2010     esac
   2011     case " $ac_configure_args " in
   2012       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2013       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2014     esac
   2015   fi
   2016 done
   2017 if $ac_cache_corrupted; then
   2018   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2020   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2021 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2022   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2023 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2024    { (exit 1); exit 1; }; }
   2025 fi
   2026 
   2027 
   2028 
   2029 
   2030 
   2031 
   2032 
   2033 
   2034 
   2035 
   2036 
   2037 
   2038 
   2039 
   2040 
   2041 
   2042 
   2043 
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 ac_ext=c
   2052 ac_cpp='$CPP $CPPFLAGS'
   2053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2056 
   2057 
   2058 ac_aux_dir=
   2059 for ac_dir in . "$srcdir"/.; do
   2060   if test -f "$ac_dir/install-sh"; then
   2061     ac_aux_dir=$ac_dir
   2062     ac_install_sh="$ac_aux_dir/install-sh -c"
   2063     break
   2064   elif test -f "$ac_dir/install.sh"; then
   2065     ac_aux_dir=$ac_dir
   2066     ac_install_sh="$ac_aux_dir/install.sh -c"
   2067     break
   2068   elif test -f "$ac_dir/shtool"; then
   2069     ac_aux_dir=$ac_dir
   2070     ac_install_sh="$ac_aux_dir/shtool install -c"
   2071     break
   2072   fi
   2073 done
   2074 if test -z "$ac_aux_dir"; then
   2075   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2076 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2077    { (exit 1); exit 1; }; }
   2078 fi
   2079 
   2080 # These three variables are undocumented and unsupported,
   2081 # and are intended to be withdrawn in a future Autoconf release.
   2082 # They can cause serious problems if a builder's source tree is in a directory
   2083 # whose full name contains unusual characters.
   2084 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2085 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2086 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2087 
   2088 
   2089 am__api_version='1.10'
   2090 
   2091 # Find a good install program.  We prefer a C program (faster),
   2092 # so one script is as good as another.  But avoid the broken or
   2093 # incompatible versions:
   2094 # SysV /etc/install, /usr/sbin/install
   2095 # SunOS /usr/etc/install
   2096 # IRIX /sbin/install
   2097 # AIX /bin/install
   2098 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2099 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2100 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2101 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2102 # OS/2's system install, which has a completely different semantic
   2103 # ./install, which can be erroneously created by make from ./install.sh.
   2104 # Reject install programs that cannot install multiple files.
   2105 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2106 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2107 if test -z "$INSTALL"; then
   2108 if test "${ac_cv_path_install+set}" = set; then
   2109   $as_echo_n "(cached) " >&6
   2110 else
   2111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2112 for as_dir in $PATH
   2113 do
   2114   IFS=$as_save_IFS
   2115   test -z "$as_dir" && as_dir=.
   2116   # Account for people who put trailing slashes in PATH elements.
   2117 case $as_dir/ in
   2118   ./ | .// | /cC/* | \
   2119   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2120   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2121   /usr/ucb/* ) ;;
   2122   *)
   2123     # OSF1 and SCO ODT 3.0 have their own names for install.
   2124     # Don't use installbsd from OSF since it installs stuff as root
   2125     # by default.
   2126     for ac_prog in ginstall scoinst install; do
   2127       for ac_exec_ext in '' $ac_executable_extensions; do
   2128 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2129 	  if test $ac_prog = install &&
   2130 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2131 	    # AIX install.  It has an incompatible calling convention.
   2132 	    :
   2133 	  elif test $ac_prog = install &&
   2134 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2135 	    # program-specific install script used by HP pwplus--don't use.
   2136 	    :
   2137 	  else
   2138 	    rm -rf conftest.one conftest.two conftest.dir
   2139 	    echo one > conftest.one
   2140 	    echo two > conftest.two
   2141 	    mkdir conftest.dir
   2142 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2143 	      test -s conftest.one && test -s conftest.two &&
   2144 	      test -s conftest.dir/conftest.one &&
   2145 	      test -s conftest.dir/conftest.two
   2146 	    then
   2147 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2148 	      break 3
   2149 	    fi
   2150 	  fi
   2151 	fi
   2152       done
   2153     done
   2154     ;;
   2155 esac
   2156 
   2157 done
   2158 IFS=$as_save_IFS
   2159 
   2160 rm -rf conftest.one conftest.two conftest.dir
   2161 
   2162 fi
   2163   if test "${ac_cv_path_install+set}" = set; then
   2164     INSTALL=$ac_cv_path_install
   2165   else
   2166     # As a last resort, use the slow shell script.  Don't cache a
   2167     # value for INSTALL within a source directory, because that will
   2168     # break other packages using the cache if that directory is
   2169     # removed, or if the value is a relative name.
   2170     INSTALL=$ac_install_sh
   2171   fi
   2172 fi
   2173 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2174 $as_echo "$INSTALL" >&6; }
   2175 
   2176 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2177 # It thinks the first close brace ends the variable substitution.
   2178 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2179 
   2180 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2181 
   2182 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2183 
   2184 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2185 $as_echo_n "checking whether build environment is sane... " >&6; }
   2186 # Just in case
   2187 sleep 1
   2188 echo timestamp > conftest.file
   2189 # Do `set' in a subshell so we don't clobber the current shell's
   2190 # arguments.  Must try -L first in case configure is actually a
   2191 # symlink; some systems play weird games with the mod time of symlinks
   2192 # (eg FreeBSD returns the mod time of the symlink's containing
   2193 # directory).
   2194 if (
   2195    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2196    if test "$*" = "X"; then
   2197       # -L didn't work.
   2198       set X `ls -t $srcdir/configure conftest.file`
   2199    fi
   2200    rm -f conftest.file
   2201    if test "$*" != "X $srcdir/configure conftest.file" \
   2202       && test "$*" != "X conftest.file $srcdir/configure"; then
   2203 
   2204       # If neither matched, then we have a broken ls.  This can happen
   2205       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2206       # broken ls alias from the environment.  This has actually
   2207       # happened.  Such a system could not be considered "sane".
   2208       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2209 alias in your environment" >&5
   2210 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2211 alias in your environment" >&2;}
   2212    { (exit 1); exit 1; }; }
   2213    fi
   2214 
   2215    test "$2" = conftest.file
   2216    )
   2217 then
   2218    # Ok.
   2219    :
   2220 else
   2221    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2222 Check your system clock" >&5
   2223 $as_echo "$as_me: error: newly created file is older than distributed files!
   2224 Check your system clock" >&2;}
   2225    { (exit 1); exit 1; }; }
   2226 fi
   2227 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2228 $as_echo "yes" >&6; }
   2229 test "$program_prefix" != NONE &&
   2230   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2231 # Use a double $ so make ignores it.
   2232 test "$program_suffix" != NONE &&
   2233   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2234 # Double any \ or $.
   2235 # By default was `s,x,x', remove it if useless.
   2236 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2237 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2238 
   2239 # expand $ac_aux_dir to an absolute path
   2240 am_aux_dir=`cd $ac_aux_dir && pwd`
   2241 
   2242 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2243 # Use eval to expand $SHELL
   2244 if eval "$MISSING --run true"; then
   2245   am_missing_run="$MISSING --run "
   2246 else
   2247   am_missing_run=
   2248   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2249 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2250 fi
   2251 
   2252 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2253 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2254 if test -z "$MKDIR_P"; then
   2255   if test "${ac_cv_path_mkdir+set}" = set; then
   2256   $as_echo_n "(cached) " >&6
   2257 else
   2258   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2259 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2260 do
   2261   IFS=$as_save_IFS
   2262   test -z "$as_dir" && as_dir=.
   2263   for ac_prog in mkdir gmkdir; do
   2264 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2265 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2266 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2267 	     'mkdir (GNU coreutils) '* | \
   2268 	     'mkdir (coreutils) '* | \
   2269 	     'mkdir (fileutils) '4.1*)
   2270 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2271 	       break 3;;
   2272 	   esac
   2273 	 done
   2274        done
   2275 done
   2276 IFS=$as_save_IFS
   2277 
   2278 fi
   2279 
   2280   if test "${ac_cv_path_mkdir+set}" = set; then
   2281     MKDIR_P="$ac_cv_path_mkdir -p"
   2282   else
   2283     # As a last resort, use the slow shell script.  Don't cache a
   2284     # value for MKDIR_P within a source directory, because that will
   2285     # break other packages using the cache if that directory is
   2286     # removed, or if the value is a relative name.
   2287     test -d ./--version && rmdir ./--version
   2288     MKDIR_P="$ac_install_sh -d"
   2289   fi
   2290 fi
   2291 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2292 $as_echo "$MKDIR_P" >&6; }
   2293 
   2294 mkdir_p="$MKDIR_P"
   2295 case $mkdir_p in
   2296   [\\/$]* | ?:[\\/]*) ;;
   2297   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2298 esac
   2299 
   2300 for ac_prog in gawk mawk nawk awk
   2301 do
   2302   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2303 set dummy $ac_prog; ac_word=$2
   2304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2305 $as_echo_n "checking for $ac_word... " >&6; }
   2306 if test "${ac_cv_prog_AWK+set}" = set; then
   2307   $as_echo_n "(cached) " >&6
   2308 else
   2309   if test -n "$AWK"; then
   2310   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2311 else
   2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2313 for as_dir in $PATH
   2314 do
   2315   IFS=$as_save_IFS
   2316   test -z "$as_dir" && as_dir=.
   2317   for ac_exec_ext in '' $ac_executable_extensions; do
   2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2319     ac_cv_prog_AWK="$ac_prog"
   2320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2321     break 2
   2322   fi
   2323 done
   2324 done
   2325 IFS=$as_save_IFS
   2326 
   2327 fi
   2328 fi
   2329 AWK=$ac_cv_prog_AWK
   2330 if test -n "$AWK"; then
   2331   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2332 $as_echo "$AWK" >&6; }
   2333 else
   2334   { $as_echo "$as_me:$LINENO: result: no" >&5
   2335 $as_echo "no" >&6; }
   2336 fi
   2337 
   2338 
   2339   test -n "$AWK" && break
   2340 done
   2341 
   2342 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2343 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2344 set x ${MAKE-make}
   2345 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2346 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2347   $as_echo_n "(cached) " >&6
   2348 else
   2349   cat >conftest.make <<\_ACEOF
   2350 SHELL = /bin/sh
   2351 all:
   2352 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2353 _ACEOF
   2354 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2355 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2356   *@@@%%%=?*=@@@%%%*)
   2357     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2358   *)
   2359     eval ac_cv_prog_make_${ac_make}_set=no;;
   2360 esac
   2361 rm -f conftest.make
   2362 fi
   2363 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2364   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2365 $as_echo "yes" >&6; }
   2366   SET_MAKE=
   2367 else
   2368   { $as_echo "$as_me:$LINENO: result: no" >&5
   2369 $as_echo "no" >&6; }
   2370   SET_MAKE="MAKE=${MAKE-make}"
   2371 fi
   2372 
   2373 rm -rf .tst 2>/dev/null
   2374 mkdir .tst 2>/dev/null
   2375 if test -d .tst; then
   2376   am__leading_dot=.
   2377 else
   2378   am__leading_dot=_
   2379 fi
   2380 rmdir .tst 2>/dev/null
   2381 
   2382 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2383   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2384   # is not polluted with repeated "-I."
   2385   am__isrc=' -I$(srcdir)'
   2386   # test to see if srcdir already configured
   2387   if test -f $srcdir/config.status; then
   2388     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2389 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2390    { (exit 1); exit 1; }; }
   2391   fi
   2392 fi
   2393 
   2394 # test whether we have cygpath
   2395 if test -z "$CYGPATH_W"; then
   2396   if (cygpath --version) >/dev/null 2>/dev/null; then
   2397     CYGPATH_W='cygpath -w'
   2398   else
   2399     CYGPATH_W=echo
   2400   fi
   2401 fi
   2402 
   2403 
   2404 # Define the identity of the package.
   2405  PACKAGE='libXrandr'
   2406  VERSION='1.3.0'
   2407 
   2408 
   2409 cat >>confdefs.h <<_ACEOF
   2410 #define PACKAGE "$PACKAGE"
   2411 _ACEOF
   2412 
   2413 
   2414 cat >>confdefs.h <<_ACEOF
   2415 #define VERSION "$VERSION"
   2416 _ACEOF
   2417 
   2418 # Some tools Automake needs.
   2419 
   2420 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2421 
   2422 
   2423 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2424 
   2425 
   2426 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2427 
   2428 
   2429 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2430 
   2431 
   2432 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2433 
   2434 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2435 
   2436 # Installed binaries are usually stripped using `strip' when the user
   2437 # run `make install-strip'.  However `strip' might not be the right
   2438 # tool to use in cross-compilation environments, therefore Automake
   2439 # will honor the `STRIP' environment variable to overrule this program.
   2440 if test "$cross_compiling" != no; then
   2441   if test -n "$ac_tool_prefix"; then
   2442   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2443 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2444 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2445 $as_echo_n "checking for $ac_word... " >&6; }
   2446 if test "${ac_cv_prog_STRIP+set}" = set; then
   2447   $as_echo_n "(cached) " >&6
   2448 else
   2449   if test -n "$STRIP"; then
   2450   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2451 else
   2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2453 for as_dir in $PATH
   2454 do
   2455   IFS=$as_save_IFS
   2456   test -z "$as_dir" && as_dir=.
   2457   for ac_exec_ext in '' $ac_executable_extensions; do
   2458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2459     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2460     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2461     break 2
   2462   fi
   2463 done
   2464 done
   2465 IFS=$as_save_IFS
   2466 
   2467 fi
   2468 fi
   2469 STRIP=$ac_cv_prog_STRIP
   2470 if test -n "$STRIP"; then
   2471   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2472 $as_echo "$STRIP" >&6; }
   2473 else
   2474   { $as_echo "$as_me:$LINENO: result: no" >&5
   2475 $as_echo "no" >&6; }
   2476 fi
   2477 
   2478 
   2479 fi
   2480 if test -z "$ac_cv_prog_STRIP"; then
   2481   ac_ct_STRIP=$STRIP
   2482   # Extract the first word of "strip", so it can be a program name with args.
   2483 set dummy strip; ac_word=$2
   2484 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2485 $as_echo_n "checking for $ac_word... " >&6; }
   2486 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2487   $as_echo_n "(cached) " >&6
   2488 else
   2489   if test -n "$ac_ct_STRIP"; then
   2490   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2491 else
   2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2493 for as_dir in $PATH
   2494 do
   2495   IFS=$as_save_IFS
   2496   test -z "$as_dir" && as_dir=.
   2497   for ac_exec_ext in '' $ac_executable_extensions; do
   2498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2499     ac_cv_prog_ac_ct_STRIP="strip"
   2500     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2501     break 2
   2502   fi
   2503 done
   2504 done
   2505 IFS=$as_save_IFS
   2506 
   2507 fi
   2508 fi
   2509 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2510 if test -n "$ac_ct_STRIP"; then
   2511   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2512 $as_echo "$ac_ct_STRIP" >&6; }
   2513 else
   2514   { $as_echo "$as_me:$LINENO: result: no" >&5
   2515 $as_echo "no" >&6; }
   2516 fi
   2517 
   2518   if test "x$ac_ct_STRIP" = x; then
   2519     STRIP=":"
   2520   else
   2521     case $cross_compiling:$ac_tool_warned in
   2522 yes:)
   2523 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2525 ac_tool_warned=yes ;;
   2526 esac
   2527     STRIP=$ac_ct_STRIP
   2528   fi
   2529 else
   2530   STRIP="$ac_cv_prog_STRIP"
   2531 fi
   2532 
   2533 fi
   2534 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2535 
   2536 # We need awk for the "check" target.  The system "awk" is bad on
   2537 # some platforms.
   2538 # Always define AMTAR for backward compatibility.
   2539 
   2540 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2541 
   2542 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2543 
   2544 
   2545 
   2546 
   2547 
   2548 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2549 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2550     # Check whether --enable-maintainer-mode was given.
   2551 if test "${enable_maintainer_mode+set}" = set; then
   2552   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2553 else
   2554   USE_MAINTAINER_MODE=no
   2555 fi
   2556 
   2557   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2558 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2559    if test $USE_MAINTAINER_MODE = yes; then
   2560   MAINTAINER_MODE_TRUE=
   2561   MAINTAINER_MODE_FALSE='#'
   2562 else
   2563   MAINTAINER_MODE_TRUE='#'
   2564   MAINTAINER_MODE_FALSE=
   2565 fi
   2566 
   2567   MAINT=$MAINTAINER_MODE_TRUE
   2568 
   2569 
   2570 
   2571 # Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
   2572 
   2573 
   2574 	XORG_MACROS_needed_version=1.2
   2575 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2576 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2577 	{ $as_echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2578 $as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; }
   2579 	XORG_MACROS_version=1.2.1
   2580 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2581 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2582 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2583 		{ { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_needed_major}.x" >&5
   2584 $as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_needed_major}.x" >&2;}
   2585    { (exit 1); exit 1; }; }
   2586 	fi
   2587 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2588 		{ { $as_echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}.0 or newer" >&5
   2589 $as_echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}.0 or newer" >&2;}
   2590    { (exit 1); exit 1; }; }
   2591 	fi
   2592 	{ $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2593 $as_echo "yes, $XORG_MACROS_version" >&6; }
   2594 
   2595 ac_config_headers="$ac_config_headers config.h"
   2596 
   2597 
   2598 # Check for progs
   2599 ac_ext=c
   2600 ac_cpp='$CPP $CPPFLAGS'
   2601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2604 if test -n "$ac_tool_prefix"; then
   2605   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2606 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2607 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2608 $as_echo_n "checking for $ac_word... " >&6; }
   2609 if test "${ac_cv_prog_CC+set}" = set; then
   2610   $as_echo_n "(cached) " >&6
   2611 else
   2612   if test -n "$CC"; then
   2613   ac_cv_prog_CC="$CC" # Let the user override the test.
   2614 else
   2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2616 for as_dir in $PATH
   2617 do
   2618   IFS=$as_save_IFS
   2619   test -z "$as_dir" && as_dir=.
   2620   for ac_exec_ext in '' $ac_executable_extensions; do
   2621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2622     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2623     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2624     break 2
   2625   fi
   2626 done
   2627 done
   2628 IFS=$as_save_IFS
   2629 
   2630 fi
   2631 fi
   2632 CC=$ac_cv_prog_CC
   2633 if test -n "$CC"; then
   2634   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2635 $as_echo "$CC" >&6; }
   2636 else
   2637   { $as_echo "$as_me:$LINENO: result: no" >&5
   2638 $as_echo "no" >&6; }
   2639 fi
   2640 
   2641 
   2642 fi
   2643 if test -z "$ac_cv_prog_CC"; then
   2644   ac_ct_CC=$CC
   2645   # Extract the first word of "gcc", so it can be a program name with args.
   2646 set dummy gcc; ac_word=$2
   2647 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$ac_ct_CC"; then
   2653   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660   for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2662     ac_cv_prog_ac_ct_CC="gcc"
   2663     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667 done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2673 if test -n "$ac_ct_CC"; then
   2674   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2675 $as_echo "$ac_ct_CC" >&6; }
   2676 else
   2677   { $as_echo "$as_me:$LINENO: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681   if test "x$ac_ct_CC" = x; then
   2682     CC=""
   2683   else
   2684     case $cross_compiling:$ac_tool_warned in
   2685 yes:)
   2686 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2688 ac_tool_warned=yes ;;
   2689 esac
   2690     CC=$ac_ct_CC
   2691   fi
   2692 else
   2693   CC="$ac_cv_prog_CC"
   2694 fi
   2695 
   2696 if test -z "$CC"; then
   2697           if test -n "$ac_tool_prefix"; then
   2698     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2699 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2701 $as_echo_n "checking for $ac_word... " >&6; }
   2702 if test "${ac_cv_prog_CC+set}" = set; then
   2703   $as_echo_n "(cached) " >&6
   2704 else
   2705   if test -n "$CC"; then
   2706   ac_cv_prog_CC="$CC" # Let the user override the test.
   2707 else
   2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2709 for as_dir in $PATH
   2710 do
   2711   IFS=$as_save_IFS
   2712   test -z "$as_dir" && as_dir=.
   2713   for ac_exec_ext in '' $ac_executable_extensions; do
   2714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2715     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2716     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2717     break 2
   2718   fi
   2719 done
   2720 done
   2721 IFS=$as_save_IFS
   2722 
   2723 fi
   2724 fi
   2725 CC=$ac_cv_prog_CC
   2726 if test -n "$CC"; then
   2727   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2728 $as_echo "$CC" >&6; }
   2729 else
   2730   { $as_echo "$as_me:$LINENO: result: no" >&5
   2731 $as_echo "no" >&6; }
   2732 fi
   2733 
   2734 
   2735   fi
   2736 fi
   2737 if test -z "$CC"; then
   2738   # Extract the first word of "cc", so it can be a program name with args.
   2739 set dummy cc; ac_word=$2
   2740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2741 $as_echo_n "checking for $ac_word... " >&6; }
   2742 if test "${ac_cv_prog_CC+set}" = set; then
   2743   $as_echo_n "(cached) " >&6
   2744 else
   2745   if test -n "$CC"; then
   2746   ac_cv_prog_CC="$CC" # Let the user override the test.
   2747 else
   2748   ac_prog_rejected=no
   2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2750 for as_dir in $PATH
   2751 do
   2752   IFS=$as_save_IFS
   2753   test -z "$as_dir" && as_dir=.
   2754   for ac_exec_ext in '' $ac_executable_extensions; do
   2755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2756     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2757        ac_prog_rejected=yes
   2758        continue
   2759      fi
   2760     ac_cv_prog_CC="cc"
   2761     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2762     break 2
   2763   fi
   2764 done
   2765 done
   2766 IFS=$as_save_IFS
   2767 
   2768 if test $ac_prog_rejected = yes; then
   2769   # We found a bogon in the path, so make sure we never use it.
   2770   set dummy $ac_cv_prog_CC
   2771   shift
   2772   if test $# != 0; then
   2773     # We chose a different compiler from the bogus one.
   2774     # However, it has the same basename, so the bogon will be chosen
   2775     # first if we set CC to just the basename; use the full file name.
   2776     shift
   2777     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2778   fi
   2779 fi
   2780 fi
   2781 fi
   2782 CC=$ac_cv_prog_CC
   2783 if test -n "$CC"; then
   2784   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2785 $as_echo "$CC" >&6; }
   2786 else
   2787   { $as_echo "$as_me:$LINENO: result: no" >&5
   2788 $as_echo "no" >&6; }
   2789 fi
   2790 
   2791 
   2792 fi
   2793 if test -z "$CC"; then
   2794   if test -n "$ac_tool_prefix"; then
   2795   for ac_prog in cl.exe
   2796   do
   2797     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2798 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2799 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2800 $as_echo_n "checking for $ac_word... " >&6; }
   2801 if test "${ac_cv_prog_CC+set}" = set; then
   2802   $as_echo_n "(cached) " >&6
   2803 else
   2804   if test -n "$CC"; then
   2805   ac_cv_prog_CC="$CC" # Let the user override the test.
   2806 else
   2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2808 for as_dir in $PATH
   2809 do
   2810   IFS=$as_save_IFS
   2811   test -z "$as_dir" && as_dir=.
   2812   for ac_exec_ext in '' $ac_executable_extensions; do
   2813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2814     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2815     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2816     break 2
   2817   fi
   2818 done
   2819 done
   2820 IFS=$as_save_IFS
   2821 
   2822 fi
   2823 fi
   2824 CC=$ac_cv_prog_CC
   2825 if test -n "$CC"; then
   2826   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2827 $as_echo "$CC" >&6; }
   2828 else
   2829   { $as_echo "$as_me:$LINENO: result: no" >&5
   2830 $as_echo "no" >&6; }
   2831 fi
   2832 
   2833 
   2834     test -n "$CC" && break
   2835   done
   2836 fi
   2837 if test -z "$CC"; then
   2838   ac_ct_CC=$CC
   2839   for ac_prog in cl.exe
   2840 do
   2841   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2842 set dummy $ac_prog; ac_word=$2
   2843 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2844 $as_echo_n "checking for $ac_word... " >&6; }
   2845 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2846   $as_echo_n "(cached) " >&6
   2847 else
   2848   if test -n "$ac_ct_CC"; then
   2849   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2850 else
   2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2852 for as_dir in $PATH
   2853 do
   2854   IFS=$as_save_IFS
   2855   test -z "$as_dir" && as_dir=.
   2856   for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2858     ac_cv_prog_ac_ct_CC="$ac_prog"
   2859     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863 done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi
   2867 fi
   2868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2869 if test -n "$ac_ct_CC"; then
   2870   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2871 $as_echo "$ac_ct_CC" >&6; }
   2872 else
   2873   { $as_echo "$as_me:$LINENO: result: no" >&5
   2874 $as_echo "no" >&6; }
   2875 fi
   2876 
   2877 
   2878   test -n "$ac_ct_CC" && break
   2879 done
   2880 
   2881   if test "x$ac_ct_CC" = x; then
   2882     CC=""
   2883   else
   2884     case $cross_compiling:$ac_tool_warned in
   2885 yes:)
   2886 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2888 ac_tool_warned=yes ;;
   2889 esac
   2890     CC=$ac_ct_CC
   2891   fi
   2892 fi
   2893 
   2894 fi
   2895 
   2896 
   2897 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2899 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2900 See \`config.log' for more details." >&5
   2901 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2902 See \`config.log' for more details." >&2;}
   2903    { (exit 1); exit 1; }; }; }
   2904 
   2905 # Provide some information about the compiler.
   2906 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2907 set X $ac_compile
   2908 ac_compiler=$2
   2909 { (ac_try="$ac_compiler --version >&5"
   2910 case "(($ac_try" in
   2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2912   *) ac_try_echo=$ac_try;;
   2913 esac
   2914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2915 $as_echo "$ac_try_echo") >&5
   2916   (eval "$ac_compiler --version >&5") 2>&5
   2917   ac_status=$?
   2918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2919   (exit $ac_status); }
   2920 { (ac_try="$ac_compiler -v >&5"
   2921 case "(($ac_try" in
   2922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2923   *) ac_try_echo=$ac_try;;
   2924 esac
   2925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2926 $as_echo "$ac_try_echo") >&5
   2927   (eval "$ac_compiler -v >&5") 2>&5
   2928   ac_status=$?
   2929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2930   (exit $ac_status); }
   2931 { (ac_try="$ac_compiler -V >&5"
   2932 case "(($ac_try" in
   2933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2934   *) ac_try_echo=$ac_try;;
   2935 esac
   2936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2937 $as_echo "$ac_try_echo") >&5
   2938   (eval "$ac_compiler -V >&5") 2>&5
   2939   ac_status=$?
   2940   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2941   (exit $ac_status); }
   2942 
   2943 cat >conftest.$ac_ext <<_ACEOF
   2944 /* confdefs.h.  */
   2945 _ACEOF
   2946 cat confdefs.h >>conftest.$ac_ext
   2947 cat >>conftest.$ac_ext <<_ACEOF
   2948 /* end confdefs.h.  */
   2949 
   2950 int
   2951 main ()
   2952 {
   2953 
   2954   ;
   2955   return 0;
   2956 }
   2957 _ACEOF
   2958 ac_clean_files_save=$ac_clean_files
   2959 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2960 # Try to create an executable without -o first, disregard a.out.
   2961 # It will help us diagnose broken compilers, and finding out an intuition
   2962 # of exeext.
   2963 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2964 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2965 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2966 
   2967 # The possible output files:
   2968 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2969 
   2970 ac_rmfiles=
   2971 for ac_file in $ac_files
   2972 do
   2973   case $ac_file in
   2974     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2975     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2976   esac
   2977 done
   2978 rm -f $ac_rmfiles
   2979 
   2980 if { (ac_try="$ac_link_default"
   2981 case "(($ac_try" in
   2982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2983   *) ac_try_echo=$ac_try;;
   2984 esac
   2985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2986 $as_echo "$ac_try_echo") >&5
   2987   (eval "$ac_link_default") 2>&5
   2988   ac_status=$?
   2989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2990   (exit $ac_status); }; then
   2991   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2992 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2993 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2994 # so that the user can short-circuit this test for compilers unknown to
   2995 # Autoconf.
   2996 for ac_file in $ac_files ''
   2997 do
   2998   test -f "$ac_file" || continue
   2999   case $ac_file in
   3000     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3001 	;;
   3002     [ab].out )
   3003 	# We found the default executable, but exeext='' is most
   3004 	# certainly right.
   3005 	break;;
   3006     *.* )
   3007         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3008 	then :; else
   3009 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3010 	fi
   3011 	# We set ac_cv_exeext here because the later test for it is not
   3012 	# safe: cross compilers may not add the suffix if given an `-o'
   3013 	# argument, so we may need to know it at that point already.
   3014 	# Even if this section looks crufty: it has the advantage of
   3015 	# actually working.
   3016 	break;;
   3017     * )
   3018 	break;;
   3019   esac
   3020 done
   3021 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3022 
   3023 else
   3024   ac_file=''
   3025 fi
   3026 
   3027 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3028 $as_echo "$ac_file" >&6; }
   3029 if test -z "$ac_file"; then
   3030   $as_echo "$as_me: failed program was:" >&5
   3031 sed 's/^/| /' conftest.$ac_ext >&5
   3032 
   3033 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3035 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3036 See \`config.log' for more details." >&5
   3037 $as_echo "$as_me: error: C compiler cannot create executables
   3038 See \`config.log' for more details." >&2;}
   3039    { (exit 77); exit 77; }; }; }
   3040 fi
   3041 
   3042 ac_exeext=$ac_cv_exeext
   3043 
   3044 # Check that the compiler produces executables we can run.  If not, either
   3045 # the compiler is broken, or we cross compile.
   3046 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3047 $as_echo_n "checking whether the C compiler works... " >&6; }
   3048 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3049 # If not cross compiling, check that we can run a simple program.
   3050 if test "$cross_compiling" != yes; then
   3051   if { ac_try='./$ac_file'
   3052   { (case "(($ac_try" in
   3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3054   *) ac_try_echo=$ac_try;;
   3055 esac
   3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3057 $as_echo "$ac_try_echo") >&5
   3058   (eval "$ac_try") 2>&5
   3059   ac_status=$?
   3060   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3061   (exit $ac_status); }; }; then
   3062     cross_compiling=no
   3063   else
   3064     if test "$cross_compiling" = maybe; then
   3065 	cross_compiling=yes
   3066     else
   3067 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3069 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3070 If you meant to cross compile, use \`--host'.
   3071 See \`config.log' for more details." >&5
   3072 $as_echo "$as_me: error: cannot run C compiled programs.
   3073 If you meant to cross compile, use \`--host'.
   3074 See \`config.log' for more details." >&2;}
   3075    { (exit 1); exit 1; }; }; }
   3076     fi
   3077   fi
   3078 fi
   3079 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3080 $as_echo "yes" >&6; }
   3081 
   3082 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3083 ac_clean_files=$ac_clean_files_save
   3084 # Check that the compiler produces executables we can run.  If not, either
   3085 # the compiler is broken, or we cross compile.
   3086 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3087 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3088 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3089 $as_echo "$cross_compiling" >&6; }
   3090 
   3091 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3092 $as_echo_n "checking for suffix of executables... " >&6; }
   3093 if { (ac_try="$ac_link"
   3094 case "(($ac_try" in
   3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3096   *) ac_try_echo=$ac_try;;
   3097 esac
   3098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3099 $as_echo "$ac_try_echo") >&5
   3100   (eval "$ac_link") 2>&5
   3101   ac_status=$?
   3102   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3103   (exit $ac_status); }; then
   3104   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3105 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3106 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3107 # `rm'.
   3108 for ac_file in conftest.exe conftest conftest.*; do
   3109   test -f "$ac_file" || continue
   3110   case $ac_file in
   3111     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3112     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3113 	  break;;
   3114     * ) break;;
   3115   esac
   3116 done
   3117 else
   3118   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3120 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3121 See \`config.log' for more details." >&5
   3122 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3123 See \`config.log' for more details." >&2;}
   3124    { (exit 1); exit 1; }; }; }
   3125 fi
   3126 
   3127 rm -f conftest$ac_cv_exeext
   3128 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3129 $as_echo "$ac_cv_exeext" >&6; }
   3130 
   3131 rm -f conftest.$ac_ext
   3132 EXEEXT=$ac_cv_exeext
   3133 ac_exeext=$EXEEXT
   3134 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3135 $as_echo_n "checking for suffix of object files... " >&6; }
   3136 if test "${ac_cv_objext+set}" = set; then
   3137   $as_echo_n "(cached) " >&6
   3138 else
   3139   cat >conftest.$ac_ext <<_ACEOF
   3140 /* confdefs.h.  */
   3141 _ACEOF
   3142 cat confdefs.h >>conftest.$ac_ext
   3143 cat >>conftest.$ac_ext <<_ACEOF
   3144 /* end confdefs.h.  */
   3145 
   3146 int
   3147 main ()
   3148 {
   3149 
   3150   ;
   3151   return 0;
   3152 }
   3153 _ACEOF
   3154 rm -f conftest.o conftest.obj
   3155 if { (ac_try="$ac_compile"
   3156 case "(($ac_try" in
   3157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3158   *) ac_try_echo=$ac_try;;
   3159 esac
   3160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3161 $as_echo "$ac_try_echo") >&5
   3162   (eval "$ac_compile") 2>&5
   3163   ac_status=$?
   3164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3165   (exit $ac_status); }; then
   3166   for ac_file in conftest.o conftest.obj conftest.*; do
   3167   test -f "$ac_file" || continue;
   3168   case $ac_file in
   3169     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3170     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3171        break;;
   3172   esac
   3173 done
   3174 else
   3175   $as_echo "$as_me: failed program was:" >&5
   3176 sed 's/^/| /' conftest.$ac_ext >&5
   3177 
   3178 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3180 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3181 See \`config.log' for more details." >&5
   3182 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3183 See \`config.log' for more details." >&2;}
   3184    { (exit 1); exit 1; }; }; }
   3185 fi
   3186 
   3187 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3188 fi
   3189 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3190 $as_echo "$ac_cv_objext" >&6; }
   3191 OBJEXT=$ac_cv_objext
   3192 ac_objext=$OBJEXT
   3193 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3194 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3195 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3196   $as_echo_n "(cached) " >&6
   3197 else
   3198   cat >conftest.$ac_ext <<_ACEOF
   3199 /* confdefs.h.  */
   3200 _ACEOF
   3201 cat confdefs.h >>conftest.$ac_ext
   3202 cat >>conftest.$ac_ext <<_ACEOF
   3203 /* end confdefs.h.  */
   3204 
   3205 int
   3206 main ()
   3207 {
   3208 #ifndef __GNUC__
   3209        choke me
   3210 #endif
   3211 
   3212   ;
   3213   return 0;
   3214 }
   3215 _ACEOF
   3216 rm -f conftest.$ac_objext
   3217 if { (ac_try="$ac_compile"
   3218 case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3223 $as_echo "$ac_try_echo") >&5
   3224   (eval "$ac_compile") 2>conftest.er1
   3225   ac_status=$?
   3226   grep -v '^ *+' conftest.er1 >conftest.err
   3227   rm -f conftest.er1
   3228   cat conftest.err >&5
   3229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3230   (exit $ac_status); } && {
   3231 	 test -z "$ac_c_werror_flag" ||
   3232 	 test ! -s conftest.err
   3233        } && test -s conftest.$ac_objext; then
   3234   ac_compiler_gnu=yes
   3235 else
   3236   $as_echo "$as_me: failed program was:" >&5
   3237 sed 's/^/| /' conftest.$ac_ext >&5
   3238 
   3239 	ac_compiler_gnu=no
   3240 fi
   3241 
   3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3243 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3244 
   3245 fi
   3246 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3247 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3248 if test $ac_compiler_gnu = yes; then
   3249   GCC=yes
   3250 else
   3251   GCC=
   3252 fi
   3253 ac_test_CFLAGS=${CFLAGS+set}
   3254 ac_save_CFLAGS=$CFLAGS
   3255 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3256 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3257 if test "${ac_cv_prog_cc_g+set}" = set; then
   3258   $as_echo_n "(cached) " >&6
   3259 else
   3260   ac_save_c_werror_flag=$ac_c_werror_flag
   3261    ac_c_werror_flag=yes
   3262    ac_cv_prog_cc_g=no
   3263    CFLAGS="-g"
   3264    cat >conftest.$ac_ext <<_ACEOF
   3265 /* confdefs.h.  */
   3266 _ACEOF
   3267 cat confdefs.h >>conftest.$ac_ext
   3268 cat >>conftest.$ac_ext <<_ACEOF
   3269 /* end confdefs.h.  */
   3270 
   3271 int
   3272 main ()
   3273 {
   3274 
   3275   ;
   3276   return 0;
   3277 }
   3278 _ACEOF
   3279 rm -f conftest.$ac_objext
   3280 if { (ac_try="$ac_compile"
   3281 case "(($ac_try" in
   3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3283   *) ac_try_echo=$ac_try;;
   3284 esac
   3285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3286 $as_echo "$ac_try_echo") >&5
   3287   (eval "$ac_compile") 2>conftest.er1
   3288   ac_status=$?
   3289   grep -v '^ *+' conftest.er1 >conftest.err
   3290   rm -f conftest.er1
   3291   cat conftest.err >&5
   3292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3293   (exit $ac_status); } && {
   3294 	 test -z "$ac_c_werror_flag" ||
   3295 	 test ! -s conftest.err
   3296        } && test -s conftest.$ac_objext; then
   3297   ac_cv_prog_cc_g=yes
   3298 else
   3299   $as_echo "$as_me: failed program was:" >&5
   3300 sed 's/^/| /' conftest.$ac_ext >&5
   3301 
   3302 	CFLAGS=""
   3303       cat >conftest.$ac_ext <<_ACEOF
   3304 /* confdefs.h.  */
   3305 _ACEOF
   3306 cat confdefs.h >>conftest.$ac_ext
   3307 cat >>conftest.$ac_ext <<_ACEOF
   3308 /* end confdefs.h.  */
   3309 
   3310 int
   3311 main ()
   3312 {
   3313 
   3314   ;
   3315   return 0;
   3316 }
   3317 _ACEOF
   3318 rm -f conftest.$ac_objext
   3319 if { (ac_try="$ac_compile"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3325 $as_echo "$ac_try_echo") >&5
   3326   (eval "$ac_compile") 2>conftest.er1
   3327   ac_status=$?
   3328   grep -v '^ *+' conftest.er1 >conftest.err
   3329   rm -f conftest.er1
   3330   cat conftest.err >&5
   3331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3332   (exit $ac_status); } && {
   3333 	 test -z "$ac_c_werror_flag" ||
   3334 	 test ! -s conftest.err
   3335        } && test -s conftest.$ac_objext; then
   3336   :
   3337 else
   3338   $as_echo "$as_me: failed program was:" >&5
   3339 sed 's/^/| /' conftest.$ac_ext >&5
   3340 
   3341 	ac_c_werror_flag=$ac_save_c_werror_flag
   3342 	 CFLAGS="-g"
   3343 	 cat >conftest.$ac_ext <<_ACEOF
   3344 /* confdefs.h.  */
   3345 _ACEOF
   3346 cat confdefs.h >>conftest.$ac_ext
   3347 cat >>conftest.$ac_ext <<_ACEOF
   3348 /* end confdefs.h.  */
   3349 
   3350 int
   3351 main ()
   3352 {
   3353 
   3354   ;
   3355   return 0;
   3356 }
   3357 _ACEOF
   3358 rm -f conftest.$ac_objext
   3359 if { (ac_try="$ac_compile"
   3360 case "(($ac_try" in
   3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3362   *) ac_try_echo=$ac_try;;
   3363 esac
   3364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3365 $as_echo "$ac_try_echo") >&5
   3366   (eval "$ac_compile") 2>conftest.er1
   3367   ac_status=$?
   3368   grep -v '^ *+' conftest.er1 >conftest.err
   3369   rm -f conftest.er1
   3370   cat conftest.err >&5
   3371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3372   (exit $ac_status); } && {
   3373 	 test -z "$ac_c_werror_flag" ||
   3374 	 test ! -s conftest.err
   3375        } && test -s conftest.$ac_objext; then
   3376   ac_cv_prog_cc_g=yes
   3377 else
   3378   $as_echo "$as_me: failed program was:" >&5
   3379 sed 's/^/| /' conftest.$ac_ext >&5
   3380 
   3381 
   3382 fi
   3383 
   3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3385 fi
   3386 
   3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3388 fi
   3389 
   3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3391    ac_c_werror_flag=$ac_save_c_werror_flag
   3392 fi
   3393 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3394 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3395 if test "$ac_test_CFLAGS" = set; then
   3396   CFLAGS=$ac_save_CFLAGS
   3397 elif test $ac_cv_prog_cc_g = yes; then
   3398   if test "$GCC" = yes; then
   3399     CFLAGS="-g -O2"
   3400   else
   3401     CFLAGS="-g"
   3402   fi
   3403 else
   3404   if test "$GCC" = yes; then
   3405     CFLAGS="-O2"
   3406   else
   3407     CFLAGS=
   3408   fi
   3409 fi
   3410 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3411 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3412 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3413   $as_echo_n "(cached) " >&6
   3414 else
   3415   ac_cv_prog_cc_c89=no
   3416 ac_save_CC=$CC
   3417 cat >conftest.$ac_ext <<_ACEOF
   3418 /* confdefs.h.  */
   3419 _ACEOF
   3420 cat confdefs.h >>conftest.$ac_ext
   3421 cat >>conftest.$ac_ext <<_ACEOF
   3422 /* end confdefs.h.  */
   3423 #include <stdarg.h>
   3424 #include <stdio.h>
   3425 #include <sys/types.h>
   3426 #include <sys/stat.h>
   3427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3428 struct buf { int x; };
   3429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3430 static char *e (p, i)
   3431      char **p;
   3432      int i;
   3433 {
   3434   return p[i];
   3435 }
   3436 static char *f (char * (*g) (char **, int), char **p, ...)
   3437 {
   3438   char *s;
   3439   va_list v;
   3440   va_start (v,p);
   3441   s = g (p, va_arg (v,int));
   3442   va_end (v);
   3443   return s;
   3444 }
   3445 
   3446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3447    function prototypes and stuff, but not '\xHH' hex character constants.
   3448    These don't provoke an error unfortunately, instead are silently treated
   3449    as 'x'.  The following induces an error, until -std is added to get
   3450    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3451    array size at least.  It's necessary to write '\x00'==0 to get something
   3452    that's true only with -std.  */
   3453 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3454 
   3455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3456    inside strings and character constants.  */
   3457 #define FOO(x) 'x'
   3458 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3459 
   3460 int test (int i, double x);
   3461 struct s1 {int (*f) (int a);};
   3462 struct s2 {int (*f) (double a);};
   3463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3464 int argc;
   3465 char **argv;
   3466 int
   3467 main ()
   3468 {
   3469 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3470   ;
   3471   return 0;
   3472 }
   3473 _ACEOF
   3474 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3475 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3476 do
   3477   CC="$ac_save_CC $ac_arg"
   3478   rm -f conftest.$ac_objext
   3479 if { (ac_try="$ac_compile"
   3480 case "(($ac_try" in
   3481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3482   *) ac_try_echo=$ac_try;;
   3483 esac
   3484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3485 $as_echo "$ac_try_echo") >&5
   3486   (eval "$ac_compile") 2>conftest.er1
   3487   ac_status=$?
   3488   grep -v '^ *+' conftest.er1 >conftest.err
   3489   rm -f conftest.er1
   3490   cat conftest.err >&5
   3491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3492   (exit $ac_status); } && {
   3493 	 test -z "$ac_c_werror_flag" ||
   3494 	 test ! -s conftest.err
   3495        } && test -s conftest.$ac_objext; then
   3496   ac_cv_prog_cc_c89=$ac_arg
   3497 else
   3498   $as_echo "$as_me: failed program was:" >&5
   3499 sed 's/^/| /' conftest.$ac_ext >&5
   3500 
   3501 
   3502 fi
   3503 
   3504 rm -f core conftest.err conftest.$ac_objext
   3505   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3506 done
   3507 rm -f conftest.$ac_ext
   3508 CC=$ac_save_CC
   3509 
   3510 fi
   3511 # AC_CACHE_VAL
   3512 case "x$ac_cv_prog_cc_c89" in
   3513   x)
   3514     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3515 $as_echo "none needed" >&6; } ;;
   3516   xno)
   3517     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3518 $as_echo "unsupported" >&6; } ;;
   3519   *)
   3520     CC="$CC $ac_cv_prog_cc_c89"
   3521     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3522 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3523 esac
   3524 
   3525 
   3526 ac_ext=c
   3527 ac_cpp='$CPP $CPPFLAGS'
   3528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3531 DEPDIR="${am__leading_dot}deps"
   3532 
   3533 ac_config_commands="$ac_config_commands depfiles"
   3534 
   3535 
   3536 am_make=${MAKE-make}
   3537 cat > confinc << 'END'
   3538 am__doit:
   3539 	@echo done
   3540 .PHONY: am__doit
   3541 END
   3542 # If we don't find an include directive, just comment out the code.
   3543 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3544 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3545 am__include="#"
   3546 am__quote=
   3547 _am_result=none
   3548 # First try GNU make style include.
   3549 echo "include confinc" > confmf
   3550 # We grep out `Entering directory' and `Leaving directory'
   3551 # messages which can occur if `w' ends up in MAKEFLAGS.
   3552 # In particular we don't look at `^make:' because GNU make might
   3553 # be invoked under some other name (usually "gmake"), in which
   3554 # case it prints its new name instead of `make'.
   3555 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3556    am__include=include
   3557    am__quote=
   3558    _am_result=GNU
   3559 fi
   3560 # Now try BSD make style include.
   3561 if test "$am__include" = "#"; then
   3562    echo '.include "confinc"' > confmf
   3563    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3564       am__include=.include
   3565       am__quote="\""
   3566       _am_result=BSD
   3567    fi
   3568 fi
   3569 
   3570 
   3571 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3572 $as_echo "$_am_result" >&6; }
   3573 rm -f confinc confmf
   3574 
   3575 # Check whether --enable-dependency-tracking was given.
   3576 if test "${enable_dependency_tracking+set}" = set; then
   3577   enableval=$enable_dependency_tracking;
   3578 fi
   3579 
   3580 if test "x$enable_dependency_tracking" != xno; then
   3581   am_depcomp="$ac_aux_dir/depcomp"
   3582   AMDEPBACKSLASH='\'
   3583 fi
   3584  if test "x$enable_dependency_tracking" != xno; then
   3585   AMDEP_TRUE=
   3586   AMDEP_FALSE='#'
   3587 else
   3588   AMDEP_TRUE='#'
   3589   AMDEP_FALSE=
   3590 fi
   3591 
   3592 
   3593 
   3594 depcc="$CC"   am_compiler_list=
   3595 
   3596 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3597 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3598 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3599   $as_echo_n "(cached) " >&6
   3600 else
   3601   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3602   # We make a subdir and do the tests there.  Otherwise we can end up
   3603   # making bogus files that we don't know about and never remove.  For
   3604   # instance it was reported that on HP-UX the gcc test will end up
   3605   # making a dummy file named `D' -- because `-MD' means `put the output
   3606   # in D'.
   3607   mkdir conftest.dir
   3608   # Copy depcomp to subdir because otherwise we won't find it if we're
   3609   # using a relative directory.
   3610   cp "$am_depcomp" conftest.dir
   3611   cd conftest.dir
   3612   # We will build objects and dependencies in a subdirectory because
   3613   # it helps to detect inapplicable dependency modes.  For instance
   3614   # both Tru64's cc and ICC support -MD to output dependencies as a
   3615   # side effect of compilation, but ICC will put the dependencies in
   3616   # the current directory while Tru64 will put them in the object
   3617   # directory.
   3618   mkdir sub
   3619 
   3620   am_cv_CC_dependencies_compiler_type=none
   3621   if test "$am_compiler_list" = ""; then
   3622      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3623   fi
   3624   for depmode in $am_compiler_list; do
   3625     # Setup a source with many dependencies, because some compilers
   3626     # like to wrap large dependency lists on column 80 (with \), and
   3627     # we should not choose a depcomp mode which is confused by this.
   3628     #
   3629     # We need to recreate these files for each test, as the compiler may
   3630     # overwrite some of them when testing with obscure command lines.
   3631     # This happens at least with the AIX C compiler.
   3632     : > sub/conftest.c
   3633     for i in 1 2 3 4 5 6; do
   3634       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3635       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3636       # Solaris 8's {/usr,}/bin/sh.
   3637       touch sub/conftst$i.h
   3638     done
   3639     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3640 
   3641     case $depmode in
   3642     nosideeffect)
   3643       # after this tag, mechanisms are not by side-effect, so they'll
   3644       # only be used when explicitly requested
   3645       if test "x$enable_dependency_tracking" = xyes; then
   3646 	continue
   3647       else
   3648 	break
   3649       fi
   3650       ;;
   3651     none) break ;;
   3652     esac
   3653     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3654     # mode.  It turns out that the SunPro C++ compiler does not properly
   3655     # handle `-M -o', and we need to detect this.
   3656     if depmode=$depmode \
   3657        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3658        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3659        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3660          >/dev/null 2>conftest.err &&
   3661        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3662        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3663        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3664        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3665       # icc doesn't choke on unknown options, it will just issue warnings
   3666       # or remarks (even with -Werror).  So we grep stderr for any message
   3667       # that says an option was ignored or not supported.
   3668       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3669       #   icc: Command line warning: ignoring option '-M'; no argument required
   3670       # The diagnosis changed in icc 8.0:
   3671       #   icc: Command line remark: option '-MP' not supported
   3672       if (grep 'ignoring option' conftest.err ||
   3673           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3674         am_cv_CC_dependencies_compiler_type=$depmode
   3675         break
   3676       fi
   3677     fi
   3678   done
   3679 
   3680   cd ..
   3681   rm -rf conftest.dir
   3682 else
   3683   am_cv_CC_dependencies_compiler_type=none
   3684 fi
   3685 
   3686 fi
   3687 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3688 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3689 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3690 
   3691  if
   3692   test "x$enable_dependency_tracking" != xno \
   3693   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3694   am__fastdepCC_TRUE=
   3695   am__fastdepCC_FALSE='#'
   3696 else
   3697   am__fastdepCC_TRUE='#'
   3698   am__fastdepCC_FALSE=
   3699 fi
   3700 
   3701 
   3702 case `pwd` in
   3703   *\ * | *\	*)
   3704     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3705 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3706 esac
   3707 
   3708 
   3709 
   3710 macro_version='2.2.6'
   3711 macro_revision='1.3012'
   3712 
   3713 
   3714 
   3715 
   3716 
   3717 
   3718 
   3719 
   3720 
   3721 
   3722 
   3723 
   3724 
   3725 ltmain="$ac_aux_dir/ltmain.sh"
   3726 
   3727 # Make sure we can run config.sub.
   3728 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3729   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3730 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3731    { (exit 1); exit 1; }; }
   3732 
   3733 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3734 $as_echo_n "checking build system type... " >&6; }
   3735 if test "${ac_cv_build+set}" = set; then
   3736   $as_echo_n "(cached) " >&6
   3737 else
   3738   ac_build_alias=$build_alias
   3739 test "x$ac_build_alias" = x &&
   3740   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3741 test "x$ac_build_alias" = x &&
   3742   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3743 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3744    { (exit 1); exit 1; }; }
   3745 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3746   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3747 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3748    { (exit 1); exit 1; }; }
   3749 
   3750 fi
   3751 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3752 $as_echo "$ac_cv_build" >&6; }
   3753 case $ac_cv_build in
   3754 *-*-*) ;;
   3755 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3756 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3757    { (exit 1); exit 1; }; };;
   3758 esac
   3759 build=$ac_cv_build
   3760 ac_save_IFS=$IFS; IFS='-'
   3761 set x $ac_cv_build
   3762 shift
   3763 build_cpu=$1
   3764 build_vendor=$2
   3765 shift; shift
   3766 # Remember, the first character of IFS is used to create $*,
   3767 # except with old shells:
   3768 build_os=$*
   3769 IFS=$ac_save_IFS
   3770 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3771 
   3772 
   3773 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3774 $as_echo_n "checking host system type... " >&6; }
   3775 if test "${ac_cv_host+set}" = set; then
   3776   $as_echo_n "(cached) " >&6
   3777 else
   3778   if test "x$host_alias" = x; then
   3779   ac_cv_host=$ac_cv_build
   3780 else
   3781   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3782     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3783 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3784    { (exit 1); exit 1; }; }
   3785 fi
   3786 
   3787 fi
   3788 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3789 $as_echo "$ac_cv_host" >&6; }
   3790 case $ac_cv_host in
   3791 *-*-*) ;;
   3792 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3793 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3794    { (exit 1); exit 1; }; };;
   3795 esac
   3796 host=$ac_cv_host
   3797 ac_save_IFS=$IFS; IFS='-'
   3798 set x $ac_cv_host
   3799 shift
   3800 host_cpu=$1
   3801 host_vendor=$2
   3802 shift; shift
   3803 # Remember, the first character of IFS is used to create $*,
   3804 # except with old shells:
   3805 host_os=$*
   3806 IFS=$ac_save_IFS
   3807 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3808 
   3809 
   3810 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3811 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3812 if test "${ac_cv_path_SED+set}" = set; then
   3813   $as_echo_n "(cached) " >&6
   3814 else
   3815             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3816      for ac_i in 1 2 3 4 5 6 7; do
   3817        ac_script="$ac_script$as_nl$ac_script"
   3818      done
   3819      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3820      $as_unset ac_script || ac_script=
   3821      if test -z "$SED"; then
   3822   ac_path_SED_found=false
   3823   # Loop through the user's path and test for each of PROGNAME-LIST
   3824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3825 for as_dir in $PATH
   3826 do
   3827   IFS=$as_save_IFS
   3828   test -z "$as_dir" && as_dir=.
   3829   for ac_prog in sed gsed; do
   3830     for ac_exec_ext in '' $ac_executable_extensions; do
   3831       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3832       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3833 # Check for GNU ac_path_SED and select it if it is found.
   3834   # Check for GNU $ac_path_SED
   3835 case `"$ac_path_SED" --version 2>&1` in
   3836 *GNU*)
   3837   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3838 *)
   3839   ac_count=0
   3840   $as_echo_n 0123456789 >"conftest.in"
   3841   while :
   3842   do
   3843     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3844     mv "conftest.tmp" "conftest.in"
   3845     cp "conftest.in" "conftest.nl"
   3846     $as_echo '' >> "conftest.nl"
   3847     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3848     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3849     ac_count=`expr $ac_count + 1`
   3850     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3851       # Best one so far, save it but keep looking for a better one
   3852       ac_cv_path_SED="$ac_path_SED"
   3853       ac_path_SED_max=$ac_count
   3854     fi
   3855     # 10*(2^10) chars as input seems more than enough
   3856     test $ac_count -gt 10 && break
   3857   done
   3858   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3859 esac
   3860 
   3861       $ac_path_SED_found && break 3
   3862     done
   3863   done
   3864 done
   3865 IFS=$as_save_IFS
   3866   if test -z "$ac_cv_path_SED"; then
   3867     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3868 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3869    { (exit 1); exit 1; }; }
   3870   fi
   3871 else
   3872   ac_cv_path_SED=$SED
   3873 fi
   3874 
   3875 fi
   3876 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3877 $as_echo "$ac_cv_path_SED" >&6; }
   3878  SED="$ac_cv_path_SED"
   3879   rm -f conftest.sed
   3880 
   3881 test -z "$SED" && SED=sed
   3882 Xsed="$SED -e 1s/^X//"
   3883 
   3884 
   3885 
   3886 
   3887 
   3888 
   3889 
   3890 
   3891 
   3892 
   3893 
   3894 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3895 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3896 if test "${ac_cv_path_GREP+set}" = set; then
   3897   $as_echo_n "(cached) " >&6
   3898 else
   3899   if test -z "$GREP"; then
   3900   ac_path_GREP_found=false
   3901   # Loop through the user's path and test for each of PROGNAME-LIST
   3902   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3903 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3904 do
   3905   IFS=$as_save_IFS
   3906   test -z "$as_dir" && as_dir=.
   3907   for ac_prog in grep ggrep; do
   3908     for ac_exec_ext in '' $ac_executable_extensions; do
   3909       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3910       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3911 # Check for GNU ac_path_GREP and select it if it is found.
   3912   # Check for GNU $ac_path_GREP
   3913 case `"$ac_path_GREP" --version 2>&1` in
   3914 *GNU*)
   3915   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3916 *)
   3917   ac_count=0
   3918   $as_echo_n 0123456789 >"conftest.in"
   3919   while :
   3920   do
   3921     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3922     mv "conftest.tmp" "conftest.in"
   3923     cp "conftest.in" "conftest.nl"
   3924     $as_echo 'GREP' >> "conftest.nl"
   3925     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3926     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3927     ac_count=`expr $ac_count + 1`
   3928     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3929       # Best one so far, save it but keep looking for a better one
   3930       ac_cv_path_GREP="$ac_path_GREP"
   3931       ac_path_GREP_max=$ac_count
   3932     fi
   3933     # 10*(2^10) chars as input seems more than enough
   3934     test $ac_count -gt 10 && break
   3935   done
   3936   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3937 esac
   3938 
   3939       $ac_path_GREP_found && break 3
   3940     done
   3941   done
   3942 done
   3943 IFS=$as_save_IFS
   3944   if test -z "$ac_cv_path_GREP"; then
   3945     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3946 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3947    { (exit 1); exit 1; }; }
   3948   fi
   3949 else
   3950   ac_cv_path_GREP=$GREP
   3951 fi
   3952 
   3953 fi
   3954 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3955 $as_echo "$ac_cv_path_GREP" >&6; }
   3956  GREP="$ac_cv_path_GREP"
   3957 
   3958 
   3959 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3960 $as_echo_n "checking for egrep... " >&6; }
   3961 if test "${ac_cv_path_EGREP+set}" = set; then
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3965    then ac_cv_path_EGREP="$GREP -E"
   3966    else
   3967      if test -z "$EGREP"; then
   3968   ac_path_EGREP_found=false
   3969   # Loop through the user's path and test for each of PROGNAME-LIST
   3970   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3971 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3972 do
   3973   IFS=$as_save_IFS
   3974   test -z "$as_dir" && as_dir=.
   3975   for ac_prog in egrep; do
   3976     for ac_exec_ext in '' $ac_executable_extensions; do
   3977       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3978       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3979 # Check for GNU ac_path_EGREP and select it if it is found.
   3980   # Check for GNU $ac_path_EGREP
   3981 case `"$ac_path_EGREP" --version 2>&1` in
   3982 *GNU*)
   3983   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3984 *)
   3985   ac_count=0
   3986   $as_echo_n 0123456789 >"conftest.in"
   3987   while :
   3988   do
   3989     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3990     mv "conftest.tmp" "conftest.in"
   3991     cp "conftest.in" "conftest.nl"
   3992     $as_echo 'EGREP' >> "conftest.nl"
   3993     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3994     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3995     ac_count=`expr $ac_count + 1`
   3996     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3997       # Best one so far, save it but keep looking for a better one
   3998       ac_cv_path_EGREP="$ac_path_EGREP"
   3999       ac_path_EGREP_max=$ac_count
   4000     fi
   4001     # 10*(2^10) chars as input seems more than enough
   4002     test $ac_count -gt 10 && break
   4003   done
   4004   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4005 esac
   4006 
   4007       $ac_path_EGREP_found && break 3
   4008     done
   4009   done
   4010 done
   4011 IFS=$as_save_IFS
   4012   if test -z "$ac_cv_path_EGREP"; then
   4013     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4014 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4015    { (exit 1); exit 1; }; }
   4016   fi
   4017 else
   4018   ac_cv_path_EGREP=$EGREP
   4019 fi
   4020 
   4021    fi
   4022 fi
   4023 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4024 $as_echo "$ac_cv_path_EGREP" >&6; }
   4025  EGREP="$ac_cv_path_EGREP"
   4026 
   4027 
   4028 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4029 $as_echo_n "checking for fgrep... " >&6; }
   4030 if test "${ac_cv_path_FGREP+set}" = set; then
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4034    then ac_cv_path_FGREP="$GREP -F"
   4035    else
   4036      if test -z "$FGREP"; then
   4037   ac_path_FGREP_found=false
   4038   # Loop through the user's path and test for each of PROGNAME-LIST
   4039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4040 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4041 do
   4042   IFS=$as_save_IFS
   4043   test -z "$as_dir" && as_dir=.
   4044   for ac_prog in fgrep; do
   4045     for ac_exec_ext in '' $ac_executable_extensions; do
   4046       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4047       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4048 # Check for GNU ac_path_FGREP and select it if it is found.
   4049   # Check for GNU $ac_path_FGREP
   4050 case `"$ac_path_FGREP" --version 2>&1` in
   4051 *GNU*)
   4052   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4053 *)
   4054   ac_count=0
   4055   $as_echo_n 0123456789 >"conftest.in"
   4056   while :
   4057   do
   4058     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4059     mv "conftest.tmp" "conftest.in"
   4060     cp "conftest.in" "conftest.nl"
   4061     $as_echo 'FGREP' >> "conftest.nl"
   4062     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4063     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4064     ac_count=`expr $ac_count + 1`
   4065     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4066       # Best one so far, save it but keep looking for a better one
   4067       ac_cv_path_FGREP="$ac_path_FGREP"
   4068       ac_path_FGREP_max=$ac_count
   4069     fi
   4070     # 10*(2^10) chars as input seems more than enough
   4071     test $ac_count -gt 10 && break
   4072   done
   4073   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4074 esac
   4075 
   4076       $ac_path_FGREP_found && break 3
   4077     done
   4078   done
   4079 done
   4080 IFS=$as_save_IFS
   4081   if test -z "$ac_cv_path_FGREP"; then
   4082     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4083 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4084    { (exit 1); exit 1; }; }
   4085   fi
   4086 else
   4087   ac_cv_path_FGREP=$FGREP
   4088 fi
   4089 
   4090    fi
   4091 fi
   4092 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4093 $as_echo "$ac_cv_path_FGREP" >&6; }
   4094  FGREP="$ac_cv_path_FGREP"
   4095 
   4096 
   4097 test -z "$GREP" && GREP=grep
   4098 
   4099 
   4100 
   4101 
   4102 
   4103 
   4104 
   4105 
   4106 
   4107 
   4108 
   4109 
   4110 
   4111 
   4112 
   4113 
   4114 
   4115 
   4116 
   4117 # Check whether --with-gnu-ld was given.
   4118 if test "${with_gnu_ld+set}" = set; then
   4119   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4120 else
   4121   with_gnu_ld=no
   4122 fi
   4123 
   4124 ac_prog=ld
   4125 if test "$GCC" = yes; then
   4126   # Check if gcc -print-prog-name=ld gives a path.
   4127   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4128 $as_echo_n "checking for ld used by $CC... " >&6; }
   4129   case $host in
   4130   *-*-mingw*)
   4131     # gcc leaves a trailing carriage return which upsets mingw
   4132     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4133   *)
   4134     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4135   esac
   4136   case $ac_prog in
   4137     # Accept absolute paths.
   4138     [\\/]* | ?:[\\/]*)
   4139       re_direlt='/[^/][^/]*/\.\./'
   4140       # Canonicalize the pathname of ld
   4141       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4142       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4143 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4144       done
   4145       test -z "$LD" && LD="$ac_prog"
   4146       ;;
   4147   "")
   4148     # If it fails, then pretend we aren't using GCC.
   4149     ac_prog=ld
   4150     ;;
   4151   *)
   4152     # If it is relative, then search for the first ld in PATH.
   4153     with_gnu_ld=unknown
   4154     ;;
   4155   esac
   4156 elif test "$with_gnu_ld" = yes; then
   4157   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4158 $as_echo_n "checking for GNU ld... " >&6; }
   4159 else
   4160   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4161 $as_echo_n "checking for non-GNU ld... " >&6; }
   4162 fi
   4163 if test "${lt_cv_path_LD+set}" = set; then
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   if test -z "$LD"; then
   4167   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4168   for ac_dir in $PATH; do
   4169     IFS="$lt_save_ifs"
   4170     test -z "$ac_dir" && ac_dir=.
   4171     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4172       lt_cv_path_LD="$ac_dir/$ac_prog"
   4173       # Check to see if the program is GNU ld.  I'd rather use --version,
   4174       # but apparently some variants of GNU ld only accept -v.
   4175       # Break only if it was the GNU/non-GNU ld that we prefer.
   4176       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4177       *GNU* | *'with BFD'*)
   4178 	test "$with_gnu_ld" != no && break
   4179 	;;
   4180       *)
   4181 	test "$with_gnu_ld" != yes && break
   4182 	;;
   4183       esac
   4184     fi
   4185   done
   4186   IFS="$lt_save_ifs"
   4187 else
   4188   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4189 fi
   4190 fi
   4191 
   4192 LD="$lt_cv_path_LD"
   4193 if test -n "$LD"; then
   4194   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4195 $as_echo "$LD" >&6; }
   4196 else
   4197   { $as_echo "$as_me:$LINENO: result: no" >&5
   4198 $as_echo "no" >&6; }
   4199 fi
   4200 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4201 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4202    { (exit 1); exit 1; }; }
   4203 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4204 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4205 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4206   $as_echo_n "(cached) " >&6
   4207 else
   4208   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4209 case `$LD -v 2>&1 </dev/null` in
   4210 *GNU* | *'with BFD'*)
   4211   lt_cv_prog_gnu_ld=yes
   4212   ;;
   4213 *)
   4214   lt_cv_prog_gnu_ld=no
   4215   ;;
   4216 esac
   4217 fi
   4218 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4219 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4220 with_gnu_ld=$lt_cv_prog_gnu_ld
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4231 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4232 if test "${lt_cv_path_NM+set}" = set; then
   4233   $as_echo_n "(cached) " >&6
   4234 else
   4235   if test -n "$NM"; then
   4236   # Let the user override the test.
   4237   lt_cv_path_NM="$NM"
   4238 else
   4239   lt_nm_to_check="${ac_tool_prefix}nm"
   4240   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4241     lt_nm_to_check="$lt_nm_to_check nm"
   4242   fi
   4243   for lt_tmp_nm in $lt_nm_to_check; do
   4244     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4245     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4246       IFS="$lt_save_ifs"
   4247       test -z "$ac_dir" && ac_dir=.
   4248       tmp_nm="$ac_dir/$lt_tmp_nm"
   4249       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4250 	# Check to see if the nm accepts a BSD-compat flag.
   4251 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4252 	#   nm: unknown option "B" ignored
   4253 	# Tru64's nm complains that /dev/null is an invalid object file
   4254 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4255 	*/dev/null* | *'Invalid file or object type'*)
   4256 	  lt_cv_path_NM="$tmp_nm -B"
   4257 	  break
   4258 	  ;;
   4259 	*)
   4260 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4261 	  */dev/null*)
   4262 	    lt_cv_path_NM="$tmp_nm -p"
   4263 	    break
   4264 	    ;;
   4265 	  *)
   4266 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4267 	    continue # so that we can try to find one that supports BSD flags
   4268 	    ;;
   4269 	  esac
   4270 	  ;;
   4271 	esac
   4272       fi
   4273     done
   4274     IFS="$lt_save_ifs"
   4275   done
   4276   : ${lt_cv_path_NM=no}
   4277 fi
   4278 fi
   4279 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4280 $as_echo "$lt_cv_path_NM" >&6; }
   4281 if test "$lt_cv_path_NM" != "no"; then
   4282   NM="$lt_cv_path_NM"
   4283 else
   4284   # Didn't find any BSD compatible name lister, look for dumpbin.
   4285   if test -n "$ac_tool_prefix"; then
   4286   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4287   do
   4288     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4291 $as_echo_n "checking for $ac_word... " >&6; }
   4292 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4293   $as_echo_n "(cached) " >&6
   4294 else
   4295   if test -n "$DUMPBIN"; then
   4296   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4297 else
   4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4299 for as_dir in $PATH
   4300 do
   4301   IFS=$as_save_IFS
   4302   test -z "$as_dir" && as_dir=.
   4303   for ac_exec_ext in '' $ac_executable_extensions; do
   4304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4305     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4306     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4307     break 2
   4308   fi
   4309 done
   4310 done
   4311 IFS=$as_save_IFS
   4312 
   4313 fi
   4314 fi
   4315 DUMPBIN=$ac_cv_prog_DUMPBIN
   4316 if test -n "$DUMPBIN"; then
   4317   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4318 $as_echo "$DUMPBIN" >&6; }
   4319 else
   4320   { $as_echo "$as_me:$LINENO: result: no" >&5
   4321 $as_echo "no" >&6; }
   4322 fi
   4323 
   4324 
   4325     test -n "$DUMPBIN" && break
   4326   done
   4327 fi
   4328 if test -z "$DUMPBIN"; then
   4329   ac_ct_DUMPBIN=$DUMPBIN
   4330   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4331 do
   4332   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4333 set dummy $ac_prog; ac_word=$2
   4334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4335 $as_echo_n "checking for $ac_word... " >&6; }
   4336 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4337   $as_echo_n "(cached) " >&6
   4338 else
   4339   if test -n "$ac_ct_DUMPBIN"; then
   4340   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4341 else
   4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4343 for as_dir in $PATH
   4344 do
   4345   IFS=$as_save_IFS
   4346   test -z "$as_dir" && as_dir=.
   4347   for ac_exec_ext in '' $ac_executable_extensions; do
   4348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4349     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4350     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4351     break 2
   4352   fi
   4353 done
   4354 done
   4355 IFS=$as_save_IFS
   4356 
   4357 fi
   4358 fi
   4359 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4360 if test -n "$ac_ct_DUMPBIN"; then
   4361   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4362 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4363 else
   4364   { $as_echo "$as_me:$LINENO: result: no" >&5
   4365 $as_echo "no" >&6; }
   4366 fi
   4367 
   4368 
   4369   test -n "$ac_ct_DUMPBIN" && break
   4370 done
   4371 
   4372   if test "x$ac_ct_DUMPBIN" = x; then
   4373     DUMPBIN=":"
   4374   else
   4375     case $cross_compiling:$ac_tool_warned in
   4376 yes:)
   4377 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4379 ac_tool_warned=yes ;;
   4380 esac
   4381     DUMPBIN=$ac_ct_DUMPBIN
   4382   fi
   4383 fi
   4384 
   4385 
   4386   if test "$DUMPBIN" != ":"; then
   4387     NM="$DUMPBIN"
   4388   fi
   4389 fi
   4390 test -z "$NM" && NM=nm
   4391 
   4392 
   4393 
   4394 
   4395 
   4396 
   4397 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4398 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4399 if test "${lt_cv_nm_interface+set}" = set; then
   4400   $as_echo_n "(cached) " >&6
   4401 else
   4402   lt_cv_nm_interface="BSD nm"
   4403   echo "int some_variable = 0;" > conftest.$ac_ext
   4404   (eval echo "\"\$as_me:4404: $ac_compile\"" >&5)
   4405   (eval "$ac_compile" 2>conftest.err)
   4406   cat conftest.err >&5
   4407   (eval echo "\"\$as_me:4407: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4408   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4409   cat conftest.err >&5
   4410   (eval echo "\"\$as_me:4410: output\"" >&5)
   4411   cat conftest.out >&5
   4412   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4413     lt_cv_nm_interface="MS dumpbin"
   4414   fi
   4415   rm -f conftest*
   4416 fi
   4417 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4418 $as_echo "$lt_cv_nm_interface" >&6; }
   4419 
   4420 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4421 $as_echo_n "checking whether ln -s works... " >&6; }
   4422 LN_S=$as_ln_s
   4423 if test "$LN_S" = "ln -s"; then
   4424   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4425 $as_echo "yes" >&6; }
   4426 else
   4427   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4428 $as_echo "no, using $LN_S" >&6; }
   4429 fi
   4430 
   4431 # find the maximum length of command line arguments
   4432 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4433 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4434 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4435   $as_echo_n "(cached) " >&6
   4436 else
   4437     i=0
   4438   teststring="ABCD"
   4439 
   4440   case $build_os in
   4441   msdosdjgpp*)
   4442     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4443     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4444     # during glob expansion).  Even if it were fixed, the result of this
   4445     # check would be larger than it should be.
   4446     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4447     ;;
   4448 
   4449   gnu*)
   4450     # Under GNU Hurd, this test is not required because there is
   4451     # no limit to the length of command line arguments.
   4452     # Libtool will interpret -1 as no limit whatsoever
   4453     lt_cv_sys_max_cmd_len=-1;
   4454     ;;
   4455 
   4456   cygwin* | mingw* | cegcc*)
   4457     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4458     # about 5 minutes as the teststring grows exponentially.
   4459     # Worse, since 9x/ME are not pre-emptively multitasking,
   4460     # you end up with a "frozen" computer, even though with patience
   4461     # the test eventually succeeds (with a max line length of 256k).
   4462     # Instead, let's just punt: use the minimum linelength reported by
   4463     # all of the supported platforms: 8192 (on NT/2K/XP).
   4464     lt_cv_sys_max_cmd_len=8192;
   4465     ;;
   4466 
   4467   amigaos*)
   4468     # On AmigaOS with pdksh, this test takes hours, literally.
   4469     # So we just punt and use a minimum line length of 8192.
   4470     lt_cv_sys_max_cmd_len=8192;
   4471     ;;
   4472 
   4473   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4474     # This has been around since 386BSD, at least.  Likely further.
   4475     if test -x /sbin/sysctl; then
   4476       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4477     elif test -x /usr/sbin/sysctl; then
   4478       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4479     else
   4480       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4481     fi
   4482     # And add a safety zone
   4483     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4484     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4485     ;;
   4486 
   4487   interix*)
   4488     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4489     lt_cv_sys_max_cmd_len=196608
   4490     ;;
   4491 
   4492   osf*)
   4493     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4494     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4495     # nice to cause kernel panics so lets avoid the loop below.
   4496     # First set a reasonable default.
   4497     lt_cv_sys_max_cmd_len=16384
   4498     #
   4499     if test -x /sbin/sysconfig; then
   4500       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4501         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4502       esac
   4503     fi
   4504     ;;
   4505   sco3.2v5*)
   4506     lt_cv_sys_max_cmd_len=102400
   4507     ;;
   4508   sysv5* | sco5v6* | sysv4.2uw2*)
   4509     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4510     if test -n "$kargmax"; then
   4511       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4512     else
   4513       lt_cv_sys_max_cmd_len=32768
   4514     fi
   4515     ;;
   4516   *)
   4517     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4518     if test -n "$lt_cv_sys_max_cmd_len"; then
   4519       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4520       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4521     else
   4522       # Make teststring a little bigger before we do anything with it.
   4523       # a 1K string should be a reasonable start.
   4524       for i in 1 2 3 4 5 6 7 8 ; do
   4525         teststring=$teststring$teststring
   4526       done
   4527       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4528       # If test is not a shell built-in, we'll probably end up computing a
   4529       # maximum length that is only half of the actual maximum length, but
   4530       # we can't tell.
   4531       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4532 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4533 	      test $i != 17 # 1/2 MB should be enough
   4534       do
   4535         i=`expr $i + 1`
   4536         teststring=$teststring$teststring
   4537       done
   4538       # Only check the string length outside the loop.
   4539       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4540       teststring=
   4541       # Add a significant safety factor because C++ compilers can tack on
   4542       # massive amounts of additional arguments before passing them to the
   4543       # linker.  It appears as though 1/2 is a usable value.
   4544       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4545     fi
   4546     ;;
   4547   esac
   4548 
   4549 fi
   4550 
   4551 if test -n $lt_cv_sys_max_cmd_len ; then
   4552   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4553 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4554 else
   4555   { $as_echo "$as_me:$LINENO: result: none" >&5
   4556 $as_echo "none" >&6; }
   4557 fi
   4558 max_cmd_len=$lt_cv_sys_max_cmd_len
   4559 
   4560 
   4561 
   4562 
   4563 
   4564 
   4565 : ${CP="cp -f"}
   4566 : ${MV="mv -f"}
   4567 : ${RM="rm -f"}
   4568 
   4569 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4570 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4571 # Try some XSI features
   4572 xsi_shell=no
   4573 ( _lt_dummy="a/b/c"
   4574   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4575       = c,a/b,, \
   4576     && eval 'test $(( 1 + 1 )) -eq 2 \
   4577     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4578   && xsi_shell=yes
   4579 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4580 $as_echo "$xsi_shell" >&6; }
   4581 
   4582 
   4583 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4584 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4585 lt_shell_append=no
   4586 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4587     >/dev/null 2>&1 \
   4588   && lt_shell_append=yes
   4589 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4590 $as_echo "$lt_shell_append" >&6; }
   4591 
   4592 
   4593 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4594   lt_unset=unset
   4595 else
   4596   lt_unset=false
   4597 fi
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 # test EBCDIC or ASCII
   4604 case `echo X|tr X '\101'` in
   4605  A) # ASCII based system
   4606     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4607   lt_SP2NL='tr \040 \012'
   4608   lt_NL2SP='tr \015\012 \040\040'
   4609   ;;
   4610  *) # EBCDIC based system
   4611   lt_SP2NL='tr \100 \n'
   4612   lt_NL2SP='tr \r\n \100\100'
   4613   ;;
   4614 esac
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4625 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4626 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4627   $as_echo_n "(cached) " >&6
   4628 else
   4629   lt_cv_ld_reload_flag='-r'
   4630 fi
   4631 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4632 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4633 reload_flag=$lt_cv_ld_reload_flag
   4634 case $reload_flag in
   4635 "" | " "*) ;;
   4636 *) reload_flag=" $reload_flag" ;;
   4637 esac
   4638 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4639 case $host_os in
   4640   darwin*)
   4641     if test "$GCC" = yes; then
   4642       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4643     else
   4644       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4645     fi
   4646     ;;
   4647 esac
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 if test -n "$ac_tool_prefix"; then
   4658   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4659 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4660 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4661 $as_echo_n "checking for $ac_word... " >&6; }
   4662 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4663   $as_echo_n "(cached) " >&6
   4664 else
   4665   if test -n "$OBJDUMP"; then
   4666   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4667 else
   4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4669 for as_dir in $PATH
   4670 do
   4671   IFS=$as_save_IFS
   4672   test -z "$as_dir" && as_dir=.
   4673   for ac_exec_ext in '' $ac_executable_extensions; do
   4674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4675     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4676     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4677     break 2
   4678   fi
   4679 done
   4680 done
   4681 IFS=$as_save_IFS
   4682 
   4683 fi
   4684 fi
   4685 OBJDUMP=$ac_cv_prog_OBJDUMP
   4686 if test -n "$OBJDUMP"; then
   4687   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4688 $as_echo "$OBJDUMP" >&6; }
   4689 else
   4690   { $as_echo "$as_me:$LINENO: result: no" >&5
   4691 $as_echo "no" >&6; }
   4692 fi
   4693 
   4694 
   4695 fi
   4696 if test -z "$ac_cv_prog_OBJDUMP"; then
   4697   ac_ct_OBJDUMP=$OBJDUMP
   4698   # Extract the first word of "objdump", so it can be a program name with args.
   4699 set dummy objdump; ac_word=$2
   4700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4701 $as_echo_n "checking for $ac_word... " >&6; }
   4702 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705   if test -n "$ac_ct_OBJDUMP"; then
   4706   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4707 else
   4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4709 for as_dir in $PATH
   4710 do
   4711   IFS=$as_save_IFS
   4712   test -z "$as_dir" && as_dir=.
   4713   for ac_exec_ext in '' $ac_executable_extensions; do
   4714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4715     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4716     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4717     break 2
   4718   fi
   4719 done
   4720 done
   4721 IFS=$as_save_IFS
   4722 
   4723 fi
   4724 fi
   4725 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4726 if test -n "$ac_ct_OBJDUMP"; then
   4727   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4728 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4729 else
   4730   { $as_echo "$as_me:$LINENO: result: no" >&5
   4731 $as_echo "no" >&6; }
   4732 fi
   4733 
   4734   if test "x$ac_ct_OBJDUMP" = x; then
   4735     OBJDUMP="false"
   4736   else
   4737     case $cross_compiling:$ac_tool_warned in
   4738 yes:)
   4739 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4741 ac_tool_warned=yes ;;
   4742 esac
   4743     OBJDUMP=$ac_ct_OBJDUMP
   4744   fi
   4745 else
   4746   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4747 fi
   4748 
   4749 test -z "$OBJDUMP" && OBJDUMP=objdump
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4760 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4761 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4762   $as_echo_n "(cached) " >&6
   4763 else
   4764   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4765 lt_cv_file_magic_test_file=
   4766 lt_cv_deplibs_check_method='unknown'
   4767 # Need to set the preceding variable on all platforms that support
   4768 # interlibrary dependencies.
   4769 # 'none' -- dependencies not supported.
   4770 # `unknown' -- same as none, but documents that we really don't know.
   4771 # 'pass_all' -- all dependencies passed with no checks.
   4772 # 'test_compile' -- check by making test program.
   4773 # 'file_magic [[regex]]' -- check by looking for files in library path
   4774 # which responds to the $file_magic_cmd with a given extended regex.
   4775 # If you have `file' or equivalent on your system and you're not sure
   4776 # whether `pass_all' will *always* work, you probably want this one.
   4777 
   4778 case $host_os in
   4779 aix[4-9]*)
   4780   lt_cv_deplibs_check_method=pass_all
   4781   ;;
   4782 
   4783 beos*)
   4784   lt_cv_deplibs_check_method=pass_all
   4785   ;;
   4786 
   4787 bsdi[45]*)
   4788   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4789   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4790   lt_cv_file_magic_test_file=/shlib/libc.so
   4791   ;;
   4792 
   4793 cygwin*)
   4794   # func_win32_libid is a shell function defined in ltmain.sh
   4795   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4796   lt_cv_file_magic_cmd='func_win32_libid'
   4797   ;;
   4798 
   4799 mingw* | pw32*)
   4800   # Base MSYS/MinGW do not provide the 'file' command needed by
   4801   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4802   # unless we find 'file', for example because we are cross-compiling.
   4803   if ( file / ) >/dev/null 2>&1; then
   4804     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4805     lt_cv_file_magic_cmd='func_win32_libid'
   4806   else
   4807     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4808     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4809   fi
   4810   ;;
   4811 
   4812 cegcc)
   4813   # use the weaker test based on 'objdump'. See mingw*.
   4814   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4815   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4816   ;;
   4817 
   4818 darwin* | rhapsody*)
   4819   lt_cv_deplibs_check_method=pass_all
   4820   ;;
   4821 
   4822 freebsd* | dragonfly*)
   4823   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4824     case $host_cpu in
   4825     i*86 )
   4826       # Not sure whether the presence of OpenBSD here was a mistake.
   4827       # Let's accept both of them until this is cleared up.
   4828       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4829       lt_cv_file_magic_cmd=/usr/bin/file
   4830       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4831       ;;
   4832     esac
   4833   else
   4834     lt_cv_deplibs_check_method=pass_all
   4835   fi
   4836   ;;
   4837 
   4838 gnu*)
   4839   lt_cv_deplibs_check_method=pass_all
   4840   ;;
   4841 
   4842 hpux10.20* | hpux11*)
   4843   lt_cv_file_magic_cmd=/usr/bin/file
   4844   case $host_cpu in
   4845   ia64*)
   4846     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4847     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4848     ;;
   4849   hppa*64*)
   4850     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]'
   4851     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4852     ;;
   4853   *)
   4854     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4855     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4856     ;;
   4857   esac
   4858   ;;
   4859 
   4860 interix[3-9]*)
   4861   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4862   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4863   ;;
   4864 
   4865 irix5* | irix6* | nonstopux*)
   4866   case $LD in
   4867   *-32|*"-32 ") libmagic=32-bit;;
   4868   *-n32|*"-n32 ") libmagic=N32;;
   4869   *-64|*"-64 ") libmagic=64-bit;;
   4870   *) libmagic=never-match;;
   4871   esac
   4872   lt_cv_deplibs_check_method=pass_all
   4873   ;;
   4874 
   4875 # This must be Linux ELF.
   4876 linux* | k*bsd*-gnu)
   4877   lt_cv_deplibs_check_method=pass_all
   4878   ;;
   4879 
   4880 netbsd*)
   4881   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4882     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4883   else
   4884     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4885   fi
   4886   ;;
   4887 
   4888 newos6*)
   4889   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4890   lt_cv_file_magic_cmd=/usr/bin/file
   4891   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4892   ;;
   4893 
   4894 *nto* | *qnx*)
   4895   lt_cv_deplibs_check_method=pass_all
   4896   ;;
   4897 
   4898 openbsd*)
   4899   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4900     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4901   else
   4902     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4903   fi
   4904   ;;
   4905 
   4906 osf3* | osf4* | osf5*)
   4907   lt_cv_deplibs_check_method=pass_all
   4908   ;;
   4909 
   4910 rdos*)
   4911   lt_cv_deplibs_check_method=pass_all
   4912   ;;
   4913 
   4914 solaris*)
   4915   lt_cv_deplibs_check_method=pass_all
   4916   ;;
   4917 
   4918 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4919   lt_cv_deplibs_check_method=pass_all
   4920   ;;
   4921 
   4922 sysv4 | sysv4.3*)
   4923   case $host_vendor in
   4924   motorola)
   4925     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]'
   4926     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4927     ;;
   4928   ncr)
   4929     lt_cv_deplibs_check_method=pass_all
   4930     ;;
   4931   sequent)
   4932     lt_cv_file_magic_cmd='/bin/file'
   4933     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4934     ;;
   4935   sni)
   4936     lt_cv_file_magic_cmd='/bin/file'
   4937     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4938     lt_cv_file_magic_test_file=/lib/libc.so
   4939     ;;
   4940   siemens)
   4941     lt_cv_deplibs_check_method=pass_all
   4942     ;;
   4943   pc)
   4944     lt_cv_deplibs_check_method=pass_all
   4945     ;;
   4946   esac
   4947   ;;
   4948 
   4949 tpf*)
   4950   lt_cv_deplibs_check_method=pass_all
   4951   ;;
   4952 esac
   4953 
   4954 fi
   4955 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4956 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4957 file_magic_cmd=$lt_cv_file_magic_cmd
   4958 deplibs_check_method=$lt_cv_deplibs_check_method
   4959 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 if test -n "$ac_tool_prefix"; then
   4973   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   4974 set dummy ${ac_tool_prefix}ar; ac_word=$2
   4975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4976 $as_echo_n "checking for $ac_word... " >&6; }
   4977 if test "${ac_cv_prog_AR+set}" = set; then
   4978   $as_echo_n "(cached) " >&6
   4979 else
   4980   if test -n "$AR"; then
   4981   ac_cv_prog_AR="$AR" # Let the user override the test.
   4982 else
   4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4984 for as_dir in $PATH
   4985 do
   4986   IFS=$as_save_IFS
   4987   test -z "$as_dir" && as_dir=.
   4988   for ac_exec_ext in '' $ac_executable_extensions; do
   4989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4990     ac_cv_prog_AR="${ac_tool_prefix}ar"
   4991     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4992     break 2
   4993   fi
   4994 done
   4995 done
   4996 IFS=$as_save_IFS
   4997 
   4998 fi
   4999 fi
   5000 AR=$ac_cv_prog_AR
   5001 if test -n "$AR"; then
   5002   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5003 $as_echo "$AR" >&6; }
   5004 else
   5005   { $as_echo "$as_me:$LINENO: result: no" >&5
   5006 $as_echo "no" >&6; }
   5007 fi
   5008 
   5009 
   5010 fi
   5011 if test -z "$ac_cv_prog_AR"; then
   5012   ac_ct_AR=$AR
   5013   # Extract the first word of "ar", so it can be a program name with args.
   5014 set dummy ar; ac_word=$2
   5015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5016 $as_echo_n "checking for $ac_word... " >&6; }
   5017 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   if test -n "$ac_ct_AR"; then
   5021   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5022 else
   5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5024 for as_dir in $PATH
   5025 do
   5026   IFS=$as_save_IFS
   5027   test -z "$as_dir" && as_dir=.
   5028   for ac_exec_ext in '' $ac_executable_extensions; do
   5029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5030     ac_cv_prog_ac_ct_AR="ar"
   5031     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5032     break 2
   5033   fi
   5034 done
   5035 done
   5036 IFS=$as_save_IFS
   5037 
   5038 fi
   5039 fi
   5040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5041 if test -n "$ac_ct_AR"; then
   5042   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5043 $as_echo "$ac_ct_AR" >&6; }
   5044 else
   5045   { $as_echo "$as_me:$LINENO: result: no" >&5
   5046 $as_echo "no" >&6; }
   5047 fi
   5048 
   5049   if test "x$ac_ct_AR" = x; then
   5050     AR="false"
   5051   else
   5052     case $cross_compiling:$ac_tool_warned in
   5053 yes:)
   5054 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5056 ac_tool_warned=yes ;;
   5057 esac
   5058     AR=$ac_ct_AR
   5059   fi
   5060 else
   5061   AR="$ac_cv_prog_AR"
   5062 fi
   5063 
   5064 test -z "$AR" && AR=ar
   5065 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 if test -n "$ac_tool_prefix"; then
   5078   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5079 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5080 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5081 $as_echo_n "checking for $ac_word... " >&6; }
   5082 if test "${ac_cv_prog_STRIP+set}" = set; then
   5083   $as_echo_n "(cached) " >&6
   5084 else
   5085   if test -n "$STRIP"; then
   5086   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5087 else
   5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5089 for as_dir in $PATH
   5090 do
   5091   IFS=$as_save_IFS
   5092   test -z "$as_dir" && as_dir=.
   5093   for ac_exec_ext in '' $ac_executable_extensions; do
   5094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5095     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5096     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5097     break 2
   5098   fi
   5099 done
   5100 done
   5101 IFS=$as_save_IFS
   5102 
   5103 fi
   5104 fi
   5105 STRIP=$ac_cv_prog_STRIP
   5106 if test -n "$STRIP"; then
   5107   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5108 $as_echo "$STRIP" >&6; }
   5109 else
   5110   { $as_echo "$as_me:$LINENO: result: no" >&5
   5111 $as_echo "no" >&6; }
   5112 fi
   5113 
   5114 
   5115 fi
   5116 if test -z "$ac_cv_prog_STRIP"; then
   5117   ac_ct_STRIP=$STRIP
   5118   # Extract the first word of "strip", so it can be a program name with args.
   5119 set dummy strip; ac_word=$2
   5120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5121 $as_echo_n "checking for $ac_word... " >&6; }
   5122 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   if test -n "$ac_ct_STRIP"; then
   5126   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5127 else
   5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5129 for as_dir in $PATH
   5130 do
   5131   IFS=$as_save_IFS
   5132   test -z "$as_dir" && as_dir=.
   5133   for ac_exec_ext in '' $ac_executable_extensions; do
   5134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5135     ac_cv_prog_ac_ct_STRIP="strip"
   5136     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5137     break 2
   5138   fi
   5139 done
   5140 done
   5141 IFS=$as_save_IFS
   5142 
   5143 fi
   5144 fi
   5145 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5146 if test -n "$ac_ct_STRIP"; then
   5147   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5148 $as_echo "$ac_ct_STRIP" >&6; }
   5149 else
   5150   { $as_echo "$as_me:$LINENO: result: no" >&5
   5151 $as_echo "no" >&6; }
   5152 fi
   5153 
   5154   if test "x$ac_ct_STRIP" = x; then
   5155     STRIP=":"
   5156   else
   5157     case $cross_compiling:$ac_tool_warned in
   5158 yes:)
   5159 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5161 ac_tool_warned=yes ;;
   5162 esac
   5163     STRIP=$ac_ct_STRIP
   5164   fi
   5165 else
   5166   STRIP="$ac_cv_prog_STRIP"
   5167 fi
   5168 
   5169 test -z "$STRIP" && STRIP=:
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 if test -n "$ac_tool_prefix"; then
   5177   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5178 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5180 $as_echo_n "checking for $ac_word... " >&6; }
   5181 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5182   $as_echo_n "(cached) " >&6
   5183 else
   5184   if test -n "$RANLIB"; then
   5185   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5186 else
   5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5188 for as_dir in $PATH
   5189 do
   5190   IFS=$as_save_IFS
   5191   test -z "$as_dir" && as_dir=.
   5192   for ac_exec_ext in '' $ac_executable_extensions; do
   5193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5194     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5196     break 2
   5197   fi
   5198 done
   5199 done
   5200 IFS=$as_save_IFS
   5201 
   5202 fi
   5203 fi
   5204 RANLIB=$ac_cv_prog_RANLIB
   5205 if test -n "$RANLIB"; then
   5206   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5207 $as_echo "$RANLIB" >&6; }
   5208 else
   5209   { $as_echo "$as_me:$LINENO: result: no" >&5
   5210 $as_echo "no" >&6; }
   5211 fi
   5212 
   5213 
   5214 fi
   5215 if test -z "$ac_cv_prog_RANLIB"; then
   5216   ac_ct_RANLIB=$RANLIB
   5217   # Extract the first word of "ranlib", so it can be a program name with args.
   5218 set dummy ranlib; ac_word=$2
   5219 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5220 $as_echo_n "checking for $ac_word... " >&6; }
   5221 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5222   $as_echo_n "(cached) " >&6
   5223 else
   5224   if test -n "$ac_ct_RANLIB"; then
   5225   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5226 else
   5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5228 for as_dir in $PATH
   5229 do
   5230   IFS=$as_save_IFS
   5231   test -z "$as_dir" && as_dir=.
   5232   for ac_exec_ext in '' $ac_executable_extensions; do
   5233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5234     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5235     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5236     break 2
   5237   fi
   5238 done
   5239 done
   5240 IFS=$as_save_IFS
   5241 
   5242 fi
   5243 fi
   5244 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5245 if test -n "$ac_ct_RANLIB"; then
   5246   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5247 $as_echo "$ac_ct_RANLIB" >&6; }
   5248 else
   5249   { $as_echo "$as_me:$LINENO: result: no" >&5
   5250 $as_echo "no" >&6; }
   5251 fi
   5252 
   5253   if test "x$ac_ct_RANLIB" = x; then
   5254     RANLIB=":"
   5255   else
   5256     case $cross_compiling:$ac_tool_warned in
   5257 yes:)
   5258 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5260 ac_tool_warned=yes ;;
   5261 esac
   5262     RANLIB=$ac_ct_RANLIB
   5263   fi
   5264 else
   5265   RANLIB="$ac_cv_prog_RANLIB"
   5266 fi
   5267 
   5268 test -z "$RANLIB" && RANLIB=:
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 # Determine commands to create old-style static archives.
   5276 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5277 old_postinstall_cmds='chmod 644 $oldlib'
   5278 old_postuninstall_cmds=
   5279 
   5280 if test -n "$RANLIB"; then
   5281   case $host_os in
   5282   openbsd*)
   5283     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5284     ;;
   5285   *)
   5286     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5287     ;;
   5288   esac
   5289   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5290 fi
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 # If no C compiler was specified, use CC.
   5326 LTCC=${LTCC-"$CC"}
   5327 
   5328 # If no C compiler flags were specified, use CFLAGS.
   5329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5330 
   5331 # Allow CC to be a program name with arguments.
   5332 compiler=$CC
   5333 
   5334 
   5335 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5336 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5337 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5338 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5339   $as_echo_n "(cached) " >&6
   5340 else
   5341 
   5342 # These are sane defaults that work on at least a few old systems.
   5343 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5344 
   5345 # Character class describing NM global symbol codes.
   5346 symcode='[BCDEGRST]'
   5347 
   5348 # Regexp to match symbols that can be accessed directly from C.
   5349 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5350 
   5351 # Define system-specific variables.
   5352 case $host_os in
   5353 aix*)
   5354   symcode='[BCDT]'
   5355   ;;
   5356 cygwin* | mingw* | pw32* | cegcc*)
   5357   symcode='[ABCDGISTW]'
   5358   ;;
   5359 hpux*)
   5360   if test "$host_cpu" = ia64; then
   5361     symcode='[ABCDEGRST]'
   5362   fi
   5363   ;;
   5364 irix* | nonstopux*)
   5365   symcode='[BCDEGRST]'
   5366   ;;
   5367 osf*)
   5368   symcode='[BCDEGQRST]'
   5369   ;;
   5370 solaris*)
   5371   symcode='[BDRT]'
   5372   ;;
   5373 sco3.2v5*)
   5374   symcode='[DT]'
   5375   ;;
   5376 sysv4.2uw2*)
   5377   symcode='[DT]'
   5378   ;;
   5379 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5380   symcode='[ABDT]'
   5381   ;;
   5382 sysv4)
   5383   symcode='[DFNSTU]'
   5384   ;;
   5385 esac
   5386 
   5387 # If we're using GNU nm, then use its standard symbol codes.
   5388 case `$NM -V 2>&1` in
   5389 *GNU* | *'with BFD'*)
   5390   symcode='[ABCDGIRSTW]' ;;
   5391 esac
   5392 
   5393 # Transform an extracted symbol line into a proper C declaration.
   5394 # Some systems (esp. on ia64) link data and code symbols differently,
   5395 # so use this general approach.
   5396 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5397 
   5398 # Transform an extracted symbol line into symbol name and symbol address
   5399 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5400 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'"
   5401 
   5402 # Handle CRLF in mingw tool chain
   5403 opt_cr=
   5404 case $build_os in
   5405 mingw*)
   5406   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5407   ;;
   5408 esac
   5409 
   5410 # Try without a prefix underscore, then with it.
   5411 for ac_symprfx in "" "_"; do
   5412 
   5413   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5414   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5415 
   5416   # Write the raw and C identifiers.
   5417   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5418     # Fake it for dumpbin and say T for any non-static function
   5419     # and D for any global variable.
   5420     # Also find C++ and __fastcall symbols from MSVC++,
   5421     # which start with @ or ?.
   5422     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5423 "     {last_section=section; section=\$ 3};"\
   5424 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5425 "     \$ 0!~/External *\|/{next};"\
   5426 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5427 "     {if(hide[section]) next};"\
   5428 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5429 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5430 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5431 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5432 "     ' prfx=^$ac_symprfx"
   5433   else
   5434     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5435   fi
   5436 
   5437   # Check to see that the pipe works correctly.
   5438   pipe_works=no
   5439 
   5440   rm -f conftest*
   5441   cat > conftest.$ac_ext <<_LT_EOF
   5442 #ifdef __cplusplus
   5443 extern "C" {
   5444 #endif
   5445 char nm_test_var;
   5446 void nm_test_func(void);
   5447 void nm_test_func(void){}
   5448 #ifdef __cplusplus
   5449 }
   5450 #endif
   5451 int main(){nm_test_var='a';nm_test_func();return(0);}
   5452 _LT_EOF
   5453 
   5454   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5455   (eval $ac_compile) 2>&5
   5456   ac_status=$?
   5457   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5458   (exit $ac_status); }; then
   5459     # Now try to grab the symbols.
   5460     nlist=conftest.nm
   5461     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5462   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5463   ac_status=$?
   5464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5465   (exit $ac_status); } && test -s "$nlist"; then
   5466       # Try sorting and uniquifying the output.
   5467       if sort "$nlist" | uniq > "$nlist"T; then
   5468 	mv -f "$nlist"T "$nlist"
   5469       else
   5470 	rm -f "$nlist"T
   5471       fi
   5472 
   5473       # Make sure that we snagged all the symbols we need.
   5474       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5475 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5476 	  cat <<_LT_EOF > conftest.$ac_ext
   5477 #ifdef __cplusplus
   5478 extern "C" {
   5479 #endif
   5480 
   5481 _LT_EOF
   5482 	  # Now generate the symbol file.
   5483 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5484 
   5485 	  cat <<_LT_EOF >> conftest.$ac_ext
   5486 
   5487 /* The mapping between symbol names and symbols.  */
   5488 const struct {
   5489   const char *name;
   5490   void       *address;
   5491 }
   5492 lt__PROGRAM__LTX_preloaded_symbols[] =
   5493 {
   5494   { "@PROGRAM@", (void *) 0 },
   5495 _LT_EOF
   5496 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5497 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5498   {0, (void *) 0}
   5499 };
   5500 
   5501 /* This works around a problem in FreeBSD linker */
   5502 #ifdef FREEBSD_WORKAROUND
   5503 static const void *lt_preloaded_setup() {
   5504   return lt__PROGRAM__LTX_preloaded_symbols;
   5505 }
   5506 #endif
   5507 
   5508 #ifdef __cplusplus
   5509 }
   5510 #endif
   5511 _LT_EOF
   5512 	  # Now try linking the two files.
   5513 	  mv conftest.$ac_objext conftstm.$ac_objext
   5514 	  lt_save_LIBS="$LIBS"
   5515 	  lt_save_CFLAGS="$CFLAGS"
   5516 	  LIBS="conftstm.$ac_objext"
   5517 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5518 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5519   (eval $ac_link) 2>&5
   5520   ac_status=$?
   5521   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5522   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5523 	    pipe_works=yes
   5524 	  fi
   5525 	  LIBS="$lt_save_LIBS"
   5526 	  CFLAGS="$lt_save_CFLAGS"
   5527 	else
   5528 	  echo "cannot find nm_test_func in $nlist" >&5
   5529 	fi
   5530       else
   5531 	echo "cannot find nm_test_var in $nlist" >&5
   5532       fi
   5533     else
   5534       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5535     fi
   5536   else
   5537     echo "$progname: failed program was:" >&5
   5538     cat conftest.$ac_ext >&5
   5539   fi
   5540   rm -rf conftest* conftst*
   5541 
   5542   # Do not use the global_symbol_pipe unless it works.
   5543   if test "$pipe_works" = yes; then
   5544     break
   5545   else
   5546     lt_cv_sys_global_symbol_pipe=
   5547   fi
   5548 done
   5549 
   5550 fi
   5551 
   5552 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5553   lt_cv_sys_global_symbol_to_cdecl=
   5554 fi
   5555 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5556   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5557 $as_echo "failed" >&6; }
   5558 else
   5559   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5560 $as_echo "ok" >&6; }
   5561 fi
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 # Check whether --enable-libtool-lock was given.
   5586 if test "${enable_libtool_lock+set}" = set; then
   5587   enableval=$enable_libtool_lock;
   5588 fi
   5589 
   5590 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5591 
   5592 # Some flags need to be propagated to the compiler or linker for good
   5593 # libtool support.
   5594 case $host in
   5595 ia64-*-hpux*)
   5596   # Find out which ABI we are using.
   5597   echo 'int i;' > conftest.$ac_ext
   5598   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5599   (eval $ac_compile) 2>&5
   5600   ac_status=$?
   5601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5602   (exit $ac_status); }; then
   5603     case `/usr/bin/file conftest.$ac_objext` in
   5604       *ELF-32*)
   5605 	HPUX_IA64_MODE="32"
   5606 	;;
   5607       *ELF-64*)
   5608 	HPUX_IA64_MODE="64"
   5609 	;;
   5610     esac
   5611   fi
   5612   rm -rf conftest*
   5613   ;;
   5614 *-*-irix6*)
   5615   # Find out which ABI we are using.
   5616   echo '#line 5616 "configure"' > conftest.$ac_ext
   5617   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5618   (eval $ac_compile) 2>&5
   5619   ac_status=$?
   5620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5621   (exit $ac_status); }; then
   5622     if test "$lt_cv_prog_gnu_ld" = yes; then
   5623       case `/usr/bin/file conftest.$ac_objext` in
   5624 	*32-bit*)
   5625 	  LD="${LD-ld} -melf32bsmip"
   5626 	  ;;
   5627 	*N32*)
   5628 	  LD="${LD-ld} -melf32bmipn32"
   5629 	  ;;
   5630 	*64-bit*)
   5631 	  LD="${LD-ld} -melf64bmip"
   5632 	;;
   5633       esac
   5634     else
   5635       case `/usr/bin/file conftest.$ac_objext` in
   5636 	*32-bit*)
   5637 	  LD="${LD-ld} -32"
   5638 	  ;;
   5639 	*N32*)
   5640 	  LD="${LD-ld} -n32"
   5641 	  ;;
   5642 	*64-bit*)
   5643 	  LD="${LD-ld} -64"
   5644 	  ;;
   5645       esac
   5646     fi
   5647   fi
   5648   rm -rf conftest*
   5649   ;;
   5650 
   5651 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5652 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5653   # Find out which ABI we are using.
   5654   echo 'int i;' > conftest.$ac_ext
   5655   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5656   (eval $ac_compile) 2>&5
   5657   ac_status=$?
   5658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5659   (exit $ac_status); }; then
   5660     case `/usr/bin/file conftest.o` in
   5661       *32-bit*)
   5662 	case $host in
   5663 	  x86_64-*kfreebsd*-gnu)
   5664 	    LD="${LD-ld} -m elf_i386_fbsd"
   5665 	    ;;
   5666 	  x86_64-*linux*)
   5667 	    LD="${LD-ld} -m elf_i386"
   5668 	    ;;
   5669 	  ppc64-*linux*|powerpc64-*linux*)
   5670 	    LD="${LD-ld} -m elf32ppclinux"
   5671 	    ;;
   5672 	  s390x-*linux*)
   5673 	    LD="${LD-ld} -m elf_s390"
   5674 	    ;;
   5675 	  sparc64-*linux*)
   5676 	    LD="${LD-ld} -m elf32_sparc"
   5677 	    ;;
   5678 	esac
   5679 	;;
   5680       *64-bit*)
   5681 	case $host in
   5682 	  x86_64-*kfreebsd*-gnu)
   5683 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5684 	    ;;
   5685 	  x86_64-*linux*)
   5686 	    LD="${LD-ld} -m elf_x86_64"
   5687 	    ;;
   5688 	  ppc*-*linux*|powerpc*-*linux*)
   5689 	    LD="${LD-ld} -m elf64ppc"
   5690 	    ;;
   5691 	  s390*-*linux*|s390*-*tpf*)
   5692 	    LD="${LD-ld} -m elf64_s390"
   5693 	    ;;
   5694 	  sparc*-*linux*)
   5695 	    LD="${LD-ld} -m elf64_sparc"
   5696 	    ;;
   5697 	esac
   5698 	;;
   5699     esac
   5700   fi
   5701   rm -rf conftest*
   5702   ;;
   5703 
   5704 *-*-sco3.2v5*)
   5705   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5706   SAVE_CFLAGS="$CFLAGS"
   5707   CFLAGS="$CFLAGS -belf"
   5708   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5709 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5710 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5711   $as_echo_n "(cached) " >&6
   5712 else
   5713   ac_ext=c
   5714 ac_cpp='$CPP $CPPFLAGS'
   5715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5718 
   5719      cat >conftest.$ac_ext <<_ACEOF
   5720 /* confdefs.h.  */
   5721 _ACEOF
   5722 cat confdefs.h >>conftest.$ac_ext
   5723 cat >>conftest.$ac_ext <<_ACEOF
   5724 /* end confdefs.h.  */
   5725 
   5726 int
   5727 main ()
   5728 {
   5729 
   5730   ;
   5731   return 0;
   5732 }
   5733 _ACEOF
   5734 rm -f conftest.$ac_objext conftest$ac_exeext
   5735 if { (ac_try="$ac_link"
   5736 case "(($ac_try" in
   5737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5738   *) ac_try_echo=$ac_try;;
   5739 esac
   5740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5741 $as_echo "$ac_try_echo") >&5
   5742   (eval "$ac_link") 2>conftest.er1
   5743   ac_status=$?
   5744   grep -v '^ *+' conftest.er1 >conftest.err
   5745   rm -f conftest.er1
   5746   cat conftest.err >&5
   5747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5748   (exit $ac_status); } && {
   5749 	 test -z "$ac_c_werror_flag" ||
   5750 	 test ! -s conftest.err
   5751        } && test -s conftest$ac_exeext && {
   5752 	 test "$cross_compiling" = yes ||
   5753 	 $as_test_x conftest$ac_exeext
   5754        }; then
   5755   lt_cv_cc_needs_belf=yes
   5756 else
   5757   $as_echo "$as_me: failed program was:" >&5
   5758 sed 's/^/| /' conftest.$ac_ext >&5
   5759 
   5760 	lt_cv_cc_needs_belf=no
   5761 fi
   5762 
   5763 rm -rf conftest.dSYM
   5764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5765       conftest$ac_exeext conftest.$ac_ext
   5766      ac_ext=c
   5767 ac_cpp='$CPP $CPPFLAGS'
   5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5771 
   5772 fi
   5773 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5774 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5775   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5776     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5777     CFLAGS="$SAVE_CFLAGS"
   5778   fi
   5779   ;;
   5780 sparc*-*solaris*)
   5781   # Find out which ABI we are using.
   5782   echo 'int i;' > conftest.$ac_ext
   5783   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5784   (eval $ac_compile) 2>&5
   5785   ac_status=$?
   5786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5787   (exit $ac_status); }; then
   5788     case `/usr/bin/file conftest.o` in
   5789     *64-bit*)
   5790       case $lt_cv_prog_gnu_ld in
   5791       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5792       *)
   5793 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5794 	  LD="${LD-ld} -64"
   5795 	fi
   5796 	;;
   5797       esac
   5798       ;;
   5799     esac
   5800   fi
   5801   rm -rf conftest*
   5802   ;;
   5803 esac
   5804 
   5805 need_locks="$enable_libtool_lock"
   5806 
   5807 
   5808   case $host_os in
   5809     rhapsody* | darwin*)
   5810     if test -n "$ac_tool_prefix"; then
   5811   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5812 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5814 $as_echo_n "checking for $ac_word... " >&6; }
   5815 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5816   $as_echo_n "(cached) " >&6
   5817 else
   5818   if test -n "$DSYMUTIL"; then
   5819   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5820 else
   5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5822 for as_dir in $PATH
   5823 do
   5824   IFS=$as_save_IFS
   5825   test -z "$as_dir" && as_dir=.
   5826   for ac_exec_ext in '' $ac_executable_extensions; do
   5827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5828     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5829     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5830     break 2
   5831   fi
   5832 done
   5833 done
   5834 IFS=$as_save_IFS
   5835 
   5836 fi
   5837 fi
   5838 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5839 if test -n "$DSYMUTIL"; then
   5840   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5841 $as_echo "$DSYMUTIL" >&6; }
   5842 else
   5843   { $as_echo "$as_me:$LINENO: result: no" >&5
   5844 $as_echo "no" >&6; }
   5845 fi
   5846 
   5847 
   5848 fi
   5849 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5850   ac_ct_DSYMUTIL=$DSYMUTIL
   5851   # Extract the first word of "dsymutil", so it can be a program name with args.
   5852 set dummy dsymutil; ac_word=$2
   5853 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5854 $as_echo_n "checking for $ac_word... " >&6; }
   5855 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5856   $as_echo_n "(cached) " >&6
   5857 else
   5858   if test -n "$ac_ct_DSYMUTIL"; then
   5859   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5860 else
   5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5862 for as_dir in $PATH
   5863 do
   5864   IFS=$as_save_IFS
   5865   test -z "$as_dir" && as_dir=.
   5866   for ac_exec_ext in '' $ac_executable_extensions; do
   5867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5868     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5869     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5870     break 2
   5871   fi
   5872 done
   5873 done
   5874 IFS=$as_save_IFS
   5875 
   5876 fi
   5877 fi
   5878 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5879 if test -n "$ac_ct_DSYMUTIL"; then
   5880   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5881 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5882 else
   5883   { $as_echo "$as_me:$LINENO: result: no" >&5
   5884 $as_echo "no" >&6; }
   5885 fi
   5886 
   5887   if test "x$ac_ct_DSYMUTIL" = x; then
   5888     DSYMUTIL=":"
   5889   else
   5890     case $cross_compiling:$ac_tool_warned in
   5891 yes:)
   5892 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5894 ac_tool_warned=yes ;;
   5895 esac
   5896     DSYMUTIL=$ac_ct_DSYMUTIL
   5897   fi
   5898 else
   5899   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5900 fi
   5901 
   5902     if test -n "$ac_tool_prefix"; then
   5903   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5904 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5906 $as_echo_n "checking for $ac_word... " >&6; }
   5907 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5908   $as_echo_n "(cached) " >&6
   5909 else
   5910   if test -n "$NMEDIT"; then
   5911   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5912 else
   5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5914 for as_dir in $PATH
   5915 do
   5916   IFS=$as_save_IFS
   5917   test -z "$as_dir" && as_dir=.
   5918   for ac_exec_ext in '' $ac_executable_extensions; do
   5919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5920     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5921     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5922     break 2
   5923   fi
   5924 done
   5925 done
   5926 IFS=$as_save_IFS
   5927 
   5928 fi
   5929 fi
   5930 NMEDIT=$ac_cv_prog_NMEDIT
   5931 if test -n "$NMEDIT"; then
   5932   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5933 $as_echo "$NMEDIT" >&6; }
   5934 else
   5935   { $as_echo "$as_me:$LINENO: result: no" >&5
   5936 $as_echo "no" >&6; }
   5937 fi
   5938 
   5939 
   5940 fi
   5941 if test -z "$ac_cv_prog_NMEDIT"; then
   5942   ac_ct_NMEDIT=$NMEDIT
   5943   # Extract the first word of "nmedit", so it can be a program name with args.
   5944 set dummy nmedit; ac_word=$2
   5945 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5946 $as_echo_n "checking for $ac_word... " >&6; }
   5947 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   5948   $as_echo_n "(cached) " >&6
   5949 else
   5950   if test -n "$ac_ct_NMEDIT"; then
   5951   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   5952 else
   5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5954 for as_dir in $PATH
   5955 do
   5956   IFS=$as_save_IFS
   5957   test -z "$as_dir" && as_dir=.
   5958   for ac_exec_ext in '' $ac_executable_extensions; do
   5959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5960     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   5961     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5962     break 2
   5963   fi
   5964 done
   5965 done
   5966 IFS=$as_save_IFS
   5967 
   5968 fi
   5969 fi
   5970 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   5971 if test -n "$ac_ct_NMEDIT"; then
   5972   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   5973 $as_echo "$ac_ct_NMEDIT" >&6; }
   5974 else
   5975   { $as_echo "$as_me:$LINENO: result: no" >&5
   5976 $as_echo "no" >&6; }
   5977 fi
   5978 
   5979   if test "x$ac_ct_NMEDIT" = x; then
   5980     NMEDIT=":"
   5981   else
   5982     case $cross_compiling:$ac_tool_warned in
   5983 yes:)
   5984 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5986 ac_tool_warned=yes ;;
   5987 esac
   5988     NMEDIT=$ac_ct_NMEDIT
   5989   fi
   5990 else
   5991   NMEDIT="$ac_cv_prog_NMEDIT"
   5992 fi
   5993 
   5994     if test -n "$ac_tool_prefix"; then
   5995   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   5996 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   5997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5998 $as_echo_n "checking for $ac_word... " >&6; }
   5999 if test "${ac_cv_prog_LIPO+set}" = set; then
   6000   $as_echo_n "(cached) " >&6
   6001 else
   6002   if test -n "$LIPO"; then
   6003   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6004 else
   6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6006 for as_dir in $PATH
   6007 do
   6008   IFS=$as_save_IFS
   6009   test -z "$as_dir" && as_dir=.
   6010   for ac_exec_ext in '' $ac_executable_extensions; do
   6011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6012     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6013     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6014     break 2
   6015   fi
   6016 done
   6017 done
   6018 IFS=$as_save_IFS
   6019 
   6020 fi
   6021 fi
   6022 LIPO=$ac_cv_prog_LIPO
   6023 if test -n "$LIPO"; then
   6024   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6025 $as_echo "$LIPO" >&6; }
   6026 else
   6027   { $as_echo "$as_me:$LINENO: result: no" >&5
   6028 $as_echo "no" >&6; }
   6029 fi
   6030 
   6031 
   6032 fi
   6033 if test -z "$ac_cv_prog_LIPO"; then
   6034   ac_ct_LIPO=$LIPO
   6035   # Extract the first word of "lipo", so it can be a program name with args.
   6036 set dummy lipo; ac_word=$2
   6037 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6038 $as_echo_n "checking for $ac_word... " >&6; }
   6039 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6040   $as_echo_n "(cached) " >&6
   6041 else
   6042   if test -n "$ac_ct_LIPO"; then
   6043   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6044 else
   6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6046 for as_dir in $PATH
   6047 do
   6048   IFS=$as_save_IFS
   6049   test -z "$as_dir" && as_dir=.
   6050   for ac_exec_ext in '' $ac_executable_extensions; do
   6051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6052     ac_cv_prog_ac_ct_LIPO="lipo"
   6053     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6054     break 2
   6055   fi
   6056 done
   6057 done
   6058 IFS=$as_save_IFS
   6059 
   6060 fi
   6061 fi
   6062 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6063 if test -n "$ac_ct_LIPO"; then
   6064   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6065 $as_echo "$ac_ct_LIPO" >&6; }
   6066 else
   6067   { $as_echo "$as_me:$LINENO: result: no" >&5
   6068 $as_echo "no" >&6; }
   6069 fi
   6070 
   6071   if test "x$ac_ct_LIPO" = x; then
   6072     LIPO=":"
   6073   else
   6074     case $cross_compiling:$ac_tool_warned in
   6075 yes:)
   6076 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6078 ac_tool_warned=yes ;;
   6079 esac
   6080     LIPO=$ac_ct_LIPO
   6081   fi
   6082 else
   6083   LIPO="$ac_cv_prog_LIPO"
   6084 fi
   6085 
   6086     if test -n "$ac_tool_prefix"; then
   6087   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6088 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6089 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6090 $as_echo_n "checking for $ac_word... " >&6; }
   6091 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6092   $as_echo_n "(cached) " >&6
   6093 else
   6094   if test -n "$OTOOL"; then
   6095   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6096 else
   6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6098 for as_dir in $PATH
   6099 do
   6100   IFS=$as_save_IFS
   6101   test -z "$as_dir" && as_dir=.
   6102   for ac_exec_ext in '' $ac_executable_extensions; do
   6103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6104     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6105     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6106     break 2
   6107   fi
   6108 done
   6109 done
   6110 IFS=$as_save_IFS
   6111 
   6112 fi
   6113 fi
   6114 OTOOL=$ac_cv_prog_OTOOL
   6115 if test -n "$OTOOL"; then
   6116   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6117 $as_echo "$OTOOL" >&6; }
   6118 else
   6119   { $as_echo "$as_me:$LINENO: result: no" >&5
   6120 $as_echo "no" >&6; }
   6121 fi
   6122 
   6123 
   6124 fi
   6125 if test -z "$ac_cv_prog_OTOOL"; then
   6126   ac_ct_OTOOL=$OTOOL
   6127   # Extract the first word of "otool", so it can be a program name with args.
   6128 set dummy otool; ac_word=$2
   6129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6130 $as_echo_n "checking for $ac_word... " >&6; }
   6131 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6132   $as_echo_n "(cached) " >&6
   6133 else
   6134   if test -n "$ac_ct_OTOOL"; then
   6135   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6136 else
   6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6138 for as_dir in $PATH
   6139 do
   6140   IFS=$as_save_IFS
   6141   test -z "$as_dir" && as_dir=.
   6142   for ac_exec_ext in '' $ac_executable_extensions; do
   6143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6144     ac_cv_prog_ac_ct_OTOOL="otool"
   6145     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6146     break 2
   6147   fi
   6148 done
   6149 done
   6150 IFS=$as_save_IFS
   6151 
   6152 fi
   6153 fi
   6154 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6155 if test -n "$ac_ct_OTOOL"; then
   6156   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6157 $as_echo "$ac_ct_OTOOL" >&6; }
   6158 else
   6159   { $as_echo "$as_me:$LINENO: result: no" >&5
   6160 $as_echo "no" >&6; }
   6161 fi
   6162 
   6163   if test "x$ac_ct_OTOOL" = x; then
   6164     OTOOL=":"
   6165   else
   6166     case $cross_compiling:$ac_tool_warned in
   6167 yes:)
   6168 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6170 ac_tool_warned=yes ;;
   6171 esac
   6172     OTOOL=$ac_ct_OTOOL
   6173   fi
   6174 else
   6175   OTOOL="$ac_cv_prog_OTOOL"
   6176 fi
   6177 
   6178     if test -n "$ac_tool_prefix"; then
   6179   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6180 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6182 $as_echo_n "checking for $ac_word... " >&6; }
   6183 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6184   $as_echo_n "(cached) " >&6
   6185 else
   6186   if test -n "$OTOOL64"; then
   6187   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6188 else
   6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6190 for as_dir in $PATH
   6191 do
   6192   IFS=$as_save_IFS
   6193   test -z "$as_dir" && as_dir=.
   6194   for ac_exec_ext in '' $ac_executable_extensions; do
   6195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6196     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6197     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6198     break 2
   6199   fi
   6200 done
   6201 done
   6202 IFS=$as_save_IFS
   6203 
   6204 fi
   6205 fi
   6206 OTOOL64=$ac_cv_prog_OTOOL64
   6207 if test -n "$OTOOL64"; then
   6208   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6209 $as_echo "$OTOOL64" >&6; }
   6210 else
   6211   { $as_echo "$as_me:$LINENO: result: no" >&5
   6212 $as_echo "no" >&6; }
   6213 fi
   6214 
   6215 
   6216 fi
   6217 if test -z "$ac_cv_prog_OTOOL64"; then
   6218   ac_ct_OTOOL64=$OTOOL64
   6219   # Extract the first word of "otool64", so it can be a program name with args.
   6220 set dummy otool64; ac_word=$2
   6221 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6222 $as_echo_n "checking for $ac_word... " >&6; }
   6223 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6224   $as_echo_n "(cached) " >&6
   6225 else
   6226   if test -n "$ac_ct_OTOOL64"; then
   6227   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6228 else
   6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6230 for as_dir in $PATH
   6231 do
   6232   IFS=$as_save_IFS
   6233   test -z "$as_dir" && as_dir=.
   6234   for ac_exec_ext in '' $ac_executable_extensions; do
   6235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6236     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6237     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6238     break 2
   6239   fi
   6240 done
   6241 done
   6242 IFS=$as_save_IFS
   6243 
   6244 fi
   6245 fi
   6246 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6247 if test -n "$ac_ct_OTOOL64"; then
   6248   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6249 $as_echo "$ac_ct_OTOOL64" >&6; }
   6250 else
   6251   { $as_echo "$as_me:$LINENO: result: no" >&5
   6252 $as_echo "no" >&6; }
   6253 fi
   6254 
   6255   if test "x$ac_ct_OTOOL64" = x; then
   6256     OTOOL64=":"
   6257   else
   6258     case $cross_compiling:$ac_tool_warned in
   6259 yes:)
   6260 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6262 ac_tool_warned=yes ;;
   6263 esac
   6264     OTOOL64=$ac_ct_OTOOL64
   6265   fi
   6266 else
   6267   OTOOL64="$ac_cv_prog_OTOOL64"
   6268 fi
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6297 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6298 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   lt_cv_apple_cc_single_mod=no
   6302       if test -z "${LT_MULTI_MODULE}"; then
   6303 	# By default we will add the -single_module flag. You can override
   6304 	# by either setting the environment variable LT_MULTI_MODULE
   6305 	# non-empty at configure time, or by adding -multi_module to the
   6306 	# link flags.
   6307 	rm -rf libconftest.dylib*
   6308 	echo "int foo(void){return 1;}" > conftest.c
   6309 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6310 -dynamiclib -Wl,-single_module conftest.c" >&5
   6311 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6312 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6313         _lt_result=$?
   6314 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6315 	  lt_cv_apple_cc_single_mod=yes
   6316 	else
   6317 	  cat conftest.err >&5
   6318 	fi
   6319 	rm -rf libconftest.dylib*
   6320 	rm -f conftest.*
   6321       fi
   6322 fi
   6323 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6324 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6325     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6326 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6327 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6328   $as_echo_n "(cached) " >&6
   6329 else
   6330   lt_cv_ld_exported_symbols_list=no
   6331       save_LDFLAGS=$LDFLAGS
   6332       echo "_main" > conftest.sym
   6333       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6334       cat >conftest.$ac_ext <<_ACEOF
   6335 /* confdefs.h.  */
   6336 _ACEOF
   6337 cat confdefs.h >>conftest.$ac_ext
   6338 cat >>conftest.$ac_ext <<_ACEOF
   6339 /* end confdefs.h.  */
   6340 
   6341 int
   6342 main ()
   6343 {
   6344 
   6345   ;
   6346   return 0;
   6347 }
   6348 _ACEOF
   6349 rm -f conftest.$ac_objext conftest$ac_exeext
   6350 if { (ac_try="$ac_link"
   6351 case "(($ac_try" in
   6352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6353   *) ac_try_echo=$ac_try;;
   6354 esac
   6355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6356 $as_echo "$ac_try_echo") >&5
   6357   (eval "$ac_link") 2>conftest.er1
   6358   ac_status=$?
   6359   grep -v '^ *+' conftest.er1 >conftest.err
   6360   rm -f conftest.er1
   6361   cat conftest.err >&5
   6362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6363   (exit $ac_status); } && {
   6364 	 test -z "$ac_c_werror_flag" ||
   6365 	 test ! -s conftest.err
   6366        } && test -s conftest$ac_exeext && {
   6367 	 test "$cross_compiling" = yes ||
   6368 	 $as_test_x conftest$ac_exeext
   6369        }; then
   6370   lt_cv_ld_exported_symbols_list=yes
   6371 else
   6372   $as_echo "$as_me: failed program was:" >&5
   6373 sed 's/^/| /' conftest.$ac_ext >&5
   6374 
   6375 	lt_cv_ld_exported_symbols_list=no
   6376 fi
   6377 
   6378 rm -rf conftest.dSYM
   6379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6380       conftest$ac_exeext conftest.$ac_ext
   6381 	LDFLAGS="$save_LDFLAGS"
   6382 
   6383 fi
   6384 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6385 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6386     case $host_os in
   6387     rhapsody* | darwin1.[012])
   6388       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6389     darwin1.*)
   6390       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6391     darwin*) # darwin 5.x on
   6392       # if running on 10.5 or later, the deployment target defaults
   6393       # to the OS version, if on x86, and 10.4, the deployment
   6394       # target defaults to 10.4. Don't you love it?
   6395       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6396 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6397 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6398 	10.[012]*)
   6399 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6400 	10.*)
   6401 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6402       esac
   6403     ;;
   6404   esac
   6405     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6406       _lt_dar_single_mod='$single_module'
   6407     fi
   6408     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6409       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6410     else
   6411       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6412     fi
   6413     if test "$DSYMUTIL" != ":"; then
   6414       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6415     else
   6416       _lt_dsymutil=
   6417     fi
   6418     ;;
   6419   esac
   6420 
   6421 ac_ext=c
   6422 ac_cpp='$CPP $CPPFLAGS'
   6423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6426 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6427 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6428 # On Suns, sometimes $CPP names a directory.
   6429 if test -n "$CPP" && test -d "$CPP"; then
   6430   CPP=
   6431 fi
   6432 if test -z "$CPP"; then
   6433   if test "${ac_cv_prog_CPP+set}" = set; then
   6434   $as_echo_n "(cached) " >&6
   6435 else
   6436       # Double quotes because CPP needs to be expanded
   6437     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6438     do
   6439       ac_preproc_ok=false
   6440 for ac_c_preproc_warn_flag in '' yes
   6441 do
   6442   # Use a header file that comes with gcc, so configuring glibc
   6443   # with a fresh cross-compiler works.
   6444   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6445   # <limits.h> exists even on freestanding compilers.
   6446   # On the NeXT, cc -E runs the code through the compiler's parser,
   6447   # not just through cpp. "Syntax error" is here to catch this case.
   6448   cat >conftest.$ac_ext <<_ACEOF
   6449 /* confdefs.h.  */
   6450 _ACEOF
   6451 cat confdefs.h >>conftest.$ac_ext
   6452 cat >>conftest.$ac_ext <<_ACEOF
   6453 /* end confdefs.h.  */
   6454 #ifdef __STDC__
   6455 # include <limits.h>
   6456 #else
   6457 # include <assert.h>
   6458 #endif
   6459 		     Syntax error
   6460 _ACEOF
   6461 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6462 case "(($ac_try" in
   6463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6464   *) ac_try_echo=$ac_try;;
   6465 esac
   6466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6467 $as_echo "$ac_try_echo") >&5
   6468   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6469   ac_status=$?
   6470   grep -v '^ *+' conftest.er1 >conftest.err
   6471   rm -f conftest.er1
   6472   cat conftest.err >&5
   6473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6474   (exit $ac_status); } >/dev/null && {
   6475 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6476 	 test ! -s conftest.err
   6477        }; then
   6478   :
   6479 else
   6480   $as_echo "$as_me: failed program was:" >&5
   6481 sed 's/^/| /' conftest.$ac_ext >&5
   6482 
   6483   # Broken: fails on valid input.
   6484 continue
   6485 fi
   6486 
   6487 rm -f conftest.err conftest.$ac_ext
   6488 
   6489   # OK, works on sane cases.  Now check whether nonexistent headers
   6490   # can be detected and how.
   6491   cat >conftest.$ac_ext <<_ACEOF
   6492 /* confdefs.h.  */
   6493 _ACEOF
   6494 cat confdefs.h >>conftest.$ac_ext
   6495 cat >>conftest.$ac_ext <<_ACEOF
   6496 /* end confdefs.h.  */
   6497 #include <ac_nonexistent.h>
   6498 _ACEOF
   6499 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6500 case "(($ac_try" in
   6501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6502   *) ac_try_echo=$ac_try;;
   6503 esac
   6504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6505 $as_echo "$ac_try_echo") >&5
   6506   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6507   ac_status=$?
   6508   grep -v '^ *+' conftest.er1 >conftest.err
   6509   rm -f conftest.er1
   6510   cat conftest.err >&5
   6511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6512   (exit $ac_status); } >/dev/null && {
   6513 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6514 	 test ! -s conftest.err
   6515        }; then
   6516   # Broken: success on invalid input.
   6517 continue
   6518 else
   6519   $as_echo "$as_me: failed program was:" >&5
   6520 sed 's/^/| /' conftest.$ac_ext >&5
   6521 
   6522   # Passes both tests.
   6523 ac_preproc_ok=:
   6524 break
   6525 fi
   6526 
   6527 rm -f conftest.err conftest.$ac_ext
   6528 
   6529 done
   6530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6531 rm -f conftest.err conftest.$ac_ext
   6532 if $ac_preproc_ok; then
   6533   break
   6534 fi
   6535 
   6536     done
   6537     ac_cv_prog_CPP=$CPP
   6538 
   6539 fi
   6540   CPP=$ac_cv_prog_CPP
   6541 else
   6542   ac_cv_prog_CPP=$CPP
   6543 fi
   6544 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6545 $as_echo "$CPP" >&6; }
   6546 ac_preproc_ok=false
   6547 for ac_c_preproc_warn_flag in '' yes
   6548 do
   6549   # Use a header file that comes with gcc, so configuring glibc
   6550   # with a fresh cross-compiler works.
   6551   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6552   # <limits.h> exists even on freestanding compilers.
   6553   # On the NeXT, cc -E runs the code through the compiler's parser,
   6554   # not just through cpp. "Syntax error" is here to catch this case.
   6555   cat >conftest.$ac_ext <<_ACEOF
   6556 /* confdefs.h.  */
   6557 _ACEOF
   6558 cat confdefs.h >>conftest.$ac_ext
   6559 cat >>conftest.$ac_ext <<_ACEOF
   6560 /* end confdefs.h.  */
   6561 #ifdef __STDC__
   6562 # include <limits.h>
   6563 #else
   6564 # include <assert.h>
   6565 #endif
   6566 		     Syntax error
   6567 _ACEOF
   6568 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6569 case "(($ac_try" in
   6570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6571   *) ac_try_echo=$ac_try;;
   6572 esac
   6573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6574 $as_echo "$ac_try_echo") >&5
   6575   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6576   ac_status=$?
   6577   grep -v '^ *+' conftest.er1 >conftest.err
   6578   rm -f conftest.er1
   6579   cat conftest.err >&5
   6580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6581   (exit $ac_status); } >/dev/null && {
   6582 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6583 	 test ! -s conftest.err
   6584        }; then
   6585   :
   6586 else
   6587   $as_echo "$as_me: failed program was:" >&5
   6588 sed 's/^/| /' conftest.$ac_ext >&5
   6589 
   6590   # Broken: fails on valid input.
   6591 continue
   6592 fi
   6593 
   6594 rm -f conftest.err conftest.$ac_ext
   6595 
   6596   # OK, works on sane cases.  Now check whether nonexistent headers
   6597   # can be detected and how.
   6598   cat >conftest.$ac_ext <<_ACEOF
   6599 /* confdefs.h.  */
   6600 _ACEOF
   6601 cat confdefs.h >>conftest.$ac_ext
   6602 cat >>conftest.$ac_ext <<_ACEOF
   6603 /* end confdefs.h.  */
   6604 #include <ac_nonexistent.h>
   6605 _ACEOF
   6606 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6607 case "(($ac_try" in
   6608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6609   *) ac_try_echo=$ac_try;;
   6610 esac
   6611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6612 $as_echo "$ac_try_echo") >&5
   6613   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6614   ac_status=$?
   6615   grep -v '^ *+' conftest.er1 >conftest.err
   6616   rm -f conftest.er1
   6617   cat conftest.err >&5
   6618   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6619   (exit $ac_status); } >/dev/null && {
   6620 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6621 	 test ! -s conftest.err
   6622        }; then
   6623   # Broken: success on invalid input.
   6624 continue
   6625 else
   6626   $as_echo "$as_me: failed program was:" >&5
   6627 sed 's/^/| /' conftest.$ac_ext >&5
   6628 
   6629   # Passes both tests.
   6630 ac_preproc_ok=:
   6631 break
   6632 fi
   6633 
   6634 rm -f conftest.err conftest.$ac_ext
   6635 
   6636 done
   6637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6638 rm -f conftest.err conftest.$ac_ext
   6639 if $ac_preproc_ok; then
   6640   :
   6641 else
   6642   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6644 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6645 See \`config.log' for more details." >&5
   6646 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6647 See \`config.log' for more details." >&2;}
   6648    { (exit 1); exit 1; }; }; }
   6649 fi
   6650 
   6651 ac_ext=c
   6652 ac_cpp='$CPP $CPPFLAGS'
   6653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6656 
   6657 
   6658 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6659 $as_echo_n "checking for ANSI C header files... " >&6; }
   6660 if test "${ac_cv_header_stdc+set}" = set; then
   6661   $as_echo_n "(cached) " >&6
   6662 else
   6663   cat >conftest.$ac_ext <<_ACEOF
   6664 /* confdefs.h.  */
   6665 _ACEOF
   6666 cat confdefs.h >>conftest.$ac_ext
   6667 cat >>conftest.$ac_ext <<_ACEOF
   6668 /* end confdefs.h.  */
   6669 #include <stdlib.h>
   6670 #include <stdarg.h>
   6671 #include <string.h>
   6672 #include <float.h>
   6673 
   6674 int
   6675 main ()
   6676 {
   6677 
   6678   ;
   6679   return 0;
   6680 }
   6681 _ACEOF
   6682 rm -f conftest.$ac_objext
   6683 if { (ac_try="$ac_compile"
   6684 case "(($ac_try" in
   6685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6686   *) ac_try_echo=$ac_try;;
   6687 esac
   6688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6689 $as_echo "$ac_try_echo") >&5
   6690   (eval "$ac_compile") 2>conftest.er1
   6691   ac_status=$?
   6692   grep -v '^ *+' conftest.er1 >conftest.err
   6693   rm -f conftest.er1
   6694   cat conftest.err >&5
   6695   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6696   (exit $ac_status); } && {
   6697 	 test -z "$ac_c_werror_flag" ||
   6698 	 test ! -s conftest.err
   6699        } && test -s conftest.$ac_objext; then
   6700   ac_cv_header_stdc=yes
   6701 else
   6702   $as_echo "$as_me: failed program was:" >&5
   6703 sed 's/^/| /' conftest.$ac_ext >&5
   6704 
   6705 	ac_cv_header_stdc=no
   6706 fi
   6707 
   6708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6709 
   6710 if test $ac_cv_header_stdc = yes; then
   6711   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6712   cat >conftest.$ac_ext <<_ACEOF
   6713 /* confdefs.h.  */
   6714 _ACEOF
   6715 cat confdefs.h >>conftest.$ac_ext
   6716 cat >>conftest.$ac_ext <<_ACEOF
   6717 /* end confdefs.h.  */
   6718 #include <string.h>
   6719 
   6720 _ACEOF
   6721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6722   $EGREP "memchr" >/dev/null 2>&1; then
   6723   :
   6724 else
   6725   ac_cv_header_stdc=no
   6726 fi
   6727 rm -f conftest*
   6728 
   6729 fi
   6730 
   6731 if test $ac_cv_header_stdc = yes; then
   6732   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6733   cat >conftest.$ac_ext <<_ACEOF
   6734 /* confdefs.h.  */
   6735 _ACEOF
   6736 cat confdefs.h >>conftest.$ac_ext
   6737 cat >>conftest.$ac_ext <<_ACEOF
   6738 /* end confdefs.h.  */
   6739 #include <stdlib.h>
   6740 
   6741 _ACEOF
   6742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6743   $EGREP "free" >/dev/null 2>&1; then
   6744   :
   6745 else
   6746   ac_cv_header_stdc=no
   6747 fi
   6748 rm -f conftest*
   6749 
   6750 fi
   6751 
   6752 if test $ac_cv_header_stdc = yes; then
   6753   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6754   if test "$cross_compiling" = yes; then
   6755   :
   6756 else
   6757   cat >conftest.$ac_ext <<_ACEOF
   6758 /* confdefs.h.  */
   6759 _ACEOF
   6760 cat confdefs.h >>conftest.$ac_ext
   6761 cat >>conftest.$ac_ext <<_ACEOF
   6762 /* end confdefs.h.  */
   6763 #include <ctype.h>
   6764 #include <stdlib.h>
   6765 #if ((' ' & 0x0FF) == 0x020)
   6766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6768 #else
   6769 # define ISLOWER(c) \
   6770 		   (('a' <= (c) && (c) <= 'i') \
   6771 		     || ('j' <= (c) && (c) <= 'r') \
   6772 		     || ('s' <= (c) && (c) <= 'z'))
   6773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6774 #endif
   6775 
   6776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6777 int
   6778 main ()
   6779 {
   6780   int i;
   6781   for (i = 0; i < 256; i++)
   6782     if (XOR (islower (i), ISLOWER (i))
   6783 	|| toupper (i) != TOUPPER (i))
   6784       return 2;
   6785   return 0;
   6786 }
   6787 _ACEOF
   6788 rm -f conftest$ac_exeext
   6789 if { (ac_try="$ac_link"
   6790 case "(($ac_try" in
   6791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6792   *) ac_try_echo=$ac_try;;
   6793 esac
   6794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6795 $as_echo "$ac_try_echo") >&5
   6796   (eval "$ac_link") 2>&5
   6797   ac_status=$?
   6798   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6799   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6800   { (case "(($ac_try" in
   6801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6802   *) ac_try_echo=$ac_try;;
   6803 esac
   6804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6805 $as_echo "$ac_try_echo") >&5
   6806   (eval "$ac_try") 2>&5
   6807   ac_status=$?
   6808   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6809   (exit $ac_status); }; }; then
   6810   :
   6811 else
   6812   $as_echo "$as_me: program exited with status $ac_status" >&5
   6813 $as_echo "$as_me: failed program was:" >&5
   6814 sed 's/^/| /' conftest.$ac_ext >&5
   6815 
   6816 ( exit $ac_status )
   6817 ac_cv_header_stdc=no
   6818 fi
   6819 rm -rf conftest.dSYM
   6820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6821 fi
   6822 
   6823 
   6824 fi
   6825 fi
   6826 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6827 $as_echo "$ac_cv_header_stdc" >&6; }
   6828 if test $ac_cv_header_stdc = yes; then
   6829 
   6830 cat >>confdefs.h <<\_ACEOF
   6831 #define STDC_HEADERS 1
   6832 _ACEOF
   6833 
   6834 fi
   6835 
   6836 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6847 		  inttypes.h stdint.h unistd.h
   6848 do
   6849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6850 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6851 $as_echo_n "checking for $ac_header... " >&6; }
   6852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   cat >conftest.$ac_ext <<_ACEOF
   6856 /* confdefs.h.  */
   6857 _ACEOF
   6858 cat confdefs.h >>conftest.$ac_ext
   6859 cat >>conftest.$ac_ext <<_ACEOF
   6860 /* end confdefs.h.  */
   6861 $ac_includes_default
   6862 
   6863 #include <$ac_header>
   6864 _ACEOF
   6865 rm -f conftest.$ac_objext
   6866 if { (ac_try="$ac_compile"
   6867 case "(($ac_try" in
   6868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6869   *) ac_try_echo=$ac_try;;
   6870 esac
   6871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6872 $as_echo "$ac_try_echo") >&5
   6873   (eval "$ac_compile") 2>conftest.er1
   6874   ac_status=$?
   6875   grep -v '^ *+' conftest.er1 >conftest.err
   6876   rm -f conftest.er1
   6877   cat conftest.err >&5
   6878   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6879   (exit $ac_status); } && {
   6880 	 test -z "$ac_c_werror_flag" ||
   6881 	 test ! -s conftest.err
   6882        } && test -s conftest.$ac_objext; then
   6883   eval "$as_ac_Header=yes"
   6884 else
   6885   $as_echo "$as_me: failed program was:" >&5
   6886 sed 's/^/| /' conftest.$ac_ext >&5
   6887 
   6888 	eval "$as_ac_Header=no"
   6889 fi
   6890 
   6891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6892 fi
   6893 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6894 		 $as_echo "$as_val"'`
   6895 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6896 $as_echo "$ac_res" >&6; }
   6897 as_val=`eval 'as_val=${'$as_ac_Header'}
   6898 		 $as_echo "$as_val"'`
   6899    if test "x$as_val" = x""yes; then
   6900   cat >>confdefs.h <<_ACEOF
   6901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6902 _ACEOF
   6903 
   6904 fi
   6905 
   6906 done
   6907 
   6908 
   6909 
   6910 for ac_header in dlfcn.h
   6911 do
   6912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6913 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6914 $as_echo_n "checking for $ac_header... " >&6; }
   6915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat >conftest.$ac_ext <<_ACEOF
   6919 /* confdefs.h.  */
   6920 _ACEOF
   6921 cat confdefs.h >>conftest.$ac_ext
   6922 cat >>conftest.$ac_ext <<_ACEOF
   6923 /* end confdefs.h.  */
   6924 $ac_includes_default
   6925 
   6926 #include <$ac_header>
   6927 _ACEOF
   6928 rm -f conftest.$ac_objext
   6929 if { (ac_try="$ac_compile"
   6930 case "(($ac_try" in
   6931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6932   *) ac_try_echo=$ac_try;;
   6933 esac
   6934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6935 $as_echo "$ac_try_echo") >&5
   6936   (eval "$ac_compile") 2>conftest.er1
   6937   ac_status=$?
   6938   grep -v '^ *+' conftest.er1 >conftest.err
   6939   rm -f conftest.er1
   6940   cat conftest.err >&5
   6941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6942   (exit $ac_status); } && {
   6943 	 test -z "$ac_c_werror_flag" ||
   6944 	 test ! -s conftest.err
   6945        } && test -s conftest.$ac_objext; then
   6946   eval "$as_ac_Header=yes"
   6947 else
   6948   $as_echo "$as_me: failed program was:" >&5
   6949 sed 's/^/| /' conftest.$ac_ext >&5
   6950 
   6951 	eval "$as_ac_Header=no"
   6952 fi
   6953 
   6954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6955 fi
   6956 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6957 		 $as_echo "$as_val"'`
   6958 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6959 $as_echo "$ac_res" >&6; }
   6960 as_val=`eval 'as_val=${'$as_ac_Header'}
   6961 		 $as_echo "$as_val"'`
   6962    if test "x$as_val" = x""yes; then
   6963   cat >>confdefs.h <<_ACEOF
   6964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6965 _ACEOF
   6966 
   6967 fi
   6968 
   6969 done
   6970 
   6971 
   6972 
   6973 # Set options
   6974 
   6975 
   6976 
   6977         enable_dlopen=no
   6978 
   6979 
   6980   enable_win32_dll=no
   6981 
   6982 
   6983             # Check whether --enable-shared was given.
   6984 if test "${enable_shared+set}" = set; then
   6985   enableval=$enable_shared; p=${PACKAGE-default}
   6986     case $enableval in
   6987     yes) enable_shared=yes ;;
   6988     no) enable_shared=no ;;
   6989     *)
   6990       enable_shared=no
   6991       # Look at the argument we got.  We use all the common list separators.
   6992       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6993       for pkg in $enableval; do
   6994 	IFS="$lt_save_ifs"
   6995 	if test "X$pkg" = "X$p"; then
   6996 	  enable_shared=yes
   6997 	fi
   6998       done
   6999       IFS="$lt_save_ifs"
   7000       ;;
   7001     esac
   7002 else
   7003   enable_shared=yes
   7004 fi
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014   # Check whether --enable-static was given.
   7015 if test "${enable_static+set}" = set; then
   7016   enableval=$enable_static; p=${PACKAGE-default}
   7017     case $enableval in
   7018     yes) enable_static=yes ;;
   7019     no) enable_static=no ;;
   7020     *)
   7021      enable_static=no
   7022       # Look at the argument we got.  We use all the common list separators.
   7023       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7024       for pkg in $enableval; do
   7025 	IFS="$lt_save_ifs"
   7026 	if test "X$pkg" = "X$p"; then
   7027 	  enable_static=yes
   7028 	fi
   7029       done
   7030       IFS="$lt_save_ifs"
   7031       ;;
   7032     esac
   7033 else
   7034   enable_static=yes
   7035 fi
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 # Check whether --with-pic was given.
   7047 if test "${with_pic+set}" = set; then
   7048   withval=$with_pic; pic_mode="$withval"
   7049 else
   7050   pic_mode=default
   7051 fi
   7052 
   7053 
   7054 test -z "$pic_mode" && pic_mode=default
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062   # Check whether --enable-fast-install was given.
   7063 if test "${enable_fast_install+set}" = set; then
   7064   enableval=$enable_fast_install; p=${PACKAGE-default}
   7065     case $enableval in
   7066     yes) enable_fast_install=yes ;;
   7067     no) enable_fast_install=no ;;
   7068     *)
   7069       enable_fast_install=no
   7070       # Look at the argument we got.  We use all the common list separators.
   7071       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7072       for pkg in $enableval; do
   7073 	IFS="$lt_save_ifs"
   7074 	if test "X$pkg" = "X$p"; then
   7075 	  enable_fast_install=yes
   7076 	fi
   7077       done
   7078       IFS="$lt_save_ifs"
   7079       ;;
   7080     esac
   7081 else
   7082   enable_fast_install=yes
   7083 fi
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 # This can be used to rebuild libtool when needed
   7096 LIBTOOL_DEPS="$ltmain"
   7097 
   7098 # Always use our own libtool.
   7099 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 test -z "$LN_S" && LN_S="ln -s"
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 if test -n "${ZSH_VERSION+set}" ; then
   7141    setopt NO_GLOB_SUBST
   7142 fi
   7143 
   7144 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7145 $as_echo_n "checking for objdir... " >&6; }
   7146 if test "${lt_cv_objdir+set}" = set; then
   7147   $as_echo_n "(cached) " >&6
   7148 else
   7149   rm -f .libs 2>/dev/null
   7150 mkdir .libs 2>/dev/null
   7151 if test -d .libs; then
   7152   lt_cv_objdir=.libs
   7153 else
   7154   # MS-DOS does not allow filenames that begin with a dot.
   7155   lt_cv_objdir=_libs
   7156 fi
   7157 rmdir .libs 2>/dev/null
   7158 fi
   7159 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7160 $as_echo "$lt_cv_objdir" >&6; }
   7161 objdir=$lt_cv_objdir
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 cat >>confdefs.h <<_ACEOF
   7168 #define LT_OBJDIR "$lt_cv_objdir/"
   7169 _ACEOF
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 case $host_os in
   7188 aix3*)
   7189   # AIX sometimes has problems with the GCC collect2 program.  For some
   7190   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7191   # vanish in a puff of smoke.
   7192   if test "X${COLLECT_NAMES+set}" != Xset; then
   7193     COLLECT_NAMES=
   7194     export COLLECT_NAMES
   7195   fi
   7196   ;;
   7197 esac
   7198 
   7199 # Sed substitution that helps us do robust quoting.  It backslashifies
   7200 # metacharacters that are still active within double-quoted strings.
   7201 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7202 
   7203 # Same as above, but do not quote variable references.
   7204 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7205 
   7206 # Sed substitution to delay expansion of an escaped shell variable in a
   7207 # double_quote_subst'ed string.
   7208 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7209 
   7210 # Sed substitution to delay expansion of an escaped single quote.
   7211 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7212 
   7213 # Sed substitution to avoid accidental globbing in evaled expressions
   7214 no_glob_subst='s/\*/\\\*/g'
   7215 
   7216 # Global variables:
   7217 ofile=libtool
   7218 can_build_shared=yes
   7219 
   7220 # All known linkers require a `.a' archive for static linking (except MSVC,
   7221 # which needs '.lib').
   7222 libext=a
   7223 
   7224 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7225 
   7226 old_CC="$CC"
   7227 old_CFLAGS="$CFLAGS"
   7228 
   7229 # Set sane defaults for various variables
   7230 test -z "$CC" && CC=cc
   7231 test -z "$LTCC" && LTCC=$CC
   7232 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7233 test -z "$LD" && LD=ld
   7234 test -z "$ac_objext" && ac_objext=o
   7235 
   7236 for cc_temp in $compiler""; do
   7237   case $cc_temp in
   7238     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7239     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7240     \-*) ;;
   7241     *) break;;
   7242   esac
   7243 done
   7244 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7245 
   7246 
   7247 # Only perform the check for file, if the check method requires it
   7248 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7249 case $deplibs_check_method in
   7250 file_magic*)
   7251   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7252     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7253 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7254 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7255   $as_echo_n "(cached) " >&6
   7256 else
   7257   case $MAGIC_CMD in
   7258 [\\/*] |  ?:[\\/]*)
   7259   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7260   ;;
   7261 *)
   7262   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7263   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7264   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7265   for ac_dir in $ac_dummy; do
   7266     IFS="$lt_save_ifs"
   7267     test -z "$ac_dir" && ac_dir=.
   7268     if test -f $ac_dir/${ac_tool_prefix}file; then
   7269       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7270       if test -n "$file_magic_test_file"; then
   7271 	case $deplibs_check_method in
   7272 	"file_magic "*)
   7273 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7274 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7275 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7276 	    $EGREP "$file_magic_regex" > /dev/null; then
   7277 	    :
   7278 	  else
   7279 	    cat <<_LT_EOF 1>&2
   7280 
   7281 *** Warning: the command libtool uses to detect shared libraries,
   7282 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7283 *** The result is that libtool may fail to recognize shared libraries
   7284 *** as such.  This will affect the creation of libtool libraries that
   7285 *** depend on shared libraries, but programs linked with such libtool
   7286 *** libraries will work regardless of this problem.  Nevertheless, you
   7287 *** may want to report the problem to your system manager and/or to
   7288 *** bug-libtool@gnu.org
   7289 
   7290 _LT_EOF
   7291 	  fi ;;
   7292 	esac
   7293       fi
   7294       break
   7295     fi
   7296   done
   7297   IFS="$lt_save_ifs"
   7298   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7299   ;;
   7300 esac
   7301 fi
   7302 
   7303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7304 if test -n "$MAGIC_CMD"; then
   7305   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7306 $as_echo "$MAGIC_CMD" >&6; }
   7307 else
   7308   { $as_echo "$as_me:$LINENO: result: no" >&5
   7309 $as_echo "no" >&6; }
   7310 fi
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7317   if test -n "$ac_tool_prefix"; then
   7318     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7319 $as_echo_n "checking for file... " >&6; }
   7320 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7321   $as_echo_n "(cached) " >&6
   7322 else
   7323   case $MAGIC_CMD in
   7324 [\\/*] |  ?:[\\/]*)
   7325   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7326   ;;
   7327 *)
   7328   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7329   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7330   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7331   for ac_dir in $ac_dummy; do
   7332     IFS="$lt_save_ifs"
   7333     test -z "$ac_dir" && ac_dir=.
   7334     if test -f $ac_dir/file; then
   7335       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7336       if test -n "$file_magic_test_file"; then
   7337 	case $deplibs_check_method in
   7338 	"file_magic "*)
   7339 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7340 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7341 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7342 	    $EGREP "$file_magic_regex" > /dev/null; then
   7343 	    :
   7344 	  else
   7345 	    cat <<_LT_EOF 1>&2
   7346 
   7347 *** Warning: the command libtool uses to detect shared libraries,
   7348 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7349 *** The result is that libtool may fail to recognize shared libraries
   7350 *** as such.  This will affect the creation of libtool libraries that
   7351 *** depend on shared libraries, but programs linked with such libtool
   7352 *** libraries will work regardless of this problem.  Nevertheless, you
   7353 *** may want to report the problem to your system manager and/or to
   7354 *** bug-libtool@gnu.org
   7355 
   7356 _LT_EOF
   7357 	  fi ;;
   7358 	esac
   7359       fi
   7360       break
   7361     fi
   7362   done
   7363   IFS="$lt_save_ifs"
   7364   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7365   ;;
   7366 esac
   7367 fi
   7368 
   7369 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7370 if test -n "$MAGIC_CMD"; then
   7371   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7372 $as_echo "$MAGIC_CMD" >&6; }
   7373 else
   7374   { $as_echo "$as_me:$LINENO: result: no" >&5
   7375 $as_echo "no" >&6; }
   7376 fi
   7377 
   7378 
   7379   else
   7380     MAGIC_CMD=:
   7381   fi
   7382 fi
   7383 
   7384   fi
   7385   ;;
   7386 esac
   7387 
   7388 # Use C for the default configuration in the libtool script
   7389 
   7390 lt_save_CC="$CC"
   7391 ac_ext=c
   7392 ac_cpp='$CPP $CPPFLAGS'
   7393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7396 
   7397 
   7398 # Source file extension for C test sources.
   7399 ac_ext=c
   7400 
   7401 # Object file extension for compiled C test sources.
   7402 objext=o
   7403 objext=$objext
   7404 
   7405 # Code to be used in simple compile tests
   7406 lt_simple_compile_test_code="int some_variable = 0;"
   7407 
   7408 # Code to be used in simple link tests
   7409 lt_simple_link_test_code='int main(){return(0);}'
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 # If no C compiler was specified, use CC.
   7418 LTCC=${LTCC-"$CC"}
   7419 
   7420 # If no C compiler flags were specified, use CFLAGS.
   7421 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7422 
   7423 # Allow CC to be a program name with arguments.
   7424 compiler=$CC
   7425 
   7426 # Save the default compiler, since it gets overwritten when the other
   7427 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7428 compiler_DEFAULT=$CC
   7429 
   7430 # save warnings/boilerplate of simple test code
   7431 ac_outfile=conftest.$ac_objext
   7432 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7433 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7434 _lt_compiler_boilerplate=`cat conftest.err`
   7435 $RM conftest*
   7436 
   7437 ac_outfile=conftest.$ac_objext
   7438 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7439 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7440 _lt_linker_boilerplate=`cat conftest.err`
   7441 $RM -r conftest*
   7442 
   7443 
   7444 if test -n "$compiler"; then
   7445 
   7446 lt_prog_compiler_no_builtin_flag=
   7447 
   7448 if test "$GCC" = yes; then
   7449   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7450 
   7451   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7452 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7453 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7454   $as_echo_n "(cached) " >&6
   7455 else
   7456   lt_cv_prog_compiler_rtti_exceptions=no
   7457    ac_outfile=conftest.$ac_objext
   7458    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7459    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7460    # Insert the option either (1) after the last *FLAGS variable, or
   7461    # (2) before a word containing "conftest.", or (3) at the end.
   7462    # Note that $ac_compile itself does not contain backslashes and begins
   7463    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7464    # The option is referenced via a variable to avoid confusing sed.
   7465    lt_compile=`echo "$ac_compile" | $SED \
   7466    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7467    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7468    -e 's:$: $lt_compiler_flag:'`
   7469    (eval echo "\"\$as_me:7469: $lt_compile\"" >&5)
   7470    (eval "$lt_compile" 2>conftest.err)
   7471    ac_status=$?
   7472    cat conftest.err >&5
   7473    echo "$as_me:7473: \$? = $ac_status" >&5
   7474    if (exit $ac_status) && test -s "$ac_outfile"; then
   7475      # The compiler can only warn and ignore the option if not recognized
   7476      # So say no if there are warnings other than the usual output.
   7477      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7478      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7479      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7480        lt_cv_prog_compiler_rtti_exceptions=yes
   7481      fi
   7482    fi
   7483    $RM conftest*
   7484 
   7485 fi
   7486 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7487 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7488 
   7489 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7490     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7491 else
   7492     :
   7493 fi
   7494 
   7495 fi
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502   lt_prog_compiler_wl=
   7503 lt_prog_compiler_pic=
   7504 lt_prog_compiler_static=
   7505 
   7506 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7507 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7508 
   7509   if test "$GCC" = yes; then
   7510     lt_prog_compiler_wl='-Wl,'
   7511     lt_prog_compiler_static='-static'
   7512 
   7513     case $host_os in
   7514       aix*)
   7515       # All AIX code is PIC.
   7516       if test "$host_cpu" = ia64; then
   7517 	# AIX 5 now supports IA64 processor
   7518 	lt_prog_compiler_static='-Bstatic'
   7519       fi
   7520       ;;
   7521 
   7522     amigaos*)
   7523       case $host_cpu in
   7524       powerpc)
   7525             # see comment about AmigaOS4 .so support
   7526             lt_prog_compiler_pic='-fPIC'
   7527         ;;
   7528       m68k)
   7529             # FIXME: we need at least 68020 code to build shared libraries, but
   7530             # adding the `-m68020' flag to GCC prevents building anything better,
   7531             # like `-m68040'.
   7532             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7533         ;;
   7534       esac
   7535       ;;
   7536 
   7537     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7538       # PIC is the default for these OSes.
   7539       ;;
   7540 
   7541     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7542       # This hack is so that the source file can tell whether it is being
   7543       # built for inclusion in a dll (and should export symbols for example).
   7544       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7545       # (--disable-auto-import) libraries
   7546       lt_prog_compiler_pic='-DDLL_EXPORT'
   7547       ;;
   7548 
   7549     darwin* | rhapsody*)
   7550       # PIC is the default on this platform
   7551       # Common symbols not allowed in MH_DYLIB files
   7552       lt_prog_compiler_pic='-fno-common'
   7553       ;;
   7554 
   7555     hpux*)
   7556       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7557       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7558       # sets the default TLS model and affects inlining.
   7559       case $host_cpu in
   7560       hppa*64*)
   7561 	# +Z the default
   7562 	;;
   7563       *)
   7564 	lt_prog_compiler_pic='-fPIC'
   7565 	;;
   7566       esac
   7567       ;;
   7568 
   7569     interix[3-9]*)
   7570       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7571       # Instead, we relocate shared libraries at runtime.
   7572       ;;
   7573 
   7574     msdosdjgpp*)
   7575       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7576       # on systems that don't support them.
   7577       lt_prog_compiler_can_build_shared=no
   7578       enable_shared=no
   7579       ;;
   7580 
   7581     *nto* | *qnx*)
   7582       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7583       # it will coredump.
   7584       lt_prog_compiler_pic='-fPIC -shared'
   7585       ;;
   7586 
   7587     sysv4*MP*)
   7588       if test -d /usr/nec; then
   7589 	lt_prog_compiler_pic=-Kconform_pic
   7590       fi
   7591       ;;
   7592 
   7593     *)
   7594       lt_prog_compiler_pic='-fPIC'
   7595       ;;
   7596     esac
   7597   else
   7598     # PORTME Check for flag to pass linker flags through the system compiler.
   7599     case $host_os in
   7600     aix*)
   7601       lt_prog_compiler_wl='-Wl,'
   7602       if test "$host_cpu" = ia64; then
   7603 	# AIX 5 now supports IA64 processor
   7604 	lt_prog_compiler_static='-Bstatic'
   7605       else
   7606 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7607       fi
   7608       ;;
   7609 
   7610     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7611       # This hack is so that the source file can tell whether it is being
   7612       # built for inclusion in a dll (and should export symbols for example).
   7613       lt_prog_compiler_pic='-DDLL_EXPORT'
   7614       ;;
   7615 
   7616     hpux9* | hpux10* | hpux11*)
   7617       lt_prog_compiler_wl='-Wl,'
   7618       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7619       # not for PA HP-UX.
   7620       case $host_cpu in
   7621       hppa*64*|ia64*)
   7622 	# +Z the default
   7623 	;;
   7624       *)
   7625 	lt_prog_compiler_pic='+Z'
   7626 	;;
   7627       esac
   7628       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7629       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7630       ;;
   7631 
   7632     irix5* | irix6* | nonstopux*)
   7633       lt_prog_compiler_wl='-Wl,'
   7634       # PIC (with -KPIC) is the default.
   7635       lt_prog_compiler_static='-non_shared'
   7636       ;;
   7637 
   7638     linux* | k*bsd*-gnu)
   7639       case $cc_basename in
   7640       # old Intel for x86_64 which still supported -KPIC.
   7641       ecc*)
   7642 	lt_prog_compiler_wl='-Wl,'
   7643 	lt_prog_compiler_pic='-KPIC'
   7644 	lt_prog_compiler_static='-static'
   7645         ;;
   7646       # icc used to be incompatible with GCC.
   7647       # ICC 10 doesn't accept -KPIC any more.
   7648       icc* | ifort*)
   7649 	lt_prog_compiler_wl='-Wl,'
   7650 	lt_prog_compiler_pic='-fPIC'
   7651 	lt_prog_compiler_static='-static'
   7652         ;;
   7653       # Lahey Fortran 8.1.
   7654       lf95*)
   7655 	lt_prog_compiler_wl='-Wl,'
   7656 	lt_prog_compiler_pic='--shared'
   7657 	lt_prog_compiler_static='--static'
   7658 	;;
   7659       pgcc* | pgf77* | pgf90* | pgf95*)
   7660         # Portland Group compilers (*not* the Pentium gcc compiler,
   7661 	# which looks to be a dead project)
   7662 	lt_prog_compiler_wl='-Wl,'
   7663 	lt_prog_compiler_pic='-fpic'
   7664 	lt_prog_compiler_static='-Bstatic'
   7665         ;;
   7666       ccc*)
   7667         lt_prog_compiler_wl='-Wl,'
   7668         # All Alpha code is PIC.
   7669         lt_prog_compiler_static='-non_shared'
   7670         ;;
   7671       xl*)
   7672 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7673 	lt_prog_compiler_wl='-Wl,'
   7674 	lt_prog_compiler_pic='-qpic'
   7675 	lt_prog_compiler_static='-qstaticlink'
   7676 	;;
   7677       *)
   7678 	case `$CC -V 2>&1 | sed 5q` in
   7679 	*Sun\ C*)
   7680 	  # Sun C 5.9
   7681 	  lt_prog_compiler_pic='-KPIC'
   7682 	  lt_prog_compiler_static='-Bstatic'
   7683 	  lt_prog_compiler_wl='-Wl,'
   7684 	  ;;
   7685 	*Sun\ F*)
   7686 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7687 	  lt_prog_compiler_pic='-KPIC'
   7688 	  lt_prog_compiler_static='-Bstatic'
   7689 	  lt_prog_compiler_wl=''
   7690 	  ;;
   7691 	esac
   7692 	;;
   7693       esac
   7694       ;;
   7695 
   7696     newsos6)
   7697       lt_prog_compiler_pic='-KPIC'
   7698       lt_prog_compiler_static='-Bstatic'
   7699       ;;
   7700 
   7701     *nto* | *qnx*)
   7702       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7703       # it will coredump.
   7704       lt_prog_compiler_pic='-fPIC -shared'
   7705       ;;
   7706 
   7707     osf3* | osf4* | osf5*)
   7708       lt_prog_compiler_wl='-Wl,'
   7709       # All OSF/1 code is PIC.
   7710       lt_prog_compiler_static='-non_shared'
   7711       ;;
   7712 
   7713     rdos*)
   7714       lt_prog_compiler_static='-non_shared'
   7715       ;;
   7716 
   7717     solaris*)
   7718       lt_prog_compiler_pic='-KPIC'
   7719       lt_prog_compiler_static='-Bstatic'
   7720       case $cc_basename in
   7721       f77* | f90* | f95*)
   7722 	lt_prog_compiler_wl='-Qoption ld ';;
   7723       *)
   7724 	lt_prog_compiler_wl='-Wl,';;
   7725       esac
   7726       ;;
   7727 
   7728     sunos4*)
   7729       lt_prog_compiler_wl='-Qoption ld '
   7730       lt_prog_compiler_pic='-PIC'
   7731       lt_prog_compiler_static='-Bstatic'
   7732       ;;
   7733 
   7734     sysv4 | sysv4.2uw2* | sysv4.3*)
   7735       lt_prog_compiler_wl='-Wl,'
   7736       lt_prog_compiler_pic='-KPIC'
   7737       lt_prog_compiler_static='-Bstatic'
   7738       ;;
   7739 
   7740     sysv4*MP*)
   7741       if test -d /usr/nec ;then
   7742 	lt_prog_compiler_pic='-Kconform_pic'
   7743 	lt_prog_compiler_static='-Bstatic'
   7744       fi
   7745       ;;
   7746 
   7747     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7748       lt_prog_compiler_wl='-Wl,'
   7749       lt_prog_compiler_pic='-KPIC'
   7750       lt_prog_compiler_static='-Bstatic'
   7751       ;;
   7752 
   7753     unicos*)
   7754       lt_prog_compiler_wl='-Wl,'
   7755       lt_prog_compiler_can_build_shared=no
   7756       ;;
   7757 
   7758     uts4*)
   7759       lt_prog_compiler_pic='-pic'
   7760       lt_prog_compiler_static='-Bstatic'
   7761       ;;
   7762 
   7763     *)
   7764       lt_prog_compiler_can_build_shared=no
   7765       ;;
   7766     esac
   7767   fi
   7768 
   7769 case $host_os in
   7770   # For platforms which do not support PIC, -DPIC is meaningless:
   7771   *djgpp*)
   7772     lt_prog_compiler_pic=
   7773     ;;
   7774   *)
   7775     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7776     ;;
   7777 esac
   7778 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7779 $as_echo "$lt_prog_compiler_pic" >&6; }
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 #
   7787 # Check to make sure the PIC flag actually works.
   7788 #
   7789 if test -n "$lt_prog_compiler_pic"; then
   7790   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7791 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7792 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7793   $as_echo_n "(cached) " >&6
   7794 else
   7795   lt_cv_prog_compiler_pic_works=no
   7796    ac_outfile=conftest.$ac_objext
   7797    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7798    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7799    # Insert the option either (1) after the last *FLAGS variable, or
   7800    # (2) before a word containing "conftest.", or (3) at the end.
   7801    # Note that $ac_compile itself does not contain backslashes and begins
   7802    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7803    # The option is referenced via a variable to avoid confusing sed.
   7804    lt_compile=`echo "$ac_compile" | $SED \
   7805    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7806    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7807    -e 's:$: $lt_compiler_flag:'`
   7808    (eval echo "\"\$as_me:7808: $lt_compile\"" >&5)
   7809    (eval "$lt_compile" 2>conftest.err)
   7810    ac_status=$?
   7811    cat conftest.err >&5
   7812    echo "$as_me:7812: \$? = $ac_status" >&5
   7813    if (exit $ac_status) && test -s "$ac_outfile"; then
   7814      # The compiler can only warn and ignore the option if not recognized
   7815      # So say no if there are warnings other than the usual output.
   7816      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7817      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7818      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7819        lt_cv_prog_compiler_pic_works=yes
   7820      fi
   7821    fi
   7822    $RM conftest*
   7823 
   7824 fi
   7825 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7826 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7827 
   7828 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7829     case $lt_prog_compiler_pic in
   7830      "" | " "*) ;;
   7831      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7832      esac
   7833 else
   7834     lt_prog_compiler_pic=
   7835      lt_prog_compiler_can_build_shared=no
   7836 fi
   7837 
   7838 fi
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 #
   7846 # Check to make sure the static flag actually works.
   7847 #
   7848 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7849 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7850 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7851 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   lt_cv_prog_compiler_static_works=no
   7855    save_LDFLAGS="$LDFLAGS"
   7856    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7857    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7858    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7859      # The linker can only warn and ignore the option if not recognized
   7860      # So say no if there are warnings
   7861      if test -s conftest.err; then
   7862        # Append any errors to the config.log.
   7863        cat conftest.err 1>&5
   7864        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7865        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7866        if diff conftest.exp conftest.er2 >/dev/null; then
   7867          lt_cv_prog_compiler_static_works=yes
   7868        fi
   7869      else
   7870        lt_cv_prog_compiler_static_works=yes
   7871      fi
   7872    fi
   7873    $RM -r conftest*
   7874    LDFLAGS="$save_LDFLAGS"
   7875 
   7876 fi
   7877 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7878 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7879 
   7880 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7881     :
   7882 else
   7883     lt_prog_compiler_static=
   7884 fi
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7893 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7894 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7895   $as_echo_n "(cached) " >&6
   7896 else
   7897   lt_cv_prog_compiler_c_o=no
   7898    $RM -r conftest 2>/dev/null
   7899    mkdir conftest
   7900    cd conftest
   7901    mkdir out
   7902    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7903 
   7904    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7905    # Insert the option either (1) after the last *FLAGS variable, or
   7906    # (2) before a word containing "conftest.", or (3) at the end.
   7907    # Note that $ac_compile itself does not contain backslashes and begins
   7908    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7909    lt_compile=`echo "$ac_compile" | $SED \
   7910    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7911    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7912    -e 's:$: $lt_compiler_flag:'`
   7913    (eval echo "\"\$as_me:7913: $lt_compile\"" >&5)
   7914    (eval "$lt_compile" 2>out/conftest.err)
   7915    ac_status=$?
   7916    cat out/conftest.err >&5
   7917    echo "$as_me:7917: \$? = $ac_status" >&5
   7918    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7919    then
   7920      # The compiler can only warn and ignore the option if not recognized
   7921      # So say no if there are warnings
   7922      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7923      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7924      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7925        lt_cv_prog_compiler_c_o=yes
   7926      fi
   7927    fi
   7928    chmod u+w . 2>&5
   7929    $RM conftest*
   7930    # SGI C++ compiler will create directory out/ii_files/ for
   7931    # template instantiation
   7932    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7933    $RM out/* && rmdir out
   7934    cd ..
   7935    $RM -r conftest
   7936    $RM conftest*
   7937 
   7938 fi
   7939 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7940 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7948 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7949 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7950   $as_echo_n "(cached) " >&6
   7951 else
   7952   lt_cv_prog_compiler_c_o=no
   7953    $RM -r conftest 2>/dev/null
   7954    mkdir conftest
   7955    cd conftest
   7956    mkdir out
   7957    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7958 
   7959    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7960    # Insert the option either (1) after the last *FLAGS variable, or
   7961    # (2) before a word containing "conftest.", or (3) at the end.
   7962    # Note that $ac_compile itself does not contain backslashes and begins
   7963    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7964    lt_compile=`echo "$ac_compile" | $SED \
   7965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7967    -e 's:$: $lt_compiler_flag:'`
   7968    (eval echo "\"\$as_me:7968: $lt_compile\"" >&5)
   7969    (eval "$lt_compile" 2>out/conftest.err)
   7970    ac_status=$?
   7971    cat out/conftest.err >&5
   7972    echo "$as_me:7972: \$? = $ac_status" >&5
   7973    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7974    then
   7975      # The compiler can only warn and ignore the option if not recognized
   7976      # So say no if there are warnings
   7977      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7978      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7979      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7980        lt_cv_prog_compiler_c_o=yes
   7981      fi
   7982    fi
   7983    chmod u+w . 2>&5
   7984    $RM conftest*
   7985    # SGI C++ compiler will create directory out/ii_files/ for
   7986    # template instantiation
   7987    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7988    $RM out/* && rmdir out
   7989    cd ..
   7990    $RM -r conftest
   7991    $RM conftest*
   7992 
   7993 fi
   7994 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7995 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7996 
   7997 
   7998 
   7999 
   8000 hard_links="nottested"
   8001 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8002   # do not overwrite the value of need_locks provided by the user
   8003   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8004 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8005   hard_links=yes
   8006   $RM conftest*
   8007   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8008   touch conftest.a
   8009   ln conftest.a conftest.b 2>&5 || hard_links=no
   8010   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8011   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8012 $as_echo "$hard_links" >&6; }
   8013   if test "$hard_links" = no; then
   8014     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8015 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8016     need_locks=warn
   8017   fi
   8018 else
   8019   need_locks=no
   8020 fi
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8028 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8029 
   8030   runpath_var=
   8031   allow_undefined_flag=
   8032   always_export_symbols=no
   8033   archive_cmds=
   8034   archive_expsym_cmds=
   8035   compiler_needs_object=no
   8036   enable_shared_with_static_runtimes=no
   8037   export_dynamic_flag_spec=
   8038   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8039   hardcode_automatic=no
   8040   hardcode_direct=no
   8041   hardcode_direct_absolute=no
   8042   hardcode_libdir_flag_spec=
   8043   hardcode_libdir_flag_spec_ld=
   8044   hardcode_libdir_separator=
   8045   hardcode_minus_L=no
   8046   hardcode_shlibpath_var=unsupported
   8047   inherit_rpath=no
   8048   link_all_deplibs=unknown
   8049   module_cmds=
   8050   module_expsym_cmds=
   8051   old_archive_from_new_cmds=
   8052   old_archive_from_expsyms_cmds=
   8053   thread_safe_flag_spec=
   8054   whole_archive_flag_spec=
   8055   # include_expsyms should be a list of space-separated symbols to be *always*
   8056   # included in the symbol list
   8057   include_expsyms=
   8058   # exclude_expsyms can be an extended regexp of symbols to exclude
   8059   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8060   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8061   # as well as any symbol that contains `d'.
   8062   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8063   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8064   # platforms (ab)use it in PIC code, but their linkers get confused if
   8065   # the symbol is explicitly referenced.  Since portable code cannot
   8066   # rely on this symbol name, it's probably fine to never include it in
   8067   # preloaded symbol tables.
   8068   # Exclude shared library initialization/finalization symbols.
   8069   extract_expsyms_cmds=
   8070 
   8071   case $host_os in
   8072   cygwin* | mingw* | pw32* | cegcc*)
   8073     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8074     # When not using gcc, we currently assume that we are using
   8075     # Microsoft Visual C++.
   8076     if test "$GCC" != yes; then
   8077       with_gnu_ld=no
   8078     fi
   8079     ;;
   8080   interix*)
   8081     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8082     with_gnu_ld=yes
   8083     ;;
   8084   openbsd*)
   8085     with_gnu_ld=no
   8086     ;;
   8087   esac
   8088 
   8089   ld_shlibs=yes
   8090   if test "$with_gnu_ld" = yes; then
   8091     # If archive_cmds runs LD, not CC, wlarc should be empty
   8092     wlarc='${wl}'
   8093 
   8094     # Set some defaults for GNU ld with shared library support. These
   8095     # are reset later if shared libraries are not supported. Putting them
   8096     # here allows them to be overridden if necessary.
   8097     runpath_var=LD_RUN_PATH
   8098     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8099     export_dynamic_flag_spec='${wl}--export-dynamic'
   8100     # ancient GNU ld didn't support --whole-archive et. al.
   8101     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8102       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8103     else
   8104       whole_archive_flag_spec=
   8105     fi
   8106     supports_anon_versioning=no
   8107     case `$LD -v 2>&1` in
   8108       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8109       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8110       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8111       *\ 2.11.*) ;; # other 2.11 versions
   8112       *) supports_anon_versioning=yes ;;
   8113     esac
   8114 
   8115     # See if GNU ld supports shared libraries.
   8116     case $host_os in
   8117     aix[3-9]*)
   8118       # On AIX/PPC, the GNU linker is very broken
   8119       if test "$host_cpu" != ia64; then
   8120 	ld_shlibs=no
   8121 	cat <<_LT_EOF 1>&2
   8122 
   8123 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8124 *** to be unable to reliably create shared libraries on AIX.
   8125 *** Therefore, libtool is disabling shared libraries support.  If you
   8126 *** really care for shared libraries, you may want to modify your PATH
   8127 *** so that a non-GNU linker is found, and then restart.
   8128 
   8129 _LT_EOF
   8130       fi
   8131       ;;
   8132 
   8133     amigaos*)
   8134       case $host_cpu in
   8135       powerpc)
   8136             # see comment about AmigaOS4 .so support
   8137             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8138             archive_expsym_cmds=''
   8139         ;;
   8140       m68k)
   8141             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)'
   8142             hardcode_libdir_flag_spec='-L$libdir'
   8143             hardcode_minus_L=yes
   8144         ;;
   8145       esac
   8146       ;;
   8147 
   8148     beos*)
   8149       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8150 	allow_undefined_flag=unsupported
   8151 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8152 	# support --undefined.  This deserves some investigation.  FIXME
   8153 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8154       else
   8155 	ld_shlibs=no
   8156       fi
   8157       ;;
   8158 
   8159     cygwin* | mingw* | pw32* | cegcc*)
   8160       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8161       # as there is no search path for DLLs.
   8162       hardcode_libdir_flag_spec='-L$libdir'
   8163       allow_undefined_flag=unsupported
   8164       always_export_symbols=no
   8165       enable_shared_with_static_runtimes=yes
   8166       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8167 
   8168       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8169         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8170 	# If the export-symbols file already is a .def file (1st line
   8171 	# is EXPORTS), use it as is; otherwise, prepend...
   8172 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8173 	  cp $export_symbols $output_objdir/$soname.def;
   8174 	else
   8175 	  echo EXPORTS > $output_objdir/$soname.def;
   8176 	  cat $export_symbols >> $output_objdir/$soname.def;
   8177 	fi~
   8178 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8179       else
   8180 	ld_shlibs=no
   8181       fi
   8182       ;;
   8183 
   8184     interix[3-9]*)
   8185       hardcode_direct=no
   8186       hardcode_shlibpath_var=no
   8187       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8188       export_dynamic_flag_spec='${wl}-E'
   8189       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8190       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8191       # default) and relocated if they conflict, which is a slow very memory
   8192       # consuming and fragmenting process.  To avoid this, we pick a random,
   8193       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8194       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8195       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8196       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'
   8197       ;;
   8198 
   8199     gnu* | linux* | tpf* | k*bsd*-gnu)
   8200       tmp_diet=no
   8201       if test "$host_os" = linux-dietlibc; then
   8202 	case $cc_basename in
   8203 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8204 	esac
   8205       fi
   8206       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8207 	 && test "$tmp_diet" = no
   8208       then
   8209 	tmp_addflag=
   8210 	tmp_sharedflag='-shared'
   8211 	case $cc_basename,$host_cpu in
   8212         pgcc*)				# Portland Group C compiler
   8213 	  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'
   8214 	  tmp_addflag=' $pic_flag'
   8215 	  ;;
   8216 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8217 	  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'
   8218 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8219 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8220 	  tmp_addflag=' -i_dynamic' ;;
   8221 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8222 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8223 	ifc* | ifort*)			# Intel Fortran compiler
   8224 	  tmp_addflag=' -nofor_main' ;;
   8225 	lf95*)				# Lahey Fortran 8.1
   8226 	  whole_archive_flag_spec=
   8227 	  tmp_sharedflag='--shared' ;;
   8228 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8229 	  tmp_sharedflag='-qmkshrobj'
   8230 	  tmp_addflag= ;;
   8231 	esac
   8232 	case `$CC -V 2>&1 | sed 5q` in
   8233 	*Sun\ C*)			# Sun C 5.9
   8234 	  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'
   8235 	  compiler_needs_object=yes
   8236 	  tmp_sharedflag='-G' ;;
   8237 	*Sun\ F*)			# Sun Fortran 8.3
   8238 	  tmp_sharedflag='-G' ;;
   8239 	esac
   8240 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8241 
   8242         if test "x$supports_anon_versioning" = xyes; then
   8243           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8244 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8245 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8246 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8247         fi
   8248 
   8249 	case $cc_basename in
   8250 	xlf*)
   8251 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8252 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8253 	  hardcode_libdir_flag_spec=
   8254 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8255 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8256 	  if test "x$supports_anon_versioning" = xyes; then
   8257 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8258 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8259 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8260 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8261 	  fi
   8262 	  ;;
   8263 	esac
   8264       else
   8265         ld_shlibs=no
   8266       fi
   8267       ;;
   8268 
   8269     netbsd*)
   8270       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8271 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8272 	wlarc=
   8273       else
   8274 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8275 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8276       fi
   8277       ;;
   8278 
   8279     solaris*)
   8280       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8281 	ld_shlibs=no
   8282 	cat <<_LT_EOF 1>&2
   8283 
   8284 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8285 *** create shared libraries on Solaris systems.  Therefore, libtool
   8286 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8287 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8288 *** your PATH or compiler configuration so that the native linker is
   8289 *** used, and then restart.
   8290 
   8291 _LT_EOF
   8292       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8293 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8294 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8295       else
   8296 	ld_shlibs=no
   8297       fi
   8298       ;;
   8299 
   8300     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8301       case `$LD -v 2>&1` in
   8302         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8303 	ld_shlibs=no
   8304 	cat <<_LT_EOF 1>&2
   8305 
   8306 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8307 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8308 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8309 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8310 *** your PATH or compiler configuration so that the native linker is
   8311 *** used, and then restart.
   8312 
   8313 _LT_EOF
   8314 	;;
   8315 	*)
   8316 	  # For security reasons, it is highly recommended that you always
   8317 	  # use absolute paths for naming shared libraries, and exclude the
   8318 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8319 	  # requires that you compile everything twice, which is a pain.
   8320 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8321 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8322 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8323 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8324 	  else
   8325 	    ld_shlibs=no
   8326 	  fi
   8327 	;;
   8328       esac
   8329       ;;
   8330 
   8331     sunos4*)
   8332       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8333       wlarc=
   8334       hardcode_direct=yes
   8335       hardcode_shlibpath_var=no
   8336       ;;
   8337 
   8338     *)
   8339       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8340 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8341 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8342       else
   8343 	ld_shlibs=no
   8344       fi
   8345       ;;
   8346     esac
   8347 
   8348     if test "$ld_shlibs" = no; then
   8349       runpath_var=
   8350       hardcode_libdir_flag_spec=
   8351       export_dynamic_flag_spec=
   8352       whole_archive_flag_spec=
   8353     fi
   8354   else
   8355     # PORTME fill in a description of your system's linker (not GNU ld)
   8356     case $host_os in
   8357     aix3*)
   8358       allow_undefined_flag=unsupported
   8359       always_export_symbols=yes
   8360       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'
   8361       # Note: this linker hardcodes the directories in LIBPATH if there
   8362       # are no directories specified by -L.
   8363       hardcode_minus_L=yes
   8364       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8365 	# Neither direct hardcoding nor static linking is supported with a
   8366 	# broken collect2.
   8367 	hardcode_direct=unsupported
   8368       fi
   8369       ;;
   8370 
   8371     aix[4-9]*)
   8372       if test "$host_cpu" = ia64; then
   8373 	# On IA64, the linker does run time linking by default, so we don't
   8374 	# have to do anything special.
   8375 	aix_use_runtimelinking=no
   8376 	exp_sym_flag='-Bexport'
   8377 	no_entry_flag=""
   8378       else
   8379 	# If we're using GNU nm, then we don't want the "-C" option.
   8380 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8381 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8382 	  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'
   8383 	else
   8384 	  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'
   8385 	fi
   8386 	aix_use_runtimelinking=no
   8387 
   8388 	# Test if we are trying to use run time linking or normal
   8389 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8390 	# need to do runtime linking.
   8391 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8392 	  for ld_flag in $LDFLAGS; do
   8393 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8394 	    aix_use_runtimelinking=yes
   8395 	    break
   8396 	  fi
   8397 	  done
   8398 	  ;;
   8399 	esac
   8400 
   8401 	exp_sym_flag='-bexport'
   8402 	no_entry_flag='-bnoentry'
   8403       fi
   8404 
   8405       # When large executables or shared objects are built, AIX ld can
   8406       # have problems creating the table of contents.  If linking a library
   8407       # or program results in "error TOC overflow" add -mminimal-toc to
   8408       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8409       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8410 
   8411       archive_cmds=''
   8412       hardcode_direct=yes
   8413       hardcode_direct_absolute=yes
   8414       hardcode_libdir_separator=':'
   8415       link_all_deplibs=yes
   8416       file_list_spec='${wl}-f,'
   8417 
   8418       if test "$GCC" = yes; then
   8419 	case $host_os in aix4.[012]|aix4.[012].*)
   8420 	# We only want to do this on AIX 4.2 and lower, the check
   8421 	# below for broken collect2 doesn't work under 4.3+
   8422 	  collect2name=`${CC} -print-prog-name=collect2`
   8423 	  if test -f "$collect2name" &&
   8424 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8425 	  then
   8426 	  # We have reworked collect2
   8427 	  :
   8428 	  else
   8429 	  # We have old collect2
   8430 	  hardcode_direct=unsupported
   8431 	  # It fails to find uninstalled libraries when the uninstalled
   8432 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8433 	  # to unsupported forces relinking
   8434 	  hardcode_minus_L=yes
   8435 	  hardcode_libdir_flag_spec='-L$libdir'
   8436 	  hardcode_libdir_separator=
   8437 	  fi
   8438 	  ;;
   8439 	esac
   8440 	shared_flag='-shared'
   8441 	if test "$aix_use_runtimelinking" = yes; then
   8442 	  shared_flag="$shared_flag "'${wl}-G'
   8443 	fi
   8444       else
   8445 	# not using gcc
   8446 	if test "$host_cpu" = ia64; then
   8447 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8448 	# chokes on -Wl,-G. The following line is correct:
   8449 	  shared_flag='-G'
   8450 	else
   8451 	  if test "$aix_use_runtimelinking" = yes; then
   8452 	    shared_flag='${wl}-G'
   8453 	  else
   8454 	    shared_flag='${wl}-bM:SRE'
   8455 	  fi
   8456 	fi
   8457       fi
   8458 
   8459       export_dynamic_flag_spec='${wl}-bexpall'
   8460       # It seems that -bexpall does not export symbols beginning with
   8461       # underscore (_), so it is better to generate a list of symbols to export.
   8462       always_export_symbols=yes
   8463       if test "$aix_use_runtimelinking" = yes; then
   8464 	# Warning - without using the other runtime loading flags (-brtl),
   8465 	# -berok will link without error, but may produce a broken library.
   8466 	allow_undefined_flag='-berok'
   8467         # Determine the default libpath from the value encoded in an
   8468         # empty executable.
   8469         cat >conftest.$ac_ext <<_ACEOF
   8470 /* confdefs.h.  */
   8471 _ACEOF
   8472 cat confdefs.h >>conftest.$ac_ext
   8473 cat >>conftest.$ac_ext <<_ACEOF
   8474 /* end confdefs.h.  */
   8475 
   8476 int
   8477 main ()
   8478 {
   8479 
   8480   ;
   8481   return 0;
   8482 }
   8483 _ACEOF
   8484 rm -f conftest.$ac_objext conftest$ac_exeext
   8485 if { (ac_try="$ac_link"
   8486 case "(($ac_try" in
   8487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8488   *) ac_try_echo=$ac_try;;
   8489 esac
   8490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8491 $as_echo "$ac_try_echo") >&5
   8492   (eval "$ac_link") 2>conftest.er1
   8493   ac_status=$?
   8494   grep -v '^ *+' conftest.er1 >conftest.err
   8495   rm -f conftest.er1
   8496   cat conftest.err >&5
   8497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8498   (exit $ac_status); } && {
   8499 	 test -z "$ac_c_werror_flag" ||
   8500 	 test ! -s conftest.err
   8501        } && test -s conftest$ac_exeext && {
   8502 	 test "$cross_compiling" = yes ||
   8503 	 $as_test_x conftest$ac_exeext
   8504        }; then
   8505 
   8506 lt_aix_libpath_sed='
   8507     /Import File Strings/,/^$/ {
   8508 	/^0/ {
   8509 	    s/^0  *\(.*\)$/\1/
   8510 	    p
   8511 	}
   8512     }'
   8513 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8514 # Check for a 64-bit object if we didn't find anything.
   8515 if test -z "$aix_libpath"; then
   8516   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8517 fi
   8518 else
   8519   $as_echo "$as_me: failed program was:" >&5
   8520 sed 's/^/| /' conftest.$ac_ext >&5
   8521 
   8522 
   8523 fi
   8524 
   8525 rm -rf conftest.dSYM
   8526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8527       conftest$ac_exeext conftest.$ac_ext
   8528 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8529 
   8530         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8531         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"
   8532       else
   8533 	if test "$host_cpu" = ia64; then
   8534 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8535 	  allow_undefined_flag="-z nodefs"
   8536 	  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"
   8537 	else
   8538 	 # Determine the default libpath from the value encoded in an
   8539 	 # empty executable.
   8540 	 cat >conftest.$ac_ext <<_ACEOF
   8541 /* confdefs.h.  */
   8542 _ACEOF
   8543 cat confdefs.h >>conftest.$ac_ext
   8544 cat >>conftest.$ac_ext <<_ACEOF
   8545 /* end confdefs.h.  */
   8546 
   8547 int
   8548 main ()
   8549 {
   8550 
   8551   ;
   8552   return 0;
   8553 }
   8554 _ACEOF
   8555 rm -f conftest.$ac_objext conftest$ac_exeext
   8556 if { (ac_try="$ac_link"
   8557 case "(($ac_try" in
   8558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8559   *) ac_try_echo=$ac_try;;
   8560 esac
   8561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8562 $as_echo "$ac_try_echo") >&5
   8563   (eval "$ac_link") 2>conftest.er1
   8564   ac_status=$?
   8565   grep -v '^ *+' conftest.er1 >conftest.err
   8566   rm -f conftest.er1
   8567   cat conftest.err >&5
   8568   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8569   (exit $ac_status); } && {
   8570 	 test -z "$ac_c_werror_flag" ||
   8571 	 test ! -s conftest.err
   8572        } && test -s conftest$ac_exeext && {
   8573 	 test "$cross_compiling" = yes ||
   8574 	 $as_test_x conftest$ac_exeext
   8575        }; then
   8576 
   8577 lt_aix_libpath_sed='
   8578     /Import File Strings/,/^$/ {
   8579 	/^0/ {
   8580 	    s/^0  *\(.*\)$/\1/
   8581 	    p
   8582 	}
   8583     }'
   8584 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8585 # Check for a 64-bit object if we didn't find anything.
   8586 if test -z "$aix_libpath"; then
   8587   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8588 fi
   8589 else
   8590   $as_echo "$as_me: failed program was:" >&5
   8591 sed 's/^/| /' conftest.$ac_ext >&5
   8592 
   8593 
   8594 fi
   8595 
   8596 rm -rf conftest.dSYM
   8597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8598       conftest$ac_exeext conftest.$ac_ext
   8599 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8600 
   8601 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8602 	  # Warning - without using the other run time loading flags,
   8603 	  # -berok will link without error, but may produce a broken library.
   8604 	  no_undefined_flag=' ${wl}-bernotok'
   8605 	  allow_undefined_flag=' ${wl}-berok'
   8606 	  # Exported symbols can be pulled into shared objects from archives
   8607 	  whole_archive_flag_spec='$convenience'
   8608 	  archive_cmds_need_lc=yes
   8609 	  # This is similar to how AIX traditionally builds its shared libraries.
   8610 	  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'
   8611 	fi
   8612       fi
   8613       ;;
   8614 
   8615     amigaos*)
   8616       case $host_cpu in
   8617       powerpc)
   8618             # see comment about AmigaOS4 .so support
   8619             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8620             archive_expsym_cmds=''
   8621         ;;
   8622       m68k)
   8623             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)'
   8624             hardcode_libdir_flag_spec='-L$libdir'
   8625             hardcode_minus_L=yes
   8626         ;;
   8627       esac
   8628       ;;
   8629 
   8630     bsdi[45]*)
   8631       export_dynamic_flag_spec=-rdynamic
   8632       ;;
   8633 
   8634     cygwin* | mingw* | pw32* | cegcc*)
   8635       # When not using gcc, we currently assume that we are using
   8636       # Microsoft Visual C++.
   8637       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8638       # no search path for DLLs.
   8639       hardcode_libdir_flag_spec=' '
   8640       allow_undefined_flag=unsupported
   8641       # Tell ltmain to make .lib files, not .a files.
   8642       libext=lib
   8643       # Tell ltmain to make .dll files, not .so files.
   8644       shrext_cmds=".dll"
   8645       # FIXME: Setting linknames here is a bad hack.
   8646       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8647       # The linker will automatically build a .lib file if we build a DLL.
   8648       old_archive_from_new_cmds='true'
   8649       # FIXME: Should let the user specify the lib program.
   8650       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8651       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8652       enable_shared_with_static_runtimes=yes
   8653       ;;
   8654 
   8655     darwin* | rhapsody*)
   8656 
   8657 
   8658   archive_cmds_need_lc=no
   8659   hardcode_direct=no
   8660   hardcode_automatic=yes
   8661   hardcode_shlibpath_var=unsupported
   8662   whole_archive_flag_spec=''
   8663   link_all_deplibs=yes
   8664   allow_undefined_flag="$_lt_dar_allow_undefined"
   8665   case $cc_basename in
   8666      ifort*) _lt_dar_can_shared=yes ;;
   8667      *) _lt_dar_can_shared=$GCC ;;
   8668   esac
   8669   if test "$_lt_dar_can_shared" = "yes"; then
   8670     output_verbose_link_cmd=echo
   8671     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8672     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8673     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}"
   8674     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}"
   8675 
   8676   else
   8677   ld_shlibs=no
   8678   fi
   8679 
   8680       ;;
   8681 
   8682     dgux*)
   8683       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8684       hardcode_libdir_flag_spec='-L$libdir'
   8685       hardcode_shlibpath_var=no
   8686       ;;
   8687 
   8688     freebsd1*)
   8689       ld_shlibs=no
   8690       ;;
   8691 
   8692     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8693     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8694     # does not break anything, and helps significantly (at the cost of a little
   8695     # extra space).
   8696     freebsd2.2*)
   8697       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8698       hardcode_libdir_flag_spec='-R$libdir'
   8699       hardcode_direct=yes
   8700       hardcode_shlibpath_var=no
   8701       ;;
   8702 
   8703     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8704     freebsd2*)
   8705       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8706       hardcode_direct=yes
   8707       hardcode_minus_L=yes
   8708       hardcode_shlibpath_var=no
   8709       ;;
   8710 
   8711     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8712     freebsd* | dragonfly*)
   8713       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8714       hardcode_libdir_flag_spec='-R$libdir'
   8715       hardcode_direct=yes
   8716       hardcode_shlibpath_var=no
   8717       ;;
   8718 
   8719     hpux9*)
   8720       if test "$GCC" = yes; then
   8721 	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'
   8722       else
   8723 	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'
   8724       fi
   8725       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8726       hardcode_libdir_separator=:
   8727       hardcode_direct=yes
   8728 
   8729       # hardcode_minus_L: Not really in the search PATH,
   8730       # but as the default location of the library.
   8731       hardcode_minus_L=yes
   8732       export_dynamic_flag_spec='${wl}-E'
   8733       ;;
   8734 
   8735     hpux10*)
   8736       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8737 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8738       else
   8739 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8740       fi
   8741       if test "$with_gnu_ld" = no; then
   8742 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8743 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8744 	hardcode_libdir_separator=:
   8745 	hardcode_direct=yes
   8746 	hardcode_direct_absolute=yes
   8747 	export_dynamic_flag_spec='${wl}-E'
   8748 	# hardcode_minus_L: Not really in the search PATH,
   8749 	# but as the default location of the library.
   8750 	hardcode_minus_L=yes
   8751       fi
   8752       ;;
   8753 
   8754     hpux11*)
   8755       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8756 	case $host_cpu in
   8757 	hppa*64*)
   8758 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8759 	  ;;
   8760 	ia64*)
   8761 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8762 	  ;;
   8763 	*)
   8764 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8765 	  ;;
   8766 	esac
   8767       else
   8768 	case $host_cpu in
   8769 	hppa*64*)
   8770 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8771 	  ;;
   8772 	ia64*)
   8773 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8774 	  ;;
   8775 	*)
   8776 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8777 	  ;;
   8778 	esac
   8779       fi
   8780       if test "$with_gnu_ld" = no; then
   8781 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8782 	hardcode_libdir_separator=:
   8783 
   8784 	case $host_cpu in
   8785 	hppa*64*|ia64*)
   8786 	  hardcode_direct=no
   8787 	  hardcode_shlibpath_var=no
   8788 	  ;;
   8789 	*)
   8790 	  hardcode_direct=yes
   8791 	  hardcode_direct_absolute=yes
   8792 	  export_dynamic_flag_spec='${wl}-E'
   8793 
   8794 	  # hardcode_minus_L: Not really in the search PATH,
   8795 	  # but as the default location of the library.
   8796 	  hardcode_minus_L=yes
   8797 	  ;;
   8798 	esac
   8799       fi
   8800       ;;
   8801 
   8802     irix5* | irix6* | nonstopux*)
   8803       if test "$GCC" = yes; then
   8804 	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'
   8805 	# Try to use the -exported_symbol ld option, if it does not
   8806 	# work, assume that -exports_file does not work either and
   8807 	# implicitly export all symbols.
   8808         save_LDFLAGS="$LDFLAGS"
   8809         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8810         cat >conftest.$ac_ext <<_ACEOF
   8811 int foo(void) {}
   8812 _ACEOF
   8813 rm -f conftest.$ac_objext conftest$ac_exeext
   8814 if { (ac_try="$ac_link"
   8815 case "(($ac_try" in
   8816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8817   *) ac_try_echo=$ac_try;;
   8818 esac
   8819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8820 $as_echo "$ac_try_echo") >&5
   8821   (eval "$ac_link") 2>conftest.er1
   8822   ac_status=$?
   8823   grep -v '^ *+' conftest.er1 >conftest.err
   8824   rm -f conftest.er1
   8825   cat conftest.err >&5
   8826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8827   (exit $ac_status); } && {
   8828 	 test -z "$ac_c_werror_flag" ||
   8829 	 test ! -s conftest.err
   8830        } && test -s conftest$ac_exeext && {
   8831 	 test "$cross_compiling" = yes ||
   8832 	 $as_test_x conftest$ac_exeext
   8833        }; then
   8834   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'
   8835 
   8836 else
   8837   $as_echo "$as_me: failed program was:" >&5
   8838 sed 's/^/| /' conftest.$ac_ext >&5
   8839 
   8840 
   8841 fi
   8842 
   8843 rm -rf conftest.dSYM
   8844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8845       conftest$ac_exeext conftest.$ac_ext
   8846         LDFLAGS="$save_LDFLAGS"
   8847       else
   8848 	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'
   8849 	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'
   8850       fi
   8851       archive_cmds_need_lc='no'
   8852       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8853       hardcode_libdir_separator=:
   8854       inherit_rpath=yes
   8855       link_all_deplibs=yes
   8856       ;;
   8857 
   8858     netbsd*)
   8859       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8860 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8861       else
   8862 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8863       fi
   8864       hardcode_libdir_flag_spec='-R$libdir'
   8865       hardcode_direct=yes
   8866       hardcode_shlibpath_var=no
   8867       ;;
   8868 
   8869     newsos6)
   8870       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8871       hardcode_direct=yes
   8872       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8873       hardcode_libdir_separator=:
   8874       hardcode_shlibpath_var=no
   8875       ;;
   8876 
   8877     *nto* | *qnx*)
   8878       ;;
   8879 
   8880     openbsd*)
   8881       if test -f /usr/libexec/ld.so; then
   8882 	hardcode_direct=yes
   8883 	hardcode_shlibpath_var=no
   8884 	hardcode_direct_absolute=yes
   8885 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8886 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8887 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8888 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8889 	  export_dynamic_flag_spec='${wl}-E'
   8890 	else
   8891 	  case $host_os in
   8892 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8893 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8894 	     hardcode_libdir_flag_spec='-R$libdir'
   8895 	     ;;
   8896 	   *)
   8897 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8898 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8899 	     ;;
   8900 	  esac
   8901 	fi
   8902       else
   8903 	ld_shlibs=no
   8904       fi
   8905       ;;
   8906 
   8907     os2*)
   8908       hardcode_libdir_flag_spec='-L$libdir'
   8909       hardcode_minus_L=yes
   8910       allow_undefined_flag=unsupported
   8911       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'
   8912       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8913       ;;
   8914 
   8915     osf3*)
   8916       if test "$GCC" = yes; then
   8917 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8918 	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'
   8919       else
   8920 	allow_undefined_flag=' -expect_unresolved \*'
   8921 	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'
   8922       fi
   8923       archive_cmds_need_lc='no'
   8924       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8925       hardcode_libdir_separator=:
   8926       ;;
   8927 
   8928     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8929       if test "$GCC" = yes; then
   8930 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8931 	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'
   8932 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8933       else
   8934 	allow_undefined_flag=' -expect_unresolved \*'
   8935 	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'
   8936 	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~
   8937 	$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'
   8938 
   8939 	# Both c and cxx compiler support -rpath directly
   8940 	hardcode_libdir_flag_spec='-rpath $libdir'
   8941       fi
   8942       archive_cmds_need_lc='no'
   8943       hardcode_libdir_separator=:
   8944       ;;
   8945 
   8946     solaris*)
   8947       no_undefined_flag=' -z defs'
   8948       if test "$GCC" = yes; then
   8949 	wlarc='${wl}'
   8950 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8951 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8952 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8953       else
   8954 	case `$CC -V 2>&1` in
   8955 	*"Compilers 5.0"*)
   8956 	  wlarc=''
   8957 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8958 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8959 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8960 	  ;;
   8961 	*)
   8962 	  wlarc='${wl}'
   8963 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8964 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8965 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8966 	  ;;
   8967 	esac
   8968       fi
   8969       hardcode_libdir_flag_spec='-R$libdir'
   8970       hardcode_shlibpath_var=no
   8971       case $host_os in
   8972       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8973       *)
   8974 	# The compiler driver will combine and reorder linker options,
   8975 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8976 	# but is careful enough not to reorder.
   8977 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8978 	if test "$GCC" = yes; then
   8979 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8980 	else
   8981 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8982 	fi
   8983 	;;
   8984       esac
   8985       link_all_deplibs=yes
   8986       ;;
   8987 
   8988     sunos4*)
   8989       if test "x$host_vendor" = xsequent; then
   8990 	# Use $CC to link under sequent, because it throws in some extra .o
   8991 	# files that make .init and .fini sections work.
   8992 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8993       else
   8994 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8995       fi
   8996       hardcode_libdir_flag_spec='-L$libdir'
   8997       hardcode_direct=yes
   8998       hardcode_minus_L=yes
   8999       hardcode_shlibpath_var=no
   9000       ;;
   9001 
   9002     sysv4)
   9003       case $host_vendor in
   9004 	sni)
   9005 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9006 	  hardcode_direct=yes # is this really true???
   9007 	;;
   9008 	siemens)
   9009 	  ## LD is ld it makes a PLAMLIB
   9010 	  ## CC just makes a GrossModule.
   9011 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9012 	  reload_cmds='$CC -r -o $output$reload_objs'
   9013 	  hardcode_direct=no
   9014         ;;
   9015 	motorola)
   9016 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9017 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9018 	;;
   9019       esac
   9020       runpath_var='LD_RUN_PATH'
   9021       hardcode_shlibpath_var=no
   9022       ;;
   9023 
   9024     sysv4.3*)
   9025       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9026       hardcode_shlibpath_var=no
   9027       export_dynamic_flag_spec='-Bexport'
   9028       ;;
   9029 
   9030     sysv4*MP*)
   9031       if test -d /usr/nec; then
   9032 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9033 	hardcode_shlibpath_var=no
   9034 	runpath_var=LD_RUN_PATH
   9035 	hardcode_runpath_var=yes
   9036 	ld_shlibs=yes
   9037       fi
   9038       ;;
   9039 
   9040     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9041       no_undefined_flag='${wl}-z,text'
   9042       archive_cmds_need_lc=no
   9043       hardcode_shlibpath_var=no
   9044       runpath_var='LD_RUN_PATH'
   9045 
   9046       if test "$GCC" = yes; then
   9047 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9048 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9049       else
   9050 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9051 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9052       fi
   9053       ;;
   9054 
   9055     sysv5* | sco3.2v5* | sco5v6*)
   9056       # Note: We can NOT use -z defs as we might desire, because we do not
   9057       # link with -lc, and that would cause any symbols used from libc to
   9058       # always be unresolved, which means just about no library would
   9059       # ever link correctly.  If we're not using GNU ld we use -z text
   9060       # though, which does catch some bad symbols but isn't as heavy-handed
   9061       # as -z defs.
   9062       no_undefined_flag='${wl}-z,text'
   9063       allow_undefined_flag='${wl}-z,nodefs'
   9064       archive_cmds_need_lc=no
   9065       hardcode_shlibpath_var=no
   9066       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9067       hardcode_libdir_separator=':'
   9068       link_all_deplibs=yes
   9069       export_dynamic_flag_spec='${wl}-Bexport'
   9070       runpath_var='LD_RUN_PATH'
   9071 
   9072       if test "$GCC" = yes; then
   9073 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9074 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9075       else
   9076 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9077 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9078       fi
   9079       ;;
   9080 
   9081     uts4*)
   9082       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9083       hardcode_libdir_flag_spec='-L$libdir'
   9084       hardcode_shlibpath_var=no
   9085       ;;
   9086 
   9087     *)
   9088       ld_shlibs=no
   9089       ;;
   9090     esac
   9091 
   9092     if test x$host_vendor = xsni; then
   9093       case $host in
   9094       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9095 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9096 	;;
   9097       esac
   9098     fi
   9099   fi
   9100 
   9101 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9102 $as_echo "$ld_shlibs" >&6; }
   9103 test "$ld_shlibs" = no && can_build_shared=no
   9104 
   9105 with_gnu_ld=$with_gnu_ld
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 #
   9122 # Do we need to explicitly link libc?
   9123 #
   9124 case "x$archive_cmds_need_lc" in
   9125 x|xyes)
   9126   # Assume -lc should be added
   9127   archive_cmds_need_lc=yes
   9128 
   9129   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9130     case $archive_cmds in
   9131     *'~'*)
   9132       # FIXME: we may have to deal with multi-command sequences.
   9133       ;;
   9134     '$CC '*)
   9135       # Test whether the compiler implicitly links with -lc since on some
   9136       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9137       # to ld, don't add -lc before -lgcc.
   9138       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9139 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9140       $RM conftest*
   9141       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9142 
   9143       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9144   (eval $ac_compile) 2>&5
   9145   ac_status=$?
   9146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9147   (exit $ac_status); } 2>conftest.err; then
   9148         soname=conftest
   9149         lib=conftest
   9150         libobjs=conftest.$ac_objext
   9151         deplibs=
   9152         wl=$lt_prog_compiler_wl
   9153 	pic_flag=$lt_prog_compiler_pic
   9154         compiler_flags=-v
   9155         linker_flags=-v
   9156         verstring=
   9157         output_objdir=.
   9158         libname=conftest
   9159         lt_save_allow_undefined_flag=$allow_undefined_flag
   9160         allow_undefined_flag=
   9161         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9162   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9163   ac_status=$?
   9164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9165   (exit $ac_status); }
   9166         then
   9167 	  archive_cmds_need_lc=no
   9168         else
   9169 	  archive_cmds_need_lc=yes
   9170         fi
   9171         allow_undefined_flag=$lt_save_allow_undefined_flag
   9172       else
   9173         cat conftest.err 1>&5
   9174       fi
   9175       $RM conftest*
   9176       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9177 $as_echo "$archive_cmds_need_lc" >&6; }
   9178       ;;
   9179     esac
   9180   fi
   9181   ;;
   9182 esac
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9341 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9342 
   9343 if test "$GCC" = yes; then
   9344   case $host_os in
   9345     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9346     *) lt_awk_arg="/^libraries:/" ;;
   9347   esac
   9348   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9349   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9350     # if the path contains ";" then we assume it to be the separator
   9351     # otherwise default to the standard path separator (i.e. ":") - it is
   9352     # assumed that no part of a normal pathname contains ";" but that should
   9353     # okay in the real world where ";" in dirpaths is itself problematic.
   9354     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9355   else
   9356     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9357   fi
   9358   # Ok, now we have the path, separated by spaces, we can step through it
   9359   # and add multilib dir if necessary.
   9360   lt_tmp_lt_search_path_spec=
   9361   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9362   for lt_sys_path in $lt_search_path_spec; do
   9363     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9364       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9365     else
   9366       test -d "$lt_sys_path" && \
   9367 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9368     fi
   9369   done
   9370   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9371 BEGIN {RS=" "; FS="/|\n";} {
   9372   lt_foo="";
   9373   lt_count=0;
   9374   for (lt_i = NF; lt_i > 0; lt_i--) {
   9375     if ($lt_i != "" && $lt_i != ".") {
   9376       if ($lt_i == "..") {
   9377         lt_count++;
   9378       } else {
   9379         if (lt_count == 0) {
   9380           lt_foo="/" $lt_i lt_foo;
   9381         } else {
   9382           lt_count--;
   9383         }
   9384       }
   9385     }
   9386   }
   9387   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9388   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9389 }'`
   9390   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9391 else
   9392   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9393 fi
   9394 library_names_spec=
   9395 libname_spec='lib$name'
   9396 soname_spec=
   9397 shrext_cmds=".so"
   9398 postinstall_cmds=
   9399 postuninstall_cmds=
   9400 finish_cmds=
   9401 finish_eval=
   9402 shlibpath_var=
   9403 shlibpath_overrides_runpath=unknown
   9404 version_type=none
   9405 dynamic_linker="$host_os ld.so"
   9406 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9407 need_lib_prefix=unknown
   9408 hardcode_into_libs=no
   9409 
   9410 # when you set need_version to no, make sure it does not cause -set_version
   9411 # flags to be left without arguments
   9412 need_version=unknown
   9413 
   9414 case $host_os in
   9415 aix3*)
   9416   version_type=linux
   9417   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9418   shlibpath_var=LIBPATH
   9419 
   9420   # AIX 3 has no versioning support, so we append a major version to the name.
   9421   soname_spec='${libname}${release}${shared_ext}$major'
   9422   ;;
   9423 
   9424 aix[4-9]*)
   9425   version_type=linux
   9426   need_lib_prefix=no
   9427   need_version=no
   9428   hardcode_into_libs=yes
   9429   if test "$host_cpu" = ia64; then
   9430     # AIX 5 supports IA64
   9431     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9432     shlibpath_var=LD_LIBRARY_PATH
   9433   else
   9434     # With GCC up to 2.95.x, collect2 would create an import file
   9435     # for dependence libraries.  The import file would start with
   9436     # the line `#! .'.  This would cause the generated library to
   9437     # depend on `.', always an invalid library.  This was fixed in
   9438     # development snapshots of GCC prior to 3.0.
   9439     case $host_os in
   9440       aix4 | aix4.[01] | aix4.[01].*)
   9441       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9442 	   echo ' yes '
   9443 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9444 	:
   9445       else
   9446 	can_build_shared=no
   9447       fi
   9448       ;;
   9449     esac
   9450     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9451     # soname into executable. Probably we can add versioning support to
   9452     # collect2, so additional links can be useful in future.
   9453     if test "$aix_use_runtimelinking" = yes; then
   9454       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9455       # instead of lib<name>.a to let people know that these are not
   9456       # typical AIX shared libraries.
   9457       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9458     else
   9459       # We preserve .a as extension for shared libraries through AIX4.2
   9460       # and later when we are not doing run time linking.
   9461       library_names_spec='${libname}${release}.a $libname.a'
   9462       soname_spec='${libname}${release}${shared_ext}$major'
   9463     fi
   9464     shlibpath_var=LIBPATH
   9465   fi
   9466   ;;
   9467 
   9468 amigaos*)
   9469   case $host_cpu in
   9470   powerpc)
   9471     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9472     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9474     ;;
   9475   m68k)
   9476     library_names_spec='$libname.ixlibrary $libname.a'
   9477     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9478     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'
   9479     ;;
   9480   esac
   9481   ;;
   9482 
   9483 beos*)
   9484   library_names_spec='${libname}${shared_ext}'
   9485   dynamic_linker="$host_os ld.so"
   9486   shlibpath_var=LIBRARY_PATH
   9487   ;;
   9488 
   9489 bsdi[45]*)
   9490   version_type=linux
   9491   need_version=no
   9492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9493   soname_spec='${libname}${release}${shared_ext}$major'
   9494   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9495   shlibpath_var=LD_LIBRARY_PATH
   9496   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9497   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9498   # the default ld.so.conf also contains /usr/contrib/lib and
   9499   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9500   # libtool to hard-code these into programs
   9501   ;;
   9502 
   9503 cygwin* | mingw* | pw32* | cegcc*)
   9504   version_type=windows
   9505   shrext_cmds=".dll"
   9506   need_version=no
   9507   need_lib_prefix=no
   9508 
   9509   case $GCC,$host_os in
   9510   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9511     library_names_spec='$libname.dll.a'
   9512     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9513     postinstall_cmds='base_file=`basename \${file}`~
   9514       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9515       dldir=$destdir/`dirname \$dlpath`~
   9516       test -d \$dldir || mkdir -p \$dldir~
   9517       $install_prog $dir/$dlname \$dldir/$dlname~
   9518       chmod a+x \$dldir/$dlname~
   9519       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9520         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9521       fi'
   9522     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9523       dlpath=$dir/\$dldll~
   9524        $RM \$dlpath'
   9525     shlibpath_overrides_runpath=yes
   9526 
   9527     case $host_os in
   9528     cygwin*)
   9529       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9530       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9531       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9532       ;;
   9533     mingw* | cegcc*)
   9534       # MinGW DLLs use traditional 'lib' prefix
   9535       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9536       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9537       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9538         # It is most probably a Windows format PATH printed by
   9539         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9540         # path with ; separators, and with drive letters. We can handle the
   9541         # drive letters (cygwin fileutils understands them), so leave them,
   9542         # especially as we might pass files found there to a mingw objdump,
   9543         # which wouldn't understand a cygwinified path. Ahh.
   9544         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9545       else
   9546         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9547       fi
   9548       ;;
   9549     pw32*)
   9550       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9551       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9552       ;;
   9553     esac
   9554     ;;
   9555 
   9556   *)
   9557     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9558     ;;
   9559   esac
   9560   dynamic_linker='Win32 ld.exe'
   9561   # FIXME: first we should search . and the directory the executable is in
   9562   shlibpath_var=PATH
   9563   ;;
   9564 
   9565 darwin* | rhapsody*)
   9566   dynamic_linker="$host_os dyld"
   9567   version_type=darwin
   9568   need_lib_prefix=no
   9569   need_version=no
   9570   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9571   soname_spec='${libname}${release}${major}$shared_ext'
   9572   shlibpath_overrides_runpath=yes
   9573   shlibpath_var=DYLD_LIBRARY_PATH
   9574   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9575 
   9576   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9577   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9578   ;;
   9579 
   9580 dgux*)
   9581   version_type=linux
   9582   need_lib_prefix=no
   9583   need_version=no
   9584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9585   soname_spec='${libname}${release}${shared_ext}$major'
   9586   shlibpath_var=LD_LIBRARY_PATH
   9587   ;;
   9588 
   9589 freebsd1*)
   9590   dynamic_linker=no
   9591   ;;
   9592 
   9593 freebsd* | dragonfly*)
   9594   # DragonFly does not have aout.  When/if they implement a new
   9595   # versioning mechanism, adjust this.
   9596   if test -x /usr/bin/objformat; then
   9597     objformat=`/usr/bin/objformat`
   9598   else
   9599     case $host_os in
   9600     freebsd[123]*) objformat=aout ;;
   9601     *) objformat=elf ;;
   9602     esac
   9603   fi
   9604   version_type=freebsd-$objformat
   9605   case $version_type in
   9606     freebsd-elf*)
   9607       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9608       need_version=no
   9609       need_lib_prefix=no
   9610       ;;
   9611     freebsd-*)
   9612       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9613       need_version=yes
   9614       ;;
   9615   esac
   9616   shlibpath_var=LD_LIBRARY_PATH
   9617   case $host_os in
   9618   freebsd2*)
   9619     shlibpath_overrides_runpath=yes
   9620     ;;
   9621   freebsd3.[01]* | freebsdelf3.[01]*)
   9622     shlibpath_overrides_runpath=yes
   9623     hardcode_into_libs=yes
   9624     ;;
   9625   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9626   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9627     shlibpath_overrides_runpath=no
   9628     hardcode_into_libs=yes
   9629     ;;
   9630   *) # from 4.6 on, and DragonFly
   9631     shlibpath_overrides_runpath=yes
   9632     hardcode_into_libs=yes
   9633     ;;
   9634   esac
   9635   ;;
   9636 
   9637 gnu*)
   9638   version_type=linux
   9639   need_lib_prefix=no
   9640   need_version=no
   9641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9642   soname_spec='${libname}${release}${shared_ext}$major'
   9643   shlibpath_var=LD_LIBRARY_PATH
   9644   hardcode_into_libs=yes
   9645   ;;
   9646 
   9647 hpux9* | hpux10* | hpux11*)
   9648   # Give a soname corresponding to the major version so that dld.sl refuses to
   9649   # link against other versions.
   9650   version_type=sunos
   9651   need_lib_prefix=no
   9652   need_version=no
   9653   case $host_cpu in
   9654   ia64*)
   9655     shrext_cmds='.so'
   9656     hardcode_into_libs=yes
   9657     dynamic_linker="$host_os dld.so"
   9658     shlibpath_var=LD_LIBRARY_PATH
   9659     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9660     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9661     soname_spec='${libname}${release}${shared_ext}$major'
   9662     if test "X$HPUX_IA64_MODE" = X32; then
   9663       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9664     else
   9665       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9666     fi
   9667     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9668     ;;
   9669   hppa*64*)
   9670     shrext_cmds='.sl'
   9671     hardcode_into_libs=yes
   9672     dynamic_linker="$host_os dld.sl"
   9673     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9674     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9675     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9676     soname_spec='${libname}${release}${shared_ext}$major'
   9677     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9678     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9679     ;;
   9680   *)
   9681     shrext_cmds='.sl'
   9682     dynamic_linker="$host_os dld.sl"
   9683     shlibpath_var=SHLIB_PATH
   9684     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9685     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9686     soname_spec='${libname}${release}${shared_ext}$major'
   9687     ;;
   9688   esac
   9689   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9690   postinstall_cmds='chmod 555 $lib'
   9691   ;;
   9692 
   9693 interix[3-9]*)
   9694   version_type=linux
   9695   need_lib_prefix=no
   9696   need_version=no
   9697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9698   soname_spec='${libname}${release}${shared_ext}$major'
   9699   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9700   shlibpath_var=LD_LIBRARY_PATH
   9701   shlibpath_overrides_runpath=no
   9702   hardcode_into_libs=yes
   9703   ;;
   9704 
   9705 irix5* | irix6* | nonstopux*)
   9706   case $host_os in
   9707     nonstopux*) version_type=nonstopux ;;
   9708     *)
   9709 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9710 		version_type=linux
   9711 	else
   9712 		version_type=irix
   9713 	fi ;;
   9714   esac
   9715   need_lib_prefix=no
   9716   need_version=no
   9717   soname_spec='${libname}${release}${shared_ext}$major'
   9718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9719   case $host_os in
   9720   irix5* | nonstopux*)
   9721     libsuff= shlibsuff=
   9722     ;;
   9723   *)
   9724     case $LD in # libtool.m4 will add one of these switches to LD
   9725     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9726       libsuff= shlibsuff= libmagic=32-bit;;
   9727     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9728       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9729     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9730       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9731     *) libsuff= shlibsuff= libmagic=never-match;;
   9732     esac
   9733     ;;
   9734   esac
   9735   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9736   shlibpath_overrides_runpath=no
   9737   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9738   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9739   hardcode_into_libs=yes
   9740   ;;
   9741 
   9742 # No shared lib support for Linux oldld, aout, or coff.
   9743 linux*oldld* | linux*aout* | linux*coff*)
   9744   dynamic_linker=no
   9745   ;;
   9746 
   9747 # This must be Linux ELF.
   9748 linux* | k*bsd*-gnu)
   9749   version_type=linux
   9750   need_lib_prefix=no
   9751   need_version=no
   9752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9753   soname_spec='${libname}${release}${shared_ext}$major'
   9754   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9755   shlibpath_var=LD_LIBRARY_PATH
   9756   shlibpath_overrides_runpath=no
   9757   # Some binutils ld are patched to set DT_RUNPATH
   9758   save_LDFLAGS=$LDFLAGS
   9759   save_libdir=$libdir
   9760   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9761        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9762   cat >conftest.$ac_ext <<_ACEOF
   9763 /* confdefs.h.  */
   9764 _ACEOF
   9765 cat confdefs.h >>conftest.$ac_ext
   9766 cat >>conftest.$ac_ext <<_ACEOF
   9767 /* end confdefs.h.  */
   9768 
   9769 int
   9770 main ()
   9771 {
   9772 
   9773   ;
   9774   return 0;
   9775 }
   9776 _ACEOF
   9777 rm -f conftest.$ac_objext conftest$ac_exeext
   9778 if { (ac_try="$ac_link"
   9779 case "(($ac_try" in
   9780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9781   *) ac_try_echo=$ac_try;;
   9782 esac
   9783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9784 $as_echo "$ac_try_echo") >&5
   9785   (eval "$ac_link") 2>conftest.er1
   9786   ac_status=$?
   9787   grep -v '^ *+' conftest.er1 >conftest.err
   9788   rm -f conftest.er1
   9789   cat conftest.err >&5
   9790   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9791   (exit $ac_status); } && {
   9792 	 test -z "$ac_c_werror_flag" ||
   9793 	 test ! -s conftest.err
   9794        } && test -s conftest$ac_exeext && {
   9795 	 test "$cross_compiling" = yes ||
   9796 	 $as_test_x conftest$ac_exeext
   9797        }; then
   9798   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9799   shlibpath_overrides_runpath=yes
   9800 fi
   9801 
   9802 else
   9803   $as_echo "$as_me: failed program was:" >&5
   9804 sed 's/^/| /' conftest.$ac_ext >&5
   9805 
   9806 
   9807 fi
   9808 
   9809 rm -rf conftest.dSYM
   9810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9811       conftest$ac_exeext conftest.$ac_ext
   9812   LDFLAGS=$save_LDFLAGS
   9813   libdir=$save_libdir
   9814 
   9815   # This implies no fast_install, which is unacceptable.
   9816   # Some rework will be needed to allow for fast_install
   9817   # before this can be enabled.
   9818   hardcode_into_libs=yes
   9819 
   9820   # Append ld.so.conf contents to the search path
   9821   if test -f /etc/ld.so.conf; then
   9822     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' ' '`
   9823     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9824   fi
   9825 
   9826   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9827   # powerpc, because MkLinux only supported shared libraries with the
   9828   # GNU dynamic linker.  Since this was broken with cross compilers,
   9829   # most powerpc-linux boxes support dynamic linking these days and
   9830   # people can always --disable-shared, the test was removed, and we
   9831   # assume the GNU/Linux dynamic linker is in use.
   9832   dynamic_linker='GNU/Linux ld.so'
   9833   ;;
   9834 
   9835 netbsd*)
   9836   version_type=sunos
   9837   need_lib_prefix=no
   9838   need_version=no
   9839   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9840     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9841     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9842     dynamic_linker='NetBSD (a.out) ld.so'
   9843   else
   9844     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9845     soname_spec='${libname}${release}${shared_ext}$major'
   9846     dynamic_linker='NetBSD ld.elf_so'
   9847   fi
   9848   shlibpath_var=LD_LIBRARY_PATH
   9849   shlibpath_overrides_runpath=yes
   9850   hardcode_into_libs=yes
   9851   ;;
   9852 
   9853 newsos6)
   9854   version_type=linux
   9855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9856   shlibpath_var=LD_LIBRARY_PATH
   9857   shlibpath_overrides_runpath=yes
   9858   ;;
   9859 
   9860 *nto* | *qnx*)
   9861   version_type=qnx
   9862   need_lib_prefix=no
   9863   need_version=no
   9864   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9865   soname_spec='${libname}${release}${shared_ext}$major'
   9866   shlibpath_var=LD_LIBRARY_PATH
   9867   shlibpath_overrides_runpath=no
   9868   hardcode_into_libs=yes
   9869   dynamic_linker='ldqnx.so'
   9870   ;;
   9871 
   9872 openbsd*)
   9873   version_type=sunos
   9874   sys_lib_dlsearch_path_spec="/usr/lib"
   9875   need_lib_prefix=no
   9876   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9877   case $host_os in
   9878     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9879     *)				need_version=no  ;;
   9880   esac
   9881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9882   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9883   shlibpath_var=LD_LIBRARY_PATH
   9884   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9885     case $host_os in
   9886       openbsd2.[89] | openbsd2.[89].*)
   9887 	shlibpath_overrides_runpath=no
   9888 	;;
   9889       *)
   9890 	shlibpath_overrides_runpath=yes
   9891 	;;
   9892       esac
   9893   else
   9894     shlibpath_overrides_runpath=yes
   9895   fi
   9896   ;;
   9897 
   9898 os2*)
   9899   libname_spec='$name'
   9900   shrext_cmds=".dll"
   9901   need_lib_prefix=no
   9902   library_names_spec='$libname${shared_ext} $libname.a'
   9903   dynamic_linker='OS/2 ld.exe'
   9904   shlibpath_var=LIBPATH
   9905   ;;
   9906 
   9907 osf3* | osf4* | osf5*)
   9908   version_type=osf
   9909   need_lib_prefix=no
   9910   need_version=no
   9911   soname_spec='${libname}${release}${shared_ext}$major'
   9912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9913   shlibpath_var=LD_LIBRARY_PATH
   9914   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9915   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9916   ;;
   9917 
   9918 rdos*)
   9919   dynamic_linker=no
   9920   ;;
   9921 
   9922 solaris*)
   9923   version_type=linux
   9924   need_lib_prefix=no
   9925   need_version=no
   9926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9927   soname_spec='${libname}${release}${shared_ext}$major'
   9928   shlibpath_var=LD_LIBRARY_PATH
   9929   shlibpath_overrides_runpath=yes
   9930   hardcode_into_libs=yes
   9931   # ldd complains unless libraries are executable
   9932   postinstall_cmds='chmod +x $lib'
   9933   ;;
   9934 
   9935 sunos4*)
   9936   version_type=sunos
   9937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9938   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9939   shlibpath_var=LD_LIBRARY_PATH
   9940   shlibpath_overrides_runpath=yes
   9941   if test "$with_gnu_ld" = yes; then
   9942     need_lib_prefix=no
   9943   fi
   9944   need_version=yes
   9945   ;;
   9946 
   9947 sysv4 | sysv4.3*)
   9948   version_type=linux
   9949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9950   soname_spec='${libname}${release}${shared_ext}$major'
   9951   shlibpath_var=LD_LIBRARY_PATH
   9952   case $host_vendor in
   9953     sni)
   9954       shlibpath_overrides_runpath=no
   9955       need_lib_prefix=no
   9956       runpath_var=LD_RUN_PATH
   9957       ;;
   9958     siemens)
   9959       need_lib_prefix=no
   9960       ;;
   9961     motorola)
   9962       need_lib_prefix=no
   9963       need_version=no
   9964       shlibpath_overrides_runpath=no
   9965       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9966       ;;
   9967   esac
   9968   ;;
   9969 
   9970 sysv4*MP*)
   9971   if test -d /usr/nec ;then
   9972     version_type=linux
   9973     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9974     soname_spec='$libname${shared_ext}.$major'
   9975     shlibpath_var=LD_LIBRARY_PATH
   9976   fi
   9977   ;;
   9978 
   9979 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9980   version_type=freebsd-elf
   9981   need_lib_prefix=no
   9982   need_version=no
   9983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9984   soname_spec='${libname}${release}${shared_ext}$major'
   9985   shlibpath_var=LD_LIBRARY_PATH
   9986   shlibpath_overrides_runpath=yes
   9987   hardcode_into_libs=yes
   9988   if test "$with_gnu_ld" = yes; then
   9989     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9990   else
   9991     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9992     case $host_os in
   9993       sco3.2v5*)
   9994         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9995 	;;
   9996     esac
   9997   fi
   9998   sys_lib_dlsearch_path_spec='/usr/lib'
   9999   ;;
   10000 
   10001 tpf*)
   10002   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10003   version_type=linux
   10004   need_lib_prefix=no
   10005   need_version=no
   10006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10007   shlibpath_var=LD_LIBRARY_PATH
   10008   shlibpath_overrides_runpath=no
   10009   hardcode_into_libs=yes
   10010   ;;
   10011 
   10012 uts4*)
   10013   version_type=linux
   10014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10015   soname_spec='${libname}${release}${shared_ext}$major'
   10016   shlibpath_var=LD_LIBRARY_PATH
   10017   ;;
   10018 
   10019 *)
   10020   dynamic_linker=no
   10021   ;;
   10022 esac
   10023 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10024 $as_echo "$dynamic_linker" >&6; }
   10025 test "$dynamic_linker" = no && can_build_shared=no
   10026 
   10027 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10028 if test "$GCC" = yes; then
   10029   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10030 fi
   10031 
   10032 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10033   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10034 fi
   10035 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10036   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10037 fi
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10126 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10127 hardcode_action=
   10128 if test -n "$hardcode_libdir_flag_spec" ||
   10129    test -n "$runpath_var" ||
   10130    test "X$hardcode_automatic" = "Xyes" ; then
   10131 
   10132   # We can hardcode non-existent directories.
   10133   if test "$hardcode_direct" != no &&
   10134      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10135      # have to relink, otherwise we might link with an installed library
   10136      # when we should be linking with a yet-to-be-installed one
   10137      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10138      test "$hardcode_minus_L" != no; then
   10139     # Linking always hardcodes the temporary library directory.
   10140     hardcode_action=relink
   10141   else
   10142     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10143     hardcode_action=immediate
   10144   fi
   10145 else
   10146   # We cannot hardcode anything, or else we can only hardcode existing
   10147   # directories.
   10148   hardcode_action=unsupported
   10149 fi
   10150 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10151 $as_echo "$hardcode_action" >&6; }
   10152 
   10153 if test "$hardcode_action" = relink ||
   10154    test "$inherit_rpath" = yes; then
   10155   # Fast installation is not supported
   10156   enable_fast_install=no
   10157 elif test "$shlibpath_overrides_runpath" = yes ||
   10158      test "$enable_shared" = no; then
   10159   # Fast installation is not necessary
   10160   enable_fast_install=needless
   10161 fi
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168   if test "x$enable_dlopen" != xyes; then
   10169   enable_dlopen=unknown
   10170   enable_dlopen_self=unknown
   10171   enable_dlopen_self_static=unknown
   10172 else
   10173   lt_cv_dlopen=no
   10174   lt_cv_dlopen_libs=
   10175 
   10176   case $host_os in
   10177   beos*)
   10178     lt_cv_dlopen="load_add_on"
   10179     lt_cv_dlopen_libs=
   10180     lt_cv_dlopen_self=yes
   10181     ;;
   10182 
   10183   mingw* | pw32* | cegcc*)
   10184     lt_cv_dlopen="LoadLibrary"
   10185     lt_cv_dlopen_libs=
   10186     ;;
   10187 
   10188   cygwin*)
   10189     lt_cv_dlopen="dlopen"
   10190     lt_cv_dlopen_libs=
   10191     ;;
   10192 
   10193   darwin*)
   10194   # if libdl is installed we need to link against it
   10195     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10196 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10197 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10198   $as_echo_n "(cached) " >&6
   10199 else
   10200   ac_check_lib_save_LIBS=$LIBS
   10201 LIBS="-ldl  $LIBS"
   10202 cat >conftest.$ac_ext <<_ACEOF
   10203 /* confdefs.h.  */
   10204 _ACEOF
   10205 cat confdefs.h >>conftest.$ac_ext
   10206 cat >>conftest.$ac_ext <<_ACEOF
   10207 /* end confdefs.h.  */
   10208 
   10209 /* Override any GCC internal prototype to avoid an error.
   10210    Use char because int might match the return type of a GCC
   10211    builtin and then its argument prototype would still apply.  */
   10212 #ifdef __cplusplus
   10213 extern "C"
   10214 #endif
   10215 char dlopen ();
   10216 int
   10217 main ()
   10218 {
   10219 return dlopen ();
   10220   ;
   10221   return 0;
   10222 }
   10223 _ACEOF
   10224 rm -f conftest.$ac_objext conftest$ac_exeext
   10225 if { (ac_try="$ac_link"
   10226 case "(($ac_try" in
   10227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10228   *) ac_try_echo=$ac_try;;
   10229 esac
   10230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10231 $as_echo "$ac_try_echo") >&5
   10232   (eval "$ac_link") 2>conftest.er1
   10233   ac_status=$?
   10234   grep -v '^ *+' conftest.er1 >conftest.err
   10235   rm -f conftest.er1
   10236   cat conftest.err >&5
   10237   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10238   (exit $ac_status); } && {
   10239 	 test -z "$ac_c_werror_flag" ||
   10240 	 test ! -s conftest.err
   10241        } && test -s conftest$ac_exeext && {
   10242 	 test "$cross_compiling" = yes ||
   10243 	 $as_test_x conftest$ac_exeext
   10244        }; then
   10245   ac_cv_lib_dl_dlopen=yes
   10246 else
   10247   $as_echo "$as_me: failed program was:" >&5
   10248 sed 's/^/| /' conftest.$ac_ext >&5
   10249 
   10250 	ac_cv_lib_dl_dlopen=no
   10251 fi
   10252 
   10253 rm -rf conftest.dSYM
   10254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10255       conftest$ac_exeext conftest.$ac_ext
   10256 LIBS=$ac_check_lib_save_LIBS
   10257 fi
   10258 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10259 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10260 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10261   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10262 else
   10263 
   10264     lt_cv_dlopen="dyld"
   10265     lt_cv_dlopen_libs=
   10266     lt_cv_dlopen_self=yes
   10267 
   10268 fi
   10269 
   10270     ;;
   10271 
   10272   *)
   10273     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10274 $as_echo_n "checking for shl_load... " >&6; }
   10275 if test "${ac_cv_func_shl_load+set}" = set; then
   10276   $as_echo_n "(cached) " >&6
   10277 else
   10278   cat >conftest.$ac_ext <<_ACEOF
   10279 /* confdefs.h.  */
   10280 _ACEOF
   10281 cat confdefs.h >>conftest.$ac_ext
   10282 cat >>conftest.$ac_ext <<_ACEOF
   10283 /* end confdefs.h.  */
   10284 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10286 #define shl_load innocuous_shl_load
   10287 
   10288 /* System header to define __stub macros and hopefully few prototypes,
   10289     which can conflict with char shl_load (); below.
   10290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10291     <limits.h> exists even on freestanding compilers.  */
   10292 
   10293 #ifdef __STDC__
   10294 # include <limits.h>
   10295 #else
   10296 # include <assert.h>
   10297 #endif
   10298 
   10299 #undef shl_load
   10300 
   10301 /* Override any GCC internal prototype to avoid an error.
   10302    Use char because int might match the return type of a GCC
   10303    builtin and then its argument prototype would still apply.  */
   10304 #ifdef __cplusplus
   10305 extern "C"
   10306 #endif
   10307 char shl_load ();
   10308 /* The GNU C library defines this for functions which it implements
   10309     to always fail with ENOSYS.  Some functions are actually named
   10310     something starting with __ and the normal name is an alias.  */
   10311 #if defined __stub_shl_load || defined __stub___shl_load
   10312 choke me
   10313 #endif
   10314 
   10315 int
   10316 main ()
   10317 {
   10318 return shl_load ();
   10319   ;
   10320   return 0;
   10321 }
   10322 _ACEOF
   10323 rm -f conftest.$ac_objext conftest$ac_exeext
   10324 if { (ac_try="$ac_link"
   10325 case "(($ac_try" in
   10326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10327   *) ac_try_echo=$ac_try;;
   10328 esac
   10329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10330 $as_echo "$ac_try_echo") >&5
   10331   (eval "$ac_link") 2>conftest.er1
   10332   ac_status=$?
   10333   grep -v '^ *+' conftest.er1 >conftest.err
   10334   rm -f conftest.er1
   10335   cat conftest.err >&5
   10336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10337   (exit $ac_status); } && {
   10338 	 test -z "$ac_c_werror_flag" ||
   10339 	 test ! -s conftest.err
   10340        } && test -s conftest$ac_exeext && {
   10341 	 test "$cross_compiling" = yes ||
   10342 	 $as_test_x conftest$ac_exeext
   10343        }; then
   10344   ac_cv_func_shl_load=yes
   10345 else
   10346   $as_echo "$as_me: failed program was:" >&5
   10347 sed 's/^/| /' conftest.$ac_ext >&5
   10348 
   10349 	ac_cv_func_shl_load=no
   10350 fi
   10351 
   10352 rm -rf conftest.dSYM
   10353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10354       conftest$ac_exeext conftest.$ac_ext
   10355 fi
   10356 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10357 $as_echo "$ac_cv_func_shl_load" >&6; }
   10358 if test "x$ac_cv_func_shl_load" = x""yes; then
   10359   lt_cv_dlopen="shl_load"
   10360 else
   10361   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10362 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10363 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10364   $as_echo_n "(cached) " >&6
   10365 else
   10366   ac_check_lib_save_LIBS=$LIBS
   10367 LIBS="-ldld  $LIBS"
   10368 cat >conftest.$ac_ext <<_ACEOF
   10369 /* confdefs.h.  */
   10370 _ACEOF
   10371 cat confdefs.h >>conftest.$ac_ext
   10372 cat >>conftest.$ac_ext <<_ACEOF
   10373 /* end confdefs.h.  */
   10374 
   10375 /* Override any GCC internal prototype to avoid an error.
   10376    Use char because int might match the return type of a GCC
   10377    builtin and then its argument prototype would still apply.  */
   10378 #ifdef __cplusplus
   10379 extern "C"
   10380 #endif
   10381 char shl_load ();
   10382 int
   10383 main ()
   10384 {
   10385 return shl_load ();
   10386   ;
   10387   return 0;
   10388 }
   10389 _ACEOF
   10390 rm -f conftest.$ac_objext conftest$ac_exeext
   10391 if { (ac_try="$ac_link"
   10392 case "(($ac_try" in
   10393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10394   *) ac_try_echo=$ac_try;;
   10395 esac
   10396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10397 $as_echo "$ac_try_echo") >&5
   10398   (eval "$ac_link") 2>conftest.er1
   10399   ac_status=$?
   10400   grep -v '^ *+' conftest.er1 >conftest.err
   10401   rm -f conftest.er1
   10402   cat conftest.err >&5
   10403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10404   (exit $ac_status); } && {
   10405 	 test -z "$ac_c_werror_flag" ||
   10406 	 test ! -s conftest.err
   10407        } && test -s conftest$ac_exeext && {
   10408 	 test "$cross_compiling" = yes ||
   10409 	 $as_test_x conftest$ac_exeext
   10410        }; then
   10411   ac_cv_lib_dld_shl_load=yes
   10412 else
   10413   $as_echo "$as_me: failed program was:" >&5
   10414 sed 's/^/| /' conftest.$ac_ext >&5
   10415 
   10416 	ac_cv_lib_dld_shl_load=no
   10417 fi
   10418 
   10419 rm -rf conftest.dSYM
   10420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10421       conftest$ac_exeext conftest.$ac_ext
   10422 LIBS=$ac_check_lib_save_LIBS
   10423 fi
   10424 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10425 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10426 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10427   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10428 else
   10429   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10430 $as_echo_n "checking for dlopen... " >&6; }
   10431 if test "${ac_cv_func_dlopen+set}" = set; then
   10432   $as_echo_n "(cached) " >&6
   10433 else
   10434   cat >conftest.$ac_ext <<_ACEOF
   10435 /* confdefs.h.  */
   10436 _ACEOF
   10437 cat confdefs.h >>conftest.$ac_ext
   10438 cat >>conftest.$ac_ext <<_ACEOF
   10439 /* end confdefs.h.  */
   10440 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10442 #define dlopen innocuous_dlopen
   10443 
   10444 /* System header to define __stub macros and hopefully few prototypes,
   10445     which can conflict with char dlopen (); below.
   10446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10447     <limits.h> exists even on freestanding compilers.  */
   10448 
   10449 #ifdef __STDC__
   10450 # include <limits.h>
   10451 #else
   10452 # include <assert.h>
   10453 #endif
   10454 
   10455 #undef dlopen
   10456 
   10457 /* Override any GCC internal prototype to avoid an error.
   10458    Use char because int might match the return type of a GCC
   10459    builtin and then its argument prototype would still apply.  */
   10460 #ifdef __cplusplus
   10461 extern "C"
   10462 #endif
   10463 char dlopen ();
   10464 /* The GNU C library defines this for functions which it implements
   10465     to always fail with ENOSYS.  Some functions are actually named
   10466     something starting with __ and the normal name is an alias.  */
   10467 #if defined __stub_dlopen || defined __stub___dlopen
   10468 choke me
   10469 #endif
   10470 
   10471 int
   10472 main ()
   10473 {
   10474 return dlopen ();
   10475   ;
   10476   return 0;
   10477 }
   10478 _ACEOF
   10479 rm -f conftest.$ac_objext conftest$ac_exeext
   10480 if { (ac_try="$ac_link"
   10481 case "(($ac_try" in
   10482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10483   *) ac_try_echo=$ac_try;;
   10484 esac
   10485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10486 $as_echo "$ac_try_echo") >&5
   10487   (eval "$ac_link") 2>conftest.er1
   10488   ac_status=$?
   10489   grep -v '^ *+' conftest.er1 >conftest.err
   10490   rm -f conftest.er1
   10491   cat conftest.err >&5
   10492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10493   (exit $ac_status); } && {
   10494 	 test -z "$ac_c_werror_flag" ||
   10495 	 test ! -s conftest.err
   10496        } && test -s conftest$ac_exeext && {
   10497 	 test "$cross_compiling" = yes ||
   10498 	 $as_test_x conftest$ac_exeext
   10499        }; then
   10500   ac_cv_func_dlopen=yes
   10501 else
   10502   $as_echo "$as_me: failed program was:" >&5
   10503 sed 's/^/| /' conftest.$ac_ext >&5
   10504 
   10505 	ac_cv_func_dlopen=no
   10506 fi
   10507 
   10508 rm -rf conftest.dSYM
   10509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10510       conftest$ac_exeext conftest.$ac_ext
   10511 fi
   10512 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10513 $as_echo "$ac_cv_func_dlopen" >&6; }
   10514 if test "x$ac_cv_func_dlopen" = x""yes; then
   10515   lt_cv_dlopen="dlopen"
   10516 else
   10517   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10518 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10519 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10520   $as_echo_n "(cached) " >&6
   10521 else
   10522   ac_check_lib_save_LIBS=$LIBS
   10523 LIBS="-ldl  $LIBS"
   10524 cat >conftest.$ac_ext <<_ACEOF
   10525 /* confdefs.h.  */
   10526 _ACEOF
   10527 cat confdefs.h >>conftest.$ac_ext
   10528 cat >>conftest.$ac_ext <<_ACEOF
   10529 /* end confdefs.h.  */
   10530 
   10531 /* Override any GCC internal prototype to avoid an error.
   10532    Use char because int might match the return type of a GCC
   10533    builtin and then its argument prototype would still apply.  */
   10534 #ifdef __cplusplus
   10535 extern "C"
   10536 #endif
   10537 char dlopen ();
   10538 int
   10539 main ()
   10540 {
   10541 return dlopen ();
   10542   ;
   10543   return 0;
   10544 }
   10545 _ACEOF
   10546 rm -f conftest.$ac_objext conftest$ac_exeext
   10547 if { (ac_try="$ac_link"
   10548 case "(($ac_try" in
   10549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10550   *) ac_try_echo=$ac_try;;
   10551 esac
   10552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10553 $as_echo "$ac_try_echo") >&5
   10554   (eval "$ac_link") 2>conftest.er1
   10555   ac_status=$?
   10556   grep -v '^ *+' conftest.er1 >conftest.err
   10557   rm -f conftest.er1
   10558   cat conftest.err >&5
   10559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10560   (exit $ac_status); } && {
   10561 	 test -z "$ac_c_werror_flag" ||
   10562 	 test ! -s conftest.err
   10563        } && test -s conftest$ac_exeext && {
   10564 	 test "$cross_compiling" = yes ||
   10565 	 $as_test_x conftest$ac_exeext
   10566        }; then
   10567   ac_cv_lib_dl_dlopen=yes
   10568 else
   10569   $as_echo "$as_me: failed program was:" >&5
   10570 sed 's/^/| /' conftest.$ac_ext >&5
   10571 
   10572 	ac_cv_lib_dl_dlopen=no
   10573 fi
   10574 
   10575 rm -rf conftest.dSYM
   10576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10577       conftest$ac_exeext conftest.$ac_ext
   10578 LIBS=$ac_check_lib_save_LIBS
   10579 fi
   10580 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10581 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10582 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10583   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10584 else
   10585   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10586 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10587 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10588   $as_echo_n "(cached) " >&6
   10589 else
   10590   ac_check_lib_save_LIBS=$LIBS
   10591 LIBS="-lsvld  $LIBS"
   10592 cat >conftest.$ac_ext <<_ACEOF
   10593 /* confdefs.h.  */
   10594 _ACEOF
   10595 cat confdefs.h >>conftest.$ac_ext
   10596 cat >>conftest.$ac_ext <<_ACEOF
   10597 /* end confdefs.h.  */
   10598 
   10599 /* Override any GCC internal prototype to avoid an error.
   10600    Use char because int might match the return type of a GCC
   10601    builtin and then its argument prototype would still apply.  */
   10602 #ifdef __cplusplus
   10603 extern "C"
   10604 #endif
   10605 char dlopen ();
   10606 int
   10607 main ()
   10608 {
   10609 return dlopen ();
   10610   ;
   10611   return 0;
   10612 }
   10613 _ACEOF
   10614 rm -f conftest.$ac_objext conftest$ac_exeext
   10615 if { (ac_try="$ac_link"
   10616 case "(($ac_try" in
   10617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10618   *) ac_try_echo=$ac_try;;
   10619 esac
   10620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10621 $as_echo "$ac_try_echo") >&5
   10622   (eval "$ac_link") 2>conftest.er1
   10623   ac_status=$?
   10624   grep -v '^ *+' conftest.er1 >conftest.err
   10625   rm -f conftest.er1
   10626   cat conftest.err >&5
   10627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10628   (exit $ac_status); } && {
   10629 	 test -z "$ac_c_werror_flag" ||
   10630 	 test ! -s conftest.err
   10631        } && test -s conftest$ac_exeext && {
   10632 	 test "$cross_compiling" = yes ||
   10633 	 $as_test_x conftest$ac_exeext
   10634        }; then
   10635   ac_cv_lib_svld_dlopen=yes
   10636 else
   10637   $as_echo "$as_me: failed program was:" >&5
   10638 sed 's/^/| /' conftest.$ac_ext >&5
   10639 
   10640 	ac_cv_lib_svld_dlopen=no
   10641 fi
   10642 
   10643 rm -rf conftest.dSYM
   10644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10645       conftest$ac_exeext conftest.$ac_ext
   10646 LIBS=$ac_check_lib_save_LIBS
   10647 fi
   10648 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10649 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10650 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10651   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10652 else
   10653   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10654 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10655 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10656   $as_echo_n "(cached) " >&6
   10657 else
   10658   ac_check_lib_save_LIBS=$LIBS
   10659 LIBS="-ldld  $LIBS"
   10660 cat >conftest.$ac_ext <<_ACEOF
   10661 /* confdefs.h.  */
   10662 _ACEOF
   10663 cat confdefs.h >>conftest.$ac_ext
   10664 cat >>conftest.$ac_ext <<_ACEOF
   10665 /* end confdefs.h.  */
   10666 
   10667 /* Override any GCC internal prototype to avoid an error.
   10668    Use char because int might match the return type of a GCC
   10669    builtin and then its argument prototype would still apply.  */
   10670 #ifdef __cplusplus
   10671 extern "C"
   10672 #endif
   10673 char dld_link ();
   10674 int
   10675 main ()
   10676 {
   10677 return dld_link ();
   10678   ;
   10679   return 0;
   10680 }
   10681 _ACEOF
   10682 rm -f conftest.$ac_objext conftest$ac_exeext
   10683 if { (ac_try="$ac_link"
   10684 case "(($ac_try" in
   10685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10686   *) ac_try_echo=$ac_try;;
   10687 esac
   10688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10689 $as_echo "$ac_try_echo") >&5
   10690   (eval "$ac_link") 2>conftest.er1
   10691   ac_status=$?
   10692   grep -v '^ *+' conftest.er1 >conftest.err
   10693   rm -f conftest.er1
   10694   cat conftest.err >&5
   10695   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10696   (exit $ac_status); } && {
   10697 	 test -z "$ac_c_werror_flag" ||
   10698 	 test ! -s conftest.err
   10699        } && test -s conftest$ac_exeext && {
   10700 	 test "$cross_compiling" = yes ||
   10701 	 $as_test_x conftest$ac_exeext
   10702        }; then
   10703   ac_cv_lib_dld_dld_link=yes
   10704 else
   10705   $as_echo "$as_me: failed program was:" >&5
   10706 sed 's/^/| /' conftest.$ac_ext >&5
   10707 
   10708 	ac_cv_lib_dld_dld_link=no
   10709 fi
   10710 
   10711 rm -rf conftest.dSYM
   10712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10713       conftest$ac_exeext conftest.$ac_ext
   10714 LIBS=$ac_check_lib_save_LIBS
   10715 fi
   10716 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10717 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10718 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10719   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10720 fi
   10721 
   10722 
   10723 fi
   10724 
   10725 
   10726 fi
   10727 
   10728 
   10729 fi
   10730 
   10731 
   10732 fi
   10733 
   10734 
   10735 fi
   10736 
   10737     ;;
   10738   esac
   10739 
   10740   if test "x$lt_cv_dlopen" != xno; then
   10741     enable_dlopen=yes
   10742   else
   10743     enable_dlopen=no
   10744   fi
   10745 
   10746   case $lt_cv_dlopen in
   10747   dlopen)
   10748     save_CPPFLAGS="$CPPFLAGS"
   10749     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10750 
   10751     save_LDFLAGS="$LDFLAGS"
   10752     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10753 
   10754     save_LIBS="$LIBS"
   10755     LIBS="$lt_cv_dlopen_libs $LIBS"
   10756 
   10757     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10758 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10759 if test "${lt_cv_dlopen_self+set}" = set; then
   10760   $as_echo_n "(cached) " >&6
   10761 else
   10762   	  if test "$cross_compiling" = yes; then :
   10763   lt_cv_dlopen_self=cross
   10764 else
   10765   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10766   lt_status=$lt_dlunknown
   10767   cat > conftest.$ac_ext <<_LT_EOF
   10768 #line 10768 "configure"
   10769 #include "confdefs.h"
   10770 
   10771 #if HAVE_DLFCN_H
   10772 #include <dlfcn.h>
   10773 #endif
   10774 
   10775 #include <stdio.h>
   10776 
   10777 #ifdef RTLD_GLOBAL
   10778 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10779 #else
   10780 #  ifdef DL_GLOBAL
   10781 #    define LT_DLGLOBAL		DL_GLOBAL
   10782 #  else
   10783 #    define LT_DLGLOBAL		0
   10784 #  endif
   10785 #endif
   10786 
   10787 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10788    find out it does not work in some platform. */
   10789 #ifndef LT_DLLAZY_OR_NOW
   10790 #  ifdef RTLD_LAZY
   10791 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10792 #  else
   10793 #    ifdef DL_LAZY
   10794 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10795 #    else
   10796 #      ifdef RTLD_NOW
   10797 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10798 #      else
   10799 #        ifdef DL_NOW
   10800 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10801 #        else
   10802 #          define LT_DLLAZY_OR_NOW	0
   10803 #        endif
   10804 #      endif
   10805 #    endif
   10806 #  endif
   10807 #endif
   10808 
   10809 void fnord() { int i=42;}
   10810 int main ()
   10811 {
   10812   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10813   int status = $lt_dlunknown;
   10814 
   10815   if (self)
   10816     {
   10817       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10818       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10819       /* dlclose (self); */
   10820     }
   10821   else
   10822     puts (dlerror ());
   10823 
   10824   return status;
   10825 }
   10826 _LT_EOF
   10827   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10828   (eval $ac_link) 2>&5
   10829   ac_status=$?
   10830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10831   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10832     (./conftest; exit; ) >&5 2>/dev/null
   10833     lt_status=$?
   10834     case x$lt_status in
   10835       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10836       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10837       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10838     esac
   10839   else :
   10840     # compilation failed
   10841     lt_cv_dlopen_self=no
   10842   fi
   10843 fi
   10844 rm -fr conftest*
   10845 
   10846 
   10847 fi
   10848 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10849 $as_echo "$lt_cv_dlopen_self" >&6; }
   10850 
   10851     if test "x$lt_cv_dlopen_self" = xyes; then
   10852       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10853       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10854 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10855 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10856   $as_echo_n "(cached) " >&6
   10857 else
   10858   	  if test "$cross_compiling" = yes; then :
   10859   lt_cv_dlopen_self_static=cross
   10860 else
   10861   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10862   lt_status=$lt_dlunknown
   10863   cat > conftest.$ac_ext <<_LT_EOF
   10864 #line 10864 "configure"
   10865 #include "confdefs.h"
   10866 
   10867 #if HAVE_DLFCN_H
   10868 #include <dlfcn.h>
   10869 #endif
   10870 
   10871 #include <stdio.h>
   10872 
   10873 #ifdef RTLD_GLOBAL
   10874 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10875 #else
   10876 #  ifdef DL_GLOBAL
   10877 #    define LT_DLGLOBAL		DL_GLOBAL
   10878 #  else
   10879 #    define LT_DLGLOBAL		0
   10880 #  endif
   10881 #endif
   10882 
   10883 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10884    find out it does not work in some platform. */
   10885 #ifndef LT_DLLAZY_OR_NOW
   10886 #  ifdef RTLD_LAZY
   10887 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10888 #  else
   10889 #    ifdef DL_LAZY
   10890 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10891 #    else
   10892 #      ifdef RTLD_NOW
   10893 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10894 #      else
   10895 #        ifdef DL_NOW
   10896 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10897 #        else
   10898 #          define LT_DLLAZY_OR_NOW	0
   10899 #        endif
   10900 #      endif
   10901 #    endif
   10902 #  endif
   10903 #endif
   10904 
   10905 void fnord() { int i=42;}
   10906 int main ()
   10907 {
   10908   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10909   int status = $lt_dlunknown;
   10910 
   10911   if (self)
   10912     {
   10913       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10914       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10915       /* dlclose (self); */
   10916     }
   10917   else
   10918     puts (dlerror ());
   10919 
   10920   return status;
   10921 }
   10922 _LT_EOF
   10923   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10924   (eval $ac_link) 2>&5
   10925   ac_status=$?
   10926   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10927   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10928     (./conftest; exit; ) >&5 2>/dev/null
   10929     lt_status=$?
   10930     case x$lt_status in
   10931       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10932       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10933       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10934     esac
   10935   else :
   10936     # compilation failed
   10937     lt_cv_dlopen_self_static=no
   10938   fi
   10939 fi
   10940 rm -fr conftest*
   10941 
   10942 
   10943 fi
   10944 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10945 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10946     fi
   10947 
   10948     CPPFLAGS="$save_CPPFLAGS"
   10949     LDFLAGS="$save_LDFLAGS"
   10950     LIBS="$save_LIBS"
   10951     ;;
   10952   esac
   10953 
   10954   case $lt_cv_dlopen_self in
   10955   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10956   *) enable_dlopen_self=unknown ;;
   10957   esac
   10958 
   10959   case $lt_cv_dlopen_self_static in
   10960   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10961   *) enable_dlopen_self_static=unknown ;;
   10962   esac
   10963 fi
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 striplib=
   10982 old_striplib=
   10983 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   10984 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10985 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10986   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10987   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10988   { $as_echo "$as_me:$LINENO: result: yes" >&5
   10989 $as_echo "yes" >&6; }
   10990 else
   10991 # FIXME - insert some real tests, host_os isn't really good enough
   10992   case $host_os in
   10993   darwin*)
   10994     if test -n "$STRIP" ; then
   10995       striplib="$STRIP -x"
   10996       old_striplib="$STRIP -S"
   10997       { $as_echo "$as_me:$LINENO: result: yes" >&5
   10998 $as_echo "yes" >&6; }
   10999     else
   11000       { $as_echo "$as_me:$LINENO: result: no" >&5
   11001 $as_echo "no" >&6; }
   11002     fi
   11003     ;;
   11004   *)
   11005     { $as_echo "$as_me:$LINENO: result: no" >&5
   11006 $as_echo "no" >&6; }
   11007     ;;
   11008   esac
   11009 fi
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022   # Report which library types will actually be built
   11023   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11024 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11025   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11026 $as_echo "$can_build_shared" >&6; }
   11027 
   11028   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11029 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11030   test "$can_build_shared" = "no" && enable_shared=no
   11031 
   11032   # On AIX, shared libraries and static libraries use the same namespace, and
   11033   # are all built from PIC.
   11034   case $host_os in
   11035   aix3*)
   11036     test "$enable_shared" = yes && enable_static=no
   11037     if test -n "$RANLIB"; then
   11038       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11039       postinstall_cmds='$RANLIB $lib'
   11040     fi
   11041     ;;
   11042 
   11043   aix[4-9]*)
   11044     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11045       test "$enable_shared" = yes && enable_static=no
   11046     fi
   11047     ;;
   11048   esac
   11049   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11050 $as_echo "$enable_shared" >&6; }
   11051 
   11052   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11053 $as_echo_n "checking whether to build static libraries... " >&6; }
   11054   # Make sure either enable_shared or enable_static is yes.
   11055   test "$enable_shared" = yes || enable_static=yes
   11056   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11057 $as_echo "$enable_static" >&6; }
   11058 
   11059 
   11060 
   11061 
   11062 fi
   11063 ac_ext=c
   11064 ac_cpp='$CPP $CPPFLAGS'
   11065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11068 
   11069 CC="$lt_save_CC"
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083         ac_config_commands="$ac_config_commands libtool"
   11084 
   11085 
   11086 
   11087 
   11088 # Only expand once:
   11089 
   11090 
   11091 
   11092 
   11093 if  test "x$GCC" = xyes ; then
   11094     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   11095 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   11096 -Wbad-function-cast"
   11097     case `gcc -dumpversion` in
   11098     3.4.* | 4.*)
   11099 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   11100 	;;
   11101     esac
   11102 else
   11103     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   11104 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   11105 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   11106   $as_echo_n "(cached) " >&6
   11107 else
   11108   cat >conftest.$ac_ext <<_ACEOF
   11109 /* confdefs.h.  */
   11110 _ACEOF
   11111 cat confdefs.h >>conftest.$ac_ext
   11112 cat >>conftest.$ac_ext <<_ACEOF
   11113 /* end confdefs.h.  */
   11114 $ac_includes_default
   11115 int
   11116 main ()
   11117 {
   11118 #ifndef __SUNPRO_C
   11119   (void) __SUNPRO_C;
   11120 #endif
   11121 
   11122   ;
   11123   return 0;
   11124 }
   11125 _ACEOF
   11126 rm -f conftest.$ac_objext
   11127 if { (ac_try="$ac_compile"
   11128 case "(($ac_try" in
   11129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11130   *) ac_try_echo=$ac_try;;
   11131 esac
   11132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11133 $as_echo "$ac_try_echo") >&5
   11134   (eval "$ac_compile") 2>conftest.er1
   11135   ac_status=$?
   11136   grep -v '^ *+' conftest.er1 >conftest.err
   11137   rm -f conftest.er1
   11138   cat conftest.err >&5
   11139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11140   (exit $ac_status); } && {
   11141 	 test -z "$ac_c_werror_flag" ||
   11142 	 test ! -s conftest.err
   11143        } && test -s conftest.$ac_objext; then
   11144   ac_cv_have_decl___SUNPRO_C=yes
   11145 else
   11146   $as_echo "$as_me: failed program was:" >&5
   11147 sed 's/^/| /' conftest.$ac_ext >&5
   11148 
   11149 	ac_cv_have_decl___SUNPRO_C=no
   11150 fi
   11151 
   11152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11153 fi
   11154 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   11155 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   11156 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   11157   SUNCC="yes"
   11158 else
   11159   SUNCC="no"
   11160 fi
   11161 
   11162     if test "x$SUNCC" = "xyes"; then
   11163 	CWARNFLAGS="-v"
   11164     fi
   11165 fi
   11166 
   11167 
   11168 
   11169 # Check randr configuration, strip extra digits from package version to
   11170 # find the required protocol version
   11171 
   11172 RANDR_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   11173 
   11174 
   11175 
   11176 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11177 	if test -n "$ac_tool_prefix"; then
   11178   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11179 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11181 $as_echo_n "checking for $ac_word... " >&6; }
   11182 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   11183   $as_echo_n "(cached) " >&6
   11184 else
   11185   case $PKG_CONFIG in
   11186   [\\/]* | ?:[\\/]*)
   11187   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11188   ;;
   11189   *)
   11190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11191 for as_dir in $PATH
   11192 do
   11193   IFS=$as_save_IFS
   11194   test -z "$as_dir" && as_dir=.
   11195   for ac_exec_ext in '' $ac_executable_extensions; do
   11196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11197     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11198     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11199     break 2
   11200   fi
   11201 done
   11202 done
   11203 IFS=$as_save_IFS
   11204 
   11205   ;;
   11206 esac
   11207 fi
   11208 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11209 if test -n "$PKG_CONFIG"; then
   11210   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   11211 $as_echo "$PKG_CONFIG" >&6; }
   11212 else
   11213   { $as_echo "$as_me:$LINENO: result: no" >&5
   11214 $as_echo "no" >&6; }
   11215 fi
   11216 
   11217 
   11218 fi
   11219 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11220   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11221   # Extract the first word of "pkg-config", so it can be a program name with args.
   11222 set dummy pkg-config; ac_word=$2
   11223 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11224 $as_echo_n "checking for $ac_word... " >&6; }
   11225 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   11226   $as_echo_n "(cached) " >&6
   11227 else
   11228   case $ac_pt_PKG_CONFIG in
   11229   [\\/]* | ?:[\\/]*)
   11230   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11231   ;;
   11232   *)
   11233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11234 for as_dir in $PATH
   11235 do
   11236   IFS=$as_save_IFS
   11237   test -z "$as_dir" && as_dir=.
   11238   for ac_exec_ext in '' $ac_executable_extensions; do
   11239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11240     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11241     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11242     break 2
   11243   fi
   11244 done
   11245 done
   11246 IFS=$as_save_IFS
   11247 
   11248   ;;
   11249 esac
   11250 fi
   11251 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11252 if test -n "$ac_pt_PKG_CONFIG"; then
   11253   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   11254 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11255 else
   11256   { $as_echo "$as_me:$LINENO: result: no" >&5
   11257 $as_echo "no" >&6; }
   11258 fi
   11259 
   11260   if test "x$ac_pt_PKG_CONFIG" = x; then
   11261     PKG_CONFIG=""
   11262   else
   11263     case $cross_compiling:$ac_tool_warned in
   11264 yes:)
   11265 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11267 ac_tool_warned=yes ;;
   11268 esac
   11269     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11270   fi
   11271 else
   11272   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11273 fi
   11274 
   11275 fi
   11276 if test -n "$PKG_CONFIG"; then
   11277 	_pkg_min_version=0.9.0
   11278 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   11279 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11280 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11281 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   11282 $as_echo "yes" >&6; }
   11283 	else
   11284 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   11285 $as_echo "no" >&6; }
   11286 		PKG_CONFIG=""
   11287 	fi
   11288 
   11289 fi
   11290 
   11291 pkg_failed=no
   11292 { $as_echo "$as_me:$LINENO: checking for RANDR" >&5
   11293 $as_echo_n "checking for RANDR... " >&6; }
   11294 
   11295 if test -n "$RANDR_CFLAGS"; then
   11296     pkg_cv_RANDR_CFLAGS="$RANDR_CFLAGS"
   11297  elif test -n "$PKG_CONFIG"; then
   11298     if test -n "$PKG_CONFIG" && \
   11299     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\"") >&5
   11300   ($PKG_CONFIG --exists --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   11301   ac_status=$?
   11302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11303   (exit $ac_status); }; then
   11304   pkg_cv_RANDR_CFLAGS=`$PKG_CONFIG --cflags "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   11305 else
   11306   pkg_failed=yes
   11307 fi
   11308  else
   11309     pkg_failed=untried
   11310 fi
   11311 if test -n "$RANDR_LIBS"; then
   11312     pkg_cv_RANDR_LIBS="$RANDR_LIBS"
   11313  elif test -n "$PKG_CONFIG"; then
   11314     if test -n "$PKG_CONFIG" && \
   11315     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\"") >&5
   11316   ($PKG_CONFIG --exists --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   11317   ac_status=$?
   11318   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11319   (exit $ac_status); }; then
   11320   pkg_cv_RANDR_LIBS=`$PKG_CONFIG --libs "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   11321 else
   11322   pkg_failed=yes
   11323 fi
   11324  else
   11325     pkg_failed=untried
   11326 fi
   11327 
   11328 
   11329 
   11330 if test $pkg_failed = yes; then
   11331 
   11332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11333         _pkg_short_errors_supported=yes
   11334 else
   11335         _pkg_short_errors_supported=no
   11336 fi
   11337         if test $_pkg_short_errors_supported = yes; then
   11338 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   11339         else
   11340 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   11341         fi
   11342 	# Put the nasty error message in config.log where it belongs
   11343 	echo "$RANDR_PKG_ERRORS" >&5
   11344 
   11345 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) were not met:
   11346 
   11347 $RANDR_PKG_ERRORS
   11348 
   11349 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11350 installed software in a non-standard prefix.
   11351 
   11352 Alternatively, you may set the environment variables RANDR_CFLAGS
   11353 and RANDR_LIBS to avoid the need to call pkg-config.
   11354 See the pkg-config man page for more details.
   11355 " >&5
   11356 $as_echo "$as_me: error: Package requirements (x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) were not met:
   11357 
   11358 $RANDR_PKG_ERRORS
   11359 
   11360 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11361 installed software in a non-standard prefix.
   11362 
   11363 Alternatively, you may set the environment variables RANDR_CFLAGS
   11364 and RANDR_LIBS to avoid the need to call pkg-config.
   11365 See the pkg-config man page for more details.
   11366 " >&2;}
   11367    { (exit 1); exit 1; }; }
   11368 elif test $pkg_failed = untried; then
   11369 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11371 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   11372 is in your PATH or set the PKG_CONFIG environment variable to the full
   11373 path to pkg-config.
   11374 
   11375 Alternatively, you may set the environment variables RANDR_CFLAGS
   11376 and RANDR_LIBS to avoid the need to call pkg-config.
   11377 See the pkg-config man page for more details.
   11378 
   11379 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11380 See \`config.log' for more details." >&5
   11381 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   11382 is in your PATH or set the PKG_CONFIG environment variable to the full
   11383 path to pkg-config.
   11384 
   11385 Alternatively, you may set the environment variables RANDR_CFLAGS
   11386 and RANDR_LIBS to avoid the need to call pkg-config.
   11387 See the pkg-config man page for more details.
   11388 
   11389 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11390 See \`config.log' for more details." >&2;}
   11391    { (exit 1); exit 1; }; }; }
   11392 else
   11393 	RANDR_CFLAGS=$pkg_cv_RANDR_CFLAGS
   11394 	RANDR_LIBS=$pkg_cv_RANDR_LIBS
   11395         { $as_echo "$as_me:$LINENO: result: yes" >&5
   11396 $as_echo "yes" >&6; }
   11397 	:
   11398 fi
   11399 RANDR_CFLAGS="$CWARNFLAGS $RANDR_CFLAGS"
   11400 
   11401 
   11402 
   11403 
   11404 # Check whether --enable-malloc0returnsnull was given.
   11405 if test "${enable_malloc0returnsnull+set}" = set; then
   11406   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   11407 else
   11408   MALLOC_ZERO_RETURNS_NULL=auto
   11409 fi
   11410 
   11411 
   11412 { $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   11413 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   11414 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   11415 	if test "$cross_compiling" = yes; then
   11416   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11418 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   11419 See \`config.log' for more details." >&5
   11420 $as_echo "$as_me: error: cannot run test program while cross compiling
   11421 See \`config.log' for more details." >&2;}
   11422    { (exit 1); exit 1; }; }; }
   11423 else
   11424   cat >conftest.$ac_ext <<_ACEOF
   11425 
   11426 char *malloc();
   11427 char *realloc();
   11428 char *calloc();
   11429 main() {
   11430     char *m0, *r0, *c0, *p;
   11431     m0 = malloc(0);
   11432     p = malloc(10);
   11433     r0 = realloc(p,0);
   11434     c0 = calloc(0);
   11435     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   11436 }
   11437 _ACEOF
   11438 rm -f conftest$ac_exeext
   11439 if { (ac_try="$ac_link"
   11440 case "(($ac_try" in
   11441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11442   *) ac_try_echo=$ac_try;;
   11443 esac
   11444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11445 $as_echo "$ac_try_echo") >&5
   11446   (eval "$ac_link") 2>&5
   11447   ac_status=$?
   11448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11449   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   11450   { (case "(($ac_try" in
   11451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11452   *) ac_try_echo=$ac_try;;
   11453 esac
   11454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11455 $as_echo "$ac_try_echo") >&5
   11456   (eval "$ac_try") 2>&5
   11457   ac_status=$?
   11458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11459   (exit $ac_status); }; }; then
   11460   MALLOC_ZERO_RETURNS_NULL=yes
   11461 else
   11462   $as_echo "$as_me: program exited with status $ac_status" >&5
   11463 $as_echo "$as_me: failed program was:" >&5
   11464 sed 's/^/| /' conftest.$ac_ext >&5
   11465 
   11466 ( exit $ac_status )
   11467 MALLOC_ZERO_RETURNS_NULL=no
   11468 fi
   11469 rm -rf conftest.dSYM
   11470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   11471 fi
   11472 
   11473 
   11474 fi
   11475 { $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   11476 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   11477 
   11478 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   11479 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   11480 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   11481 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   11482 else
   11483 	MALLOC_ZERO_CFLAGS=""
   11484 	XMALLOC_ZERO_CFLAGS=""
   11485 	XTMALLOC_ZERO_CFLAGS=""
   11486 fi
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 if test x$APP_MAN_SUFFIX = x    ; then
   11496     APP_MAN_SUFFIX=1
   11497 fi
   11498 if test x$APP_MAN_DIR = x    ; then
   11499     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11500 fi
   11501 
   11502 if test x$LIB_MAN_SUFFIX = x    ; then
   11503     LIB_MAN_SUFFIX=3
   11504 fi
   11505 if test x$LIB_MAN_DIR = x    ; then
   11506     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11507 fi
   11508 
   11509 if test x$FILE_MAN_SUFFIX = x    ; then
   11510     case $host_os in
   11511 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11512 	*)		FILE_MAN_SUFFIX=5  ;;
   11513     esac
   11514 fi
   11515 if test x$FILE_MAN_DIR = x    ; then
   11516     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11517 fi
   11518 
   11519 if test x$MISC_MAN_SUFFIX = x    ; then
   11520     case $host_os in
   11521 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11522 	*)		MISC_MAN_SUFFIX=7  ;;
   11523     esac
   11524 fi
   11525 if test x$MISC_MAN_DIR = x    ; then
   11526     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11527 fi
   11528 
   11529 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11530     case $host_os in
   11531 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11532 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11533     esac
   11534 fi
   11535 if test x$DRIVER_MAN_DIR = x    ; then
   11536     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11537 fi
   11538 
   11539 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11540     case $host_os in
   11541 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11542 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11543     esac
   11544 fi
   11545 if test x$ADMIN_MAN_DIR = x    ; then
   11546     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11547 fi
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 # Check whether --with-release-version was given.
   11566 if test "${with_release_version+set}" = set; then
   11567   withval=$with_release_version; RELEASE_VERSION="$withval"
   11568 else
   11569   RELEASE_VERSION=""
   11570 fi
   11571 
   11572 	if test "x$RELEASE_VERSION" != "x"; then
   11573 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   11574 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   11575 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   11576 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   11577 	fi
   11578 
   11579 cat >>confdefs.h <<_ACEOF
   11580 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11581 _ACEOF
   11582 
   11583 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11584 	if test "x$PVM" = "x"; then
   11585 		PVM="0"
   11586 	fi
   11587 
   11588 cat >>confdefs.h <<_ACEOF
   11589 #define PACKAGE_VERSION_MINOR $PVM
   11590 _ACEOF
   11591 
   11592 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11593 	if test "x$PVP" = "x"; then
   11594 		PVP="0"
   11595 	fi
   11596 
   11597 cat >>confdefs.h <<_ACEOF
   11598 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11599 _ACEOF
   11600 
   11601 
   11602 
   11603 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   11604 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   11605 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11606 
   11607 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   11608 
   11609 
   11610 
   11611 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xrandr.pc"
   11612 
   11613 cat >confcache <<\_ACEOF
   11614 # This file is a shell script that caches the results of configure
   11615 # tests run on this system so they can be shared between configure
   11616 # scripts and configure runs, see configure's option --config-cache.
   11617 # It is not useful on other systems.  If it contains results you don't
   11618 # want to keep, you may remove or edit it.
   11619 #
   11620 # config.status only pays attention to the cache file if you give it
   11621 # the --recheck option to rerun configure.
   11622 #
   11623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11625 # following values.
   11626 
   11627 _ACEOF
   11628 
   11629 # The following way of writing the cache mishandles newlines in values,
   11630 # but we know of no workaround that is simple, portable, and efficient.
   11631 # So, we kill variables containing newlines.
   11632 # Ultrix sh set writes to stderr and can't be redirected directly,
   11633 # and sets the high bit in the cache file unless we assign to the vars.
   11634 (
   11635   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11636     eval ac_val=\$$ac_var
   11637     case $ac_val in #(
   11638     *${as_nl}*)
   11639       case $ac_var in #(
   11640       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   11641 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11642       esac
   11643       case $ac_var in #(
   11644       _ | IFS | as_nl) ;; #(
   11645       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11646       *) $as_unset $ac_var ;;
   11647       esac ;;
   11648     esac
   11649   done
   11650 
   11651   (set) 2>&1 |
   11652     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11653     *${as_nl}ac_space=\ *)
   11654       # `set' does not quote correctly, so add quotes (double-quote
   11655       # substitution turns \\\\ into \\, and sed turns \\ into \).
   11656       sed -n \
   11657 	"s/'/'\\\\''/g;
   11658 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11659       ;; #(
   11660     *)
   11661       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11662       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11663       ;;
   11664     esac |
   11665     sort
   11666 ) |
   11667   sed '
   11668      /^ac_cv_env_/b end
   11669      t clear
   11670      :clear
   11671      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11672      t end
   11673      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11674      :end' >>confcache
   11675 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11676   if test -w "$cache_file"; then
   11677     test "x$cache_file" != "x/dev/null" &&
   11678       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   11679 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11680     cat confcache >$cache_file
   11681   else
   11682     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   11683 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11684   fi
   11685 fi
   11686 rm -f confcache
   11687 
   11688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11689 # Let make expand exec_prefix.
   11690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11691 
   11692 DEFS=-DHAVE_CONFIG_H
   11693 
   11694 ac_libobjs=
   11695 ac_ltlibobjs=
   11696 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11697   # 1. Remove the extension, and $U if already installed.
   11698   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11699   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11700   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11701   #    will be set to the directory where LIBOBJS objects are built.
   11702   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11703   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   11704 done
   11705 LIBOBJS=$ac_libobjs
   11706 
   11707 LTLIBOBJS=$ac_ltlibobjs
   11708 
   11709 
   11710 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11711   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   11712 Usually this means the macro was only invoked conditionally." >&5
   11713 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   11714 Usually this means the macro was only invoked conditionally." >&2;}
   11715    { (exit 1); exit 1; }; }
   11716 fi
   11717 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11718   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   11719 Usually this means the macro was only invoked conditionally." >&5
   11720 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   11721 Usually this means the macro was only invoked conditionally." >&2;}
   11722    { (exit 1); exit 1; }; }
   11723 fi
   11724 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11725   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   11726 Usually this means the macro was only invoked conditionally." >&5
   11727 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   11728 Usually this means the macro was only invoked conditionally." >&2;}
   11729    { (exit 1); exit 1; }; }
   11730 fi
   11731 
   11732 : ${CONFIG_STATUS=./config.status}
   11733 ac_write_fail=0
   11734 ac_clean_files_save=$ac_clean_files
   11735 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11736 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   11737 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11738 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11739 #! $SHELL
   11740 # Generated by $as_me.
   11741 # Run this file to recreate the current configuration.
   11742 # Compiler output produced by configure, useful for debugging
   11743 # configure, is in config.log if it exists.
   11744 
   11745 debug=false
   11746 ac_cs_recheck=false
   11747 ac_cs_silent=false
   11748 SHELL=\${CONFIG_SHELL-$SHELL}
   11749 _ACEOF
   11750 
   11751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11752 ## --------------------- ##
   11753 ## M4sh Initialization.  ##
   11754 ## --------------------- ##
   11755 
   11756 # Be more Bourne compatible
   11757 DUALCASE=1; export DUALCASE # for MKS sh
   11758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   11759   emulate sh
   11760   NULLCMD=:
   11761   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11762   # is contrary to our usage.  Disable this feature.
   11763   alias -g '${1+"$@"}'='"$@"'
   11764   setopt NO_GLOB_SUBST
   11765 else
   11766   case `(set -o) 2>/dev/null` in
   11767   *posix*) set -o posix ;;
   11768 esac
   11769 
   11770 fi
   11771 
   11772 
   11773 
   11774 
   11775 # PATH needs CR
   11776 # Avoid depending upon Character Ranges.
   11777 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11778 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11779 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11780 as_cr_digits='0123456789'
   11781 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11782 
   11783 as_nl='
   11784 '
   11785 export as_nl
   11786 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11787 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11789 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11790 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11791   as_echo='printf %s\n'
   11792   as_echo_n='printf %s'
   11793 else
   11794   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11795     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11796     as_echo_n='/usr/ucb/echo -n'
   11797   else
   11798     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11799     as_echo_n_body='eval
   11800       arg=$1;
   11801       case $arg in
   11802       *"$as_nl"*)
   11803 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11804 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11805       esac;
   11806       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11807     '
   11808     export as_echo_n_body
   11809     as_echo_n='sh -c $as_echo_n_body as_echo'
   11810   fi
   11811   export as_echo_body
   11812   as_echo='sh -c $as_echo_body as_echo'
   11813 fi
   11814 
   11815 # The user is always right.
   11816 if test "${PATH_SEPARATOR+set}" != set; then
   11817   PATH_SEPARATOR=:
   11818   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11819     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11820       PATH_SEPARATOR=';'
   11821   }
   11822 fi
   11823 
   11824 # Support unset when possible.
   11825 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11826   as_unset=unset
   11827 else
   11828   as_unset=false
   11829 fi
   11830 
   11831 
   11832 # IFS
   11833 # We need space, tab and new line, in precisely that order.  Quoting is
   11834 # there to prevent editors from complaining about space-tab.
   11835 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11836 # splitting by setting IFS to empty value.)
   11837 IFS=" ""	$as_nl"
   11838 
   11839 # Find who we are.  Look in the path if we contain no directory separator.
   11840 case $0 in
   11841   *[\\/]* ) as_myself=$0 ;;
   11842   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11843 for as_dir in $PATH
   11844 do
   11845   IFS=$as_save_IFS
   11846   test -z "$as_dir" && as_dir=.
   11847   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11848 done
   11849 IFS=$as_save_IFS
   11850 
   11851      ;;
   11852 esac
   11853 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11854 # in which case we are not to be found in the path.
   11855 if test "x$as_myself" = x; then
   11856   as_myself=$0
   11857 fi
   11858 if test ! -f "$as_myself"; then
   11859   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11860   { (exit 1); exit 1; }
   11861 fi
   11862 
   11863 # Work around bugs in pre-3.0 UWIN ksh.
   11864 for as_var in ENV MAIL MAILPATH
   11865 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   11866 done
   11867 PS1='$ '
   11868 PS2='> '
   11869 PS4='+ '
   11870 
   11871 # NLS nuisances.
   11872 LC_ALL=C
   11873 export LC_ALL
   11874 LANGUAGE=C
   11875 export LANGUAGE
   11876 
   11877 # Required to use basename.
   11878 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11879    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11880   as_expr=expr
   11881 else
   11882   as_expr=false
   11883 fi
   11884 
   11885 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11886   as_basename=basename
   11887 else
   11888   as_basename=false
   11889 fi
   11890 
   11891 
   11892 # Name of the executable.
   11893 as_me=`$as_basename -- "$0" ||
   11894 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11895 	 X"$0" : 'X\(//\)$' \| \
   11896 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11897 $as_echo X/"$0" |
   11898     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11899 	    s//\1/
   11900 	    q
   11901 	  }
   11902 	  /^X\/\(\/\/\)$/{
   11903 	    s//\1/
   11904 	    q
   11905 	  }
   11906 	  /^X\/\(\/\).*/{
   11907 	    s//\1/
   11908 	    q
   11909 	  }
   11910 	  s/.*/./; q'`
   11911 
   11912 # CDPATH.
   11913 $as_unset CDPATH
   11914 
   11915 
   11916 
   11917   as_lineno_1=$LINENO
   11918   as_lineno_2=$LINENO
   11919   test "x$as_lineno_1" != "x$as_lineno_2" &&
   11920   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   11921 
   11922   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   11923   # uniformly replaced by the line number.  The first 'sed' inserts a
   11924   # line-number line after each line using $LINENO; the second 'sed'
   11925   # does the real work.  The second script uses 'N' to pair each
   11926   # line-number line with the line containing $LINENO, and appends
   11927   # trailing '-' during substitution so that $LINENO is not a special
   11928   # case at line end.
   11929   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   11930   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   11931   # E. McMahon (1931-1989) for sed's syntax.  :-)
   11932   sed -n '
   11933     p
   11934     /[$]LINENO/=
   11935   ' <$as_myself |
   11936     sed '
   11937       s/[$]LINENO.*/&-/
   11938       t lineno
   11939       b
   11940       :lineno
   11941       N
   11942       :loop
   11943       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   11944       t loop
   11945       s/-\n.*//
   11946     ' >$as_me.lineno &&
   11947   chmod +x "$as_me.lineno" ||
   11948     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   11949    { (exit 1); exit 1; }; }
   11950 
   11951   # Don't try to exec as it changes $[0], causing all sort of problems
   11952   # (the dirname of $[0] is not the place where we might find the
   11953   # original and so on.  Autoconf is especially sensitive to this).
   11954   . "./$as_me.lineno"
   11955   # Exit status is that of the last command.
   11956   exit
   11957 }
   11958 
   11959 
   11960 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11961   as_dirname=dirname
   11962 else
   11963   as_dirname=false
   11964 fi
   11965 
   11966 ECHO_C= ECHO_N= ECHO_T=
   11967 case `echo -n x` in
   11968 -n*)
   11969   case `echo 'x\c'` in
   11970   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11971   *)   ECHO_C='\c';;
   11972   esac;;
   11973 *)
   11974   ECHO_N='-n';;
   11975 esac
   11976 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11977    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11978   as_expr=expr
   11979 else
   11980   as_expr=false
   11981 fi
   11982 
   11983 rm -f conf$$ conf$$.exe conf$$.file
   11984 if test -d conf$$.dir; then
   11985   rm -f conf$$.dir/conf$$.file
   11986 else
   11987   rm -f conf$$.dir
   11988   mkdir conf$$.dir 2>/dev/null
   11989 fi
   11990 if (echo >conf$$.file) 2>/dev/null; then
   11991   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11992     as_ln_s='ln -s'
   11993     # ... but there are two gotchas:
   11994     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11995     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11996     # In both cases, we have to default to `cp -p'.
   11997     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11998       as_ln_s='cp -p'
   11999   elif ln conf$$.file conf$$ 2>/dev/null; then
   12000     as_ln_s=ln
   12001   else
   12002     as_ln_s='cp -p'
   12003   fi
   12004 else
   12005   as_ln_s='cp -p'
   12006 fi
   12007 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12008 rmdir conf$$.dir 2>/dev/null
   12009 
   12010 if mkdir -p . 2>/dev/null; then
   12011   as_mkdir_p=:
   12012 else
   12013   test -d ./-p && rmdir ./-p
   12014   as_mkdir_p=false
   12015 fi
   12016 
   12017 if test -x / >/dev/null 2>&1; then
   12018   as_test_x='test -x'
   12019 else
   12020   if ls -dL / >/dev/null 2>&1; then
   12021     as_ls_L_option=L
   12022   else
   12023     as_ls_L_option=
   12024   fi
   12025   as_test_x='
   12026     eval sh -c '\''
   12027       if test -d "$1"; then
   12028 	test -d "$1/.";
   12029       else
   12030 	case $1 in
   12031 	-*)set "./$1";;
   12032 	esac;
   12033 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   12034 	???[sx]*):;;*)false;;esac;fi
   12035     '\'' sh
   12036   '
   12037 fi
   12038 as_executable_p=$as_test_x
   12039 
   12040 # Sed expression to map a string onto a valid CPP name.
   12041 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12042 
   12043 # Sed expression to map a string onto a valid variable name.
   12044 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12045 
   12046 
   12047 exec 6>&1
   12048 
   12049 # Save the log message, to keep $[0] and so on meaningful, and to
   12050 # report actual input values of CONFIG_FILES etc. instead of their
   12051 # values after options handling.
   12052 ac_log="
   12053 This file was extended by libXrandr $as_me 1.3.0, which was
   12054 generated by GNU Autoconf 2.63.  Invocation command line was
   12055 
   12056   CONFIG_FILES    = $CONFIG_FILES
   12057   CONFIG_HEADERS  = $CONFIG_HEADERS
   12058   CONFIG_LINKS    = $CONFIG_LINKS
   12059   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12060   $ $0 $@
   12061 
   12062 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12063 "
   12064 
   12065 _ACEOF
   12066 
   12067 case $ac_config_files in *"
   12068 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12069 esac
   12070 
   12071 case $ac_config_headers in *"
   12072 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12073 esac
   12074 
   12075 
   12076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12077 # Files that config.status was made for.
   12078 config_files="$ac_config_files"
   12079 config_headers="$ac_config_headers"
   12080 config_commands="$ac_config_commands"
   12081 
   12082 _ACEOF
   12083 
   12084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12085 ac_cs_usage="\
   12086 \`$as_me' instantiates files from templates according to the
   12087 current configuration.
   12088 
   12089 Usage: $0 [OPTION]... [FILE]...
   12090 
   12091   -h, --help       print this help, then exit
   12092   -V, --version    print version number and configuration settings, then exit
   12093   -q, --quiet, --silent
   12094                    do not print progress messages
   12095   -d, --debug      don't remove temporary files
   12096       --recheck    update $as_me by reconfiguring in the same conditions
   12097       --file=FILE[:TEMPLATE]
   12098                    instantiate the configuration file FILE
   12099       --header=FILE[:TEMPLATE]
   12100                    instantiate the configuration header FILE
   12101 
   12102 Configuration files:
   12103 $config_files
   12104 
   12105 Configuration headers:
   12106 $config_headers
   12107 
   12108 Configuration commands:
   12109 $config_commands
   12110 
   12111 Report bugs to <bug-autoconf (at] gnu.org>."
   12112 
   12113 _ACEOF
   12114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12115 ac_cs_version="\\
   12116 libXrandr config.status 1.3.0
   12117 configured by $0, generated by GNU Autoconf 2.63,
   12118   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   12119 
   12120 Copyright (C) 2008 Free Software Foundation, Inc.
   12121 This config.status script is free software; the Free Software Foundation
   12122 gives unlimited permission to copy, distribute and modify it."
   12123 
   12124 ac_pwd='$ac_pwd'
   12125 srcdir='$srcdir'
   12126 INSTALL='$INSTALL'
   12127 MKDIR_P='$MKDIR_P'
   12128 AWK='$AWK'
   12129 test -n "\$AWK" || AWK=awk
   12130 _ACEOF
   12131 
   12132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12133 # The default lists apply if the user does not specify any file.
   12134 ac_need_defaults=:
   12135 while test $# != 0
   12136 do
   12137   case $1 in
   12138   --*=*)
   12139     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12140     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12141     ac_shift=:
   12142     ;;
   12143   *)
   12144     ac_option=$1
   12145     ac_optarg=$2
   12146     ac_shift=shift
   12147     ;;
   12148   esac
   12149 
   12150   case $ac_option in
   12151   # Handling of the options.
   12152   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12153     ac_cs_recheck=: ;;
   12154   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12155     $as_echo "$ac_cs_version"; exit ;;
   12156   --debug | --debu | --deb | --de | --d | -d )
   12157     debug=: ;;
   12158   --file | --fil | --fi | --f )
   12159     $ac_shift
   12160     case $ac_optarg in
   12161     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12162     esac
   12163     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   12164     ac_need_defaults=false;;
   12165   --header | --heade | --head | --hea )
   12166     $ac_shift
   12167     case $ac_optarg in
   12168     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12169     esac
   12170     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   12171     ac_need_defaults=false;;
   12172   --he | --h)
   12173     # Conflict between --help and --header
   12174     { $as_echo "$as_me: error: ambiguous option: $1
   12175 Try \`$0 --help' for more information." >&2
   12176    { (exit 1); exit 1; }; };;
   12177   --help | --hel | -h )
   12178     $as_echo "$ac_cs_usage"; exit ;;
   12179   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12180   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12181     ac_cs_silent=: ;;
   12182 
   12183   # This is an error.
   12184   -*) { $as_echo "$as_me: error: unrecognized option: $1
   12185 Try \`$0 --help' for more information." >&2
   12186    { (exit 1); exit 1; }; } ;;
   12187 
   12188   *) ac_config_targets="$ac_config_targets $1"
   12189      ac_need_defaults=false ;;
   12190 
   12191   esac
   12192   shift
   12193 done
   12194 
   12195 ac_configure_extra_args=
   12196 
   12197 if $ac_cs_silent; then
   12198   exec 6>/dev/null
   12199   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12200 fi
   12201 
   12202 _ACEOF
   12203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12204 if \$ac_cs_recheck; then
   12205   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12206   shift
   12207   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12208   CONFIG_SHELL='$SHELL'
   12209   export CONFIG_SHELL
   12210   exec "\$@"
   12211 fi
   12212 
   12213 _ACEOF
   12214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12215 exec 5>>config.log
   12216 {
   12217   echo
   12218   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12219 ## Running $as_me. ##
   12220 _ASBOX
   12221   $as_echo "$ac_log"
   12222 } >&5
   12223 
   12224 _ACEOF
   12225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12226 #
   12227 # INIT-COMMANDS
   12228 #
   12229 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12230 
   12231 
   12232 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12233 # if CDPATH is set.
   12234 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12235 
   12236 sed_quote_subst='$sed_quote_subst'
   12237 double_quote_subst='$double_quote_subst'
   12238 delay_variable_subst='$delay_variable_subst'
   12239 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12240 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12241 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12242 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12243 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12244 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12245 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12246 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12247 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12248 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12249 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12250 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12251 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12252 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12253 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12254 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12255 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12256 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12257 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12258 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12259 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12260 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12261 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12262 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12263 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12264 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12265 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12266 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12267 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12268 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12269 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12270 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12271 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12272 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12273 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12274 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12275 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12276 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12277 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12278 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12279 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12280 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12281 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12282 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12283 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"`'
   12284 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"`'
   12285 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12286 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12287 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12288 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12289 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12290 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12291 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12292 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12293 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12294 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12295 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12296 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12297 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12298 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12299 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12300 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12301 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12302 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12303 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12304 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12305 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12306 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12307 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12308 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12309 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12310 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12311 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12312 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12313 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12314 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12315 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12316 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12317 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12318 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12319 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12320 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12321 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12322 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12323 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12324 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12325 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12326 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12327 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12328 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12329 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12330 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12331 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12332 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12333 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12334 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12335 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12336 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12337 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12338 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12339 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12340 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12341 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12342 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12343 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12344 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12345 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12346 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12347 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12348 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12349 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12350 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12351 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12352 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12353 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12354 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12355 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12356 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12357 
   12358 LTCC='$LTCC'
   12359 LTCFLAGS='$LTCFLAGS'
   12360 compiler='$compiler_DEFAULT'
   12361 
   12362 # Quote evaled strings.
   12363 for var in SED \
   12364 GREP \
   12365 EGREP \
   12366 FGREP \
   12367 LD \
   12368 NM \
   12369 LN_S \
   12370 lt_SP2NL \
   12371 lt_NL2SP \
   12372 reload_flag \
   12373 OBJDUMP \
   12374 deplibs_check_method \
   12375 file_magic_cmd \
   12376 AR \
   12377 AR_FLAGS \
   12378 STRIP \
   12379 RANLIB \
   12380 CC \
   12381 CFLAGS \
   12382 compiler \
   12383 lt_cv_sys_global_symbol_pipe \
   12384 lt_cv_sys_global_symbol_to_cdecl \
   12385 lt_cv_sys_global_symbol_to_c_name_address \
   12386 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12387 SHELL \
   12388 ECHO \
   12389 lt_prog_compiler_no_builtin_flag \
   12390 lt_prog_compiler_wl \
   12391 lt_prog_compiler_pic \
   12392 lt_prog_compiler_static \
   12393 lt_cv_prog_compiler_c_o \
   12394 need_locks \
   12395 DSYMUTIL \
   12396 NMEDIT \
   12397 LIPO \
   12398 OTOOL \
   12399 OTOOL64 \
   12400 shrext_cmds \
   12401 export_dynamic_flag_spec \
   12402 whole_archive_flag_spec \
   12403 compiler_needs_object \
   12404 with_gnu_ld \
   12405 allow_undefined_flag \
   12406 no_undefined_flag \
   12407 hardcode_libdir_flag_spec \
   12408 hardcode_libdir_flag_spec_ld \
   12409 hardcode_libdir_separator \
   12410 fix_srcfile_path \
   12411 exclude_expsyms \
   12412 include_expsyms \
   12413 file_list_spec \
   12414 variables_saved_for_relink \
   12415 libname_spec \
   12416 library_names_spec \
   12417 soname_spec \
   12418 finish_eval \
   12419 old_striplib \
   12420 striplib; do
   12421     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12422     *[\\\\\\\`\\"\\\$]*)
   12423       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12424       ;;
   12425     *)
   12426       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12427       ;;
   12428     esac
   12429 done
   12430 
   12431 # Double-quote double-evaled strings.
   12432 for var in reload_cmds \
   12433 old_postinstall_cmds \
   12434 old_postuninstall_cmds \
   12435 old_archive_cmds \
   12436 extract_expsyms_cmds \
   12437 old_archive_from_new_cmds \
   12438 old_archive_from_expsyms_cmds \
   12439 archive_cmds \
   12440 archive_expsym_cmds \
   12441 module_cmds \
   12442 module_expsym_cmds \
   12443 export_symbols_cmds \
   12444 prelink_cmds \
   12445 postinstall_cmds \
   12446 postuninstall_cmds \
   12447 finish_cmds \
   12448 sys_lib_search_path_spec \
   12449 sys_lib_dlsearch_path_spec; do
   12450     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12451     *[\\\\\\\`\\"\\\$]*)
   12452       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12453       ;;
   12454     *)
   12455       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12456       ;;
   12457     esac
   12458 done
   12459 
   12460 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12461 case \$lt_ECHO in
   12462 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12463   ;;
   12464 esac
   12465 
   12466 ac_aux_dir='$ac_aux_dir'
   12467 xsi_shell='$xsi_shell'
   12468 lt_shell_append='$lt_shell_append'
   12469 
   12470 # See if we are running on zsh, and set the options which allow our
   12471 # commands through without removal of \ escapes INIT.
   12472 if test -n "\${ZSH_VERSION+set}" ; then
   12473    setopt NO_GLOB_SUBST
   12474 fi
   12475 
   12476 
   12477     PACKAGE='$PACKAGE'
   12478     VERSION='$VERSION'
   12479     TIMESTAMP='$TIMESTAMP'
   12480     RM='$RM'
   12481     ofile='$ofile'
   12482 
   12483 
   12484 
   12485 
   12486 _ACEOF
   12487 
   12488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12489 
   12490 # Handling of arguments.
   12491 for ac_config_target in $ac_config_targets
   12492 do
   12493   case $ac_config_target in
   12494     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12495     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12496     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12497     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12498     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12499     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12500     "xrandr.pc") CONFIG_FILES="$CONFIG_FILES xrandr.pc" ;;
   12501 
   12502   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   12503 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   12504    { (exit 1); exit 1; }; };;
   12505   esac
   12506 done
   12507 
   12508 
   12509 # If the user did not use the arguments to specify the items to instantiate,
   12510 # then the envvar interface is used.  Set only those that are not.
   12511 # We use the long form for the default assignment because of an extremely
   12512 # bizarre bug on SunOS 4.1.3.
   12513 if $ac_need_defaults; then
   12514   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12515   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12516   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12517 fi
   12518 
   12519 # Have a temporary directory for convenience.  Make it in the build tree
   12520 # simply because there is no reason against having it here, and in addition,
   12521 # creating and moving files from /tmp can sometimes cause problems.
   12522 # Hook for its removal unless debugging.
   12523 # Note that there is a small window in which the directory will not be cleaned:
   12524 # after its creation but before its name has been assigned to `$tmp'.
   12525 $debug ||
   12526 {
   12527   tmp=
   12528   trap 'exit_status=$?
   12529   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12530 ' 0
   12531   trap '{ (exit 1); exit 1; }' 1 2 13 15
   12532 }
   12533 # Create a (secure) tmp directory for tmp files.
   12534 
   12535 {
   12536   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12537   test -n "$tmp" && test -d "$tmp"
   12538 }  ||
   12539 {
   12540   tmp=./conf$$-$RANDOM
   12541   (umask 077 && mkdir "$tmp")
   12542 } ||
   12543 {
   12544    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   12545    { (exit 1); exit 1; }
   12546 }
   12547 
   12548 # Set up the scripts for CONFIG_FILES section.
   12549 # No need to generate them if there are no CONFIG_FILES.
   12550 # This happens for instance with `./config.status config.h'.
   12551 if test -n "$CONFIG_FILES"; then
   12552 
   12553 
   12554 ac_cr='
'
   12556 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12557 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12558   ac_cs_awk_cr='\\r'
   12559 else
   12560   ac_cs_awk_cr=$ac_cr
   12561 fi
   12562 
   12563 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12564 _ACEOF
   12565 
   12566 
   12567 {
   12568   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12569   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12570   echo "_ACEOF"
   12571 } >conf$$subs.sh ||
   12572   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12573 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12574    { (exit 1); exit 1; }; }
   12575 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12576 ac_delim='%!_!# '
   12577 for ac_last_try in false false false false false :; do
   12578   . ./conf$$subs.sh ||
   12579     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12580 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12581    { (exit 1); exit 1; }; }
   12582 
   12583   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12584   if test $ac_delim_n = $ac_delim_num; then
   12585     break
   12586   elif $ac_last_try; then
   12587     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12588 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12589    { (exit 1); exit 1; }; }
   12590   else
   12591     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12592   fi
   12593 done
   12594 rm -f conf$$subs.sh
   12595 
   12596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12597 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12598 _ACEOF
   12599 sed -n '
   12600 h
   12601 s/^/S["/; s/!.*/"]=/
   12602 p
   12603 g
   12604 s/^[^!]*!//
   12605 :repl
   12606 t repl
   12607 s/'"$ac_delim"'$//
   12608 t delim
   12609 :nl
   12610 h
   12611 s/\(.\{148\}\).*/\1/
   12612 t more1
   12613 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12614 p
   12615 n
   12616 b repl
   12617 :more1
   12618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12619 p
   12620 g
   12621 s/.\{148\}//
   12622 t nl
   12623 :delim
   12624 h
   12625 s/\(.\{148\}\).*/\1/
   12626 t more2
   12627 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12628 p
   12629 b
   12630 :more2
   12631 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12632 p
   12633 g
   12634 s/.\{148\}//
   12635 t delim
   12636 ' <conf$$subs.awk | sed '
   12637 /^[^""]/{
   12638   N
   12639   s/\n//
   12640 }
   12641 ' >>$CONFIG_STATUS || ac_write_fail=1
   12642 rm -f conf$$subs.awk
   12643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12644 _ACAWK
   12645 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12646   for (key in S) S_is_set[key] = 1
   12647   FS = ""
   12648 
   12649 }
   12650 {
   12651   line = $ 0
   12652   nfields = split(line, field, "@")
   12653   substed = 0
   12654   len = length(field[1])
   12655   for (i = 2; i < nfields; i++) {
   12656     key = field[i]
   12657     keylen = length(key)
   12658     if (S_is_set[key]) {
   12659       value = S[key]
   12660       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12661       len += length(value) + length(field[++i])
   12662       substed = 1
   12663     } else
   12664       len += 1 + keylen
   12665   }
   12666 
   12667   print line
   12668 }
   12669 
   12670 _ACAWK
   12671 _ACEOF
   12672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12673 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12674   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12675 else
   12676   cat
   12677 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12678   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   12679 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   12680    { (exit 1); exit 1; }; }
   12681 _ACEOF
   12682 
   12683 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12684 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12685 # trailing colons and then remove the whole line if VPATH becomes empty
   12686 # (actually we leave an empty line to preserve line numbers).
   12687 if test "x$srcdir" = x.; then
   12688   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12689 s/:*\$(srcdir):*/:/
   12690 s/:*\${srcdir}:*/:/
   12691 s/:*@srcdir@:*/:/
   12692 s/^\([^=]*=[	 ]*\):*/\1/
   12693 s/:*$//
   12694 s/^[^=]*=[	 ]*$//
   12695 }'
   12696 fi
   12697 
   12698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12699 fi # test -n "$CONFIG_FILES"
   12700 
   12701 # Set up the scripts for CONFIG_HEADERS section.
   12702 # No need to generate them if there are no CONFIG_HEADERS.
   12703 # This happens for instance with `./config.status Makefile'.
   12704 if test -n "$CONFIG_HEADERS"; then
   12705 cat >"$tmp/defines.awk" <<\_ACAWK ||
   12706 BEGIN {
   12707 _ACEOF
   12708 
   12709 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12710 # here-document in config.status, that substitutes the proper values into
   12711 # config.h.in to produce config.h.
   12712 
   12713 # Create a delimiter string that does not exist in confdefs.h, to ease
   12714 # handling of long lines.
   12715 ac_delim='%!_!# '
   12716 for ac_last_try in false false :; do
   12717   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   12718   if test -z "$ac_t"; then
   12719     break
   12720   elif $ac_last_try; then
   12721     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   12722 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   12723    { (exit 1); exit 1; }; }
   12724   else
   12725     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12726   fi
   12727 done
   12728 
   12729 # For the awk script, D is an array of macro values keyed by name,
   12730 # likewise P contains macro parameters if any.  Preserve backslash
   12731 # newline sequences.
   12732 
   12733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12734 sed -n '
   12735 s/.\{148\}/&'"$ac_delim"'/g
   12736 t rset
   12737 :rset
   12738 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12739 t def
   12740 d
   12741 :def
   12742 s/\\$//
   12743 t bsnl
   12744 s/["\\]/\\&/g
   12745 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12746 D["\1"]=" \3"/p
   12747 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12748 d
   12749 :bsnl
   12750 s/["\\]/\\&/g
   12751 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12752 D["\1"]=" \3\\\\\\n"\\/p
   12753 t cont
   12754 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12755 t cont
   12756 d
   12757 :cont
   12758 n
   12759 s/.\{148\}/&'"$ac_delim"'/g
   12760 t clear
   12761 :clear
   12762 s/\\$//
   12763 t bsnlc
   12764 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12765 d
   12766 :bsnlc
   12767 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12768 b cont
   12769 ' <confdefs.h | sed '
   12770 s/'"$ac_delim"'/"\\\
   12771 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12772 
   12773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12774   for (key in D) D_is_set[key] = 1
   12775   FS = ""
   12776 }
   12777 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12778   line = \$ 0
   12779   split(line, arg, " ")
   12780   if (arg[1] == "#") {
   12781     defundef = arg[2]
   12782     mac1 = arg[3]
   12783   } else {
   12784     defundef = substr(arg[1], 2)
   12785     mac1 = arg[2]
   12786   }
   12787   split(mac1, mac2, "(") #)
   12788   macro = mac2[1]
   12789   prefix = substr(line, 1, index(line, defundef) - 1)
   12790   if (D_is_set[macro]) {
   12791     # Preserve the white space surrounding the "#".
   12792     print prefix "define", macro P[macro] D[macro]
   12793     next
   12794   } else {
   12795     # Replace #undef with comments.  This is necessary, for example,
   12796     # in the case of _POSIX_SOURCE, which is predefined and required
   12797     # on some systems where configure will not decide to define it.
   12798     if (defundef == "undef") {
   12799       print "/*", prefix defundef, macro, "*/"
   12800       next
   12801     }
   12802   }
   12803 }
   12804 { print }
   12805 _ACAWK
   12806 _ACEOF
   12807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12808   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   12809 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   12810    { (exit 1); exit 1; }; }
   12811 fi # test -n "$CONFIG_HEADERS"
   12812 
   12813 
   12814 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12815 shift
   12816 for ac_tag
   12817 do
   12818   case $ac_tag in
   12819   :[FHLC]) ac_mode=$ac_tag; continue;;
   12820   esac
   12821   case $ac_mode$ac_tag in
   12822   :[FHL]*:*);;
   12823   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   12824 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   12825    { (exit 1); exit 1; }; };;
   12826   :[FH]-) ac_tag=-:-;;
   12827   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12828   esac
   12829   ac_save_IFS=$IFS
   12830   IFS=:
   12831   set x $ac_tag
   12832   IFS=$ac_save_IFS
   12833   shift
   12834   ac_file=$1
   12835   shift
   12836 
   12837   case $ac_mode in
   12838   :L) ac_source=$1;;
   12839   :[FH])
   12840     ac_file_inputs=
   12841     for ac_f
   12842     do
   12843       case $ac_f in
   12844       -) ac_f="$tmp/stdin";;
   12845       *) # Look for the file first in the build tree, then in the source tree
   12846 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12847 	 # because $ac_f cannot contain `:'.
   12848 	 test -f "$ac_f" ||
   12849 	   case $ac_f in
   12850 	   [\\/$]*) false;;
   12851 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12852 	   esac ||
   12853 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   12854 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   12855    { (exit 1); exit 1; }; };;
   12856       esac
   12857       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12858       ac_file_inputs="$ac_file_inputs '$ac_f'"
   12859     done
   12860 
   12861     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12862     # use $as_me), people would be surprised to read:
   12863     #    /* config.h.  Generated by config.status.  */
   12864     configure_input='Generated from '`
   12865 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12866 	`' by configure.'
   12867     if test x"$ac_file" != x-; then
   12868       configure_input="$ac_file.  $configure_input"
   12869       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   12870 $as_echo "$as_me: creating $ac_file" >&6;}
   12871     fi
   12872     # Neutralize special characters interpreted by sed in replacement strings.
   12873     case $configure_input in #(
   12874     *\&* | *\|* | *\\* )
   12875        ac_sed_conf_input=`$as_echo "$configure_input" |
   12876        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12877     *) ac_sed_conf_input=$configure_input;;
   12878     esac
   12879 
   12880     case $ac_tag in
   12881     *:-:* | *:-) cat >"$tmp/stdin" \
   12882       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   12883 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   12884    { (exit 1); exit 1; }; } ;;
   12885     esac
   12886     ;;
   12887   esac
   12888 
   12889   ac_dir=`$as_dirname -- "$ac_file" ||
   12890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12891 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12892 	 X"$ac_file" : 'X\(//\)$' \| \
   12893 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12894 $as_echo X"$ac_file" |
   12895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12896 	    s//\1/
   12897 	    q
   12898 	  }
   12899 	  /^X\(\/\/\)[^/].*/{
   12900 	    s//\1/
   12901 	    q
   12902 	  }
   12903 	  /^X\(\/\/\)$/{
   12904 	    s//\1/
   12905 	    q
   12906 	  }
   12907 	  /^X\(\/\).*/{
   12908 	    s//\1/
   12909 	    q
   12910 	  }
   12911 	  s/.*/./; q'`
   12912   { as_dir="$ac_dir"
   12913   case $as_dir in #(
   12914   -*) as_dir=./$as_dir;;
   12915   esac
   12916   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   12917     as_dirs=
   12918     while :; do
   12919       case $as_dir in #(
   12920       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12921       *) as_qdir=$as_dir;;
   12922       esac
   12923       as_dirs="'$as_qdir' $as_dirs"
   12924       as_dir=`$as_dirname -- "$as_dir" ||
   12925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12926 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12927 	 X"$as_dir" : 'X\(//\)$' \| \
   12928 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12929 $as_echo X"$as_dir" |
   12930     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12931 	    s//\1/
   12932 	    q
   12933 	  }
   12934 	  /^X\(\/\/\)[^/].*/{
   12935 	    s//\1/
   12936 	    q
   12937 	  }
   12938 	  /^X\(\/\/\)$/{
   12939 	    s//\1/
   12940 	    q
   12941 	  }
   12942 	  /^X\(\/\).*/{
   12943 	    s//\1/
   12944 	    q
   12945 	  }
   12946 	  s/.*/./; q'`
   12947       test -d "$as_dir" && break
   12948     done
   12949     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12950   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   12951 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   12952    { (exit 1); exit 1; }; }; }
   12953   ac_builddir=.
   12954 
   12955 case "$ac_dir" in
   12956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12957 *)
   12958   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12959   # A ".." for each directory in $ac_dir_suffix.
   12960   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12961   case $ac_top_builddir_sub in
   12962   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12963   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12964   esac ;;
   12965 esac
   12966 ac_abs_top_builddir=$ac_pwd
   12967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12968 # for backward compatibility:
   12969 ac_top_builddir=$ac_top_build_prefix
   12970 
   12971 case $srcdir in
   12972   .)  # We are building in place.
   12973     ac_srcdir=.
   12974     ac_top_srcdir=$ac_top_builddir_sub
   12975     ac_abs_top_srcdir=$ac_pwd ;;
   12976   [\\/]* | ?:[\\/]* )  # Absolute name.
   12977     ac_srcdir=$srcdir$ac_dir_suffix;
   12978     ac_top_srcdir=$srcdir
   12979     ac_abs_top_srcdir=$srcdir ;;
   12980   *) # Relative name.
   12981     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12982     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12983     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12984 esac
   12985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12986 
   12987 
   12988   case $ac_mode in
   12989   :F)
   12990   #
   12991   # CONFIG_FILE
   12992   #
   12993 
   12994   case $INSTALL in
   12995   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12996   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12997   esac
   12998   ac_MKDIR_P=$MKDIR_P
   12999   case $MKDIR_P in
   13000   [\\/$]* | ?:[\\/]* ) ;;
   13001   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13002   esac
   13003 _ACEOF
   13004 
   13005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13006 # If the template does not know about datarootdir, expand it.
   13007 # FIXME: This hack should be removed a few years after 2.60.
   13008 ac_datarootdir_hack=; ac_datarootdir_seen=
   13009 
   13010 ac_sed_dataroot='
   13011 /datarootdir/ {
   13012   p
   13013   q
   13014 }
   13015 /@datadir@/p
   13016 /@docdir@/p
   13017 /@infodir@/p
   13018 /@localedir@/p
   13019 /@mandir@/p
   13020 '
   13021 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13022 *datarootdir*) ac_datarootdir_seen=yes;;
   13023 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13024   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13025 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13026 _ACEOF
   13027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13028   ac_datarootdir_hack='
   13029   s&@datadir@&$datadir&g
   13030   s&@docdir@&$docdir&g
   13031   s&@infodir@&$infodir&g
   13032   s&@localedir@&$localedir&g
   13033   s&@mandir@&$mandir&g
   13034     s&\\\${datarootdir}&$datarootdir&g' ;;
   13035 esac
   13036 _ACEOF
   13037 
   13038 # Neutralize VPATH when `$srcdir' = `.'.
   13039 # Shell code in configure.ac might set extrasub.
   13040 # FIXME: do we really want to maintain this feature?
   13041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13042 ac_sed_extra="$ac_vpsub
   13043 $extrasub
   13044 _ACEOF
   13045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13046 :t
   13047 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13048 s|@configure_input@|$ac_sed_conf_input|;t t
   13049 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13050 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13051 s&@srcdir@&$ac_srcdir&;t t
   13052 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13053 s&@top_srcdir@&$ac_top_srcdir&;t t
   13054 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13055 s&@builddir@&$ac_builddir&;t t
   13056 s&@abs_builddir@&$ac_abs_builddir&;t t
   13057 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13058 s&@INSTALL@&$ac_INSTALL&;t t
   13059 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13060 $ac_datarootdir_hack
   13061 "
   13062 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13063   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13064 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13065    { (exit 1); exit 1; }; }
   13066 
   13067 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13068   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13069   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13070   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13071 which seems to be undefined.  Please make sure it is defined." >&5
   13072 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13073 which seems to be undefined.  Please make sure it is defined." >&2;}
   13074 
   13075   rm -f "$tmp/stdin"
   13076   case $ac_file in
   13077   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13078   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13079   esac \
   13080   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13081 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13082    { (exit 1); exit 1; }; }
   13083  ;;
   13084   :H)
   13085   #
   13086   # CONFIG_HEADER
   13087   #
   13088   if test x"$ac_file" != x-; then
   13089     {
   13090       $as_echo "/* $configure_input  */" \
   13091       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13092     } >"$tmp/config.h" \
   13093       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13094 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13095    { (exit 1); exit 1; }; }
   13096     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13097       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   13098 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13099     else
   13100       rm -f "$ac_file"
   13101       mv "$tmp/config.h" "$ac_file" \
   13102 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13103 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13104    { (exit 1); exit 1; }; }
   13105     fi
   13106   else
   13107     $as_echo "/* $configure_input  */" \
   13108       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13109       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   13110 $as_echo "$as_me: error: could not create -" >&2;}
   13111    { (exit 1); exit 1; }; }
   13112   fi
   13113 # Compute "$ac_file"'s index in $config_headers.
   13114 _am_arg="$ac_file"
   13115 _am_stamp_count=1
   13116 for _am_header in $config_headers :; do
   13117   case $_am_header in
   13118     $_am_arg | $_am_arg:* )
   13119       break ;;
   13120     * )
   13121       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13122   esac
   13123 done
   13124 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13125 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13126 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13127 	 X"$_am_arg" : 'X\(//\)$' \| \
   13128 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13129 $as_echo X"$_am_arg" |
   13130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13131 	    s//\1/
   13132 	    q
   13133 	  }
   13134 	  /^X\(\/\/\)[^/].*/{
   13135 	    s//\1/
   13136 	    q
   13137 	  }
   13138 	  /^X\(\/\/\)$/{
   13139 	    s//\1/
   13140 	    q
   13141 	  }
   13142 	  /^X\(\/\).*/{
   13143 	    s//\1/
   13144 	    q
   13145 	  }
   13146 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13147  ;;
   13148 
   13149   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   13150 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13151  ;;
   13152   esac
   13153 
   13154 
   13155   case $ac_file$ac_mode in
   13156     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   13157   # Strip MF so we end up with the name of the file.
   13158   mf=`echo "$mf" | sed -e 's/:.*$//'`
   13159   # Check whether this is an Automake generated Makefile or not.
   13160   # We used to match only the files named `Makefile.in', but
   13161   # some people rename them; so instead we look at the file content.
   13162   # Grep'ing the first line is not enough: some people post-process
   13163   # each Makefile.in and add a new line on top of each file to say so.
   13164   # Grep'ing the whole file is not good either: AIX grep has a line
   13165   # limit of 2048, but all sed's we know have understand at least 4000.
   13166   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13167     dirpart=`$as_dirname -- "$mf" ||
   13168 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13169 	 X"$mf" : 'X\(//\)[^/]' \| \
   13170 	 X"$mf" : 'X\(//\)$' \| \
   13171 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13172 $as_echo X"$mf" |
   13173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13174 	    s//\1/
   13175 	    q
   13176 	  }
   13177 	  /^X\(\/\/\)[^/].*/{
   13178 	    s//\1/
   13179 	    q
   13180 	  }
   13181 	  /^X\(\/\/\)$/{
   13182 	    s//\1/
   13183 	    q
   13184 	  }
   13185 	  /^X\(\/\).*/{
   13186 	    s//\1/
   13187 	    q
   13188 	  }
   13189 	  s/.*/./; q'`
   13190   else
   13191     continue
   13192   fi
   13193   # Extract the definition of DEPDIR, am__include, and am__quote
   13194   # from the Makefile without running `make'.
   13195   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13196   test -z "$DEPDIR" && continue
   13197   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13198   test -z "am__include" && continue
   13199   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13200   # When using ansi2knr, U may be empty or an underscore; expand it
   13201   U=`sed -n 's/^U = //p' < "$mf"`
   13202   # Find all dependency output files, they are included files with
   13203   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13204   # simplest approach to changing $(DEPDIR) to its actual value in the
   13205   # expansion.
   13206   for file in `sed -n "
   13207     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13208        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13209     # Make sure the directory exists.
   13210     test -f "$dirpart/$file" && continue
   13211     fdir=`$as_dirname -- "$file" ||
   13212 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13213 	 X"$file" : 'X\(//\)[^/]' \| \
   13214 	 X"$file" : 'X\(//\)$' \| \
   13215 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13216 $as_echo X"$file" |
   13217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13218 	    s//\1/
   13219 	    q
   13220 	  }
   13221 	  /^X\(\/\/\)[^/].*/{
   13222 	    s//\1/
   13223 	    q
   13224 	  }
   13225 	  /^X\(\/\/\)$/{
   13226 	    s//\1/
   13227 	    q
   13228 	  }
   13229 	  /^X\(\/\).*/{
   13230 	    s//\1/
   13231 	    q
   13232 	  }
   13233 	  s/.*/./; q'`
   13234     { as_dir=$dirpart/$fdir
   13235   case $as_dir in #(
   13236   -*) as_dir=./$as_dir;;
   13237   esac
   13238   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13239     as_dirs=
   13240     while :; do
   13241       case $as_dir in #(
   13242       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13243       *) as_qdir=$as_dir;;
   13244       esac
   13245       as_dirs="'$as_qdir' $as_dirs"
   13246       as_dir=`$as_dirname -- "$as_dir" ||
   13247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13248 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13249 	 X"$as_dir" : 'X\(//\)$' \| \
   13250 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13251 $as_echo X"$as_dir" |
   13252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13253 	    s//\1/
   13254 	    q
   13255 	  }
   13256 	  /^X\(\/\/\)[^/].*/{
   13257 	    s//\1/
   13258 	    q
   13259 	  }
   13260 	  /^X\(\/\/\)$/{
   13261 	    s//\1/
   13262 	    q
   13263 	  }
   13264 	  /^X\(\/\).*/{
   13265 	    s//\1/
   13266 	    q
   13267 	  }
   13268 	  s/.*/./; q'`
   13269       test -d "$as_dir" && break
   13270     done
   13271     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13272   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13273 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13274    { (exit 1); exit 1; }; }; }
   13275     # echo "creating $dirpart/$file"
   13276     echo '# dummy' > "$dirpart/$file"
   13277   done
   13278 done
   13279  ;;
   13280     "libtool":C)
   13281 
   13282     # See if we are running on zsh, and set the options which allow our
   13283     # commands through without removal of \ escapes.
   13284     if test -n "${ZSH_VERSION+set}" ; then
   13285       setopt NO_GLOB_SUBST
   13286     fi
   13287 
   13288     cfgfile="${ofile}T"
   13289     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13290     $RM "$cfgfile"
   13291 
   13292     cat <<_LT_EOF >> "$cfgfile"
   13293 #! $SHELL
   13294 
   13295 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13296 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13297 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13298 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13299 #
   13300 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13301 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13302 #   Written by Gordon Matzigkeit, 1996
   13303 #
   13304 #   This file is part of GNU Libtool.
   13305 #
   13306 # GNU Libtool is free software; you can redistribute it and/or
   13307 # modify it under the terms of the GNU General Public License as
   13308 # published by the Free Software Foundation; either version 2 of
   13309 # the License, or (at your option) any later version.
   13310 #
   13311 # As a special exception to the GNU General Public License,
   13312 # if you distribute this file as part of a program or library that
   13313 # is built using GNU Libtool, you may include this file under the
   13314 # same distribution terms that you use for the rest of that program.
   13315 #
   13316 # GNU Libtool is distributed in the hope that it will be useful,
   13317 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13318 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13319 # GNU General Public License for more details.
   13320 #
   13321 # You should have received a copy of the GNU General Public License
   13322 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13323 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13324 # obtained by writing to the Free Software Foundation, Inc.,
   13325 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13326 
   13327 
   13328 # The names of the tagged configurations supported by this script.
   13329 available_tags=""
   13330 
   13331 # ### BEGIN LIBTOOL CONFIG
   13332 
   13333 # Which release of libtool.m4 was used?
   13334 macro_version=$macro_version
   13335 macro_revision=$macro_revision
   13336 
   13337 # Whether or not to build shared libraries.
   13338 build_libtool_libs=$enable_shared
   13339 
   13340 # Whether or not to build static libraries.
   13341 build_old_libs=$enable_static
   13342 
   13343 # What type of objects to build.
   13344 pic_mode=$pic_mode
   13345 
   13346 # Whether or not to optimize for fast installation.
   13347 fast_install=$enable_fast_install
   13348 
   13349 # The host system.
   13350 host_alias=$host_alias
   13351 host=$host
   13352 host_os=$host_os
   13353 
   13354 # The build system.
   13355 build_alias=$build_alias
   13356 build=$build
   13357 build_os=$build_os
   13358 
   13359 # A sed program that does not truncate output.
   13360 SED=$lt_SED
   13361 
   13362 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13363 Xsed="\$SED -e 1s/^X//"
   13364 
   13365 # A grep program that handles long lines.
   13366 GREP=$lt_GREP
   13367 
   13368 # An ERE matcher.
   13369 EGREP=$lt_EGREP
   13370 
   13371 # A literal string matcher.
   13372 FGREP=$lt_FGREP
   13373 
   13374 # A BSD- or MS-compatible name lister.
   13375 NM=$lt_NM
   13376 
   13377 # Whether we need soft or hard links.
   13378 LN_S=$lt_LN_S
   13379 
   13380 # What is the maximum length of a command?
   13381 max_cmd_len=$max_cmd_len
   13382 
   13383 # Object file suffix (normally "o").
   13384 objext=$ac_objext
   13385 
   13386 # Executable file suffix (normally "").
   13387 exeext=$exeext
   13388 
   13389 # whether the shell understands "unset".
   13390 lt_unset=$lt_unset
   13391 
   13392 # turn spaces into newlines.
   13393 SP2NL=$lt_lt_SP2NL
   13394 
   13395 # turn newlines into spaces.
   13396 NL2SP=$lt_lt_NL2SP
   13397 
   13398 # How to create reloadable object files.
   13399 reload_flag=$lt_reload_flag
   13400 reload_cmds=$lt_reload_cmds
   13401 
   13402 # An object symbol dumper.
   13403 OBJDUMP=$lt_OBJDUMP
   13404 
   13405 # Method to check whether dependent libraries are shared objects.
   13406 deplibs_check_method=$lt_deplibs_check_method
   13407 
   13408 # Command to use when deplibs_check_method == "file_magic".
   13409 file_magic_cmd=$lt_file_magic_cmd
   13410 
   13411 # The archiver.
   13412 AR=$lt_AR
   13413 AR_FLAGS=$lt_AR_FLAGS
   13414 
   13415 # A symbol stripping program.
   13416 STRIP=$lt_STRIP
   13417 
   13418 # Commands used to install an old-style archive.
   13419 RANLIB=$lt_RANLIB
   13420 old_postinstall_cmds=$lt_old_postinstall_cmds
   13421 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13422 
   13423 # A C compiler.
   13424 LTCC=$lt_CC
   13425 
   13426 # LTCC compiler flags.
   13427 LTCFLAGS=$lt_CFLAGS
   13428 
   13429 # Take the output of nm and produce a listing of raw symbols and C names.
   13430 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13431 
   13432 # Transform the output of nm in a proper C declaration.
   13433 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13434 
   13435 # Transform the output of nm in a C name address pair.
   13436 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13437 
   13438 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13439 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13440 
   13441 # The name of the directory that contains temporary libtool files.
   13442 objdir=$objdir
   13443 
   13444 # Shell to use when invoking shell scripts.
   13445 SHELL=$lt_SHELL
   13446 
   13447 # An echo program that does not interpret backslashes.
   13448 ECHO=$lt_ECHO
   13449 
   13450 # Used to examine libraries when file_magic_cmd begins with "file".
   13451 MAGIC_CMD=$MAGIC_CMD
   13452 
   13453 # Must we lock files when doing compilation?
   13454 need_locks=$lt_need_locks
   13455 
   13456 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13457 DSYMUTIL=$lt_DSYMUTIL
   13458 
   13459 # Tool to change global to local symbols on Mac OS X.
   13460 NMEDIT=$lt_NMEDIT
   13461 
   13462 # Tool to manipulate fat objects and archives on Mac OS X.
   13463 LIPO=$lt_LIPO
   13464 
   13465 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13466 OTOOL=$lt_OTOOL
   13467 
   13468 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13469 OTOOL64=$lt_OTOOL64
   13470 
   13471 # Old archive suffix (normally "a").
   13472 libext=$libext
   13473 
   13474 # Shared library suffix (normally ".so").
   13475 shrext_cmds=$lt_shrext_cmds
   13476 
   13477 # The commands to extract the exported symbol list from a shared archive.
   13478 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13479 
   13480 # Variables whose values should be saved in libtool wrapper scripts and
   13481 # restored at link time.
   13482 variables_saved_for_relink=$lt_variables_saved_for_relink
   13483 
   13484 # Do we need the "lib" prefix for modules?
   13485 need_lib_prefix=$need_lib_prefix
   13486 
   13487 # Do we need a version for libraries?
   13488 need_version=$need_version
   13489 
   13490 # Library versioning type.
   13491 version_type=$version_type
   13492 
   13493 # Shared library runtime path variable.
   13494 runpath_var=$runpath_var
   13495 
   13496 # Shared library path variable.
   13497 shlibpath_var=$shlibpath_var
   13498 
   13499 # Is shlibpath searched before the hard-coded library search path?
   13500 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13501 
   13502 # Format of library name prefix.
   13503 libname_spec=$lt_libname_spec
   13504 
   13505 # List of archive names.  First name is the real one, the rest are links.
   13506 # The last name is the one that the linker finds with -lNAME
   13507 library_names_spec=$lt_library_names_spec
   13508 
   13509 # The coded name of the library, if different from the real name.
   13510 soname_spec=$lt_soname_spec
   13511 
   13512 # Command to use after installation of a shared archive.
   13513 postinstall_cmds=$lt_postinstall_cmds
   13514 
   13515 # Command to use after uninstallation of a shared archive.
   13516 postuninstall_cmds=$lt_postuninstall_cmds
   13517 
   13518 # Commands used to finish a libtool library installation in a directory.
   13519 finish_cmds=$lt_finish_cmds
   13520 
   13521 # As "finish_cmds", except a single script fragment to be evaled but
   13522 # not shown.
   13523 finish_eval=$lt_finish_eval
   13524 
   13525 # Whether we should hardcode library paths into libraries.
   13526 hardcode_into_libs=$hardcode_into_libs
   13527 
   13528 # Compile-time system search path for libraries.
   13529 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13530 
   13531 # Run-time system search path for libraries.
   13532 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13533 
   13534 # Whether dlopen is supported.
   13535 dlopen_support=$enable_dlopen
   13536 
   13537 # Whether dlopen of programs is supported.
   13538 dlopen_self=$enable_dlopen_self
   13539 
   13540 # Whether dlopen of statically linked programs is supported.
   13541 dlopen_self_static=$enable_dlopen_self_static
   13542 
   13543 # Commands to strip libraries.
   13544 old_striplib=$lt_old_striplib
   13545 striplib=$lt_striplib
   13546 
   13547 
   13548 # The linker used to build libraries.
   13549 LD=$lt_LD
   13550 
   13551 # Commands used to build an old-style archive.
   13552 old_archive_cmds=$lt_old_archive_cmds
   13553 
   13554 # A language specific compiler.
   13555 CC=$lt_compiler
   13556 
   13557 # Is the compiler the GNU compiler?
   13558 with_gcc=$GCC
   13559 
   13560 # Compiler flag to turn off builtin functions.
   13561 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13562 
   13563 # How to pass a linker flag through the compiler.
   13564 wl=$lt_lt_prog_compiler_wl
   13565 
   13566 # Additional compiler flags for building library objects.
   13567 pic_flag=$lt_lt_prog_compiler_pic
   13568 
   13569 # Compiler flag to prevent dynamic linking.
   13570 link_static_flag=$lt_lt_prog_compiler_static
   13571 
   13572 # Does compiler simultaneously support -c and -o options?
   13573 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13574 
   13575 # Whether or not to add -lc for building shared libraries.
   13576 build_libtool_need_lc=$archive_cmds_need_lc
   13577 
   13578 # Whether or not to disallow shared libs when runtime libs are static.
   13579 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13580 
   13581 # Compiler flag to allow reflexive dlopens.
   13582 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13583 
   13584 # Compiler flag to generate shared objects directly from archives.
   13585 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13586 
   13587 # Whether the compiler copes with passing no objects directly.
   13588 compiler_needs_object=$lt_compiler_needs_object
   13589 
   13590 # Create an old-style archive from a shared archive.
   13591 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13592 
   13593 # Create a temporary old-style archive to link instead of a shared archive.
   13594 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13595 
   13596 # Commands used to build a shared archive.
   13597 archive_cmds=$lt_archive_cmds
   13598 archive_expsym_cmds=$lt_archive_expsym_cmds
   13599 
   13600 # Commands used to build a loadable module if different from building
   13601 # a shared archive.
   13602 module_cmds=$lt_module_cmds
   13603 module_expsym_cmds=$lt_module_expsym_cmds
   13604 
   13605 # Whether we are building with GNU ld or not.
   13606 with_gnu_ld=$lt_with_gnu_ld
   13607 
   13608 # Flag that allows shared libraries with undefined symbols to be built.
   13609 allow_undefined_flag=$lt_allow_undefined_flag
   13610 
   13611 # Flag that enforces no undefined symbols.
   13612 no_undefined_flag=$lt_no_undefined_flag
   13613 
   13614 # Flag to hardcode \$libdir into a binary during linking.
   13615 # This must work even if \$libdir does not exist
   13616 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13617 
   13618 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13619 # during linking.  This must work even if \$libdir does not exist.
   13620 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13621 
   13622 # Whether we need a single "-rpath" flag with a separated argument.
   13623 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13624 
   13625 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13626 # DIR into the resulting binary.
   13627 hardcode_direct=$hardcode_direct
   13628 
   13629 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13630 # DIR into the resulting binary and the resulting library dependency is
   13631 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13632 # library is relocated.
   13633 hardcode_direct_absolute=$hardcode_direct_absolute
   13634 
   13635 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13636 # into the resulting binary.
   13637 hardcode_minus_L=$hardcode_minus_L
   13638 
   13639 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13640 # into the resulting binary.
   13641 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13642 
   13643 # Set to "yes" if building a shared library automatically hardcodes DIR
   13644 # into the library and all subsequent libraries and executables linked
   13645 # against it.
   13646 hardcode_automatic=$hardcode_automatic
   13647 
   13648 # Set to yes if linker adds runtime paths of dependent libraries
   13649 # to runtime path list.
   13650 inherit_rpath=$inherit_rpath
   13651 
   13652 # Whether libtool must link a program against all its dependency libraries.
   13653 link_all_deplibs=$link_all_deplibs
   13654 
   13655 # Fix the shell variable \$srcfile for the compiler.
   13656 fix_srcfile_path=$lt_fix_srcfile_path
   13657 
   13658 # Set to "yes" if exported symbols are required.
   13659 always_export_symbols=$always_export_symbols
   13660 
   13661 # The commands to list exported symbols.
   13662 export_symbols_cmds=$lt_export_symbols_cmds
   13663 
   13664 # Symbols that should not be listed in the preloaded symbols.
   13665 exclude_expsyms=$lt_exclude_expsyms
   13666 
   13667 # Symbols that must always be exported.
   13668 include_expsyms=$lt_include_expsyms
   13669 
   13670 # Commands necessary for linking programs (against libraries) with templates.
   13671 prelink_cmds=$lt_prelink_cmds
   13672 
   13673 # Specify filename containing input files.
   13674 file_list_spec=$lt_file_list_spec
   13675 
   13676 # How to hardcode a shared library path into an executable.
   13677 hardcode_action=$hardcode_action
   13678 
   13679 # ### END LIBTOOL CONFIG
   13680 
   13681 _LT_EOF
   13682 
   13683   case $host_os in
   13684   aix3*)
   13685     cat <<\_LT_EOF >> "$cfgfile"
   13686 # AIX sometimes has problems with the GCC collect2 program.  For some
   13687 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13688 # vanish in a puff of smoke.
   13689 if test "X${COLLECT_NAMES+set}" != Xset; then
   13690   COLLECT_NAMES=
   13691   export COLLECT_NAMES
   13692 fi
   13693 _LT_EOF
   13694     ;;
   13695   esac
   13696 
   13697 
   13698 ltmain="$ac_aux_dir/ltmain.sh"
   13699 
   13700 
   13701   # We use sed instead of cat because bash on DJGPP gets confused if
   13702   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13703   # text mode, it properly converts lines to CR/LF.  This bash problem
   13704   # is reportedly fixed, but why not run on old versions too?
   13705   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13706     || (rm -f "$cfgfile"; exit 1)
   13707 
   13708   case $xsi_shell in
   13709   yes)
   13710     cat << \_LT_EOF >> "$cfgfile"
   13711 
   13712 # func_dirname file append nondir_replacement
   13713 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13714 # otherwise set result to NONDIR_REPLACEMENT.
   13715 func_dirname ()
   13716 {
   13717   case ${1} in
   13718     */*) func_dirname_result="${1%/*}${2}" ;;
   13719     *  ) func_dirname_result="${3}" ;;
   13720   esac
   13721 }
   13722 
   13723 # func_basename file
   13724 func_basename ()
   13725 {
   13726   func_basename_result="${1##*/}"
   13727 }
   13728 
   13729 # func_dirname_and_basename file append nondir_replacement
   13730 # perform func_basename and func_dirname in a single function
   13731 # call:
   13732 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13733 #             add APPEND to the result, otherwise set result
   13734 #             to NONDIR_REPLACEMENT.
   13735 #             value returned in "$func_dirname_result"
   13736 #   basename: Compute filename of FILE.
   13737 #             value retuned in "$func_basename_result"
   13738 # Implementation must be kept synchronized with func_dirname
   13739 # and func_basename. For efficiency, we do not delegate to
   13740 # those functions but instead duplicate the functionality here.
   13741 func_dirname_and_basename ()
   13742 {
   13743   case ${1} in
   13744     */*) func_dirname_result="${1%/*}${2}" ;;
   13745     *  ) func_dirname_result="${3}" ;;
   13746   esac
   13747   func_basename_result="${1##*/}"
   13748 }
   13749 
   13750 # func_stripname prefix suffix name
   13751 # strip PREFIX and SUFFIX off of NAME.
   13752 # PREFIX and SUFFIX must not contain globbing or regex special
   13753 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13754 # dot (in which case that matches only a dot).
   13755 func_stripname ()
   13756 {
   13757   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13758   # positional parameters, so assign one to ordinary parameter first.
   13759   func_stripname_result=${3}
   13760   func_stripname_result=${func_stripname_result#"${1}"}
   13761   func_stripname_result=${func_stripname_result%"${2}"}
   13762 }
   13763 
   13764 # func_opt_split
   13765 func_opt_split ()
   13766 {
   13767   func_opt_split_opt=${1%%=*}
   13768   func_opt_split_arg=${1#*=}
   13769 }
   13770 
   13771 # func_lo2o object
   13772 func_lo2o ()
   13773 {
   13774   case ${1} in
   13775     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13776     *)    func_lo2o_result=${1} ;;
   13777   esac
   13778 }
   13779 
   13780 # func_xform libobj-or-source
   13781 func_xform ()
   13782 {
   13783   func_xform_result=${1%.*}.lo
   13784 }
   13785 
   13786 # func_arith arithmetic-term...
   13787 func_arith ()
   13788 {
   13789   func_arith_result=$(( $* ))
   13790 }
   13791 
   13792 # func_len string
   13793 # STRING may not start with a hyphen.
   13794 func_len ()
   13795 {
   13796   func_len_result=${#1}
   13797 }
   13798 
   13799 _LT_EOF
   13800     ;;
   13801   *) # Bourne compatible functions.
   13802     cat << \_LT_EOF >> "$cfgfile"
   13803 
   13804 # func_dirname file append nondir_replacement
   13805 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13806 # otherwise set result to NONDIR_REPLACEMENT.
   13807 func_dirname ()
   13808 {
   13809   # Extract subdirectory from the argument.
   13810   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   13811   if test "X$func_dirname_result" = "X${1}"; then
   13812     func_dirname_result="${3}"
   13813   else
   13814     func_dirname_result="$func_dirname_result${2}"
   13815   fi
   13816 }
   13817 
   13818 # func_basename file
   13819 func_basename ()
   13820 {
   13821   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   13822 }
   13823 
   13824 
   13825 # func_stripname prefix suffix name
   13826 # strip PREFIX and SUFFIX off of NAME.
   13827 # PREFIX and SUFFIX must not contain globbing or regex special
   13828 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13829 # dot (in which case that matches only a dot).
   13830 # func_strip_suffix prefix name
   13831 func_stripname ()
   13832 {
   13833   case ${2} in
   13834     .*) func_stripname_result=`$ECHO "X${3}" \
   13835            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   13836     *)  func_stripname_result=`$ECHO "X${3}" \
   13837            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   13838   esac
   13839 }
   13840 
   13841 # sed scripts:
   13842 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13843 my_sed_long_arg='1s/^-[^=]*=//'
   13844 
   13845 # func_opt_split
   13846 func_opt_split ()
   13847 {
   13848   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   13849   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   13850 }
   13851 
   13852 # func_lo2o object
   13853 func_lo2o ()
   13854 {
   13855   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   13856 }
   13857 
   13858 # func_xform libobj-or-source
   13859 func_xform ()
   13860 {
   13861   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   13862 }
   13863 
   13864 # func_arith arithmetic-term...
   13865 func_arith ()
   13866 {
   13867   func_arith_result=`expr "$@"`
   13868 }
   13869 
   13870 # func_len string
   13871 # STRING may not start with a hyphen.
   13872 func_len ()
   13873 {
   13874   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   13875 }
   13876 
   13877 _LT_EOF
   13878 esac
   13879 
   13880 case $lt_shell_append in
   13881   yes)
   13882     cat << \_LT_EOF >> "$cfgfile"
   13883 
   13884 # func_append var value
   13885 # Append VALUE to the end of shell variable VAR.
   13886 func_append ()
   13887 {
   13888   eval "$1+=\$2"
   13889 }
   13890 _LT_EOF
   13891     ;;
   13892   *)
   13893     cat << \_LT_EOF >> "$cfgfile"
   13894 
   13895 # func_append var value
   13896 # Append VALUE to the end of shell variable VAR.
   13897 func_append ()
   13898 {
   13899   eval "$1=\$$1\$2"
   13900 }
   13901 
   13902 _LT_EOF
   13903     ;;
   13904   esac
   13905 
   13906 
   13907   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   13908     || (rm -f "$cfgfile"; exit 1)
   13909 
   13910   mv -f "$cfgfile" "$ofile" ||
   13911     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   13912   chmod +x "$ofile"
   13913 
   13914  ;;
   13915 
   13916   esac
   13917 done # for ac_tag
   13918 
   13919 
   13920 { (exit 0); exit 0; }
   13921 _ACEOF
   13922 chmod +x $CONFIG_STATUS
   13923 ac_clean_files=$ac_clean_files_save
   13924 
   13925 test $ac_write_fail = 0 ||
   13926   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   13927 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   13928    { (exit 1); exit 1; }; }
   13929 
   13930 
   13931 # configure is writing to config.log, and then calls config.status.
   13932 # config.status does its own redirection, appending to config.log.
   13933 # Unfortunately, on DOS this fails, as config.log is still kept open
   13934 # by configure, so config.status won't be able to write to it; its
   13935 # output is simply discarded.  So we exec the FD to /dev/null,
   13936 # effectively closing config.log, so it can be properly (re)opened and
   13937 # appended to by config.status.  When coming back to configure, we
   13938 # need to make the FD available again.
   13939 if test "$no_create" != yes; then
   13940   ac_cs_success=:
   13941   ac_config_status_args=
   13942   test "$silent" = yes &&
   13943     ac_config_status_args="$ac_config_status_args --quiet"
   13944   exec 5>/dev/null
   13945   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13946   exec 5>>config.log
   13947   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13948   # would make configure fail if this is the last instruction.
   13949   $ac_cs_success || { (exit 1); exit 1; }
   13950 fi
   13951 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13952   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13953 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13954 fi
   13955 
   13956