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 libXdmcp 1.0.3.
      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='libXdmcp'
    747 PACKAGE_TARNAME='libXdmcp'
    748 PACKAGE_VERSION='1.0.3'
    749 PACKAGE_STRING='libXdmcp 1.0.3'
    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='am__EXEEXT_FALSE
    789 am__EXEEXT_TRUE
    790 LTLIBOBJS
    791 LIBOBJS
    792 MAKE_LINT_LIB_FALSE
    793 MAKE_LINT_LIB_TRUE
    794 LINTLIB
    795 LINT_FALSE
    796 LINT_TRUE
    797 LINT_FLAGS
    798 LINT
    799 HASXDMAUTH_FALSE
    800 HASXDMAUTH_TRUE
    801 ADMIN_MAN_DIR
    802 DRIVER_MAN_DIR
    803 MISC_MAN_DIR
    804 FILE_MAN_DIR
    805 LIB_MAN_DIR
    806 APP_MAN_DIR
    807 ADMIN_MAN_SUFFIX
    808 DRIVER_MAN_SUFFIX
    809 MISC_MAN_SUFFIX
    810 FILE_MAN_SUFFIX
    811 LIB_MAN_SUFFIX
    812 APP_MAN_SUFFIX
    813 distcleancheck_listfiles
    814 CHANGELOG_CMD
    815 AM_BACKSLASH
    816 AM_DEFAULT_VERBOSITY
    817 CWARNFLAGS
    818 XDMCP_LIBS
    819 XDMCP_CFLAGS
    820 PKG_CONFIG
    821 CPP
    822 OTOOL64
    823 OTOOL
    824 LIPO
    825 NMEDIT
    826 DSYMUTIL
    827 lt_ECHO
    828 RANLIB
    829 AR
    830 NM
    831 ac_ct_DUMPBIN
    832 DUMPBIN
    833 LD
    834 FGREP
    835 EGREP
    836 GREP
    837 SED
    838 LIBTOOL
    839 OBJDUMP
    840 DLLTOOL
    841 AS
    842 host_os
    843 host_vendor
    844 host_cpu
    845 host
    846 build_os
    847 build_vendor
    848 build_cpu
    849 build
    850 LN_S
    851 am__fastdepCC_FALSE
    852 am__fastdepCC_TRUE
    853 CCDEPMODE
    854 AMDEPBACKSLASH
    855 AMDEP_FALSE
    856 AMDEP_TRUE
    857 am__quote
    858 am__include
    859 DEPDIR
    860 OBJEXT
    861 EXEEXT
    862 ac_ct_CC
    863 CPPFLAGS
    864 LDFLAGS
    865 CFLAGS
    866 CC
    867 MAINT
    868 MAINTAINER_MODE_FALSE
    869 MAINTAINER_MODE_TRUE
    870 am__untar
    871 am__tar
    872 AMTAR
    873 am__leading_dot
    874 SET_MAKE
    875 AWK
    876 mkdir_p
    877 MKDIR_P
    878 INSTALL_STRIP_PROGRAM
    879 STRIP
    880 install_sh
    881 MAKEINFO
    882 AUTOHEADER
    883 AUTOMAKE
    884 AUTOCONF
    885 ACLOCAL
    886 VERSION
    887 PACKAGE
    888 CYGPATH_W
    889 am__isrc
    890 INSTALL_DATA
    891 INSTALL_SCRIPT
    892 INSTALL_PROGRAM
    893 target_alias
    894 host_alias
    895 build_alias
    896 LIBS
    897 ECHO_T
    898 ECHO_N
    899 ECHO_C
    900 DEFS
    901 mandir
    902 localedir
    903 libdir
    904 psdir
    905 pdfdir
    906 dvidir
    907 htmldir
    908 infodir
    909 docdir
    910 oldincludedir
    911 includedir
    912 localstatedir
    913 sharedstatedir
    914 sysconfdir
    915 datadir
    916 datarootdir
    917 libexecdir
    918 sbindir
    919 bindir
    920 program_transform_name
    921 prefix
    922 exec_prefix
    923 PACKAGE_BUGREPORT
    924 PACKAGE_STRING
    925 PACKAGE_VERSION
    926 PACKAGE_TARNAME
    927 PACKAGE_NAME
    928 PATH_SEPARATOR
    929 SHELL'
    930 ac_subst_files=''
    931 ac_user_opts='
    932 enable_option_checking
    933 enable_maintainer_mode
    934 enable_dependency_tracking
    935 enable_shared
    936 enable_static
    937 with_pic
    938 enable_fast_install
    939 with_gnu_ld
    940 enable_libtool_lock
    941 enable_silent_rules
    942 enable_strict_compilation
    943 with_release_version
    944 with_lint
    945 enable_lint_library
    946 '
    947       ac_precious_vars='build_alias
    948 host_alias
    949 target_alias
    950 CC
    951 CFLAGS
    952 LDFLAGS
    953 LIBS
    954 CPPFLAGS
    955 CPP
    956 PKG_CONFIG
    957 XDMCP_CFLAGS
    958 XDMCP_LIBS'
    959 
    960 
    961 # Initialize some variables set by options.
    962 ac_init_help=
    963 ac_init_version=false
    964 ac_unrecognized_opts=
    965 ac_unrecognized_sep=
    966 # The variables have the same names as the options, with
    967 # dashes changed to underlines.
    968 cache_file=/dev/null
    969 exec_prefix=NONE
    970 no_create=
    971 no_recursion=
    972 prefix=NONE
    973 program_prefix=NONE
    974 program_suffix=NONE
    975 program_transform_name=s,x,x,
    976 silent=
    977 site=
    978 srcdir=
    979 verbose=
    980 x_includes=NONE
    981 x_libraries=NONE
    982 
    983 # Installation directory options.
    984 # These are left unexpanded so users can "make install exec_prefix=/foo"
    985 # and all the variables that are supposed to be based on exec_prefix
    986 # by default will actually change.
    987 # Use braces instead of parens because sh, perl, etc. also accept them.
    988 # (The list follows the same order as the GNU Coding Standards.)
    989 bindir='${exec_prefix}/bin'
    990 sbindir='${exec_prefix}/sbin'
    991 libexecdir='${exec_prefix}/libexec'
    992 datarootdir='${prefix}/share'
    993 datadir='${datarootdir}'
    994 sysconfdir='${prefix}/etc'
    995 sharedstatedir='${prefix}/com'
    996 localstatedir='${prefix}/var'
    997 includedir='${prefix}/include'
    998 oldincludedir='/usr/include'
    999 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1000 infodir='${datarootdir}/info'
   1001 htmldir='${docdir}'
   1002 dvidir='${docdir}'
   1003 pdfdir='${docdir}'
   1004 psdir='${docdir}'
   1005 libdir='${exec_prefix}/lib'
   1006 localedir='${datarootdir}/locale'
   1007 mandir='${datarootdir}/man'
   1008 
   1009 ac_prev=
   1010 ac_dashdash=
   1011 for ac_option
   1012 do
   1013   # If the previous option needs an argument, assign it.
   1014   if test -n "$ac_prev"; then
   1015     eval $ac_prev=\$ac_option
   1016     ac_prev=
   1017     continue
   1018   fi
   1019 
   1020   case $ac_option in
   1021   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1022   *)	ac_optarg=yes ;;
   1023   esac
   1024 
   1025   # Accept the important Cygnus configure options, so we can diagnose typos.
   1026 
   1027   case $ac_dashdash$ac_option in
   1028   --)
   1029     ac_dashdash=yes ;;
   1030 
   1031   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1032     ac_prev=bindir ;;
   1033   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1034     bindir=$ac_optarg ;;
   1035 
   1036   -build | --build | --buil | --bui | --bu)
   1037     ac_prev=build_alias ;;
   1038   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1039     build_alias=$ac_optarg ;;
   1040 
   1041   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1042   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1043     ac_prev=cache_file ;;
   1044   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1045   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1046     cache_file=$ac_optarg ;;
   1047 
   1048   --config-cache | -C)
   1049     cache_file=config.cache ;;
   1050 
   1051   -datadir | --datadir | --datadi | --datad)
   1052     ac_prev=datadir ;;
   1053   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1054     datadir=$ac_optarg ;;
   1055 
   1056   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1057   | --dataroo | --dataro | --datar)
   1058     ac_prev=datarootdir ;;
   1059   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1060   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1061     datarootdir=$ac_optarg ;;
   1062 
   1063   -disable-* | --disable-*)
   1064     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1065     # Reject names that are not valid shell variable names.
   1066     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1067       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1068    { (exit 1); exit 1; }; }
   1069     ac_useropt_orig=$ac_useropt
   1070     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1071     case $ac_user_opts in
   1072       *"
   1073 "enable_$ac_useropt"
   1074 "*) ;;
   1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1076 	 ac_unrecognized_sep=', ';;
   1077     esac
   1078     eval enable_$ac_useropt=no ;;
   1079 
   1080   -docdir | --docdir | --docdi | --doc | --do)
   1081     ac_prev=docdir ;;
   1082   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1083     docdir=$ac_optarg ;;
   1084 
   1085   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1086     ac_prev=dvidir ;;
   1087   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1088     dvidir=$ac_optarg ;;
   1089 
   1090   -enable-* | --enable-*)
   1091     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1092     # Reject names that are not valid shell variable names.
   1093     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1094       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1095    { (exit 1); exit 1; }; }
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "enable_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval enable_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1108   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1109   | --exec | --exe | --ex)
   1110     ac_prev=exec_prefix ;;
   1111   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1112   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1113   | --exec=* | --exe=* | --ex=*)
   1114     exec_prefix=$ac_optarg ;;
   1115 
   1116   -gas | --gas | --ga | --g)
   1117     # Obsolete; use --with-gas.
   1118     with_gas=yes ;;
   1119 
   1120   -help | --help | --hel | --he | -h)
   1121     ac_init_help=long ;;
   1122   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1123     ac_init_help=recursive ;;
   1124   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1125     ac_init_help=short ;;
   1126 
   1127   -host | --host | --hos | --ho)
   1128     ac_prev=host_alias ;;
   1129   -host=* | --host=* | --hos=* | --ho=*)
   1130     host_alias=$ac_optarg ;;
   1131 
   1132   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1133     ac_prev=htmldir ;;
   1134   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1135   | --ht=*)
   1136     htmldir=$ac_optarg ;;
   1137 
   1138   -includedir | --includedir | --includedi | --included | --include \
   1139   | --includ | --inclu | --incl | --inc)
   1140     ac_prev=includedir ;;
   1141   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1142   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1143     includedir=$ac_optarg ;;
   1144 
   1145   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1146     ac_prev=infodir ;;
   1147   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1148     infodir=$ac_optarg ;;
   1149 
   1150   -libdir | --libdir | --libdi | --libd)
   1151     ac_prev=libdir ;;
   1152   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1153     libdir=$ac_optarg ;;
   1154 
   1155   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1156   | --libexe | --libex | --libe)
   1157     ac_prev=libexecdir ;;
   1158   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1159   | --libexe=* | --libex=* | --libe=*)
   1160     libexecdir=$ac_optarg ;;
   1161 
   1162   -localedir | --localedir | --localedi | --localed | --locale)
   1163     ac_prev=localedir ;;
   1164   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1165     localedir=$ac_optarg ;;
   1166 
   1167   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1168   | --localstate | --localstat | --localsta | --localst | --locals)
   1169     ac_prev=localstatedir ;;
   1170   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1171   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1172     localstatedir=$ac_optarg ;;
   1173 
   1174   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1175     ac_prev=mandir ;;
   1176   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1177     mandir=$ac_optarg ;;
   1178 
   1179   -nfp | --nfp | --nf)
   1180     # Obsolete; use --without-fp.
   1181     with_fp=no ;;
   1182 
   1183   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1184   | --no-cr | --no-c | -n)
   1185     no_create=yes ;;
   1186 
   1187   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1188   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1189     no_recursion=yes ;;
   1190 
   1191   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1192   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1193   | --oldin | --oldi | --old | --ol | --o)
   1194     ac_prev=oldincludedir ;;
   1195   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1196   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1197   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1198     oldincludedir=$ac_optarg ;;
   1199 
   1200   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1201     ac_prev=prefix ;;
   1202   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1203     prefix=$ac_optarg ;;
   1204 
   1205   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1206   | --program-pre | --program-pr | --program-p)
   1207     ac_prev=program_prefix ;;
   1208   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1209   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1210     program_prefix=$ac_optarg ;;
   1211 
   1212   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1213   | --program-suf | --program-su | --program-s)
   1214     ac_prev=program_suffix ;;
   1215   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1216   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1217     program_suffix=$ac_optarg ;;
   1218 
   1219   -program-transform-name | --program-transform-name \
   1220   | --program-transform-nam | --program-transform-na \
   1221   | --program-transform-n | --program-transform- \
   1222   | --program-transform | --program-transfor \
   1223   | --program-transfo | --program-transf \
   1224   | --program-trans | --program-tran \
   1225   | --progr-tra | --program-tr | --program-t)
   1226     ac_prev=program_transform_name ;;
   1227   -program-transform-name=* | --program-transform-name=* \
   1228   | --program-transform-nam=* | --program-transform-na=* \
   1229   | --program-transform-n=* | --program-transform-=* \
   1230   | --program-transform=* | --program-transfor=* \
   1231   | --program-transfo=* | --program-transf=* \
   1232   | --program-trans=* | --program-tran=* \
   1233   | --progr-tra=* | --program-tr=* | --program-t=*)
   1234     program_transform_name=$ac_optarg ;;
   1235 
   1236   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1237     ac_prev=pdfdir ;;
   1238   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1239     pdfdir=$ac_optarg ;;
   1240 
   1241   -psdir | --psdir | --psdi | --psd | --ps)
   1242     ac_prev=psdir ;;
   1243   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1244     psdir=$ac_optarg ;;
   1245 
   1246   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1247   | -silent | --silent | --silen | --sile | --sil)
   1248     silent=yes ;;
   1249 
   1250   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1251     ac_prev=sbindir ;;
   1252   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1253   | --sbi=* | --sb=*)
   1254     sbindir=$ac_optarg ;;
   1255 
   1256   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1257   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1258   | --sharedst | --shareds | --shared | --share | --shar \
   1259   | --sha | --sh)
   1260     ac_prev=sharedstatedir ;;
   1261   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1262   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1263   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1264   | --sha=* | --sh=*)
   1265     sharedstatedir=$ac_optarg ;;
   1266 
   1267   -site | --site | --sit)
   1268     ac_prev=site ;;
   1269   -site=* | --site=* | --sit=*)
   1270     site=$ac_optarg ;;
   1271 
   1272   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1273     ac_prev=srcdir ;;
   1274   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1275     srcdir=$ac_optarg ;;
   1276 
   1277   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1278   | --syscon | --sysco | --sysc | --sys | --sy)
   1279     ac_prev=sysconfdir ;;
   1280   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1281   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1282     sysconfdir=$ac_optarg ;;
   1283 
   1284   -target | --target | --targe | --targ | --tar | --ta | --t)
   1285     ac_prev=target_alias ;;
   1286   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1287     target_alias=$ac_optarg ;;
   1288 
   1289   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1290     verbose=yes ;;
   1291 
   1292   -version | --version | --versio | --versi | --vers | -V)
   1293     ac_init_version=: ;;
   1294 
   1295   -with-* | --with-*)
   1296     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1297     # Reject names that are not valid shell variable names.
   1298     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1299       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1300    { (exit 1); exit 1; }; }
   1301     ac_useropt_orig=$ac_useropt
   1302     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1303     case $ac_user_opts in
   1304       *"
   1305 "with_$ac_useropt"
   1306 "*) ;;
   1307       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1308 	 ac_unrecognized_sep=', ';;
   1309     esac
   1310     eval with_$ac_useropt=\$ac_optarg ;;
   1311 
   1312   -without-* | --without-*)
   1313     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1314     # Reject names that are not valid shell variable names.
   1315     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1316       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1317    { (exit 1); exit 1; }; }
   1318     ac_useropt_orig=$ac_useropt
   1319     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1320     case $ac_user_opts in
   1321       *"
   1322 "with_$ac_useropt"
   1323 "*) ;;
   1324       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1325 	 ac_unrecognized_sep=', ';;
   1326     esac
   1327     eval with_$ac_useropt=no ;;
   1328 
   1329   --x)
   1330     # Obsolete; use --with-x.
   1331     with_x=yes ;;
   1332 
   1333   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1334   | --x-incl | --x-inc | --x-in | --x-i)
   1335     ac_prev=x_includes ;;
   1336   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1337   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1338     x_includes=$ac_optarg ;;
   1339 
   1340   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1341   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1342     ac_prev=x_libraries ;;
   1343   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1344   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1345     x_libraries=$ac_optarg ;;
   1346 
   1347   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1348 Try \`$0 --help' for more information." >&2
   1349    { (exit 1); exit 1; }; }
   1350     ;;
   1351 
   1352   *=*)
   1353     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1354     # Reject names that are not valid shell variable names.
   1355     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1356       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1357    { (exit 1); exit 1; }; }
   1358     eval $ac_envvar=\$ac_optarg
   1359     export $ac_envvar ;;
   1360 
   1361   *)
   1362     # FIXME: should be removed in autoconf 3.0.
   1363     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1364     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1365       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1366     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1367     ;;
   1368 
   1369   esac
   1370 done
   1371 
   1372 if test -n "$ac_prev"; then
   1373   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1374   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1375    { (exit 1); exit 1; }; }
   1376 fi
   1377 
   1378 if test -n "$ac_unrecognized_opts"; then
   1379   case $enable_option_checking in
   1380     no) ;;
   1381     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1382    { (exit 1); exit 1; }; } ;;
   1383     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1384   esac
   1385 fi
   1386 
   1387 # Check all directory arguments for consistency.
   1388 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1389 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1390 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1391 		libdir localedir mandir
   1392 do
   1393   eval ac_val=\$$ac_var
   1394   # Remove trailing slashes.
   1395   case $ac_val in
   1396     */ )
   1397       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1398       eval $ac_var=\$ac_val;;
   1399   esac
   1400   # Be sure to have absolute directory names.
   1401   case $ac_val in
   1402     [\\/$]* | ?:[\\/]* )  continue;;
   1403     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1404   esac
   1405   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1406    { (exit 1); exit 1; }; }
   1407 done
   1408 
   1409 # There might be people who depend on the old broken behavior: `$host'
   1410 # used to hold the argument of --host etc.
   1411 # FIXME: To remove some day.
   1412 build=$build_alias
   1413 host=$host_alias
   1414 target=$target_alias
   1415 
   1416 # FIXME: To remove some day.
   1417 if test "x$host_alias" != x; then
   1418   if test "x$build_alias" = x; then
   1419     cross_compiling=maybe
   1420     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1421     If a cross compiler is detected then cross compile mode will be used." >&2
   1422   elif test "x$build_alias" != "x$host_alias"; then
   1423     cross_compiling=yes
   1424   fi
   1425 fi
   1426 
   1427 ac_tool_prefix=
   1428 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1429 
   1430 test "$silent" = yes && exec 6>/dev/null
   1431 
   1432 
   1433 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1434 ac_ls_di=`ls -di .` &&
   1435 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1436   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1437    { (exit 1); exit 1; }; }
   1438 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1439   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1440    { (exit 1); exit 1; }; }
   1441 
   1442 
   1443 # Find the source files, if location was not specified.
   1444 if test -z "$srcdir"; then
   1445   ac_srcdir_defaulted=yes
   1446   # Try the directory containing this script, then the parent directory.
   1447   ac_confdir=`$as_dirname -- "$as_myself" ||
   1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1449 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1450 	 X"$as_myself" : 'X\(//\)$' \| \
   1451 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1452 $as_echo X"$as_myself" |
   1453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1454 	    s//\1/
   1455 	    q
   1456 	  }
   1457 	  /^X\(\/\/\)[^/].*/{
   1458 	    s//\1/
   1459 	    q
   1460 	  }
   1461 	  /^X\(\/\/\)$/{
   1462 	    s//\1/
   1463 	    q
   1464 	  }
   1465 	  /^X\(\/\).*/{
   1466 	    s//\1/
   1467 	    q
   1468 	  }
   1469 	  s/.*/./; q'`
   1470   srcdir=$ac_confdir
   1471   if test ! -r "$srcdir/$ac_unique_file"; then
   1472     srcdir=..
   1473   fi
   1474 else
   1475   ac_srcdir_defaulted=no
   1476 fi
   1477 if test ! -r "$srcdir/$ac_unique_file"; then
   1478   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1479   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1480    { (exit 1); exit 1; }; }
   1481 fi
   1482 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1483 ac_abs_confdir=`(
   1484 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1485    { (exit 1); exit 1; }; }
   1486 	pwd)`
   1487 # When building in place, set srcdir=.
   1488 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1489   srcdir=.
   1490 fi
   1491 # Remove unnecessary trailing slashes from srcdir.
   1492 # Double slashes in file names in object file debugging info
   1493 # mess up M-x gdb in Emacs.
   1494 case $srcdir in
   1495 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1496 esac
   1497 for ac_var in $ac_precious_vars; do
   1498   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1499   eval ac_env_${ac_var}_value=\$${ac_var}
   1500   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1501   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1502 done
   1503 
   1504 #
   1505 # Report the --help message.
   1506 #
   1507 if test "$ac_init_help" = "long"; then
   1508   # Omit some internal or obsolete options to make the list less imposing.
   1509   # This message is too long to be a string in the A/UX 3.1 sh.
   1510   cat <<_ACEOF
   1511 \`configure' configures libXdmcp 1.0.3 to adapt to many kinds of systems.
   1512 
   1513 Usage: $0 [OPTION]... [VAR=VALUE]...
   1514 
   1515 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1516 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1517 
   1518 Defaults for the options are specified in brackets.
   1519 
   1520 Configuration:
   1521   -h, --help              display this help and exit
   1522       --help=short        display options specific to this package
   1523       --help=recursive    display the short help of all the included packages
   1524   -V, --version           display version information and exit
   1525   -q, --quiet, --silent   do not print \`checking...' messages
   1526       --cache-file=FILE   cache test results in FILE [disabled]
   1527   -C, --config-cache      alias for \`--cache-file=config.cache'
   1528   -n, --no-create         do not create output files
   1529       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1530 
   1531 Installation directories:
   1532   --prefix=PREFIX         install architecture-independent files in PREFIX
   1533                           [$ac_default_prefix]
   1534   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1535                           [PREFIX]
   1536 
   1537 By default, \`make install' will install all the files in
   1538 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1539 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1540 for instance \`--prefix=\$HOME'.
   1541 
   1542 For better control, use the options below.
   1543 
   1544 Fine tuning of the installation directories:
   1545   --bindir=DIR            user executables [EPREFIX/bin]
   1546   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1547   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1548   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1549   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1550   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1551   --libdir=DIR            object code libraries [EPREFIX/lib]
   1552   --includedir=DIR        C header files [PREFIX/include]
   1553   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1554   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1555   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1556   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1557   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1558   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1559   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXdmcp]
   1560   --htmldir=DIR           html documentation [DOCDIR]
   1561   --dvidir=DIR            dvi documentation [DOCDIR]
   1562   --pdfdir=DIR            pdf documentation [DOCDIR]
   1563   --psdir=DIR             ps documentation [DOCDIR]
   1564 _ACEOF
   1565 
   1566   cat <<\_ACEOF
   1567 
   1568 Program names:
   1569   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1570   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1571   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1572 
   1573 System types:
   1574   --build=BUILD     configure for building on BUILD [guessed]
   1575   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1576 _ACEOF
   1577 fi
   1578 
   1579 if test -n "$ac_init_help"; then
   1580   case $ac_init_help in
   1581      short | recursive ) echo "Configuration of libXdmcp 1.0.3:";;
   1582    esac
   1583   cat <<\_ACEOF
   1584 
   1585 Optional Features:
   1586   --disable-option-checking  ignore unrecognized --enable/--with options
   1587   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1588   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1589   --enable-maintainer-mode  enable make rules and dependencies not useful
   1590 			  (and sometimes confusing) to the casual installer
   1591   --disable-dependency-tracking  speeds up one-time build
   1592   --enable-dependency-tracking   do not reject slow dependency extractors
   1593   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1594   --enable-static[=PKGS]  build static libraries [default=yes]
   1595   --enable-fast-install[=PKGS]
   1596                           optimize for fast installation [default=yes]
   1597   --disable-libtool-lock  avoid locking (might break parallel builds)
   1598   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1599   --disable-silent-rules         verbose build output (undo: `make V=0')
   1600   --enable-strict-compilation
   1601                           Enable all warnings from compiler and make them
   1602                           errors (default: disabled)
   1603   --enable-lint-library   Create lint library (default: disabled)
   1604 
   1605 Optional Packages:
   1606   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1607   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1608   --with-pic              try to use only PIC/non-PIC objects [default=use
   1609                           both]
   1610   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1611   --with-release-version=STRING
   1612                           Use release version string in package name
   1613   --with-lint             Use a lint-style source code checker (default:
   1614                           disabled)
   1615 
   1616 Some influential environment variables:
   1617   CC          C compiler command
   1618   CFLAGS      C compiler flags
   1619   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1620               nonstandard directory <lib dir>
   1621   LIBS        libraries to pass to the linker, e.g. -l<library>
   1622   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1623               you have headers in a nonstandard directory <include dir>
   1624   CPP         C preprocessor
   1625   PKG_CONFIG  path to pkg-config utility
   1626   XDMCP_CFLAGS
   1627               C compiler flags for XDMCP, overriding pkg-config
   1628   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1629 
   1630 Use these variables to override the choices made by `configure' or to help
   1631 it to find libraries and programs with nonstandard names/locations.
   1632 
   1633 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1634 _ACEOF
   1635 ac_status=$?
   1636 fi
   1637 
   1638 if test "$ac_init_help" = "recursive"; then
   1639   # If there are subdirs, report their specific --help.
   1640   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1641     test -d "$ac_dir" ||
   1642       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1643       continue
   1644     ac_builddir=.
   1645 
   1646 case "$ac_dir" in
   1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1648 *)
   1649   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1650   # A ".." for each directory in $ac_dir_suffix.
   1651   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1652   case $ac_top_builddir_sub in
   1653   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1655   esac ;;
   1656 esac
   1657 ac_abs_top_builddir=$ac_pwd
   1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1659 # for backward compatibility:
   1660 ac_top_builddir=$ac_top_build_prefix
   1661 
   1662 case $srcdir in
   1663   .)  # We are building in place.
   1664     ac_srcdir=.
   1665     ac_top_srcdir=$ac_top_builddir_sub
   1666     ac_abs_top_srcdir=$ac_pwd ;;
   1667   [\\/]* | ?:[\\/]* )  # Absolute name.
   1668     ac_srcdir=$srcdir$ac_dir_suffix;
   1669     ac_top_srcdir=$srcdir
   1670     ac_abs_top_srcdir=$srcdir ;;
   1671   *) # Relative name.
   1672     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1673     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1674     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1675 esac
   1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1677 
   1678     cd "$ac_dir" || { ac_status=$?; continue; }
   1679     # Check for guested configure.
   1680     if test -f "$ac_srcdir/configure.gnu"; then
   1681       echo &&
   1682       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1683     elif test -f "$ac_srcdir/configure"; then
   1684       echo &&
   1685       $SHELL "$ac_srcdir/configure" --help=recursive
   1686     else
   1687       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1688     fi || ac_status=$?
   1689     cd "$ac_pwd" || { ac_status=$?; break; }
   1690   done
   1691 fi
   1692 
   1693 test -n "$ac_init_help" && exit $ac_status
   1694 if $ac_init_version; then
   1695   cat <<\_ACEOF
   1696 libXdmcp configure 1.0.3
   1697 generated by GNU Autoconf 2.63
   1698 
   1699 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1700 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1701 This configure script is free software; the Free Software Foundation
   1702 gives unlimited permission to copy, distribute and modify it.
   1703 _ACEOF
   1704   exit
   1705 fi
   1706 cat >config.log <<_ACEOF
   1707 This file contains any messages produced by compilers while
   1708 running configure, to aid debugging if configure makes a mistake.
   1709 
   1710 It was created by libXdmcp $as_me 1.0.3, which was
   1711 generated by GNU Autoconf 2.63.  Invocation command line was
   1712 
   1713   $ $0 $@
   1714 
   1715 _ACEOF
   1716 exec 5>>config.log
   1717 {
   1718 cat <<_ASUNAME
   1719 ## --------- ##
   1720 ## Platform. ##
   1721 ## --------- ##
   1722 
   1723 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1724 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1725 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1726 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1727 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1728 
   1729 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1730 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1731 
   1732 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1733 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1734 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1735 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1736 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1737 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1738 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1739 
   1740 _ASUNAME
   1741 
   1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1743 for as_dir in $PATH
   1744 do
   1745   IFS=$as_save_IFS
   1746   test -z "$as_dir" && as_dir=.
   1747   $as_echo "PATH: $as_dir"
   1748 done
   1749 IFS=$as_save_IFS
   1750 
   1751 } >&5
   1752 
   1753 cat >&5 <<_ACEOF
   1754 
   1755 
   1756 ## ----------- ##
   1757 ## Core tests. ##
   1758 ## ----------- ##
   1759 
   1760 _ACEOF
   1761 
   1762 
   1763 # Keep a trace of the command line.
   1764 # Strip out --no-create and --no-recursion so they do not pile up.
   1765 # Strip out --silent because we don't want to record it for future runs.
   1766 # Also quote any args containing shell meta-characters.
   1767 # Make two passes to allow for proper duplicate-argument suppression.
   1768 ac_configure_args=
   1769 ac_configure_args0=
   1770 ac_configure_args1=
   1771 ac_must_keep_next=false
   1772 for ac_pass in 1 2
   1773 do
   1774   for ac_arg
   1775   do
   1776     case $ac_arg in
   1777     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1778     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1779     | -silent | --silent | --silen | --sile | --sil)
   1780       continue ;;
   1781     *\'*)
   1782       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1783     esac
   1784     case $ac_pass in
   1785     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1786     2)
   1787       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1788       if test $ac_must_keep_next = true; then
   1789 	ac_must_keep_next=false # Got value, back to normal.
   1790       else
   1791 	case $ac_arg in
   1792 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1793 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1794 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1795 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1796 	    case "$ac_configure_args0 " in
   1797 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1798 	    esac
   1799 	    ;;
   1800 	  -* ) ac_must_keep_next=true ;;
   1801 	esac
   1802       fi
   1803       ac_configure_args="$ac_configure_args '$ac_arg'"
   1804       ;;
   1805     esac
   1806   done
   1807 done
   1808 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1809 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1810 
   1811 # When interrupted or exit'd, cleanup temporary files, and complete
   1812 # config.log.  We remove comments because anyway the quotes in there
   1813 # would cause problems or look ugly.
   1814 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1815 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1816 trap 'exit_status=$?
   1817   # Save into config.log some information that might help in debugging.
   1818   {
   1819     echo
   1820 
   1821     cat <<\_ASBOX
   1822 ## ---------------- ##
   1823 ## Cache variables. ##
   1824 ## ---------------- ##
   1825 _ASBOX
   1826     echo
   1827     # The following way of writing the cache mishandles newlines in values,
   1828 (
   1829   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1830     eval ac_val=\$$ac_var
   1831     case $ac_val in #(
   1832     *${as_nl}*)
   1833       case $ac_var in #(
   1834       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1836       esac
   1837       case $ac_var in #(
   1838       _ | IFS | as_nl) ;; #(
   1839       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1840       *) $as_unset $ac_var ;;
   1841       esac ;;
   1842     esac
   1843   done
   1844   (set) 2>&1 |
   1845     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1846     *${as_nl}ac_space=\ *)
   1847       sed -n \
   1848 	"s/'\''/'\''\\\\'\'''\''/g;
   1849 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1850       ;; #(
   1851     *)
   1852       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1853       ;;
   1854     esac |
   1855     sort
   1856 )
   1857     echo
   1858 
   1859     cat <<\_ASBOX
   1860 ## ----------------- ##
   1861 ## Output variables. ##
   1862 ## ----------------- ##
   1863 _ASBOX
   1864     echo
   1865     for ac_var in $ac_subst_vars
   1866     do
   1867       eval ac_val=\$$ac_var
   1868       case $ac_val in
   1869       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1870       esac
   1871       $as_echo "$ac_var='\''$ac_val'\''"
   1872     done | sort
   1873     echo
   1874 
   1875     if test -n "$ac_subst_files"; then
   1876       cat <<\_ASBOX
   1877 ## ------------------- ##
   1878 ## File substitutions. ##
   1879 ## ------------------- ##
   1880 _ASBOX
   1881       echo
   1882       for ac_var in $ac_subst_files
   1883       do
   1884 	eval ac_val=\$$ac_var
   1885 	case $ac_val in
   1886 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1887 	esac
   1888 	$as_echo "$ac_var='\''$ac_val'\''"
   1889       done | sort
   1890       echo
   1891     fi
   1892 
   1893     if test -s confdefs.h; then
   1894       cat <<\_ASBOX
   1895 ## ----------- ##
   1896 ## confdefs.h. ##
   1897 ## ----------- ##
   1898 _ASBOX
   1899       echo
   1900       cat confdefs.h
   1901       echo
   1902     fi
   1903     test "$ac_signal" != 0 &&
   1904       $as_echo "$as_me: caught signal $ac_signal"
   1905     $as_echo "$as_me: exit $exit_status"
   1906   } >&5
   1907   rm -f core *.core core.conftest.* &&
   1908     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1909     exit $exit_status
   1910 ' 0
   1911 for ac_signal in 1 2 13 15; do
   1912   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1913 done
   1914 ac_signal=0
   1915 
   1916 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1917 rm -f -r conftest* confdefs.h
   1918 
   1919 # Predefined preprocessor variables.
   1920 
   1921 cat >>confdefs.h <<_ACEOF
   1922 #define PACKAGE_NAME "$PACKAGE_NAME"
   1923 _ACEOF
   1924 
   1925 
   1926 cat >>confdefs.h <<_ACEOF
   1927 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1928 _ACEOF
   1929 
   1930 
   1931 cat >>confdefs.h <<_ACEOF
   1932 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1933 _ACEOF
   1934 
   1935 
   1936 cat >>confdefs.h <<_ACEOF
   1937 #define PACKAGE_STRING "$PACKAGE_STRING"
   1938 _ACEOF
   1939 
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1943 _ACEOF
   1944 
   1945 
   1946 # Let the site file select an alternate cache file if it wants to.
   1947 # Prefer an explicitly selected file to automatically selected ones.
   1948 ac_site_file1=NONE
   1949 ac_site_file2=NONE
   1950 if test -n "$CONFIG_SITE"; then
   1951   ac_site_file1=$CONFIG_SITE
   1952 elif test "x$prefix" != xNONE; then
   1953   ac_site_file1=$prefix/share/config.site
   1954   ac_site_file2=$prefix/etc/config.site
   1955 else
   1956   ac_site_file1=$ac_default_prefix/share/config.site
   1957   ac_site_file2=$ac_default_prefix/etc/config.site
   1958 fi
   1959 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1960 do
   1961   test "x$ac_site_file" = xNONE && continue
   1962   if test -r "$ac_site_file"; then
   1963     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1964 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1965     sed 's/^/| /' "$ac_site_file" >&5
   1966     . "$ac_site_file"
   1967   fi
   1968 done
   1969 
   1970 if test -r "$cache_file"; then
   1971   # Some versions of bash will fail to source /dev/null (special
   1972   # files actually), so we avoid doing that.
   1973   if test -f "$cache_file"; then
   1974     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1975 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1976     case $cache_file in
   1977       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1978       *)                      . "./$cache_file";;
   1979     esac
   1980   fi
   1981 else
   1982   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1983 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1984   >$cache_file
   1985 fi
   1986 
   1987 # Check that the precious variables saved in the cache have kept the same
   1988 # value.
   1989 ac_cache_corrupted=false
   1990 for ac_var in $ac_precious_vars; do
   1991   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1992   eval ac_new_set=\$ac_env_${ac_var}_set
   1993   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1994   eval ac_new_val=\$ac_env_${ac_var}_value
   1995   case $ac_old_set,$ac_new_set in
   1996     set,)
   1997       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1998 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1999       ac_cache_corrupted=: ;;
   2000     ,set)
   2001       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2002 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2003       ac_cache_corrupted=: ;;
   2004     ,);;
   2005     *)
   2006       if test "x$ac_old_val" != "x$ac_new_val"; then
   2007 	# differences in whitespace do not lead to failure.
   2008 	ac_old_val_w=`echo x $ac_old_val`
   2009 	ac_new_val_w=`echo x $ac_new_val`
   2010 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2011 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2012 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2013 	  ac_cache_corrupted=:
   2014 	else
   2015 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2016 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2017 	  eval $ac_var=\$ac_old_val
   2018 	fi
   2019 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2020 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2021 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2022 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2023       fi;;
   2024   esac
   2025   # Pass precious variables to config.status.
   2026   if test "$ac_new_set" = set; then
   2027     case $ac_new_val in
   2028     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2029     *) ac_arg=$ac_var=$ac_new_val ;;
   2030     esac
   2031     case " $ac_configure_args " in
   2032       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2033       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2034     esac
   2035   fi
   2036 done
   2037 if $ac_cache_corrupted; then
   2038   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2040   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2041 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2042   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2043 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2044    { (exit 1); exit 1; }; }
   2045 fi
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 ac_ext=c
   2072 ac_cpp='$CPP $CPPFLAGS'
   2073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2076 
   2077 
   2078 am__api_version='1.11'
   2079 
   2080 ac_aux_dir=
   2081 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2082   if test -f "$ac_dir/install-sh"; then
   2083     ac_aux_dir=$ac_dir
   2084     ac_install_sh="$ac_aux_dir/install-sh -c"
   2085     break
   2086   elif test -f "$ac_dir/install.sh"; then
   2087     ac_aux_dir=$ac_dir
   2088     ac_install_sh="$ac_aux_dir/install.sh -c"
   2089     break
   2090   elif test -f "$ac_dir/shtool"; then
   2091     ac_aux_dir=$ac_dir
   2092     ac_install_sh="$ac_aux_dir/shtool install -c"
   2093     break
   2094   fi
   2095 done
   2096 if test -z "$ac_aux_dir"; then
   2097   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2098 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2099    { (exit 1); exit 1; }; }
   2100 fi
   2101 
   2102 # These three variables are undocumented and unsupported,
   2103 # and are intended to be withdrawn in a future Autoconf release.
   2104 # They can cause serious problems if a builder's source tree is in a directory
   2105 # whose full name contains unusual characters.
   2106 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2107 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2108 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2109 
   2110 
   2111 # Find a good install program.  We prefer a C program (faster),
   2112 # so one script is as good as another.  But avoid the broken or
   2113 # incompatible versions:
   2114 # SysV /etc/install, /usr/sbin/install
   2115 # SunOS /usr/etc/install
   2116 # IRIX /sbin/install
   2117 # AIX /bin/install
   2118 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2119 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2120 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2121 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2122 # OS/2's system install, which has a completely different semantic
   2123 # ./install, which can be erroneously created by make from ./install.sh.
   2124 # Reject install programs that cannot install multiple files.
   2125 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2126 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2127 if test -z "$INSTALL"; then
   2128 if test "${ac_cv_path_install+set}" = set; then
   2129   $as_echo_n "(cached) " >&6
   2130 else
   2131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2132 for as_dir in $PATH
   2133 do
   2134   IFS=$as_save_IFS
   2135   test -z "$as_dir" && as_dir=.
   2136   # Account for people who put trailing slashes in PATH elements.
   2137 case $as_dir/ in
   2138   ./ | .// | /cC/* | \
   2139   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2140   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2141   /usr/ucb/* ) ;;
   2142   *)
   2143     # OSF1 and SCO ODT 3.0 have their own names for install.
   2144     # Don't use installbsd from OSF since it installs stuff as root
   2145     # by default.
   2146     for ac_prog in ginstall scoinst install; do
   2147       for ac_exec_ext in '' $ac_executable_extensions; do
   2148 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2149 	  if test $ac_prog = install &&
   2150 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2151 	    # AIX install.  It has an incompatible calling convention.
   2152 	    :
   2153 	  elif test $ac_prog = install &&
   2154 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2155 	    # program-specific install script used by HP pwplus--don't use.
   2156 	    :
   2157 	  else
   2158 	    rm -rf conftest.one conftest.two conftest.dir
   2159 	    echo one > conftest.one
   2160 	    echo two > conftest.two
   2161 	    mkdir conftest.dir
   2162 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2163 	      test -s conftest.one && test -s conftest.two &&
   2164 	      test -s conftest.dir/conftest.one &&
   2165 	      test -s conftest.dir/conftest.two
   2166 	    then
   2167 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2168 	      break 3
   2169 	    fi
   2170 	  fi
   2171 	fi
   2172       done
   2173     done
   2174     ;;
   2175 esac
   2176 
   2177 done
   2178 IFS=$as_save_IFS
   2179 
   2180 rm -rf conftest.one conftest.two conftest.dir
   2181 
   2182 fi
   2183   if test "${ac_cv_path_install+set}" = set; then
   2184     INSTALL=$ac_cv_path_install
   2185   else
   2186     # As a last resort, use the slow shell script.  Don't cache a
   2187     # value for INSTALL within a source directory, because that will
   2188     # break other packages using the cache if that directory is
   2189     # removed, or if the value is a relative name.
   2190     INSTALL=$ac_install_sh
   2191   fi
   2192 fi
   2193 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2194 $as_echo "$INSTALL" >&6; }
   2195 
   2196 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2197 # It thinks the first close brace ends the variable substitution.
   2198 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2199 
   2200 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2201 
   2202 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2203 
   2204 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2205 $as_echo_n "checking whether build environment is sane... " >&6; }
   2206 # Just in case
   2207 sleep 1
   2208 echo timestamp > conftest.file
   2209 # Reject unsafe characters in $srcdir or the absolute working directory
   2210 # name.  Accept space and tab only in the latter.
   2211 am_lf='
   2212 '
   2213 case `pwd` in
   2214   *[\\\"\#\$\&\'\`$am_lf]*)
   2215     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2216 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2217    { (exit 1); exit 1; }; };;
   2218 esac
   2219 case $srcdir in
   2220   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2221     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2222 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2223    { (exit 1); exit 1; }; };;
   2224 esac
   2225 
   2226 # Do `set' in a subshell so we don't clobber the current shell's
   2227 # arguments.  Must try -L first in case configure is actually a
   2228 # symlink; some systems play weird games with the mod time of symlinks
   2229 # (eg FreeBSD returns the mod time of the symlink's containing
   2230 # directory).
   2231 if (
   2232    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2233    if test "$*" = "X"; then
   2234       # -L didn't work.
   2235       set X `ls -t "$srcdir/configure" conftest.file`
   2236    fi
   2237    rm -f conftest.file
   2238    if test "$*" != "X $srcdir/configure conftest.file" \
   2239       && test "$*" != "X conftest.file $srcdir/configure"; then
   2240 
   2241       # If neither matched, then we have a broken ls.  This can happen
   2242       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2243       # broken ls alias from the environment.  This has actually
   2244       # happened.  Such a system could not be considered "sane".
   2245       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2246 alias in your environment" >&5
   2247 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2248 alias in your environment" >&2;}
   2249    { (exit 1); exit 1; }; }
   2250    fi
   2251 
   2252    test "$2" = conftest.file
   2253    )
   2254 then
   2255    # Ok.
   2256    :
   2257 else
   2258    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2259 Check your system clock" >&5
   2260 $as_echo "$as_me: error: newly created file is older than distributed files!
   2261 Check your system clock" >&2;}
   2262    { (exit 1); exit 1; }; }
   2263 fi
   2264 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2265 $as_echo "yes" >&6; }
   2266 test "$program_prefix" != NONE &&
   2267   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2268 # Use a double $ so make ignores it.
   2269 test "$program_suffix" != NONE &&
   2270   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2271 # Double any \ or $.
   2272 # By default was `s,x,x', remove it if useless.
   2273 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2274 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2275 
   2276 # expand $ac_aux_dir to an absolute path
   2277 am_aux_dir=`cd $ac_aux_dir && pwd`
   2278 
   2279 if test x"${MISSING+set}" != xset; then
   2280   case $am_aux_dir in
   2281   *\ * | *\	*)
   2282     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2283   *)
   2284     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2285   esac
   2286 fi
   2287 # Use eval to expand $SHELL
   2288 if eval "$MISSING --run true"; then
   2289   am_missing_run="$MISSING --run "
   2290 else
   2291   am_missing_run=
   2292   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2293 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2294 fi
   2295 
   2296 if test x"${install_sh}" != xset; then
   2297   case $am_aux_dir in
   2298   *\ * | *\	*)
   2299     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2300   *)
   2301     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2302   esac
   2303 fi
   2304 
   2305 # Installed binaries are usually stripped using `strip' when the user
   2306 # run `make install-strip'.  However `strip' might not be the right
   2307 # tool to use in cross-compilation environments, therefore Automake
   2308 # will honor the `STRIP' environment variable to overrule this program.
   2309 if test "$cross_compiling" != no; then
   2310   if test -n "$ac_tool_prefix"; then
   2311   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2312 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2314 $as_echo_n "checking for $ac_word... " >&6; }
   2315 if test "${ac_cv_prog_STRIP+set}" = set; then
   2316   $as_echo_n "(cached) " >&6
   2317 else
   2318   if test -n "$STRIP"; then
   2319   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2320 else
   2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2322 for as_dir in $PATH
   2323 do
   2324   IFS=$as_save_IFS
   2325   test -z "$as_dir" && as_dir=.
   2326   for ac_exec_ext in '' $ac_executable_extensions; do
   2327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2328     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2329     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2330     break 2
   2331   fi
   2332 done
   2333 done
   2334 IFS=$as_save_IFS
   2335 
   2336 fi
   2337 fi
   2338 STRIP=$ac_cv_prog_STRIP
   2339 if test -n "$STRIP"; then
   2340   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2341 $as_echo "$STRIP" >&6; }
   2342 else
   2343   { $as_echo "$as_me:$LINENO: result: no" >&5
   2344 $as_echo "no" >&6; }
   2345 fi
   2346 
   2347 
   2348 fi
   2349 if test -z "$ac_cv_prog_STRIP"; then
   2350   ac_ct_STRIP=$STRIP
   2351   # Extract the first word of "strip", so it can be a program name with args.
   2352 set dummy strip; ac_word=$2
   2353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2354 $as_echo_n "checking for $ac_word... " >&6; }
   2355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2356   $as_echo_n "(cached) " >&6
   2357 else
   2358   if test -n "$ac_ct_STRIP"; then
   2359   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2360 else
   2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2362 for as_dir in $PATH
   2363 do
   2364   IFS=$as_save_IFS
   2365   test -z "$as_dir" && as_dir=.
   2366   for ac_exec_ext in '' $ac_executable_extensions; do
   2367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2368     ac_cv_prog_ac_ct_STRIP="strip"
   2369     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2370     break 2
   2371   fi
   2372 done
   2373 done
   2374 IFS=$as_save_IFS
   2375 
   2376 fi
   2377 fi
   2378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2379 if test -n "$ac_ct_STRIP"; then
   2380   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2381 $as_echo "$ac_ct_STRIP" >&6; }
   2382 else
   2383   { $as_echo "$as_me:$LINENO: result: no" >&5
   2384 $as_echo "no" >&6; }
   2385 fi
   2386 
   2387   if test "x$ac_ct_STRIP" = x; then
   2388     STRIP=":"
   2389   else
   2390     case $cross_compiling:$ac_tool_warned in
   2391 yes:)
   2392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2394 ac_tool_warned=yes ;;
   2395 esac
   2396     STRIP=$ac_ct_STRIP
   2397   fi
   2398 else
   2399   STRIP="$ac_cv_prog_STRIP"
   2400 fi
   2401 
   2402 fi
   2403 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2404 
   2405 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2406 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2407 if test -z "$MKDIR_P"; then
   2408   if test "${ac_cv_path_mkdir+set}" = set; then
   2409   $as_echo_n "(cached) " >&6
   2410 else
   2411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2413 do
   2414   IFS=$as_save_IFS
   2415   test -z "$as_dir" && as_dir=.
   2416   for ac_prog in mkdir gmkdir; do
   2417 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2418 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2419 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2420 	     'mkdir (GNU coreutils) '* | \
   2421 	     'mkdir (coreutils) '* | \
   2422 	     'mkdir (fileutils) '4.1*)
   2423 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2424 	       break 3;;
   2425 	   esac
   2426 	 done
   2427        done
   2428 done
   2429 IFS=$as_save_IFS
   2430 
   2431 fi
   2432 
   2433   if test "${ac_cv_path_mkdir+set}" = set; then
   2434     MKDIR_P="$ac_cv_path_mkdir -p"
   2435   else
   2436     # As a last resort, use the slow shell script.  Don't cache a
   2437     # value for MKDIR_P within a source directory, because that will
   2438     # break other packages using the cache if that directory is
   2439     # removed, or if the value is a relative name.
   2440     test -d ./--version && rmdir ./--version
   2441     MKDIR_P="$ac_install_sh -d"
   2442   fi
   2443 fi
   2444 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2445 $as_echo "$MKDIR_P" >&6; }
   2446 
   2447 mkdir_p="$MKDIR_P"
   2448 case $mkdir_p in
   2449   [\\/$]* | ?:[\\/]*) ;;
   2450   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2451 esac
   2452 
   2453 for ac_prog in gawk mawk nawk awk
   2454 do
   2455   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2456 set dummy $ac_prog; ac_word=$2
   2457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2458 $as_echo_n "checking for $ac_word... " >&6; }
   2459 if test "${ac_cv_prog_AWK+set}" = set; then
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   if test -n "$AWK"; then
   2463   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2464 else
   2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2466 for as_dir in $PATH
   2467 do
   2468   IFS=$as_save_IFS
   2469   test -z "$as_dir" && as_dir=.
   2470   for ac_exec_ext in '' $ac_executable_extensions; do
   2471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2472     ac_cv_prog_AWK="$ac_prog"
   2473     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2474     break 2
   2475   fi
   2476 done
   2477 done
   2478 IFS=$as_save_IFS
   2479 
   2480 fi
   2481 fi
   2482 AWK=$ac_cv_prog_AWK
   2483 if test -n "$AWK"; then
   2484   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2485 $as_echo "$AWK" >&6; }
   2486 else
   2487   { $as_echo "$as_me:$LINENO: result: no" >&5
   2488 $as_echo "no" >&6; }
   2489 fi
   2490 
   2491 
   2492   test -n "$AWK" && break
   2493 done
   2494 
   2495 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2496 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2497 set x ${MAKE-make}
   2498 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2499 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2500   $as_echo_n "(cached) " >&6
   2501 else
   2502   cat >conftest.make <<\_ACEOF
   2503 SHELL = /bin/sh
   2504 all:
   2505 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2506 _ACEOF
   2507 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2508 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2509   *@@@%%%=?*=@@@%%%*)
   2510     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2511   *)
   2512     eval ac_cv_prog_make_${ac_make}_set=no;;
   2513 esac
   2514 rm -f conftest.make
   2515 fi
   2516 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2517   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2518 $as_echo "yes" >&6; }
   2519   SET_MAKE=
   2520 else
   2521   { $as_echo "$as_me:$LINENO: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523   SET_MAKE="MAKE=${MAKE-make}"
   2524 fi
   2525 
   2526 rm -rf .tst 2>/dev/null
   2527 mkdir .tst 2>/dev/null
   2528 if test -d .tst; then
   2529   am__leading_dot=.
   2530 else
   2531   am__leading_dot=_
   2532 fi
   2533 rmdir .tst 2>/dev/null
   2534 
   2535 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2536   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2537   # is not polluted with repeated "-I."
   2538   am__isrc=' -I$(srcdir)'
   2539   # test to see if srcdir already configured
   2540   if test -f $srcdir/config.status; then
   2541     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2542 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2543    { (exit 1); exit 1; }; }
   2544   fi
   2545 fi
   2546 
   2547 # test whether we have cygpath
   2548 if test -z "$CYGPATH_W"; then
   2549   if (cygpath --version) >/dev/null 2>/dev/null; then
   2550     CYGPATH_W='cygpath -w'
   2551   else
   2552     CYGPATH_W=echo
   2553   fi
   2554 fi
   2555 
   2556 
   2557 # Define the identity of the package.
   2558  PACKAGE='libXdmcp'
   2559  VERSION='1.0.3'
   2560 
   2561 
   2562 cat >>confdefs.h <<_ACEOF
   2563 #define PACKAGE "$PACKAGE"
   2564 _ACEOF
   2565 
   2566 
   2567 cat >>confdefs.h <<_ACEOF
   2568 #define VERSION "$VERSION"
   2569 _ACEOF
   2570 
   2571 # Some tools Automake needs.
   2572 
   2573 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2574 
   2575 
   2576 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2577 
   2578 
   2579 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2580 
   2581 
   2582 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2583 
   2584 
   2585 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2586 
   2587 # We need awk for the "check" target.  The system "awk" is bad on
   2588 # some platforms.
   2589 # Always define AMTAR for backward compatibility.
   2590 
   2591 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2592 
   2593 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2594 
   2595 
   2596 
   2597 
   2598 
   2599 
   2600 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2601 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2602     # Check whether --enable-maintainer-mode was given.
   2603 if test "${enable_maintainer_mode+set}" = set; then
   2604   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2605 else
   2606   USE_MAINTAINER_MODE=no
   2607 fi
   2608 
   2609   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2610 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2611    if test $USE_MAINTAINER_MODE = yes; then
   2612   MAINTAINER_MODE_TRUE=
   2613   MAINTAINER_MODE_FALSE='#'
   2614 else
   2615   MAINTAINER_MODE_TRUE='#'
   2616   MAINTAINER_MODE_FALSE=
   2617 fi
   2618 
   2619   MAINT=$MAINTAINER_MODE_TRUE
   2620 
   2621 
   2622 
   2623 ac_config_headers="$ac_config_headers config.h"
   2624 
   2625 
   2626 # Require xorg-macros: XORG_WITH_LINT, XORG_CWARNFLAGS, XORG_CHANGELOG
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 
   2638 
   2639 ac_ext=c
   2640 ac_cpp='$CPP $CPPFLAGS'
   2641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2644 if test -n "$ac_tool_prefix"; then
   2645   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2646 set dummy ${ac_tool_prefix}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_CC+set}" = set; then
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$CC"; then
   2653   ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
   2673 if test -n "$CC"; then
   2674   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2675 $as_echo "$CC" >&6; }
   2676 else
   2677   { $as_echo "$as_me:$LINENO: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682 fi
   2683 if test -z "$ac_cv_prog_CC"; then
   2684   ac_ct_CC=$CC
   2685   # Extract the first word of "gcc", so it can be a program name with args.
   2686 set dummy gcc; ac_word=$2
   2687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2688 $as_echo_n "checking for $ac_word... " >&6; }
   2689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   if test -n "$ac_ct_CC"; then
   2693   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2694 else
   2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH
   2697 do
   2698   IFS=$as_save_IFS
   2699   test -z "$as_dir" && as_dir=.
   2700   for ac_exec_ext in '' $ac_executable_extensions; do
   2701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2702     ac_cv_prog_ac_ct_CC="gcc"
   2703     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2704     break 2
   2705   fi
   2706 done
   2707 done
   2708 IFS=$as_save_IFS
   2709 
   2710 fi
   2711 fi
   2712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2713 if test -n "$ac_ct_CC"; then
   2714   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2715 $as_echo "$ac_ct_CC" >&6; }
   2716 else
   2717   { $as_echo "$as_me:$LINENO: result: no" >&5
   2718 $as_echo "no" >&6; }
   2719 fi
   2720 
   2721   if test "x$ac_ct_CC" = x; then
   2722     CC=""
   2723   else
   2724     case $cross_compiling:$ac_tool_warned in
   2725 yes:)
   2726 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2728 ac_tool_warned=yes ;;
   2729 esac
   2730     CC=$ac_ct_CC
   2731   fi
   2732 else
   2733   CC="$ac_cv_prog_CC"
   2734 fi
   2735 
   2736 if test -z "$CC"; then
   2737           if test -n "$ac_tool_prefix"; then
   2738     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2739 set dummy ${ac_tool_prefix}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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2749 for as_dir in $PATH
   2750 do
   2751   IFS=$as_save_IFS
   2752   test -z "$as_dir" && as_dir=.
   2753   for ac_exec_ext in '' $ac_executable_extensions; do
   2754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2755     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2756     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2757     break 2
   2758   fi
   2759 done
   2760 done
   2761 IFS=$as_save_IFS
   2762 
   2763 fi
   2764 fi
   2765 CC=$ac_cv_prog_CC
   2766 if test -n "$CC"; then
   2767   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2768 $as_echo "$CC" >&6; }
   2769 else
   2770   { $as_echo "$as_me:$LINENO: result: no" >&5
   2771 $as_echo "no" >&6; }
   2772 fi
   2773 
   2774 
   2775   fi
   2776 fi
   2777 if test -z "$CC"; then
   2778   # Extract the first word of "cc", so it can be a program name with args.
   2779 set dummy cc; ac_word=$2
   2780 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2781 $as_echo_n "checking for $ac_word... " >&6; }
   2782 if test "${ac_cv_prog_CC+set}" = set; then
   2783   $as_echo_n "(cached) " >&6
   2784 else
   2785   if test -n "$CC"; then
   2786   ac_cv_prog_CC="$CC" # Let the user override the test.
   2787 else
   2788   ac_prog_rejected=no
   2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2790 for as_dir in $PATH
   2791 do
   2792   IFS=$as_save_IFS
   2793   test -z "$as_dir" && as_dir=.
   2794   for ac_exec_ext in '' $ac_executable_extensions; do
   2795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2796     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2797        ac_prog_rejected=yes
   2798        continue
   2799      fi
   2800     ac_cv_prog_CC="cc"
   2801     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2802     break 2
   2803   fi
   2804 done
   2805 done
   2806 IFS=$as_save_IFS
   2807 
   2808 if test $ac_prog_rejected = yes; then
   2809   # We found a bogon in the path, so make sure we never use it.
   2810   set dummy $ac_cv_prog_CC
   2811   shift
   2812   if test $# != 0; then
   2813     # We chose a different compiler from the bogus one.
   2814     # However, it has the same basename, so the bogon will be chosen
   2815     # first if we set CC to just the basename; use the full file name.
   2816     shift
   2817     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2818   fi
   2819 fi
   2820 fi
   2821 fi
   2822 CC=$ac_cv_prog_CC
   2823 if test -n "$CC"; then
   2824   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2825 $as_echo "$CC" >&6; }
   2826 else
   2827   { $as_echo "$as_me:$LINENO: result: no" >&5
   2828 $as_echo "no" >&6; }
   2829 fi
   2830 
   2831 
   2832 fi
   2833 if test -z "$CC"; then
   2834   if test -n "$ac_tool_prefix"; then
   2835   for ac_prog in cl.exe
   2836   do
   2837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2840 $as_echo_n "checking for $ac_word... " >&6; }
   2841 if test "${ac_cv_prog_CC+set}" = set; then
   2842   $as_echo_n "(cached) " >&6
   2843 else
   2844   if test -n "$CC"; then
   2845   ac_cv_prog_CC="$CC" # Let the user override the test.
   2846 else
   2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2848 for as_dir in $PATH
   2849 do
   2850   IFS=$as_save_IFS
   2851   test -z "$as_dir" && as_dir=.
   2852   for ac_exec_ext in '' $ac_executable_extensions; do
   2853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2854     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2855     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2856     break 2
   2857   fi
   2858 done
   2859 done
   2860 IFS=$as_save_IFS
   2861 
   2862 fi
   2863 fi
   2864 CC=$ac_cv_prog_CC
   2865 if test -n "$CC"; then
   2866   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2867 $as_echo "$CC" >&6; }
   2868 else
   2869   { $as_echo "$as_me:$LINENO: result: no" >&5
   2870 $as_echo "no" >&6; }
   2871 fi
   2872 
   2873 
   2874     test -n "$CC" && break
   2875   done
   2876 fi
   2877 if test -z "$CC"; then
   2878   ac_ct_CC=$CC
   2879   for ac_prog in cl.exe
   2880 do
   2881   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2882 set dummy $ac_prog; ac_word=$2
   2883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2884 $as_echo_n "checking for $ac_word... " >&6; }
   2885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   if test -n "$ac_ct_CC"; then
   2889   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2890 else
   2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2892 for as_dir in $PATH
   2893 do
   2894   IFS=$as_save_IFS
   2895   test -z "$as_dir" && as_dir=.
   2896   for ac_exec_ext in '' $ac_executable_extensions; do
   2897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2898     ac_cv_prog_ac_ct_CC="$ac_prog"
   2899     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2900     break 2
   2901   fi
   2902 done
   2903 done
   2904 IFS=$as_save_IFS
   2905 
   2906 fi
   2907 fi
   2908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2909 if test -n "$ac_ct_CC"; then
   2910   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2911 $as_echo "$ac_ct_CC" >&6; }
   2912 else
   2913   { $as_echo "$as_me:$LINENO: result: no" >&5
   2914 $as_echo "no" >&6; }
   2915 fi
   2916 
   2917 
   2918   test -n "$ac_ct_CC" && break
   2919 done
   2920 
   2921   if test "x$ac_ct_CC" = x; then
   2922     CC=""
   2923   else
   2924     case $cross_compiling:$ac_tool_warned in
   2925 yes:)
   2926 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2928 ac_tool_warned=yes ;;
   2929 esac
   2930     CC=$ac_ct_CC
   2931   fi
   2932 fi
   2933 
   2934 fi
   2935 
   2936 
   2937 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2939 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2940 See \`config.log' for more details." >&5
   2941 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2942 See \`config.log' for more details." >&2;}
   2943    { (exit 1); exit 1; }; }; }
   2944 
   2945 # Provide some information about the compiler.
   2946 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2947 set X $ac_compile
   2948 ac_compiler=$2
   2949 { (ac_try="$ac_compiler --version >&5"
   2950 case "(($ac_try" in
   2951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2952   *) ac_try_echo=$ac_try;;
   2953 esac
   2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2955 $as_echo "$ac_try_echo") >&5
   2956   (eval "$ac_compiler --version >&5") 2>&5
   2957   ac_status=$?
   2958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2959   (exit $ac_status); }
   2960 { (ac_try="$ac_compiler -v >&5"
   2961 case "(($ac_try" in
   2962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2963   *) ac_try_echo=$ac_try;;
   2964 esac
   2965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2966 $as_echo "$ac_try_echo") >&5
   2967   (eval "$ac_compiler -v >&5") 2>&5
   2968   ac_status=$?
   2969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2970   (exit $ac_status); }
   2971 { (ac_try="$ac_compiler -V >&5"
   2972 case "(($ac_try" in
   2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2974   *) ac_try_echo=$ac_try;;
   2975 esac
   2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2977 $as_echo "$ac_try_echo") >&5
   2978   (eval "$ac_compiler -V >&5") 2>&5
   2979   ac_status=$?
   2980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2981   (exit $ac_status); }
   2982 
   2983 cat >conftest.$ac_ext <<_ACEOF
   2984 /* confdefs.h.  */
   2985 _ACEOF
   2986 cat confdefs.h >>conftest.$ac_ext
   2987 cat >>conftest.$ac_ext <<_ACEOF
   2988 /* end confdefs.h.  */
   2989 
   2990 int
   2991 main ()
   2992 {
   2993 
   2994   ;
   2995   return 0;
   2996 }
   2997 _ACEOF
   2998 ac_clean_files_save=$ac_clean_files
   2999 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3000 # Try to create an executable without -o first, disregard a.out.
   3001 # It will help us diagnose broken compilers, and finding out an intuition
   3002 # of exeext.
   3003 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3004 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3005 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3006 
   3007 # The possible output files:
   3008 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3009 
   3010 ac_rmfiles=
   3011 for ac_file in $ac_files
   3012 do
   3013   case $ac_file in
   3014     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3015     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3016   esac
   3017 done
   3018 rm -f $ac_rmfiles
   3019 
   3020 if { (ac_try="$ac_link_default"
   3021 case "(($ac_try" in
   3022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3023   *) ac_try_echo=$ac_try;;
   3024 esac
   3025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3026 $as_echo "$ac_try_echo") >&5
   3027   (eval "$ac_link_default") 2>&5
   3028   ac_status=$?
   3029   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3030   (exit $ac_status); }; then
   3031   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3032 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3033 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3034 # so that the user can short-circuit this test for compilers unknown to
   3035 # Autoconf.
   3036 for ac_file in $ac_files ''
   3037 do
   3038   test -f "$ac_file" || continue
   3039   case $ac_file in
   3040     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3041 	;;
   3042     [ab].out )
   3043 	# We found the default executable, but exeext='' is most
   3044 	# certainly right.
   3045 	break;;
   3046     *.* )
   3047         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3048 	then :; else
   3049 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3050 	fi
   3051 	# We set ac_cv_exeext here because the later test for it is not
   3052 	# safe: cross compilers may not add the suffix if given an `-o'
   3053 	# argument, so we may need to know it at that point already.
   3054 	# Even if this section looks crufty: it has the advantage of
   3055 	# actually working.
   3056 	break;;
   3057     * )
   3058 	break;;
   3059   esac
   3060 done
   3061 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3062 
   3063 else
   3064   ac_file=''
   3065 fi
   3066 
   3067 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3068 $as_echo "$ac_file" >&6; }
   3069 if test -z "$ac_file"; then
   3070   $as_echo "$as_me: failed program was:" >&5
   3071 sed 's/^/| /' conftest.$ac_ext >&5
   3072 
   3073 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3075 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3076 See \`config.log' for more details." >&5
   3077 $as_echo "$as_me: error: C compiler cannot create executables
   3078 See \`config.log' for more details." >&2;}
   3079    { (exit 77); exit 77; }; }; }
   3080 fi
   3081 
   3082 ac_exeext=$ac_cv_exeext
   3083 
   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 the C compiler works" >&5
   3087 $as_echo_n "checking whether the C compiler works... " >&6; }
   3088 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3089 # If not cross compiling, check that we can run a simple program.
   3090 if test "$cross_compiling" != yes; then
   3091   if { ac_try='./$ac_file'
   3092   { (case "(($ac_try" in
   3093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3094   *) ac_try_echo=$ac_try;;
   3095 esac
   3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3097 $as_echo "$ac_try_echo") >&5
   3098   (eval "$ac_try") 2>&5
   3099   ac_status=$?
   3100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3101   (exit $ac_status); }; }; then
   3102     cross_compiling=no
   3103   else
   3104     if test "$cross_compiling" = maybe; then
   3105 	cross_compiling=yes
   3106     else
   3107 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3109 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3110 If you meant to cross compile, use \`--host'.
   3111 See \`config.log' for more details." >&5
   3112 $as_echo "$as_me: error: cannot run C compiled programs.
   3113 If you meant to cross compile, use \`--host'.
   3114 See \`config.log' for more details." >&2;}
   3115    { (exit 1); exit 1; }; }; }
   3116     fi
   3117   fi
   3118 fi
   3119 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3120 $as_echo "yes" >&6; }
   3121 
   3122 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3123 ac_clean_files=$ac_clean_files_save
   3124 # Check that the compiler produces executables we can run.  If not, either
   3125 # the compiler is broken, or we cross compile.
   3126 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3127 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3128 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3129 $as_echo "$cross_compiling" >&6; }
   3130 
   3131 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3132 $as_echo_n "checking for suffix of executables... " >&6; }
   3133 if { (ac_try="$ac_link"
   3134 case "(($ac_try" in
   3135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3136   *) ac_try_echo=$ac_try;;
   3137 esac
   3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3139 $as_echo "$ac_try_echo") >&5
   3140   (eval "$ac_link") 2>&5
   3141   ac_status=$?
   3142   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3143   (exit $ac_status); }; then
   3144   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3145 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3146 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3147 # `rm'.
   3148 for ac_file in conftest.exe conftest conftest.*; do
   3149   test -f "$ac_file" || continue
   3150   case $ac_file in
   3151     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3152     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3153 	  break;;
   3154     * ) break;;
   3155   esac
   3156 done
   3157 else
   3158   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3160 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3161 See \`config.log' for more details." >&5
   3162 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3163 See \`config.log' for more details." >&2;}
   3164    { (exit 1); exit 1; }; }; }
   3165 fi
   3166 
   3167 rm -f conftest$ac_cv_exeext
   3168 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3169 $as_echo "$ac_cv_exeext" >&6; }
   3170 
   3171 rm -f conftest.$ac_ext
   3172 EXEEXT=$ac_cv_exeext
   3173 ac_exeext=$EXEEXT
   3174 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3175 $as_echo_n "checking for suffix of object files... " >&6; }
   3176 if test "${ac_cv_objext+set}" = set; then
   3177   $as_echo_n "(cached) " >&6
   3178 else
   3179   cat >conftest.$ac_ext <<_ACEOF
   3180 /* confdefs.h.  */
   3181 _ACEOF
   3182 cat confdefs.h >>conftest.$ac_ext
   3183 cat >>conftest.$ac_ext <<_ACEOF
   3184 /* end confdefs.h.  */
   3185 
   3186 int
   3187 main ()
   3188 {
   3189 
   3190   ;
   3191   return 0;
   3192 }
   3193 _ACEOF
   3194 rm -f conftest.o conftest.obj
   3195 if { (ac_try="$ac_compile"
   3196 case "(($ac_try" in
   3197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3198   *) ac_try_echo=$ac_try;;
   3199 esac
   3200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3201 $as_echo "$ac_try_echo") >&5
   3202   (eval "$ac_compile") 2>&5
   3203   ac_status=$?
   3204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3205   (exit $ac_status); }; then
   3206   for ac_file in conftest.o conftest.obj conftest.*; do
   3207   test -f "$ac_file" || continue;
   3208   case $ac_file in
   3209     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3210     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3211        break;;
   3212   esac
   3213 done
   3214 else
   3215   $as_echo "$as_me: failed program was:" >&5
   3216 sed 's/^/| /' conftest.$ac_ext >&5
   3217 
   3218 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3220 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3221 See \`config.log' for more details." >&5
   3222 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3223 See \`config.log' for more details." >&2;}
   3224    { (exit 1); exit 1; }; }; }
   3225 fi
   3226 
   3227 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3228 fi
   3229 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3230 $as_echo "$ac_cv_objext" >&6; }
   3231 OBJEXT=$ac_cv_objext
   3232 ac_objext=$OBJEXT
   3233 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3234 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3235 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3236   $as_echo_n "(cached) " >&6
   3237 else
   3238   cat >conftest.$ac_ext <<_ACEOF
   3239 /* confdefs.h.  */
   3240 _ACEOF
   3241 cat confdefs.h >>conftest.$ac_ext
   3242 cat >>conftest.$ac_ext <<_ACEOF
   3243 /* end confdefs.h.  */
   3244 
   3245 int
   3246 main ()
   3247 {
   3248 #ifndef __GNUC__
   3249        choke me
   3250 #endif
   3251 
   3252   ;
   3253   return 0;
   3254 }
   3255 _ACEOF
   3256 rm -f conftest.$ac_objext
   3257 if { (ac_try="$ac_compile"
   3258 case "(($ac_try" in
   3259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3260   *) ac_try_echo=$ac_try;;
   3261 esac
   3262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3263 $as_echo "$ac_try_echo") >&5
   3264   (eval "$ac_compile") 2>conftest.er1
   3265   ac_status=$?
   3266   grep -v '^ *+' conftest.er1 >conftest.err
   3267   rm -f conftest.er1
   3268   cat conftest.err >&5
   3269   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3270   (exit $ac_status); } && {
   3271 	 test -z "$ac_c_werror_flag" ||
   3272 	 test ! -s conftest.err
   3273        } && test -s conftest.$ac_objext; then
   3274   ac_compiler_gnu=yes
   3275 else
   3276   $as_echo "$as_me: failed program was:" >&5
   3277 sed 's/^/| /' conftest.$ac_ext >&5
   3278 
   3279 	ac_compiler_gnu=no
   3280 fi
   3281 
   3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3283 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3284 
   3285 fi
   3286 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3287 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3288 if test $ac_compiler_gnu = yes; then
   3289   GCC=yes
   3290 else
   3291   GCC=
   3292 fi
   3293 ac_test_CFLAGS=${CFLAGS+set}
   3294 ac_save_CFLAGS=$CFLAGS
   3295 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3296 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3297 if test "${ac_cv_prog_cc_g+set}" = set; then
   3298   $as_echo_n "(cached) " >&6
   3299 else
   3300   ac_save_c_werror_flag=$ac_c_werror_flag
   3301    ac_c_werror_flag=yes
   3302    ac_cv_prog_cc_g=no
   3303    CFLAGS="-g"
   3304    cat >conftest.$ac_ext <<_ACEOF
   3305 /* confdefs.h.  */
   3306 _ACEOF
   3307 cat confdefs.h >>conftest.$ac_ext
   3308 cat >>conftest.$ac_ext <<_ACEOF
   3309 /* end confdefs.h.  */
   3310 
   3311 int
   3312 main ()
   3313 {
   3314 
   3315   ;
   3316   return 0;
   3317 }
   3318 _ACEOF
   3319 rm -f conftest.$ac_objext
   3320 if { (ac_try="$ac_compile"
   3321 case "(($ac_try" in
   3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3323   *) ac_try_echo=$ac_try;;
   3324 esac
   3325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3326 $as_echo "$ac_try_echo") >&5
   3327   (eval "$ac_compile") 2>conftest.er1
   3328   ac_status=$?
   3329   grep -v '^ *+' conftest.er1 >conftest.err
   3330   rm -f conftest.er1
   3331   cat conftest.err >&5
   3332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3333   (exit $ac_status); } && {
   3334 	 test -z "$ac_c_werror_flag" ||
   3335 	 test ! -s conftest.err
   3336        } && test -s conftest.$ac_objext; then
   3337   ac_cv_prog_cc_g=yes
   3338 else
   3339   $as_echo "$as_me: failed program was:" >&5
   3340 sed 's/^/| /' conftest.$ac_ext >&5
   3341 
   3342 	CFLAGS=""
   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   :
   3377 else
   3378   $as_echo "$as_me: failed program was:" >&5
   3379 sed 's/^/| /' conftest.$ac_ext >&5
   3380 
   3381 	ac_c_werror_flag=$ac_save_c_werror_flag
   3382 	 CFLAGS="-g"
   3383 	 cat >conftest.$ac_ext <<_ACEOF
   3384 /* confdefs.h.  */
   3385 _ACEOF
   3386 cat confdefs.h >>conftest.$ac_ext
   3387 cat >>conftest.$ac_ext <<_ACEOF
   3388 /* end confdefs.h.  */
   3389 
   3390 int
   3391 main ()
   3392 {
   3393 
   3394   ;
   3395   return 0;
   3396 }
   3397 _ACEOF
   3398 rm -f conftest.$ac_objext
   3399 if { (ac_try="$ac_compile"
   3400 case "(($ac_try" in
   3401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3402   *) ac_try_echo=$ac_try;;
   3403 esac
   3404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3405 $as_echo "$ac_try_echo") >&5
   3406   (eval "$ac_compile") 2>conftest.er1
   3407   ac_status=$?
   3408   grep -v '^ *+' conftest.er1 >conftest.err
   3409   rm -f conftest.er1
   3410   cat conftest.err >&5
   3411   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3412   (exit $ac_status); } && {
   3413 	 test -z "$ac_c_werror_flag" ||
   3414 	 test ! -s conftest.err
   3415        } && test -s conftest.$ac_objext; then
   3416   ac_cv_prog_cc_g=yes
   3417 else
   3418   $as_echo "$as_me: failed program was:" >&5
   3419 sed 's/^/| /' conftest.$ac_ext >&5
   3420 
   3421 
   3422 fi
   3423 
   3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3425 fi
   3426 
   3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3428 fi
   3429 
   3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3431    ac_c_werror_flag=$ac_save_c_werror_flag
   3432 fi
   3433 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3434 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3435 if test "$ac_test_CFLAGS" = set; then
   3436   CFLAGS=$ac_save_CFLAGS
   3437 elif test $ac_cv_prog_cc_g = yes; then
   3438   if test "$GCC" = yes; then
   3439     CFLAGS="-g -O2"
   3440   else
   3441     CFLAGS="-g"
   3442   fi
   3443 else
   3444   if test "$GCC" = yes; then
   3445     CFLAGS="-O2"
   3446   else
   3447     CFLAGS=
   3448   fi
   3449 fi
   3450 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3452 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3453   $as_echo_n "(cached) " >&6
   3454 else
   3455   ac_cv_prog_cc_c89=no
   3456 ac_save_CC=$CC
   3457 cat >conftest.$ac_ext <<_ACEOF
   3458 /* confdefs.h.  */
   3459 _ACEOF
   3460 cat confdefs.h >>conftest.$ac_ext
   3461 cat >>conftest.$ac_ext <<_ACEOF
   3462 /* end confdefs.h.  */
   3463 #include <stdarg.h>
   3464 #include <stdio.h>
   3465 #include <sys/types.h>
   3466 #include <sys/stat.h>
   3467 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3468 struct buf { int x; };
   3469 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3470 static char *e (p, i)
   3471      char **p;
   3472      int i;
   3473 {
   3474   return p[i];
   3475 }
   3476 static char *f (char * (*g) (char **, int), char **p, ...)
   3477 {
   3478   char *s;
   3479   va_list v;
   3480   va_start (v,p);
   3481   s = g (p, va_arg (v,int));
   3482   va_end (v);
   3483   return s;
   3484 }
   3485 
   3486 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3487    function prototypes and stuff, but not '\xHH' hex character constants.
   3488    These don't provoke an error unfortunately, instead are silently treated
   3489    as 'x'.  The following induces an error, until -std is added to get
   3490    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3491    array size at least.  It's necessary to write '\x00'==0 to get something
   3492    that's true only with -std.  */
   3493 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3494 
   3495 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3496    inside strings and character constants.  */
   3497 #define FOO(x) 'x'
   3498 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3499 
   3500 int test (int i, double x);
   3501 struct s1 {int (*f) (int a);};
   3502 struct s2 {int (*f) (double a);};
   3503 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3504 int argc;
   3505 char **argv;
   3506 int
   3507 main ()
   3508 {
   3509 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3510   ;
   3511   return 0;
   3512 }
   3513 _ACEOF
   3514 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3515 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3516 do
   3517   CC="$ac_save_CC $ac_arg"
   3518   rm -f conftest.$ac_objext
   3519 if { (ac_try="$ac_compile"
   3520 case "(($ac_try" in
   3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3522   *) ac_try_echo=$ac_try;;
   3523 esac
   3524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3525 $as_echo "$ac_try_echo") >&5
   3526   (eval "$ac_compile") 2>conftest.er1
   3527   ac_status=$?
   3528   grep -v '^ *+' conftest.er1 >conftest.err
   3529   rm -f conftest.er1
   3530   cat conftest.err >&5
   3531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3532   (exit $ac_status); } && {
   3533 	 test -z "$ac_c_werror_flag" ||
   3534 	 test ! -s conftest.err
   3535        } && test -s conftest.$ac_objext; then
   3536   ac_cv_prog_cc_c89=$ac_arg
   3537 else
   3538   $as_echo "$as_me: failed program was:" >&5
   3539 sed 's/^/| /' conftest.$ac_ext >&5
   3540 
   3541 
   3542 fi
   3543 
   3544 rm -f core conftest.err conftest.$ac_objext
   3545   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3546 done
   3547 rm -f conftest.$ac_ext
   3548 CC=$ac_save_CC
   3549 
   3550 fi
   3551 # AC_CACHE_VAL
   3552 case "x$ac_cv_prog_cc_c89" in
   3553   x)
   3554     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3555 $as_echo "none needed" >&6; } ;;
   3556   xno)
   3557     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3558 $as_echo "unsupported" >&6; } ;;
   3559   *)
   3560     CC="$CC $ac_cv_prog_cc_c89"
   3561     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3562 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3563 esac
   3564 
   3565 
   3566 ac_ext=c
   3567 ac_cpp='$CPP $CPPFLAGS'
   3568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3571 DEPDIR="${am__leading_dot}deps"
   3572 
   3573 ac_config_commands="$ac_config_commands depfiles"
   3574 
   3575 
   3576 am_make=${MAKE-make}
   3577 cat > confinc << 'END'
   3578 am__doit:
   3579 	@echo this is the am__doit target
   3580 .PHONY: am__doit
   3581 END
   3582 # If we don't find an include directive, just comment out the code.
   3583 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3584 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3585 am__include="#"
   3586 am__quote=
   3587 _am_result=none
   3588 # First try GNU make style include.
   3589 echo "include confinc" > confmf
   3590 # Ignore all kinds of additional output from `make'.
   3591 case `$am_make -s -f confmf 2> /dev/null` in #(
   3592 *the\ am__doit\ target*)
   3593   am__include=include
   3594   am__quote=
   3595   _am_result=GNU
   3596   ;;
   3597 esac
   3598 # Now try BSD make style include.
   3599 if test "$am__include" = "#"; then
   3600    echo '.include "confinc"' > confmf
   3601    case `$am_make -s -f confmf 2> /dev/null` in #(
   3602    *the\ am__doit\ target*)
   3603      am__include=.include
   3604      am__quote="\""
   3605      _am_result=BSD
   3606      ;;
   3607    esac
   3608 fi
   3609 
   3610 
   3611 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3612 $as_echo "$_am_result" >&6; }
   3613 rm -f confinc confmf
   3614 
   3615 # Check whether --enable-dependency-tracking was given.
   3616 if test "${enable_dependency_tracking+set}" = set; then
   3617   enableval=$enable_dependency_tracking;
   3618 fi
   3619 
   3620 if test "x$enable_dependency_tracking" != xno; then
   3621   am_depcomp="$ac_aux_dir/depcomp"
   3622   AMDEPBACKSLASH='\'
   3623 fi
   3624  if test "x$enable_dependency_tracking" != xno; then
   3625   AMDEP_TRUE=
   3626   AMDEP_FALSE='#'
   3627 else
   3628   AMDEP_TRUE='#'
   3629   AMDEP_FALSE=
   3630 fi
   3631 
   3632 
   3633 
   3634 depcc="$CC"   am_compiler_list=
   3635 
   3636 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3637 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3638 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3639   $as_echo_n "(cached) " >&6
   3640 else
   3641   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3642   # We make a subdir and do the tests there.  Otherwise we can end up
   3643   # making bogus files that we don't know about and never remove.  For
   3644   # instance it was reported that on HP-UX the gcc test will end up
   3645   # making a dummy file named `D' -- because `-MD' means `put the output
   3646   # in D'.
   3647   mkdir conftest.dir
   3648   # Copy depcomp to subdir because otherwise we won't find it if we're
   3649   # using a relative directory.
   3650   cp "$am_depcomp" conftest.dir
   3651   cd conftest.dir
   3652   # We will build objects and dependencies in a subdirectory because
   3653   # it helps to detect inapplicable dependency modes.  For instance
   3654   # both Tru64's cc and ICC support -MD to output dependencies as a
   3655   # side effect of compilation, but ICC will put the dependencies in
   3656   # the current directory while Tru64 will put them in the object
   3657   # directory.
   3658   mkdir sub
   3659 
   3660   am_cv_CC_dependencies_compiler_type=none
   3661   if test "$am_compiler_list" = ""; then
   3662      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3663   fi
   3664   am__universal=false
   3665   case " $depcc " in #(
   3666      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3667      esac
   3668 
   3669   for depmode in $am_compiler_list; do
   3670     # Setup a source with many dependencies, because some compilers
   3671     # like to wrap large dependency lists on column 80 (with \), and
   3672     # we should not choose a depcomp mode which is confused by this.
   3673     #
   3674     # We need to recreate these files for each test, as the compiler may
   3675     # overwrite some of them when testing with obscure command lines.
   3676     # This happens at least with the AIX C compiler.
   3677     : > sub/conftest.c
   3678     for i in 1 2 3 4 5 6; do
   3679       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3680       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3681       # Solaris 8's {/usr,}/bin/sh.
   3682       touch sub/conftst$i.h
   3683     done
   3684     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3685 
   3686     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3687     # mode.  It turns out that the SunPro C++ compiler does not properly
   3688     # handle `-M -o', and we need to detect this.  Also, some Intel
   3689     # versions had trouble with output in subdirs
   3690     am__obj=sub/conftest.${OBJEXT-o}
   3691     am__minus_obj="-o $am__obj"
   3692     case $depmode in
   3693     gcc)
   3694       # This depmode causes a compiler race in universal mode.
   3695       test "$am__universal" = false || continue
   3696       ;;
   3697     nosideeffect)
   3698       # after this tag, mechanisms are not by side-effect, so they'll
   3699       # only be used when explicitly requested
   3700       if test "x$enable_dependency_tracking" = xyes; then
   3701 	continue
   3702       else
   3703 	break
   3704       fi
   3705       ;;
   3706     msvisualcpp | msvcmsys)
   3707       # This compiler won't grok `-c -o', but also, the minuso test has
   3708       # not run yet.  These depmodes are late enough in the game, and
   3709       # so weak that their functioning should not be impacted.
   3710       am__obj=conftest.${OBJEXT-o}
   3711       am__minus_obj=
   3712       ;;
   3713     none) break ;;
   3714     esac
   3715     if depmode=$depmode \
   3716        source=sub/conftest.c object=$am__obj \
   3717        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3718        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3719          >/dev/null 2>conftest.err &&
   3720        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3721        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3722        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3723        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3724       # icc doesn't choke on unknown options, it will just issue warnings
   3725       # or remarks (even with -Werror).  So we grep stderr for any message
   3726       # that says an option was ignored or not supported.
   3727       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3728       #   icc: Command line warning: ignoring option '-M'; no argument required
   3729       # The diagnosis changed in icc 8.0:
   3730       #   icc: Command line remark: option '-MP' not supported
   3731       if (grep 'ignoring option' conftest.err ||
   3732           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3733         am_cv_CC_dependencies_compiler_type=$depmode
   3734         break
   3735       fi
   3736     fi
   3737   done
   3738 
   3739   cd ..
   3740   rm -rf conftest.dir
   3741 else
   3742   am_cv_CC_dependencies_compiler_type=none
   3743 fi
   3744 
   3745 fi
   3746 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3747 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3748 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3749 
   3750  if
   3751   test "x$enable_dependency_tracking" != xno \
   3752   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3753   am__fastdepCC_TRUE=
   3754   am__fastdepCC_FALSE='#'
   3755 else
   3756   am__fastdepCC_TRUE='#'
   3757   am__fastdepCC_FALSE=
   3758 fi
   3759 
   3760 
   3761 # Find a good install program.  We prefer a C program (faster),
   3762 # so one script is as good as another.  But avoid the broken or
   3763 # incompatible versions:
   3764 # SysV /etc/install, /usr/sbin/install
   3765 # SunOS /usr/etc/install
   3766 # IRIX /sbin/install
   3767 # AIX /bin/install
   3768 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3769 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3770 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3771 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3772 # OS/2's system install, which has a completely different semantic
   3773 # ./install, which can be erroneously created by make from ./install.sh.
   3774 # Reject install programs that cannot install multiple files.
   3775 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3776 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3777 if test -z "$INSTALL"; then
   3778 if test "${ac_cv_path_install+set}" = set; then
   3779   $as_echo_n "(cached) " >&6
   3780 else
   3781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3782 for as_dir in $PATH
   3783 do
   3784   IFS=$as_save_IFS
   3785   test -z "$as_dir" && as_dir=.
   3786   # Account for people who put trailing slashes in PATH elements.
   3787 case $as_dir/ in
   3788   ./ | .// | /cC/* | \
   3789   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3790   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3791   /usr/ucb/* ) ;;
   3792   *)
   3793     # OSF1 and SCO ODT 3.0 have their own names for install.
   3794     # Don't use installbsd from OSF since it installs stuff as root
   3795     # by default.
   3796     for ac_prog in ginstall scoinst install; do
   3797       for ac_exec_ext in '' $ac_executable_extensions; do
   3798 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3799 	  if test $ac_prog = install &&
   3800 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3801 	    # AIX install.  It has an incompatible calling convention.
   3802 	    :
   3803 	  elif test $ac_prog = install &&
   3804 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3805 	    # program-specific install script used by HP pwplus--don't use.
   3806 	    :
   3807 	  else
   3808 	    rm -rf conftest.one conftest.two conftest.dir
   3809 	    echo one > conftest.one
   3810 	    echo two > conftest.two
   3811 	    mkdir conftest.dir
   3812 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3813 	      test -s conftest.one && test -s conftest.two &&
   3814 	      test -s conftest.dir/conftest.one &&
   3815 	      test -s conftest.dir/conftest.two
   3816 	    then
   3817 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3818 	      break 3
   3819 	    fi
   3820 	  fi
   3821 	fi
   3822       done
   3823     done
   3824     ;;
   3825 esac
   3826 
   3827 done
   3828 IFS=$as_save_IFS
   3829 
   3830 rm -rf conftest.one conftest.two conftest.dir
   3831 
   3832 fi
   3833   if test "${ac_cv_path_install+set}" = set; then
   3834     INSTALL=$ac_cv_path_install
   3835   else
   3836     # As a last resort, use the slow shell script.  Don't cache a
   3837     # value for INSTALL within a source directory, because that will
   3838     # break other packages using the cache if that directory is
   3839     # removed, or if the value is a relative name.
   3840     INSTALL=$ac_install_sh
   3841   fi
   3842 fi
   3843 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   3844 $as_echo "$INSTALL" >&6; }
   3845 
   3846 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3847 # It thinks the first close brace ends the variable substitution.
   3848 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3849 
   3850 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3851 
   3852 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3853 
   3854 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   3855 $as_echo_n "checking whether ln -s works... " >&6; }
   3856 LN_S=$as_ln_s
   3857 if test "$LN_S" = "ln -s"; then
   3858   { $as_echo "$as_me:$LINENO: result: yes" >&5
   3859 $as_echo "yes" >&6; }
   3860 else
   3861   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   3862 $as_echo "no, using $LN_S" >&6; }
   3863 fi
   3864 
   3865 # Make sure we can run config.sub.
   3866 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3867   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3868 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3869    { (exit 1); exit 1; }; }
   3870 
   3871 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3872 $as_echo_n "checking build system type... " >&6; }
   3873 if test "${ac_cv_build+set}" = set; then
   3874   $as_echo_n "(cached) " >&6
   3875 else
   3876   ac_build_alias=$build_alias
   3877 test "x$ac_build_alias" = x &&
   3878   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3879 test "x$ac_build_alias" = x &&
   3880   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3881 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3882    { (exit 1); exit 1; }; }
   3883 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3884   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3885 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3886    { (exit 1); exit 1; }; }
   3887 
   3888 fi
   3889 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3890 $as_echo "$ac_cv_build" >&6; }
   3891 case $ac_cv_build in
   3892 *-*-*) ;;
   3893 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3894 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3895    { (exit 1); exit 1; }; };;
   3896 esac
   3897 build=$ac_cv_build
   3898 ac_save_IFS=$IFS; IFS='-'
   3899 set x $ac_cv_build
   3900 shift
   3901 build_cpu=$1
   3902 build_vendor=$2
   3903 shift; shift
   3904 # Remember, the first character of IFS is used to create $*,
   3905 # except with old shells:
   3906 build_os=$*
   3907 IFS=$ac_save_IFS
   3908 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3909 
   3910 
   3911 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3912 $as_echo_n "checking host system type... " >&6; }
   3913 if test "${ac_cv_host+set}" = set; then
   3914   $as_echo_n "(cached) " >&6
   3915 else
   3916   if test "x$host_alias" = x; then
   3917   ac_cv_host=$ac_cv_build
   3918 else
   3919   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3920     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3921 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3922    { (exit 1); exit 1; }; }
   3923 fi
   3924 
   3925 fi
   3926 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3927 $as_echo "$ac_cv_host" >&6; }
   3928 case $ac_cv_host in
   3929 *-*-*) ;;
   3930 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3931 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3932    { (exit 1); exit 1; }; };;
   3933 esac
   3934 host=$ac_cv_host
   3935 ac_save_IFS=$IFS; IFS='-'
   3936 set x $ac_cv_host
   3937 shift
   3938 host_cpu=$1
   3939 host_vendor=$2
   3940 shift; shift
   3941 # Remember, the first character of IFS is used to create $*,
   3942 # except with old shells:
   3943 host_os=$*
   3944 IFS=$ac_save_IFS
   3945 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3946 
   3947 
   3948 enable_win32_dll=yes
   3949 
   3950 case $host in
   3951 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
   3952   if test -n "$ac_tool_prefix"; then
   3953   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   3954 set dummy ${ac_tool_prefix}as; ac_word=$2
   3955 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3956 $as_echo_n "checking for $ac_word... " >&6; }
   3957 if test "${ac_cv_prog_AS+set}" = set; then
   3958   $as_echo_n "(cached) " >&6
   3959 else
   3960   if test -n "$AS"; then
   3961   ac_cv_prog_AS="$AS" # Let the user override the test.
   3962 else
   3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3964 for as_dir in $PATH
   3965 do
   3966   IFS=$as_save_IFS
   3967   test -z "$as_dir" && as_dir=.
   3968   for ac_exec_ext in '' $ac_executable_extensions; do
   3969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3970     ac_cv_prog_AS="${ac_tool_prefix}as"
   3971     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3972     break 2
   3973   fi
   3974 done
   3975 done
   3976 IFS=$as_save_IFS
   3977 
   3978 fi
   3979 fi
   3980 AS=$ac_cv_prog_AS
   3981 if test -n "$AS"; then
   3982   { $as_echo "$as_me:$LINENO: result: $AS" >&5
   3983 $as_echo "$AS" >&6; }
   3984 else
   3985   { $as_echo "$as_me:$LINENO: result: no" >&5
   3986 $as_echo "no" >&6; }
   3987 fi
   3988 
   3989 
   3990 fi
   3991 if test -z "$ac_cv_prog_AS"; then
   3992   ac_ct_AS=$AS
   3993   # Extract the first word of "as", so it can be a program name with args.
   3994 set dummy as; ac_word=$2
   3995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3996 $as_echo_n "checking for $ac_word... " >&6; }
   3997 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
   3998   $as_echo_n "(cached) " >&6
   3999 else
   4000   if test -n "$ac_ct_AS"; then
   4001   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4002 else
   4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4004 for as_dir in $PATH
   4005 do
   4006   IFS=$as_save_IFS
   4007   test -z "$as_dir" && as_dir=.
   4008   for ac_exec_ext in '' $ac_executable_extensions; do
   4009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4010     ac_cv_prog_ac_ct_AS="as"
   4011     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4012     break 2
   4013   fi
   4014 done
   4015 done
   4016 IFS=$as_save_IFS
   4017 
   4018 fi
   4019 fi
   4020 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4021 if test -n "$ac_ct_AS"; then
   4022   { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
   4023 $as_echo "$ac_ct_AS" >&6; }
   4024 else
   4025   { $as_echo "$as_me:$LINENO: result: no" >&5
   4026 $as_echo "no" >&6; }
   4027 fi
   4028 
   4029   if test "x$ac_ct_AS" = x; then
   4030     AS="false"
   4031   else
   4032     case $cross_compiling:$ac_tool_warned in
   4033 yes:)
   4034 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4036 ac_tool_warned=yes ;;
   4037 esac
   4038     AS=$ac_ct_AS
   4039   fi
   4040 else
   4041   AS="$ac_cv_prog_AS"
   4042 fi
   4043 
   4044   if test -n "$ac_tool_prefix"; then
   4045   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4046 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4047 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4048 $as_echo_n "checking for $ac_word... " >&6; }
   4049 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
   4050   $as_echo_n "(cached) " >&6
   4051 else
   4052   if test -n "$DLLTOOL"; then
   4053   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4054 else
   4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4056 for as_dir in $PATH
   4057 do
   4058   IFS=$as_save_IFS
   4059   test -z "$as_dir" && as_dir=.
   4060   for ac_exec_ext in '' $ac_executable_extensions; do
   4061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4062     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4063     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4064     break 2
   4065   fi
   4066 done
   4067 done
   4068 IFS=$as_save_IFS
   4069 
   4070 fi
   4071 fi
   4072 DLLTOOL=$ac_cv_prog_DLLTOOL
   4073 if test -n "$DLLTOOL"; then
   4074   { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
   4075 $as_echo "$DLLTOOL" >&6; }
   4076 else
   4077   { $as_echo "$as_me:$LINENO: result: no" >&5
   4078 $as_echo "no" >&6; }
   4079 fi
   4080 
   4081 
   4082 fi
   4083 if test -z "$ac_cv_prog_DLLTOOL"; then
   4084   ac_ct_DLLTOOL=$DLLTOOL
   4085   # Extract the first word of "dlltool", so it can be a program name with args.
   4086 set dummy dlltool; ac_word=$2
   4087 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4088 $as_echo_n "checking for $ac_word... " >&6; }
   4089 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
   4090   $as_echo_n "(cached) " >&6
   4091 else
   4092   if test -n "$ac_ct_DLLTOOL"; then
   4093   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4094 else
   4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4096 for as_dir in $PATH
   4097 do
   4098   IFS=$as_save_IFS
   4099   test -z "$as_dir" && as_dir=.
   4100   for ac_exec_ext in '' $ac_executable_extensions; do
   4101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4102     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4103     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4104     break 2
   4105   fi
   4106 done
   4107 done
   4108 IFS=$as_save_IFS
   4109 
   4110 fi
   4111 fi
   4112 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4113 if test -n "$ac_ct_DLLTOOL"; then
   4114   { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
   4115 $as_echo "$ac_ct_DLLTOOL" >&6; }
   4116 else
   4117   { $as_echo "$as_me:$LINENO: result: no" >&5
   4118 $as_echo "no" >&6; }
   4119 fi
   4120 
   4121   if test "x$ac_ct_DLLTOOL" = x; then
   4122     DLLTOOL="false"
   4123   else
   4124     case $cross_compiling:$ac_tool_warned in
   4125 yes:)
   4126 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4128 ac_tool_warned=yes ;;
   4129 esac
   4130     DLLTOOL=$ac_ct_DLLTOOL
   4131   fi
   4132 else
   4133   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4134 fi
   4135 
   4136   if test -n "$ac_tool_prefix"; then
   4137   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4138 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4140 $as_echo_n "checking for $ac_word... " >&6; }
   4141 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4142   $as_echo_n "(cached) " >&6
   4143 else
   4144   if test -n "$OBJDUMP"; then
   4145   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4146 else
   4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4148 for as_dir in $PATH
   4149 do
   4150   IFS=$as_save_IFS
   4151   test -z "$as_dir" && as_dir=.
   4152   for ac_exec_ext in '' $ac_executable_extensions; do
   4153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4154     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4155     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4156     break 2
   4157   fi
   4158 done
   4159 done
   4160 IFS=$as_save_IFS
   4161 
   4162 fi
   4163 fi
   4164 OBJDUMP=$ac_cv_prog_OBJDUMP
   4165 if test -n "$OBJDUMP"; then
   4166   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4167 $as_echo "$OBJDUMP" >&6; }
   4168 else
   4169   { $as_echo "$as_me:$LINENO: result: no" >&5
   4170 $as_echo "no" >&6; }
   4171 fi
   4172 
   4173 
   4174 fi
   4175 if test -z "$ac_cv_prog_OBJDUMP"; then
   4176   ac_ct_OBJDUMP=$OBJDUMP
   4177   # Extract the first word of "objdump", so it can be a program name with args.
   4178 set dummy objdump; ac_word=$2
   4179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4180 $as_echo_n "checking for $ac_word... " >&6; }
   4181 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4182   $as_echo_n "(cached) " >&6
   4183 else
   4184   if test -n "$ac_ct_OBJDUMP"; then
   4185   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4186 else
   4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4188 for as_dir in $PATH
   4189 do
   4190   IFS=$as_save_IFS
   4191   test -z "$as_dir" && as_dir=.
   4192   for ac_exec_ext in '' $ac_executable_extensions; do
   4193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4194     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4196     break 2
   4197   fi
   4198 done
   4199 done
   4200 IFS=$as_save_IFS
   4201 
   4202 fi
   4203 fi
   4204 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4205 if test -n "$ac_ct_OBJDUMP"; then
   4206   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4207 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4208 else
   4209   { $as_echo "$as_me:$LINENO: result: no" >&5
   4210 $as_echo "no" >&6; }
   4211 fi
   4212 
   4213   if test "x$ac_ct_OBJDUMP" = x; then
   4214     OBJDUMP="false"
   4215   else
   4216     case $cross_compiling:$ac_tool_warned in
   4217 yes:)
   4218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4220 ac_tool_warned=yes ;;
   4221 esac
   4222     OBJDUMP=$ac_ct_OBJDUMP
   4223   fi
   4224 else
   4225   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4226 fi
   4227 
   4228   ;;
   4229 esac
   4230 
   4231 test -z "$AS" && AS=as
   4232 
   4233 
   4234 
   4235 
   4236 
   4237 test -z "$DLLTOOL" && DLLTOOL=dlltool
   4238 
   4239 
   4240 
   4241 
   4242 
   4243 test -z "$OBJDUMP" && OBJDUMP=objdump
   4244 
   4245 
   4246 
   4247 
   4248 
   4249 
   4250 
   4251 case `pwd` in
   4252   *\ * | *\	*)
   4253     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4254 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4255 esac
   4256 
   4257 
   4258 
   4259 macro_version='2.2.6'
   4260 macro_revision='1.3012'
   4261 
   4262 
   4263 
   4264 
   4265 
   4266 
   4267 
   4268 
   4269 
   4270 
   4271 
   4272 
   4273 
   4274 ltmain="$ac_aux_dir/ltmain.sh"
   4275 
   4276 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4277 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4278 if test "${ac_cv_path_SED+set}" = set; then
   4279   $as_echo_n "(cached) " >&6
   4280 else
   4281             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4282      for ac_i in 1 2 3 4 5 6 7; do
   4283        ac_script="$ac_script$as_nl$ac_script"
   4284      done
   4285      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4286      $as_unset ac_script || ac_script=
   4287      if test -z "$SED"; then
   4288   ac_path_SED_found=false
   4289   # Loop through the user's path and test for each of PROGNAME-LIST
   4290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4291 for as_dir in $PATH
   4292 do
   4293   IFS=$as_save_IFS
   4294   test -z "$as_dir" && as_dir=.
   4295   for ac_prog in sed gsed; do
   4296     for ac_exec_ext in '' $ac_executable_extensions; do
   4297       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4298       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4299 # Check for GNU ac_path_SED and select it if it is found.
   4300   # Check for GNU $ac_path_SED
   4301 case `"$ac_path_SED" --version 2>&1` in
   4302 *GNU*)
   4303   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4304 *)
   4305   ac_count=0
   4306   $as_echo_n 0123456789 >"conftest.in"
   4307   while :
   4308   do
   4309     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4310     mv "conftest.tmp" "conftest.in"
   4311     cp "conftest.in" "conftest.nl"
   4312     $as_echo '' >> "conftest.nl"
   4313     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4314     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4315     ac_count=`expr $ac_count + 1`
   4316     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4317       # Best one so far, save it but keep looking for a better one
   4318       ac_cv_path_SED="$ac_path_SED"
   4319       ac_path_SED_max=$ac_count
   4320     fi
   4321     # 10*(2^10) chars as input seems more than enough
   4322     test $ac_count -gt 10 && break
   4323   done
   4324   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4325 esac
   4326 
   4327       $ac_path_SED_found && break 3
   4328     done
   4329   done
   4330 done
   4331 IFS=$as_save_IFS
   4332   if test -z "$ac_cv_path_SED"; then
   4333     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   4334 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   4335    { (exit 1); exit 1; }; }
   4336   fi
   4337 else
   4338   ac_cv_path_SED=$SED
   4339 fi
   4340 
   4341 fi
   4342 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   4343 $as_echo "$ac_cv_path_SED" >&6; }
   4344  SED="$ac_cv_path_SED"
   4345   rm -f conftest.sed
   4346 
   4347 test -z "$SED" && SED=sed
   4348 Xsed="$SED -e 1s/^X//"
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4362 if test "${ac_cv_path_GREP+set}" = set; then
   4363   $as_echo_n "(cached) " >&6
   4364 else
   4365   if test -z "$GREP"; then
   4366   ac_path_GREP_found=false
   4367   # Loop through the user's path and test for each of PROGNAME-LIST
   4368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4370 do
   4371   IFS=$as_save_IFS
   4372   test -z "$as_dir" && as_dir=.
   4373   for ac_prog in grep ggrep; do
   4374     for ac_exec_ext in '' $ac_executable_extensions; do
   4375       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4376       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4377 # Check for GNU ac_path_GREP and select it if it is found.
   4378   # Check for GNU $ac_path_GREP
   4379 case `"$ac_path_GREP" --version 2>&1` in
   4380 *GNU*)
   4381   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4382 *)
   4383   ac_count=0
   4384   $as_echo_n 0123456789 >"conftest.in"
   4385   while :
   4386   do
   4387     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4388     mv "conftest.tmp" "conftest.in"
   4389     cp "conftest.in" "conftest.nl"
   4390     $as_echo 'GREP' >> "conftest.nl"
   4391     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4392     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4393     ac_count=`expr $ac_count + 1`
   4394     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4395       # Best one so far, save it but keep looking for a better one
   4396       ac_cv_path_GREP="$ac_path_GREP"
   4397       ac_path_GREP_max=$ac_count
   4398     fi
   4399     # 10*(2^10) chars as input seems more than enough
   4400     test $ac_count -gt 10 && break
   4401   done
   4402   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4403 esac
   4404 
   4405       $ac_path_GREP_found && break 3
   4406     done
   4407   done
   4408 done
   4409 IFS=$as_save_IFS
   4410   if test -z "$ac_cv_path_GREP"; then
   4411     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4412 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4413    { (exit 1); exit 1; }; }
   4414   fi
   4415 else
   4416   ac_cv_path_GREP=$GREP
   4417 fi
   4418 
   4419 fi
   4420 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4421 $as_echo "$ac_cv_path_GREP" >&6; }
   4422  GREP="$ac_cv_path_GREP"
   4423 
   4424 
   4425 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4426 $as_echo_n "checking for egrep... " >&6; }
   4427 if test "${ac_cv_path_EGREP+set}" = set; then
   4428   $as_echo_n "(cached) " >&6
   4429 else
   4430   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4431    then ac_cv_path_EGREP="$GREP -E"
   4432    else
   4433      if test -z "$EGREP"; then
   4434   ac_path_EGREP_found=false
   4435   # Loop through the user's path and test for each of PROGNAME-LIST
   4436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4438 do
   4439   IFS=$as_save_IFS
   4440   test -z "$as_dir" && as_dir=.
   4441   for ac_prog in egrep; do
   4442     for ac_exec_ext in '' $ac_executable_extensions; do
   4443       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4444       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4445 # Check for GNU ac_path_EGREP and select it if it is found.
   4446   # Check for GNU $ac_path_EGREP
   4447 case `"$ac_path_EGREP" --version 2>&1` in
   4448 *GNU*)
   4449   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4450 *)
   4451   ac_count=0
   4452   $as_echo_n 0123456789 >"conftest.in"
   4453   while :
   4454   do
   4455     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4456     mv "conftest.tmp" "conftest.in"
   4457     cp "conftest.in" "conftest.nl"
   4458     $as_echo 'EGREP' >> "conftest.nl"
   4459     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4460     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4461     ac_count=`expr $ac_count + 1`
   4462     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4463       # Best one so far, save it but keep looking for a better one
   4464       ac_cv_path_EGREP="$ac_path_EGREP"
   4465       ac_path_EGREP_max=$ac_count
   4466     fi
   4467     # 10*(2^10) chars as input seems more than enough
   4468     test $ac_count -gt 10 && break
   4469   done
   4470   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4471 esac
   4472 
   4473       $ac_path_EGREP_found && break 3
   4474     done
   4475   done
   4476 done
   4477 IFS=$as_save_IFS
   4478   if test -z "$ac_cv_path_EGREP"; then
   4479     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4480 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4481    { (exit 1); exit 1; }; }
   4482   fi
   4483 else
   4484   ac_cv_path_EGREP=$EGREP
   4485 fi
   4486 
   4487    fi
   4488 fi
   4489 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4490 $as_echo "$ac_cv_path_EGREP" >&6; }
   4491  EGREP="$ac_cv_path_EGREP"
   4492 
   4493 
   4494 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4495 $as_echo_n "checking for fgrep... " >&6; }
   4496 if test "${ac_cv_path_FGREP+set}" = set; then
   4497   $as_echo_n "(cached) " >&6
   4498 else
   4499   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4500    then ac_cv_path_FGREP="$GREP -F"
   4501    else
   4502      if test -z "$FGREP"; then
   4503   ac_path_FGREP_found=false
   4504   # Loop through the user's path and test for each of PROGNAME-LIST
   4505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4507 do
   4508   IFS=$as_save_IFS
   4509   test -z "$as_dir" && as_dir=.
   4510   for ac_prog in fgrep; do
   4511     for ac_exec_ext in '' $ac_executable_extensions; do
   4512       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4513       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4514 # Check for GNU ac_path_FGREP and select it if it is found.
   4515   # Check for GNU $ac_path_FGREP
   4516 case `"$ac_path_FGREP" --version 2>&1` in
   4517 *GNU*)
   4518   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4519 *)
   4520   ac_count=0
   4521   $as_echo_n 0123456789 >"conftest.in"
   4522   while :
   4523   do
   4524     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4525     mv "conftest.tmp" "conftest.in"
   4526     cp "conftest.in" "conftest.nl"
   4527     $as_echo 'FGREP' >> "conftest.nl"
   4528     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4529     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4530     ac_count=`expr $ac_count + 1`
   4531     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4532       # Best one so far, save it but keep looking for a better one
   4533       ac_cv_path_FGREP="$ac_path_FGREP"
   4534       ac_path_FGREP_max=$ac_count
   4535     fi
   4536     # 10*(2^10) chars as input seems more than enough
   4537     test $ac_count -gt 10 && break
   4538   done
   4539   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4540 esac
   4541 
   4542       $ac_path_FGREP_found && break 3
   4543     done
   4544   done
   4545 done
   4546 IFS=$as_save_IFS
   4547   if test -z "$ac_cv_path_FGREP"; then
   4548     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4549 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4550    { (exit 1); exit 1; }; }
   4551   fi
   4552 else
   4553   ac_cv_path_FGREP=$FGREP
   4554 fi
   4555 
   4556    fi
   4557 fi
   4558 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4559 $as_echo "$ac_cv_path_FGREP" >&6; }
   4560  FGREP="$ac_cv_path_FGREP"
   4561 
   4562 
   4563 test -z "$GREP" && GREP=grep
   4564 
   4565 
   4566 
   4567 
   4568 
   4569 
   4570 
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 # Check whether --with-gnu-ld was given.
   4584 if test "${with_gnu_ld+set}" = set; then
   4585   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4586 else
   4587   with_gnu_ld=no
   4588 fi
   4589 
   4590 ac_prog=ld
   4591 if test "$GCC" = yes; then
   4592   # Check if gcc -print-prog-name=ld gives a path.
   4593   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4594 $as_echo_n "checking for ld used by $CC... " >&6; }
   4595   case $host in
   4596   *-*-mingw*)
   4597     # gcc leaves a trailing carriage return which upsets mingw
   4598     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4599   *)
   4600     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4601   esac
   4602   case $ac_prog in
   4603     # Accept absolute paths.
   4604     [\\/]* | ?:[\\/]*)
   4605       re_direlt='/[^/][^/]*/\.\./'
   4606       # Canonicalize the pathname of ld
   4607       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4608       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4609 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4610       done
   4611       test -z "$LD" && LD="$ac_prog"
   4612       ;;
   4613   "")
   4614     # If it fails, then pretend we aren't using GCC.
   4615     ac_prog=ld
   4616     ;;
   4617   *)
   4618     # If it is relative, then search for the first ld in PATH.
   4619     with_gnu_ld=unknown
   4620     ;;
   4621   esac
   4622 elif test "$with_gnu_ld" = yes; then
   4623   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4624 $as_echo_n "checking for GNU ld... " >&6; }
   4625 else
   4626   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4627 $as_echo_n "checking for non-GNU ld... " >&6; }
   4628 fi
   4629 if test "${lt_cv_path_LD+set}" = set; then
   4630   $as_echo_n "(cached) " >&6
   4631 else
   4632   if test -z "$LD"; then
   4633   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4634   for ac_dir in $PATH; do
   4635     IFS="$lt_save_ifs"
   4636     test -z "$ac_dir" && ac_dir=.
   4637     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4638       lt_cv_path_LD="$ac_dir/$ac_prog"
   4639       # Check to see if the program is GNU ld.  I'd rather use --version,
   4640       # but apparently some variants of GNU ld only accept -v.
   4641       # Break only if it was the GNU/non-GNU ld that we prefer.
   4642       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4643       *GNU* | *'with BFD'*)
   4644 	test "$with_gnu_ld" != no && break
   4645 	;;
   4646       *)
   4647 	test "$with_gnu_ld" != yes && break
   4648 	;;
   4649       esac
   4650     fi
   4651   done
   4652   IFS="$lt_save_ifs"
   4653 else
   4654   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4655 fi
   4656 fi
   4657 
   4658 LD="$lt_cv_path_LD"
   4659 if test -n "$LD"; then
   4660   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4661 $as_echo "$LD" >&6; }
   4662 else
   4663   { $as_echo "$as_me:$LINENO: result: no" >&5
   4664 $as_echo "no" >&6; }
   4665 fi
   4666 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4667 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4668    { (exit 1); exit 1; }; }
   4669 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4670 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4671 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4672   $as_echo_n "(cached) " >&6
   4673 else
   4674   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4675 case `$LD -v 2>&1 </dev/null` in
   4676 *GNU* | *'with BFD'*)
   4677   lt_cv_prog_gnu_ld=yes
   4678   ;;
   4679 *)
   4680   lt_cv_prog_gnu_ld=no
   4681   ;;
   4682 esac
   4683 fi
   4684 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4685 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4686 with_gnu_ld=$lt_cv_prog_gnu_ld
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4697 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4698 if test "${lt_cv_path_NM+set}" = set; then
   4699   $as_echo_n "(cached) " >&6
   4700 else
   4701   if test -n "$NM"; then
   4702   # Let the user override the test.
   4703   lt_cv_path_NM="$NM"
   4704 else
   4705   lt_nm_to_check="${ac_tool_prefix}nm"
   4706   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4707     lt_nm_to_check="$lt_nm_to_check nm"
   4708   fi
   4709   for lt_tmp_nm in $lt_nm_to_check; do
   4710     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4711     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4712       IFS="$lt_save_ifs"
   4713       test -z "$ac_dir" && ac_dir=.
   4714       tmp_nm="$ac_dir/$lt_tmp_nm"
   4715       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4716 	# Check to see if the nm accepts a BSD-compat flag.
   4717 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4718 	#   nm: unknown option "B" ignored
   4719 	# Tru64's nm complains that /dev/null is an invalid object file
   4720 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4721 	*/dev/null* | *'Invalid file or object type'*)
   4722 	  lt_cv_path_NM="$tmp_nm -B"
   4723 	  break
   4724 	  ;;
   4725 	*)
   4726 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4727 	  */dev/null*)
   4728 	    lt_cv_path_NM="$tmp_nm -p"
   4729 	    break
   4730 	    ;;
   4731 	  *)
   4732 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4733 	    continue # so that we can try to find one that supports BSD flags
   4734 	    ;;
   4735 	  esac
   4736 	  ;;
   4737 	esac
   4738       fi
   4739     done
   4740     IFS="$lt_save_ifs"
   4741   done
   4742   : ${lt_cv_path_NM=no}
   4743 fi
   4744 fi
   4745 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4746 $as_echo "$lt_cv_path_NM" >&6; }
   4747 if test "$lt_cv_path_NM" != "no"; then
   4748   NM="$lt_cv_path_NM"
   4749 else
   4750   # Didn't find any BSD compatible name lister, look for dumpbin.
   4751   if test -n "$ac_tool_prefix"; then
   4752   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4753   do
   4754     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4757 $as_echo_n "checking for $ac_word... " >&6; }
   4758 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4759   $as_echo_n "(cached) " >&6
   4760 else
   4761   if test -n "$DUMPBIN"; then
   4762   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4763 else
   4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4765 for as_dir in $PATH
   4766 do
   4767   IFS=$as_save_IFS
   4768   test -z "$as_dir" && as_dir=.
   4769   for ac_exec_ext in '' $ac_executable_extensions; do
   4770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4771     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4772     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4773     break 2
   4774   fi
   4775 done
   4776 done
   4777 IFS=$as_save_IFS
   4778 
   4779 fi
   4780 fi
   4781 DUMPBIN=$ac_cv_prog_DUMPBIN
   4782 if test -n "$DUMPBIN"; then
   4783   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4784 $as_echo "$DUMPBIN" >&6; }
   4785 else
   4786   { $as_echo "$as_me:$LINENO: result: no" >&5
   4787 $as_echo "no" >&6; }
   4788 fi
   4789 
   4790 
   4791     test -n "$DUMPBIN" && break
   4792   done
   4793 fi
   4794 if test -z "$DUMPBIN"; then
   4795   ac_ct_DUMPBIN=$DUMPBIN
   4796   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4797 do
   4798   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4799 set dummy $ac_prog; ac_word=$2
   4800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4801 $as_echo_n "checking for $ac_word... " >&6; }
   4802 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4803   $as_echo_n "(cached) " >&6
   4804 else
   4805   if test -n "$ac_ct_DUMPBIN"; then
   4806   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4807 else
   4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4809 for as_dir in $PATH
   4810 do
   4811   IFS=$as_save_IFS
   4812   test -z "$as_dir" && as_dir=.
   4813   for ac_exec_ext in '' $ac_executable_extensions; do
   4814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4815     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4816     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4817     break 2
   4818   fi
   4819 done
   4820 done
   4821 IFS=$as_save_IFS
   4822 
   4823 fi
   4824 fi
   4825 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4826 if test -n "$ac_ct_DUMPBIN"; then
   4827   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4828 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4829 else
   4830   { $as_echo "$as_me:$LINENO: result: no" >&5
   4831 $as_echo "no" >&6; }
   4832 fi
   4833 
   4834 
   4835   test -n "$ac_ct_DUMPBIN" && break
   4836 done
   4837 
   4838   if test "x$ac_ct_DUMPBIN" = x; then
   4839     DUMPBIN=":"
   4840   else
   4841     case $cross_compiling:$ac_tool_warned in
   4842 yes:)
   4843 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4845 ac_tool_warned=yes ;;
   4846 esac
   4847     DUMPBIN=$ac_ct_DUMPBIN
   4848   fi
   4849 fi
   4850 
   4851 
   4852   if test "$DUMPBIN" != ":"; then
   4853     NM="$DUMPBIN"
   4854   fi
   4855 fi
   4856 test -z "$NM" && NM=nm
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4864 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4865 if test "${lt_cv_nm_interface+set}" = set; then
   4866   $as_echo_n "(cached) " >&6
   4867 else
   4868   lt_cv_nm_interface="BSD nm"
   4869   echo "int some_variable = 0;" > conftest.$ac_ext
   4870   (eval echo "\"\$as_me:4870: $ac_compile\"" >&5)
   4871   (eval "$ac_compile" 2>conftest.err)
   4872   cat conftest.err >&5
   4873   (eval echo "\"\$as_me:4873: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4874   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4875   cat conftest.err >&5
   4876   (eval echo "\"\$as_me:4876: output\"" >&5)
   4877   cat conftest.out >&5
   4878   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4879     lt_cv_nm_interface="MS dumpbin"
   4880   fi
   4881   rm -f conftest*
   4882 fi
   4883 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4884 $as_echo "$lt_cv_nm_interface" >&6; }
   4885 
   4886 # find the maximum length of command line arguments
   4887 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4888 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4889 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892     i=0
   4893   teststring="ABCD"
   4894 
   4895   case $build_os in
   4896   msdosdjgpp*)
   4897     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4898     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4899     # during glob expansion).  Even if it were fixed, the result of this
   4900     # check would be larger than it should be.
   4901     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4902     ;;
   4903 
   4904   gnu*)
   4905     # Under GNU Hurd, this test is not required because there is
   4906     # no limit to the length of command line arguments.
   4907     # Libtool will interpret -1 as no limit whatsoever
   4908     lt_cv_sys_max_cmd_len=-1;
   4909     ;;
   4910 
   4911   cygwin* | mingw* | cegcc*)
   4912     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4913     # about 5 minutes as the teststring grows exponentially.
   4914     # Worse, since 9x/ME are not pre-emptively multitasking,
   4915     # you end up with a "frozen" computer, even though with patience
   4916     # the test eventually succeeds (with a max line length of 256k).
   4917     # Instead, let's just punt: use the minimum linelength reported by
   4918     # all of the supported platforms: 8192 (on NT/2K/XP).
   4919     lt_cv_sys_max_cmd_len=8192;
   4920     ;;
   4921 
   4922   amigaos*)
   4923     # On AmigaOS with pdksh, this test takes hours, literally.
   4924     # So we just punt and use a minimum line length of 8192.
   4925     lt_cv_sys_max_cmd_len=8192;
   4926     ;;
   4927 
   4928   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4929     # This has been around since 386BSD, at least.  Likely further.
   4930     if test -x /sbin/sysctl; then
   4931       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4932     elif test -x /usr/sbin/sysctl; then
   4933       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4934     else
   4935       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4936     fi
   4937     # And add a safety zone
   4938     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4939     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4940     ;;
   4941 
   4942   interix*)
   4943     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4944     lt_cv_sys_max_cmd_len=196608
   4945     ;;
   4946 
   4947   osf*)
   4948     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4949     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4950     # nice to cause kernel panics so lets avoid the loop below.
   4951     # First set a reasonable default.
   4952     lt_cv_sys_max_cmd_len=16384
   4953     #
   4954     if test -x /sbin/sysconfig; then
   4955       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4956         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4957       esac
   4958     fi
   4959     ;;
   4960   sco3.2v5*)
   4961     lt_cv_sys_max_cmd_len=102400
   4962     ;;
   4963   sysv5* | sco5v6* | sysv4.2uw2*)
   4964     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4965     if test -n "$kargmax"; then
   4966       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4967     else
   4968       lt_cv_sys_max_cmd_len=32768
   4969     fi
   4970     ;;
   4971   *)
   4972     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4973     if test -n "$lt_cv_sys_max_cmd_len"; then
   4974       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4975       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4976     else
   4977       # Make teststring a little bigger before we do anything with it.
   4978       # a 1K string should be a reasonable start.
   4979       for i in 1 2 3 4 5 6 7 8 ; do
   4980         teststring=$teststring$teststring
   4981       done
   4982       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4983       # If test is not a shell built-in, we'll probably end up computing a
   4984       # maximum length that is only half of the actual maximum length, but
   4985       # we can't tell.
   4986       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4987 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4988 	      test $i != 17 # 1/2 MB should be enough
   4989       do
   4990         i=`expr $i + 1`
   4991         teststring=$teststring$teststring
   4992       done
   4993       # Only check the string length outside the loop.
   4994       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4995       teststring=
   4996       # Add a significant safety factor because C++ compilers can tack on
   4997       # massive amounts of additional arguments before passing them to the
   4998       # linker.  It appears as though 1/2 is a usable value.
   4999       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5000     fi
   5001     ;;
   5002   esac
   5003 
   5004 fi
   5005 
   5006 if test -n $lt_cv_sys_max_cmd_len ; then
   5007   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5008 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5009 else
   5010   { $as_echo "$as_me:$LINENO: result: none" >&5
   5011 $as_echo "none" >&6; }
   5012 fi
   5013 max_cmd_len=$lt_cv_sys_max_cmd_len
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 : ${CP="cp -f"}
   5021 : ${MV="mv -f"}
   5022 : ${RM="rm -f"}
   5023 
   5024 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5025 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5026 # Try some XSI features
   5027 xsi_shell=no
   5028 ( _lt_dummy="a/b/c"
   5029   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5030       = c,a/b,, \
   5031     && eval 'test $(( 1 + 1 )) -eq 2 \
   5032     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5033   && xsi_shell=yes
   5034 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5035 $as_echo "$xsi_shell" >&6; }
   5036 
   5037 
   5038 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5039 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5040 lt_shell_append=no
   5041 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5042     >/dev/null 2>&1 \
   5043   && lt_shell_append=yes
   5044 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5045 $as_echo "$lt_shell_append" >&6; }
   5046 
   5047 
   5048 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5049   lt_unset=unset
   5050 else
   5051   lt_unset=false
   5052 fi
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 # test EBCDIC or ASCII
   5059 case `echo X|tr X '\101'` in
   5060  A) # ASCII based system
   5061     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5062   lt_SP2NL='tr \040 \012'
   5063   lt_NL2SP='tr \015\012 \040\040'
   5064   ;;
   5065  *) # EBCDIC based system
   5066   lt_SP2NL='tr \100 \n'
   5067   lt_NL2SP='tr \r\n \100\100'
   5068   ;;
   5069 esac
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   5080 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5081 if test "${lt_cv_ld_reload_flag+set}" = set; then
   5082   $as_echo_n "(cached) " >&6
   5083 else
   5084   lt_cv_ld_reload_flag='-r'
   5085 fi
   5086 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   5087 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5088 reload_flag=$lt_cv_ld_reload_flag
   5089 case $reload_flag in
   5090 "" | " "*) ;;
   5091 *) reload_flag=" $reload_flag" ;;
   5092 esac
   5093 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5094 case $host_os in
   5095   darwin*)
   5096     if test "$GCC" = yes; then
   5097       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5098     else
   5099       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5100     fi
   5101     ;;
   5102 esac
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 if test -n "$ac_tool_prefix"; then
   5113   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5114 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5115 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5116 $as_echo_n "checking for $ac_word... " >&6; }
   5117 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   5118   $as_echo_n "(cached) " >&6
   5119 else
   5120   if test -n "$OBJDUMP"; then
   5121   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5122 else
   5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5124 for as_dir in $PATH
   5125 do
   5126   IFS=$as_save_IFS
   5127   test -z "$as_dir" && as_dir=.
   5128   for ac_exec_ext in '' $ac_executable_extensions; do
   5129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5130     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5131     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5132     break 2
   5133   fi
   5134 done
   5135 done
   5136 IFS=$as_save_IFS
   5137 
   5138 fi
   5139 fi
   5140 OBJDUMP=$ac_cv_prog_OBJDUMP
   5141 if test -n "$OBJDUMP"; then
   5142   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   5143 $as_echo "$OBJDUMP" >&6; }
   5144 else
   5145   { $as_echo "$as_me:$LINENO: result: no" >&5
   5146 $as_echo "no" >&6; }
   5147 fi
   5148 
   5149 
   5150 fi
   5151 if test -z "$ac_cv_prog_OBJDUMP"; then
   5152   ac_ct_OBJDUMP=$OBJDUMP
   5153   # Extract the first word of "objdump", so it can be a program name with args.
   5154 set dummy objdump; ac_word=$2
   5155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5156 $as_echo_n "checking for $ac_word... " >&6; }
   5157 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   if test -n "$ac_ct_OBJDUMP"; then
   5161   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5162 else
   5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5164 for as_dir in $PATH
   5165 do
   5166   IFS=$as_save_IFS
   5167   test -z "$as_dir" && as_dir=.
   5168   for ac_exec_ext in '' $ac_executable_extensions; do
   5169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5170     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5171     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5172     break 2
   5173   fi
   5174 done
   5175 done
   5176 IFS=$as_save_IFS
   5177 
   5178 fi
   5179 fi
   5180 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5181 if test -n "$ac_ct_OBJDUMP"; then
   5182   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   5183 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5184 else
   5185   { $as_echo "$as_me:$LINENO: result: no" >&5
   5186 $as_echo "no" >&6; }
   5187 fi
   5188 
   5189   if test "x$ac_ct_OBJDUMP" = x; then
   5190     OBJDUMP="false"
   5191   else
   5192     case $cross_compiling:$ac_tool_warned in
   5193 yes:)
   5194 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5196 ac_tool_warned=yes ;;
   5197 esac
   5198     OBJDUMP=$ac_ct_OBJDUMP
   5199   fi
   5200 else
   5201   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5202 fi
   5203 
   5204 test -z "$OBJDUMP" && OBJDUMP=objdump
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   5212 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5213 if test "${lt_cv_deplibs_check_method+set}" = set; then
   5214   $as_echo_n "(cached) " >&6
   5215 else
   5216   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5217 lt_cv_file_magic_test_file=
   5218 lt_cv_deplibs_check_method='unknown'
   5219 # Need to set the preceding variable on all platforms that support
   5220 # interlibrary dependencies.
   5221 # 'none' -- dependencies not supported.
   5222 # `unknown' -- same as none, but documents that we really don't know.
   5223 # 'pass_all' -- all dependencies passed with no checks.
   5224 # 'test_compile' -- check by making test program.
   5225 # 'file_magic [[regex]]' -- check by looking for files in library path
   5226 # which responds to the $file_magic_cmd with a given extended regex.
   5227 # If you have `file' or equivalent on your system and you're not sure
   5228 # whether `pass_all' will *always* work, you probably want this one.
   5229 
   5230 case $host_os in
   5231 aix[4-9]*)
   5232   lt_cv_deplibs_check_method=pass_all
   5233   ;;
   5234 
   5235 beos*)
   5236   lt_cv_deplibs_check_method=pass_all
   5237   ;;
   5238 
   5239 bsdi[45]*)
   5240   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5241   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5242   lt_cv_file_magic_test_file=/shlib/libc.so
   5243   ;;
   5244 
   5245 cygwin*)
   5246   # func_win32_libid is a shell function defined in ltmain.sh
   5247   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5248   lt_cv_file_magic_cmd='func_win32_libid'
   5249   ;;
   5250 
   5251 mingw* | pw32*)
   5252   # Base MSYS/MinGW do not provide the 'file' command needed by
   5253   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5254   # unless we find 'file', for example because we are cross-compiling.
   5255   if ( file / ) >/dev/null 2>&1; then
   5256     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5257     lt_cv_file_magic_cmd='func_win32_libid'
   5258   else
   5259     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5260     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5261   fi
   5262   ;;
   5263 
   5264 cegcc)
   5265   # use the weaker test based on 'objdump'. See mingw*.
   5266   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5267   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5268   ;;
   5269 
   5270 darwin* | rhapsody*)
   5271   lt_cv_deplibs_check_method=pass_all
   5272   ;;
   5273 
   5274 freebsd* | dragonfly*)
   5275   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5276     case $host_cpu in
   5277     i*86 )
   5278       # Not sure whether the presence of OpenBSD here was a mistake.
   5279       # Let's accept both of them until this is cleared up.
   5280       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5281       lt_cv_file_magic_cmd=/usr/bin/file
   5282       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5283       ;;
   5284     esac
   5285   else
   5286     lt_cv_deplibs_check_method=pass_all
   5287   fi
   5288   ;;
   5289 
   5290 gnu*)
   5291   lt_cv_deplibs_check_method=pass_all
   5292   ;;
   5293 
   5294 hpux10.20* | hpux11*)
   5295   lt_cv_file_magic_cmd=/usr/bin/file
   5296   case $host_cpu in
   5297   ia64*)
   5298     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5299     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5300     ;;
   5301   hppa*64*)
   5302     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]'
   5303     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5304     ;;
   5305   *)
   5306     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5307     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5308     ;;
   5309   esac
   5310   ;;
   5311 
   5312 interix[3-9]*)
   5313   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5314   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5315   ;;
   5316 
   5317 irix5* | irix6* | nonstopux*)
   5318   case $LD in
   5319   *-32|*"-32 ") libmagic=32-bit;;
   5320   *-n32|*"-n32 ") libmagic=N32;;
   5321   *-64|*"-64 ") libmagic=64-bit;;
   5322   *) libmagic=never-match;;
   5323   esac
   5324   lt_cv_deplibs_check_method=pass_all
   5325   ;;
   5326 
   5327 # This must be Linux ELF.
   5328 linux* | k*bsd*-gnu)
   5329   lt_cv_deplibs_check_method=pass_all
   5330   ;;
   5331 
   5332 netbsd*)
   5333   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5335   else
   5336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5337   fi
   5338   ;;
   5339 
   5340 newos6*)
   5341   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5342   lt_cv_file_magic_cmd=/usr/bin/file
   5343   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5344   ;;
   5345 
   5346 *nto* | *qnx*)
   5347   lt_cv_deplibs_check_method=pass_all
   5348   ;;
   5349 
   5350 openbsd*)
   5351   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5352     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5353   else
   5354     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5355   fi
   5356   ;;
   5357 
   5358 osf3* | osf4* | osf5*)
   5359   lt_cv_deplibs_check_method=pass_all
   5360   ;;
   5361 
   5362 rdos*)
   5363   lt_cv_deplibs_check_method=pass_all
   5364   ;;
   5365 
   5366 solaris*)
   5367   lt_cv_deplibs_check_method=pass_all
   5368   ;;
   5369 
   5370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5371   lt_cv_deplibs_check_method=pass_all
   5372   ;;
   5373 
   5374 sysv4 | sysv4.3*)
   5375   case $host_vendor in
   5376   motorola)
   5377     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]'
   5378     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5379     ;;
   5380   ncr)
   5381     lt_cv_deplibs_check_method=pass_all
   5382     ;;
   5383   sequent)
   5384     lt_cv_file_magic_cmd='/bin/file'
   5385     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5386     ;;
   5387   sni)
   5388     lt_cv_file_magic_cmd='/bin/file'
   5389     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5390     lt_cv_file_magic_test_file=/lib/libc.so
   5391     ;;
   5392   siemens)
   5393     lt_cv_deplibs_check_method=pass_all
   5394     ;;
   5395   pc)
   5396     lt_cv_deplibs_check_method=pass_all
   5397     ;;
   5398   esac
   5399   ;;
   5400 
   5401 tpf*)
   5402   lt_cv_deplibs_check_method=pass_all
   5403   ;;
   5404 esac
   5405 
   5406 fi
   5407 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5409 file_magic_cmd=$lt_cv_file_magic_cmd
   5410 deplibs_check_method=$lt_cv_deplibs_check_method
   5411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 if test -n "$ac_tool_prefix"; then
   5425   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5426 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5427 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5428 $as_echo_n "checking for $ac_word... " >&6; }
   5429 if test "${ac_cv_prog_AR+set}" = set; then
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   if test -n "$AR"; then
   5433   ac_cv_prog_AR="$AR" # Let the user override the test.
   5434 else
   5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5436 for as_dir in $PATH
   5437 do
   5438   IFS=$as_save_IFS
   5439   test -z "$as_dir" && as_dir=.
   5440   for ac_exec_ext in '' $ac_executable_extensions; do
   5441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5442     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5443     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5444     break 2
   5445   fi
   5446 done
   5447 done
   5448 IFS=$as_save_IFS
   5449 
   5450 fi
   5451 fi
   5452 AR=$ac_cv_prog_AR
   5453 if test -n "$AR"; then
   5454   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5455 $as_echo "$AR" >&6; }
   5456 else
   5457   { $as_echo "$as_me:$LINENO: result: no" >&5
   5458 $as_echo "no" >&6; }
   5459 fi
   5460 
   5461 
   5462 fi
   5463 if test -z "$ac_cv_prog_AR"; then
   5464   ac_ct_AR=$AR
   5465   # Extract the first word of "ar", so it can be a program name with args.
   5466 set dummy ar; ac_word=$2
   5467 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5468 $as_echo_n "checking for $ac_word... " >&6; }
   5469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5470   $as_echo_n "(cached) " >&6
   5471 else
   5472   if test -n "$ac_ct_AR"; then
   5473   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5474 else
   5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5476 for as_dir in $PATH
   5477 do
   5478   IFS=$as_save_IFS
   5479   test -z "$as_dir" && as_dir=.
   5480   for ac_exec_ext in '' $ac_executable_extensions; do
   5481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5482     ac_cv_prog_ac_ct_AR="ar"
   5483     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5484     break 2
   5485   fi
   5486 done
   5487 done
   5488 IFS=$as_save_IFS
   5489 
   5490 fi
   5491 fi
   5492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5493 if test -n "$ac_ct_AR"; then
   5494   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5495 $as_echo "$ac_ct_AR" >&6; }
   5496 else
   5497   { $as_echo "$as_me:$LINENO: result: no" >&5
   5498 $as_echo "no" >&6; }
   5499 fi
   5500 
   5501   if test "x$ac_ct_AR" = x; then
   5502     AR="false"
   5503   else
   5504     case $cross_compiling:$ac_tool_warned in
   5505 yes:)
   5506 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5508 ac_tool_warned=yes ;;
   5509 esac
   5510     AR=$ac_ct_AR
   5511   fi
   5512 else
   5513   AR="$ac_cv_prog_AR"
   5514 fi
   5515 
   5516 test -z "$AR" && AR=ar
   5517 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 if test -n "$ac_tool_prefix"; then
   5530   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5531 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5533 $as_echo_n "checking for $ac_word... " >&6; }
   5534 if test "${ac_cv_prog_STRIP+set}" = set; then
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   if test -n "$STRIP"; then
   5538   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5539 else
   5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5541 for as_dir in $PATH
   5542 do
   5543   IFS=$as_save_IFS
   5544   test -z "$as_dir" && as_dir=.
   5545   for ac_exec_ext in '' $ac_executable_extensions; do
   5546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5547     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5548     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5549     break 2
   5550   fi
   5551 done
   5552 done
   5553 IFS=$as_save_IFS
   5554 
   5555 fi
   5556 fi
   5557 STRIP=$ac_cv_prog_STRIP
   5558 if test -n "$STRIP"; then
   5559   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5560 $as_echo "$STRIP" >&6; }
   5561 else
   5562   { $as_echo "$as_me:$LINENO: result: no" >&5
   5563 $as_echo "no" >&6; }
   5564 fi
   5565 
   5566 
   5567 fi
   5568 if test -z "$ac_cv_prog_STRIP"; then
   5569   ac_ct_STRIP=$STRIP
   5570   # Extract the first word of "strip", so it can be a program name with args.
   5571 set dummy strip; ac_word=$2
   5572 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5573 $as_echo_n "checking for $ac_word... " >&6; }
   5574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   if test -n "$ac_ct_STRIP"; then
   5578   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5579 else
   5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5581 for as_dir in $PATH
   5582 do
   5583   IFS=$as_save_IFS
   5584   test -z "$as_dir" && as_dir=.
   5585   for ac_exec_ext in '' $ac_executable_extensions; do
   5586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5587     ac_cv_prog_ac_ct_STRIP="strip"
   5588     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5589     break 2
   5590   fi
   5591 done
   5592 done
   5593 IFS=$as_save_IFS
   5594 
   5595 fi
   5596 fi
   5597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5598 if test -n "$ac_ct_STRIP"; then
   5599   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5600 $as_echo "$ac_ct_STRIP" >&6; }
   5601 else
   5602   { $as_echo "$as_me:$LINENO: result: no" >&5
   5603 $as_echo "no" >&6; }
   5604 fi
   5605 
   5606   if test "x$ac_ct_STRIP" = x; then
   5607     STRIP=":"
   5608   else
   5609     case $cross_compiling:$ac_tool_warned in
   5610 yes:)
   5611 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5613 ac_tool_warned=yes ;;
   5614 esac
   5615     STRIP=$ac_ct_STRIP
   5616   fi
   5617 else
   5618   STRIP="$ac_cv_prog_STRIP"
   5619 fi
   5620 
   5621 test -z "$STRIP" && STRIP=:
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 if test -n "$ac_tool_prefix"; then
   5629   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5631 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5632 $as_echo_n "checking for $ac_word... " >&6; }
   5633 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5634   $as_echo_n "(cached) " >&6
   5635 else
   5636   if test -n "$RANLIB"; then
   5637   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5638 else
   5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5640 for as_dir in $PATH
   5641 do
   5642   IFS=$as_save_IFS
   5643   test -z "$as_dir" && as_dir=.
   5644   for ac_exec_ext in '' $ac_executable_extensions; do
   5645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5646     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5647     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5648     break 2
   5649   fi
   5650 done
   5651 done
   5652 IFS=$as_save_IFS
   5653 
   5654 fi
   5655 fi
   5656 RANLIB=$ac_cv_prog_RANLIB
   5657 if test -n "$RANLIB"; then
   5658   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5659 $as_echo "$RANLIB" >&6; }
   5660 else
   5661   { $as_echo "$as_me:$LINENO: result: no" >&5
   5662 $as_echo "no" >&6; }
   5663 fi
   5664 
   5665 
   5666 fi
   5667 if test -z "$ac_cv_prog_RANLIB"; then
   5668   ac_ct_RANLIB=$RANLIB
   5669   # Extract the first word of "ranlib", so it can be a program name with args.
   5670 set dummy ranlib; ac_word=$2
   5671 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5672 $as_echo_n "checking for $ac_word... " >&6; }
   5673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5674   $as_echo_n "(cached) " >&6
   5675 else
   5676   if test -n "$ac_ct_RANLIB"; then
   5677   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5678 else
   5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5680 for as_dir in $PATH
   5681 do
   5682   IFS=$as_save_IFS
   5683   test -z "$as_dir" && as_dir=.
   5684   for ac_exec_ext in '' $ac_executable_extensions; do
   5685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5686     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5687     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5688     break 2
   5689   fi
   5690 done
   5691 done
   5692 IFS=$as_save_IFS
   5693 
   5694 fi
   5695 fi
   5696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5697 if test -n "$ac_ct_RANLIB"; then
   5698   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5699 $as_echo "$ac_ct_RANLIB" >&6; }
   5700 else
   5701   { $as_echo "$as_me:$LINENO: result: no" >&5
   5702 $as_echo "no" >&6; }
   5703 fi
   5704 
   5705   if test "x$ac_ct_RANLIB" = x; then
   5706     RANLIB=":"
   5707   else
   5708     case $cross_compiling:$ac_tool_warned in
   5709 yes:)
   5710 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5712 ac_tool_warned=yes ;;
   5713 esac
   5714     RANLIB=$ac_ct_RANLIB
   5715   fi
   5716 else
   5717   RANLIB="$ac_cv_prog_RANLIB"
   5718 fi
   5719 
   5720 test -z "$RANLIB" && RANLIB=:
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 # Determine commands to create old-style static archives.
   5728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5729 old_postinstall_cmds='chmod 644 $oldlib'
   5730 old_postuninstall_cmds=
   5731 
   5732 if test -n "$RANLIB"; then
   5733   case $host_os in
   5734   openbsd*)
   5735     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5736     ;;
   5737   *)
   5738     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5739     ;;
   5740   esac
   5741   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5742 fi
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 # If no C compiler was specified, use CC.
   5778 LTCC=${LTCC-"$CC"}
   5779 
   5780 # If no C compiler flags were specified, use CFLAGS.
   5781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5782 
   5783 # Allow CC to be a program name with arguments.
   5784 compiler=$CC
   5785 
   5786 
   5787 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5788 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5789 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5790 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5791   $as_echo_n "(cached) " >&6
   5792 else
   5793 
   5794 # These are sane defaults that work on at least a few old systems.
   5795 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5796 
   5797 # Character class describing NM global symbol codes.
   5798 symcode='[BCDEGRST]'
   5799 
   5800 # Regexp to match symbols that can be accessed directly from C.
   5801 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5802 
   5803 # Define system-specific variables.
   5804 case $host_os in
   5805 aix*)
   5806   symcode='[BCDT]'
   5807   ;;
   5808 cygwin* | mingw* | pw32* | cegcc*)
   5809   symcode='[ABCDGISTW]'
   5810   ;;
   5811 hpux*)
   5812   if test "$host_cpu" = ia64; then
   5813     symcode='[ABCDEGRST]'
   5814   fi
   5815   ;;
   5816 irix* | nonstopux*)
   5817   symcode='[BCDEGRST]'
   5818   ;;
   5819 osf*)
   5820   symcode='[BCDEGQRST]'
   5821   ;;
   5822 solaris*)
   5823   symcode='[BDRT]'
   5824   ;;
   5825 sco3.2v5*)
   5826   symcode='[DT]'
   5827   ;;
   5828 sysv4.2uw2*)
   5829   symcode='[DT]'
   5830   ;;
   5831 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5832   symcode='[ABDT]'
   5833   ;;
   5834 sysv4)
   5835   symcode='[DFNSTU]'
   5836   ;;
   5837 esac
   5838 
   5839 # If we're using GNU nm, then use its standard symbol codes.
   5840 case `$NM -V 2>&1` in
   5841 *GNU* | *'with BFD'*)
   5842   symcode='[ABCDGIRSTW]' ;;
   5843 esac
   5844 
   5845 # Transform an extracted symbol line into a proper C declaration.
   5846 # Some systems (esp. on ia64) link data and code symbols differently,
   5847 # so use this general approach.
   5848 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5849 
   5850 # Transform an extracted symbol line into symbol name and symbol address
   5851 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5852 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'"
   5853 
   5854 # Handle CRLF in mingw tool chain
   5855 opt_cr=
   5856 case $build_os in
   5857 mingw*)
   5858   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5859   ;;
   5860 esac
   5861 
   5862 # Try without a prefix underscore, then with it.
   5863 for ac_symprfx in "" "_"; do
   5864 
   5865   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5866   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5867 
   5868   # Write the raw and C identifiers.
   5869   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5870     # Fake it for dumpbin and say T for any non-static function
   5871     # and D for any global variable.
   5872     # Also find C++ and __fastcall symbols from MSVC++,
   5873     # which start with @ or ?.
   5874     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5875 "     {last_section=section; section=\$ 3};"\
   5876 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5877 "     \$ 0!~/External *\|/{next};"\
   5878 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5879 "     {if(hide[section]) next};"\
   5880 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5881 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5882 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5883 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5884 "     ' prfx=^$ac_symprfx"
   5885   else
   5886     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5887   fi
   5888 
   5889   # Check to see that the pipe works correctly.
   5890   pipe_works=no
   5891 
   5892   rm -f conftest*
   5893   cat > conftest.$ac_ext <<_LT_EOF
   5894 #ifdef __cplusplus
   5895 extern "C" {
   5896 #endif
   5897 char nm_test_var;
   5898 void nm_test_func(void);
   5899 void nm_test_func(void){}
   5900 #ifdef __cplusplus
   5901 }
   5902 #endif
   5903 int main(){nm_test_var='a';nm_test_func();return(0);}
   5904 _LT_EOF
   5905 
   5906   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5907   (eval $ac_compile) 2>&5
   5908   ac_status=$?
   5909   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5910   (exit $ac_status); }; then
   5911     # Now try to grab the symbols.
   5912     nlist=conftest.nm
   5913     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5914   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5915   ac_status=$?
   5916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5917   (exit $ac_status); } && test -s "$nlist"; then
   5918       # Try sorting and uniquifying the output.
   5919       if sort "$nlist" | uniq > "$nlist"T; then
   5920 	mv -f "$nlist"T "$nlist"
   5921       else
   5922 	rm -f "$nlist"T
   5923       fi
   5924 
   5925       # Make sure that we snagged all the symbols we need.
   5926       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5927 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5928 	  cat <<_LT_EOF > conftest.$ac_ext
   5929 #ifdef __cplusplus
   5930 extern "C" {
   5931 #endif
   5932 
   5933 _LT_EOF
   5934 	  # Now generate the symbol file.
   5935 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5936 
   5937 	  cat <<_LT_EOF >> conftest.$ac_ext
   5938 
   5939 /* The mapping between symbol names and symbols.  */
   5940 const struct {
   5941   const char *name;
   5942   void       *address;
   5943 }
   5944 lt__PROGRAM__LTX_preloaded_symbols[] =
   5945 {
   5946   { "@PROGRAM@", (void *) 0 },
   5947 _LT_EOF
   5948 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5949 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5950   {0, (void *) 0}
   5951 };
   5952 
   5953 /* This works around a problem in FreeBSD linker */
   5954 #ifdef FREEBSD_WORKAROUND
   5955 static const void *lt_preloaded_setup() {
   5956   return lt__PROGRAM__LTX_preloaded_symbols;
   5957 }
   5958 #endif
   5959 
   5960 #ifdef __cplusplus
   5961 }
   5962 #endif
   5963 _LT_EOF
   5964 	  # Now try linking the two files.
   5965 	  mv conftest.$ac_objext conftstm.$ac_objext
   5966 	  lt_save_LIBS="$LIBS"
   5967 	  lt_save_CFLAGS="$CFLAGS"
   5968 	  LIBS="conftstm.$ac_objext"
   5969 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5970 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5971   (eval $ac_link) 2>&5
   5972   ac_status=$?
   5973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5974   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5975 	    pipe_works=yes
   5976 	  fi
   5977 	  LIBS="$lt_save_LIBS"
   5978 	  CFLAGS="$lt_save_CFLAGS"
   5979 	else
   5980 	  echo "cannot find nm_test_func in $nlist" >&5
   5981 	fi
   5982       else
   5983 	echo "cannot find nm_test_var in $nlist" >&5
   5984       fi
   5985     else
   5986       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5987     fi
   5988   else
   5989     echo "$progname: failed program was:" >&5
   5990     cat conftest.$ac_ext >&5
   5991   fi
   5992   rm -rf conftest* conftst*
   5993 
   5994   # Do not use the global_symbol_pipe unless it works.
   5995   if test "$pipe_works" = yes; then
   5996     break
   5997   else
   5998     lt_cv_sys_global_symbol_pipe=
   5999   fi
   6000 done
   6001 
   6002 fi
   6003 
   6004 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6005   lt_cv_sys_global_symbol_to_cdecl=
   6006 fi
   6007 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6008   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6009 $as_echo "failed" >&6; }
   6010 else
   6011   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6012 $as_echo "ok" >&6; }
   6013 fi
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 # Check whether --enable-libtool-lock was given.
   6038 if test "${enable_libtool_lock+set}" = set; then
   6039   enableval=$enable_libtool_lock;
   6040 fi
   6041 
   6042 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6043 
   6044 # Some flags need to be propagated to the compiler or linker for good
   6045 # libtool support.
   6046 case $host in
   6047 ia64-*-hpux*)
   6048   # Find out which ABI we are using.
   6049   echo 'int i;' > conftest.$ac_ext
   6050   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6051   (eval $ac_compile) 2>&5
   6052   ac_status=$?
   6053   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6054   (exit $ac_status); }; then
   6055     case `/usr/bin/file conftest.$ac_objext` in
   6056       *ELF-32*)
   6057 	HPUX_IA64_MODE="32"
   6058 	;;
   6059       *ELF-64*)
   6060 	HPUX_IA64_MODE="64"
   6061 	;;
   6062     esac
   6063   fi
   6064   rm -rf conftest*
   6065   ;;
   6066 *-*-irix6*)
   6067   # Find out which ABI we are using.
   6068   echo '#line 6068 "configure"' > conftest.$ac_ext
   6069   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6070   (eval $ac_compile) 2>&5
   6071   ac_status=$?
   6072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6073   (exit $ac_status); }; then
   6074     if test "$lt_cv_prog_gnu_ld" = yes; then
   6075       case `/usr/bin/file conftest.$ac_objext` in
   6076 	*32-bit*)
   6077 	  LD="${LD-ld} -melf32bsmip"
   6078 	  ;;
   6079 	*N32*)
   6080 	  LD="${LD-ld} -melf32bmipn32"
   6081 	  ;;
   6082 	*64-bit*)
   6083 	  LD="${LD-ld} -melf64bmip"
   6084 	;;
   6085       esac
   6086     else
   6087       case `/usr/bin/file conftest.$ac_objext` in
   6088 	*32-bit*)
   6089 	  LD="${LD-ld} -32"
   6090 	  ;;
   6091 	*N32*)
   6092 	  LD="${LD-ld} -n32"
   6093 	  ;;
   6094 	*64-bit*)
   6095 	  LD="${LD-ld} -64"
   6096 	  ;;
   6097       esac
   6098     fi
   6099   fi
   6100   rm -rf conftest*
   6101   ;;
   6102 
   6103 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6104 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6105   # Find out which ABI we are using.
   6106   echo 'int i;' > conftest.$ac_ext
   6107   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6108   (eval $ac_compile) 2>&5
   6109   ac_status=$?
   6110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6111   (exit $ac_status); }; then
   6112     case `/usr/bin/file conftest.o` in
   6113       *32-bit*)
   6114 	case $host in
   6115 	  x86_64-*kfreebsd*-gnu)
   6116 	    LD="${LD-ld} -m elf_i386_fbsd"
   6117 	    ;;
   6118 	  x86_64-*linux*)
   6119 	    LD="${LD-ld} -m elf_i386"
   6120 	    ;;
   6121 	  ppc64-*linux*|powerpc64-*linux*)
   6122 	    LD="${LD-ld} -m elf32ppclinux"
   6123 	    ;;
   6124 	  s390x-*linux*)
   6125 	    LD="${LD-ld} -m elf_s390"
   6126 	    ;;
   6127 	  sparc64-*linux*)
   6128 	    LD="${LD-ld} -m elf32_sparc"
   6129 	    ;;
   6130 	esac
   6131 	;;
   6132       *64-bit*)
   6133 	case $host in
   6134 	  x86_64-*kfreebsd*-gnu)
   6135 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6136 	    ;;
   6137 	  x86_64-*linux*)
   6138 	    LD="${LD-ld} -m elf_x86_64"
   6139 	    ;;
   6140 	  ppc*-*linux*|powerpc*-*linux*)
   6141 	    LD="${LD-ld} -m elf64ppc"
   6142 	    ;;
   6143 	  s390*-*linux*|s390*-*tpf*)
   6144 	    LD="${LD-ld} -m elf64_s390"
   6145 	    ;;
   6146 	  sparc*-*linux*)
   6147 	    LD="${LD-ld} -m elf64_sparc"
   6148 	    ;;
   6149 	esac
   6150 	;;
   6151     esac
   6152   fi
   6153   rm -rf conftest*
   6154   ;;
   6155 
   6156 *-*-sco3.2v5*)
   6157   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6158   SAVE_CFLAGS="$CFLAGS"
   6159   CFLAGS="$CFLAGS -belf"
   6160   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   6161 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6162 if test "${lt_cv_cc_needs_belf+set}" = set; then
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   ac_ext=c
   6166 ac_cpp='$CPP $CPPFLAGS'
   6167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6170 
   6171      cat >conftest.$ac_ext <<_ACEOF
   6172 /* confdefs.h.  */
   6173 _ACEOF
   6174 cat confdefs.h >>conftest.$ac_ext
   6175 cat >>conftest.$ac_ext <<_ACEOF
   6176 /* end confdefs.h.  */
   6177 
   6178 int
   6179 main ()
   6180 {
   6181 
   6182   ;
   6183   return 0;
   6184 }
   6185 _ACEOF
   6186 rm -f conftest.$ac_objext conftest$ac_exeext
   6187 if { (ac_try="$ac_link"
   6188 case "(($ac_try" in
   6189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6190   *) ac_try_echo=$ac_try;;
   6191 esac
   6192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6193 $as_echo "$ac_try_echo") >&5
   6194   (eval "$ac_link") 2>conftest.er1
   6195   ac_status=$?
   6196   grep -v '^ *+' conftest.er1 >conftest.err
   6197   rm -f conftest.er1
   6198   cat conftest.err >&5
   6199   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6200   (exit $ac_status); } && {
   6201 	 test -z "$ac_c_werror_flag" ||
   6202 	 test ! -s conftest.err
   6203        } && test -s conftest$ac_exeext && {
   6204 	 test "$cross_compiling" = yes ||
   6205 	 $as_test_x conftest$ac_exeext
   6206        }; then
   6207   lt_cv_cc_needs_belf=yes
   6208 else
   6209   $as_echo "$as_me: failed program was:" >&5
   6210 sed 's/^/| /' conftest.$ac_ext >&5
   6211 
   6212 	lt_cv_cc_needs_belf=no
   6213 fi
   6214 
   6215 rm -rf conftest.dSYM
   6216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6217       conftest$ac_exeext conftest.$ac_ext
   6218      ac_ext=c
   6219 ac_cpp='$CPP $CPPFLAGS'
   6220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6223 
   6224 fi
   6225 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   6226 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6227   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6228     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6229     CFLAGS="$SAVE_CFLAGS"
   6230   fi
   6231   ;;
   6232 sparc*-*solaris*)
   6233   # Find out which ABI we are using.
   6234   echo 'int i;' > conftest.$ac_ext
   6235   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6236   (eval $ac_compile) 2>&5
   6237   ac_status=$?
   6238   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6239   (exit $ac_status); }; then
   6240     case `/usr/bin/file conftest.o` in
   6241     *64-bit*)
   6242       case $lt_cv_prog_gnu_ld in
   6243       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6244       *)
   6245 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6246 	  LD="${LD-ld} -64"
   6247 	fi
   6248 	;;
   6249       esac
   6250       ;;
   6251     esac
   6252   fi
   6253   rm -rf conftest*
   6254   ;;
   6255 esac
   6256 
   6257 need_locks="$enable_libtool_lock"
   6258 
   6259 
   6260   case $host_os in
   6261     rhapsody* | darwin*)
   6262     if test -n "$ac_tool_prefix"; then
   6263   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6264 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6266 $as_echo_n "checking for $ac_word... " >&6; }
   6267 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   6268   $as_echo_n "(cached) " >&6
   6269 else
   6270   if test -n "$DSYMUTIL"; then
   6271   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6272 else
   6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6274 for as_dir in $PATH
   6275 do
   6276   IFS=$as_save_IFS
   6277   test -z "$as_dir" && as_dir=.
   6278   for ac_exec_ext in '' $ac_executable_extensions; do
   6279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6280     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6281     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6282     break 2
   6283   fi
   6284 done
   6285 done
   6286 IFS=$as_save_IFS
   6287 
   6288 fi
   6289 fi
   6290 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6291 if test -n "$DSYMUTIL"; then
   6292   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   6293 $as_echo "$DSYMUTIL" >&6; }
   6294 else
   6295   { $as_echo "$as_me:$LINENO: result: no" >&5
   6296 $as_echo "no" >&6; }
   6297 fi
   6298 
   6299 
   6300 fi
   6301 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6302   ac_ct_DSYMUTIL=$DSYMUTIL
   6303   # Extract the first word of "dsymutil", so it can be a program name with args.
   6304 set dummy dsymutil; ac_word=$2
   6305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6306 $as_echo_n "checking for $ac_word... " >&6; }
   6307 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   6308   $as_echo_n "(cached) " >&6
   6309 else
   6310   if test -n "$ac_ct_DSYMUTIL"; then
   6311   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6312 else
   6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6314 for as_dir in $PATH
   6315 do
   6316   IFS=$as_save_IFS
   6317   test -z "$as_dir" && as_dir=.
   6318   for ac_exec_ext in '' $ac_executable_extensions; do
   6319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6320     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6321     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6322     break 2
   6323   fi
   6324 done
   6325 done
   6326 IFS=$as_save_IFS
   6327 
   6328 fi
   6329 fi
   6330 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6331 if test -n "$ac_ct_DSYMUTIL"; then
   6332   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   6333 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6334 else
   6335   { $as_echo "$as_me:$LINENO: result: no" >&5
   6336 $as_echo "no" >&6; }
   6337 fi
   6338 
   6339   if test "x$ac_ct_DSYMUTIL" = x; then
   6340     DSYMUTIL=":"
   6341   else
   6342     case $cross_compiling:$ac_tool_warned in
   6343 yes:)
   6344 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6346 ac_tool_warned=yes ;;
   6347 esac
   6348     DSYMUTIL=$ac_ct_DSYMUTIL
   6349   fi
   6350 else
   6351   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6352 fi
   6353 
   6354     if test -n "$ac_tool_prefix"; then
   6355   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6356 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6358 $as_echo_n "checking for $ac_word... " >&6; }
   6359 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   6360   $as_echo_n "(cached) " >&6
   6361 else
   6362   if test -n "$NMEDIT"; then
   6363   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6364 else
   6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6366 for as_dir in $PATH
   6367 do
   6368   IFS=$as_save_IFS
   6369   test -z "$as_dir" && as_dir=.
   6370   for ac_exec_ext in '' $ac_executable_extensions; do
   6371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6372     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6373     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6374     break 2
   6375   fi
   6376 done
   6377 done
   6378 IFS=$as_save_IFS
   6379 
   6380 fi
   6381 fi
   6382 NMEDIT=$ac_cv_prog_NMEDIT
   6383 if test -n "$NMEDIT"; then
   6384   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   6385 $as_echo "$NMEDIT" >&6; }
   6386 else
   6387   { $as_echo "$as_me:$LINENO: result: no" >&5
   6388 $as_echo "no" >&6; }
   6389 fi
   6390 
   6391 
   6392 fi
   6393 if test -z "$ac_cv_prog_NMEDIT"; then
   6394   ac_ct_NMEDIT=$NMEDIT
   6395   # Extract the first word of "nmedit", so it can be a program name with args.
   6396 set dummy nmedit; ac_word=$2
   6397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6398 $as_echo_n "checking for $ac_word... " >&6; }
   6399 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   if test -n "$ac_ct_NMEDIT"; then
   6403   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6404 else
   6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6406 for as_dir in $PATH
   6407 do
   6408   IFS=$as_save_IFS
   6409   test -z "$as_dir" && as_dir=.
   6410   for ac_exec_ext in '' $ac_executable_extensions; do
   6411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6412     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6413     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6414     break 2
   6415   fi
   6416 done
   6417 done
   6418 IFS=$as_save_IFS
   6419 
   6420 fi
   6421 fi
   6422 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6423 if test -n "$ac_ct_NMEDIT"; then
   6424   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   6425 $as_echo "$ac_ct_NMEDIT" >&6; }
   6426 else
   6427   { $as_echo "$as_me:$LINENO: result: no" >&5
   6428 $as_echo "no" >&6; }
   6429 fi
   6430 
   6431   if test "x$ac_ct_NMEDIT" = x; then
   6432     NMEDIT=":"
   6433   else
   6434     case $cross_compiling:$ac_tool_warned in
   6435 yes:)
   6436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6438 ac_tool_warned=yes ;;
   6439 esac
   6440     NMEDIT=$ac_ct_NMEDIT
   6441   fi
   6442 else
   6443   NMEDIT="$ac_cv_prog_NMEDIT"
   6444 fi
   6445 
   6446     if test -n "$ac_tool_prefix"; then
   6447   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6448 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6450 $as_echo_n "checking for $ac_word... " >&6; }
   6451 if test "${ac_cv_prog_LIPO+set}" = set; then
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   if test -n "$LIPO"; then
   6455   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6456 else
   6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6458 for as_dir in $PATH
   6459 do
   6460   IFS=$as_save_IFS
   6461   test -z "$as_dir" && as_dir=.
   6462   for ac_exec_ext in '' $ac_executable_extensions; do
   6463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6464     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6465     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6466     break 2
   6467   fi
   6468 done
   6469 done
   6470 IFS=$as_save_IFS
   6471 
   6472 fi
   6473 fi
   6474 LIPO=$ac_cv_prog_LIPO
   6475 if test -n "$LIPO"; then
   6476   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6477 $as_echo "$LIPO" >&6; }
   6478 else
   6479   { $as_echo "$as_me:$LINENO: result: no" >&5
   6480 $as_echo "no" >&6; }
   6481 fi
   6482 
   6483 
   6484 fi
   6485 if test -z "$ac_cv_prog_LIPO"; then
   6486   ac_ct_LIPO=$LIPO
   6487   # Extract the first word of "lipo", so it can be a program name with args.
   6488 set dummy lipo; ac_word=$2
   6489 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6490 $as_echo_n "checking for $ac_word... " >&6; }
   6491 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6492   $as_echo_n "(cached) " >&6
   6493 else
   6494   if test -n "$ac_ct_LIPO"; then
   6495   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6496 else
   6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6498 for as_dir in $PATH
   6499 do
   6500   IFS=$as_save_IFS
   6501   test -z "$as_dir" && as_dir=.
   6502   for ac_exec_ext in '' $ac_executable_extensions; do
   6503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6504     ac_cv_prog_ac_ct_LIPO="lipo"
   6505     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6506     break 2
   6507   fi
   6508 done
   6509 done
   6510 IFS=$as_save_IFS
   6511 
   6512 fi
   6513 fi
   6514 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6515 if test -n "$ac_ct_LIPO"; then
   6516   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6517 $as_echo "$ac_ct_LIPO" >&6; }
   6518 else
   6519   { $as_echo "$as_me:$LINENO: result: no" >&5
   6520 $as_echo "no" >&6; }
   6521 fi
   6522 
   6523   if test "x$ac_ct_LIPO" = x; then
   6524     LIPO=":"
   6525   else
   6526     case $cross_compiling:$ac_tool_warned in
   6527 yes:)
   6528 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6530 ac_tool_warned=yes ;;
   6531 esac
   6532     LIPO=$ac_ct_LIPO
   6533   fi
   6534 else
   6535   LIPO="$ac_cv_prog_LIPO"
   6536 fi
   6537 
   6538     if test -n "$ac_tool_prefix"; then
   6539   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6540 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6542 $as_echo_n "checking for $ac_word... " >&6; }
   6543 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   if test -n "$OTOOL"; then
   6547   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6548 else
   6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6550 for as_dir in $PATH
   6551 do
   6552   IFS=$as_save_IFS
   6553   test -z "$as_dir" && as_dir=.
   6554   for ac_exec_ext in '' $ac_executable_extensions; do
   6555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6556     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6557     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6558     break 2
   6559   fi
   6560 done
   6561 done
   6562 IFS=$as_save_IFS
   6563 
   6564 fi
   6565 fi
   6566 OTOOL=$ac_cv_prog_OTOOL
   6567 if test -n "$OTOOL"; then
   6568   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6569 $as_echo "$OTOOL" >&6; }
   6570 else
   6571   { $as_echo "$as_me:$LINENO: result: no" >&5
   6572 $as_echo "no" >&6; }
   6573 fi
   6574 
   6575 
   6576 fi
   6577 if test -z "$ac_cv_prog_OTOOL"; then
   6578   ac_ct_OTOOL=$OTOOL
   6579   # Extract the first word of "otool", so it can be a program name with args.
   6580 set dummy otool; ac_word=$2
   6581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6582 $as_echo_n "checking for $ac_word... " >&6; }
   6583 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6584   $as_echo_n "(cached) " >&6
   6585 else
   6586   if test -n "$ac_ct_OTOOL"; then
   6587   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6588 else
   6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6590 for as_dir in $PATH
   6591 do
   6592   IFS=$as_save_IFS
   6593   test -z "$as_dir" && as_dir=.
   6594   for ac_exec_ext in '' $ac_executable_extensions; do
   6595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6596     ac_cv_prog_ac_ct_OTOOL="otool"
   6597     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6598     break 2
   6599   fi
   6600 done
   6601 done
   6602 IFS=$as_save_IFS
   6603 
   6604 fi
   6605 fi
   6606 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6607 if test -n "$ac_ct_OTOOL"; then
   6608   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6609 $as_echo "$ac_ct_OTOOL" >&6; }
   6610 else
   6611   { $as_echo "$as_me:$LINENO: result: no" >&5
   6612 $as_echo "no" >&6; }
   6613 fi
   6614 
   6615   if test "x$ac_ct_OTOOL" = x; then
   6616     OTOOL=":"
   6617   else
   6618     case $cross_compiling:$ac_tool_warned in
   6619 yes:)
   6620 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6622 ac_tool_warned=yes ;;
   6623 esac
   6624     OTOOL=$ac_ct_OTOOL
   6625   fi
   6626 else
   6627   OTOOL="$ac_cv_prog_OTOOL"
   6628 fi
   6629 
   6630     if test -n "$ac_tool_prefix"; then
   6631   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6632 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6633 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6634 $as_echo_n "checking for $ac_word... " >&6; }
   6635 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   if test -n "$OTOOL64"; then
   6639   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6640 else
   6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6642 for as_dir in $PATH
   6643 do
   6644   IFS=$as_save_IFS
   6645   test -z "$as_dir" && as_dir=.
   6646   for ac_exec_ext in '' $ac_executable_extensions; do
   6647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6648     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6649     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6650     break 2
   6651   fi
   6652 done
   6653 done
   6654 IFS=$as_save_IFS
   6655 
   6656 fi
   6657 fi
   6658 OTOOL64=$ac_cv_prog_OTOOL64
   6659 if test -n "$OTOOL64"; then
   6660   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6661 $as_echo "$OTOOL64" >&6; }
   6662 else
   6663   { $as_echo "$as_me:$LINENO: result: no" >&5
   6664 $as_echo "no" >&6; }
   6665 fi
   6666 
   6667 
   6668 fi
   6669 if test -z "$ac_cv_prog_OTOOL64"; then
   6670   ac_ct_OTOOL64=$OTOOL64
   6671   # Extract the first word of "otool64", so it can be a program name with args.
   6672 set dummy otool64; ac_word=$2
   6673 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6674 $as_echo_n "checking for $ac_word... " >&6; }
   6675 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6676   $as_echo_n "(cached) " >&6
   6677 else
   6678   if test -n "$ac_ct_OTOOL64"; then
   6679   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6680 else
   6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6682 for as_dir in $PATH
   6683 do
   6684   IFS=$as_save_IFS
   6685   test -z "$as_dir" && as_dir=.
   6686   for ac_exec_ext in '' $ac_executable_extensions; do
   6687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6688     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6689     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6690     break 2
   6691   fi
   6692 done
   6693 done
   6694 IFS=$as_save_IFS
   6695 
   6696 fi
   6697 fi
   6698 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6699 if test -n "$ac_ct_OTOOL64"; then
   6700   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6701 $as_echo "$ac_ct_OTOOL64" >&6; }
   6702 else
   6703   { $as_echo "$as_me:$LINENO: result: no" >&5
   6704 $as_echo "no" >&6; }
   6705 fi
   6706 
   6707   if test "x$ac_ct_OTOOL64" = x; then
   6708     OTOOL64=":"
   6709   else
   6710     case $cross_compiling:$ac_tool_warned in
   6711 yes:)
   6712 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6714 ac_tool_warned=yes ;;
   6715 esac
   6716     OTOOL64=$ac_ct_OTOOL64
   6717   fi
   6718 else
   6719   OTOOL64="$ac_cv_prog_OTOOL64"
   6720 fi
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6749 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6750 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   lt_cv_apple_cc_single_mod=no
   6754       if test -z "${LT_MULTI_MODULE}"; then
   6755 	# By default we will add the -single_module flag. You can override
   6756 	# by either setting the environment variable LT_MULTI_MODULE
   6757 	# non-empty at configure time, or by adding -multi_module to the
   6758 	# link flags.
   6759 	rm -rf libconftest.dylib*
   6760 	echo "int foo(void){return 1;}" > conftest.c
   6761 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6762 -dynamiclib -Wl,-single_module conftest.c" >&5
   6763 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6764 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6765         _lt_result=$?
   6766 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6767 	  lt_cv_apple_cc_single_mod=yes
   6768 	else
   6769 	  cat conftest.err >&5
   6770 	fi
   6771 	rm -rf libconftest.dylib*
   6772 	rm -f conftest.*
   6773       fi
   6774 fi
   6775 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6776 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6777     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6778 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6779 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6780   $as_echo_n "(cached) " >&6
   6781 else
   6782   lt_cv_ld_exported_symbols_list=no
   6783       save_LDFLAGS=$LDFLAGS
   6784       echo "_main" > conftest.sym
   6785       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6786       cat >conftest.$ac_ext <<_ACEOF
   6787 /* confdefs.h.  */
   6788 _ACEOF
   6789 cat confdefs.h >>conftest.$ac_ext
   6790 cat >>conftest.$ac_ext <<_ACEOF
   6791 /* end confdefs.h.  */
   6792 
   6793 int
   6794 main ()
   6795 {
   6796 
   6797   ;
   6798   return 0;
   6799 }
   6800 _ACEOF
   6801 rm -f conftest.$ac_objext conftest$ac_exeext
   6802 if { (ac_try="$ac_link"
   6803 case "(($ac_try" in
   6804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6805   *) ac_try_echo=$ac_try;;
   6806 esac
   6807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6808 $as_echo "$ac_try_echo") >&5
   6809   (eval "$ac_link") 2>conftest.er1
   6810   ac_status=$?
   6811   grep -v '^ *+' conftest.er1 >conftest.err
   6812   rm -f conftest.er1
   6813   cat conftest.err >&5
   6814   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6815   (exit $ac_status); } && {
   6816 	 test -z "$ac_c_werror_flag" ||
   6817 	 test ! -s conftest.err
   6818        } && test -s conftest$ac_exeext && {
   6819 	 test "$cross_compiling" = yes ||
   6820 	 $as_test_x conftest$ac_exeext
   6821        }; then
   6822   lt_cv_ld_exported_symbols_list=yes
   6823 else
   6824   $as_echo "$as_me: failed program was:" >&5
   6825 sed 's/^/| /' conftest.$ac_ext >&5
   6826 
   6827 	lt_cv_ld_exported_symbols_list=no
   6828 fi
   6829 
   6830 rm -rf conftest.dSYM
   6831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6832       conftest$ac_exeext conftest.$ac_ext
   6833 	LDFLAGS="$save_LDFLAGS"
   6834 
   6835 fi
   6836 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6837 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6838     case $host_os in
   6839     rhapsody* | darwin1.[012])
   6840       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6841     darwin1.*)
   6842       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6843     darwin*) # darwin 5.x on
   6844       # if running on 10.5 or later, the deployment target defaults
   6845       # to the OS version, if on x86, and 10.4, the deployment
   6846       # target defaults to 10.4. Don't you love it?
   6847       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6848 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6849 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6850 	10.[012]*)
   6851 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6852 	10.*)
   6853 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6854       esac
   6855     ;;
   6856   esac
   6857     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6858       _lt_dar_single_mod='$single_module'
   6859     fi
   6860     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6861       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6862     else
   6863       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6864     fi
   6865     if test "$DSYMUTIL" != ":"; then
   6866       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6867     else
   6868       _lt_dsymutil=
   6869     fi
   6870     ;;
   6871   esac
   6872 
   6873 ac_ext=c
   6874 ac_cpp='$CPP $CPPFLAGS'
   6875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6878 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6879 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6880 # On Suns, sometimes $CPP names a directory.
   6881 if test -n "$CPP" && test -d "$CPP"; then
   6882   CPP=
   6883 fi
   6884 if test -z "$CPP"; then
   6885   if test "${ac_cv_prog_CPP+set}" = set; then
   6886   $as_echo_n "(cached) " >&6
   6887 else
   6888       # Double quotes because CPP needs to be expanded
   6889     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6890     do
   6891       ac_preproc_ok=false
   6892 for ac_c_preproc_warn_flag in '' yes
   6893 do
   6894   # Use a header file that comes with gcc, so configuring glibc
   6895   # with a fresh cross-compiler works.
   6896   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6897   # <limits.h> exists even on freestanding compilers.
   6898   # On the NeXT, cc -E runs the code through the compiler's parser,
   6899   # not just through cpp. "Syntax error" is here to catch this case.
   6900   cat >conftest.$ac_ext <<_ACEOF
   6901 /* confdefs.h.  */
   6902 _ACEOF
   6903 cat confdefs.h >>conftest.$ac_ext
   6904 cat >>conftest.$ac_ext <<_ACEOF
   6905 /* end confdefs.h.  */
   6906 #ifdef __STDC__
   6907 # include <limits.h>
   6908 #else
   6909 # include <assert.h>
   6910 #endif
   6911 		     Syntax error
   6912 _ACEOF
   6913 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6914 case "(($ac_try" in
   6915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6916   *) ac_try_echo=$ac_try;;
   6917 esac
   6918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6919 $as_echo "$ac_try_echo") >&5
   6920   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6921   ac_status=$?
   6922   grep -v '^ *+' conftest.er1 >conftest.err
   6923   rm -f conftest.er1
   6924   cat conftest.err >&5
   6925   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6926   (exit $ac_status); } >/dev/null && {
   6927 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6928 	 test ! -s conftest.err
   6929        }; then
   6930   :
   6931 else
   6932   $as_echo "$as_me: failed program was:" >&5
   6933 sed 's/^/| /' conftest.$ac_ext >&5
   6934 
   6935   # Broken: fails on valid input.
   6936 continue
   6937 fi
   6938 
   6939 rm -f conftest.err conftest.$ac_ext
   6940 
   6941   # OK, works on sane cases.  Now check whether nonexistent headers
   6942   # can be detected and how.
   6943   cat >conftest.$ac_ext <<_ACEOF
   6944 /* confdefs.h.  */
   6945 _ACEOF
   6946 cat confdefs.h >>conftest.$ac_ext
   6947 cat >>conftest.$ac_ext <<_ACEOF
   6948 /* end confdefs.h.  */
   6949 #include <ac_nonexistent.h>
   6950 _ACEOF
   6951 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6952 case "(($ac_try" in
   6953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6954   *) ac_try_echo=$ac_try;;
   6955 esac
   6956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6957 $as_echo "$ac_try_echo") >&5
   6958   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6959   ac_status=$?
   6960   grep -v '^ *+' conftest.er1 >conftest.err
   6961   rm -f conftest.er1
   6962   cat conftest.err >&5
   6963   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6964   (exit $ac_status); } >/dev/null && {
   6965 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6966 	 test ! -s conftest.err
   6967        }; then
   6968   # Broken: success on invalid input.
   6969 continue
   6970 else
   6971   $as_echo "$as_me: failed program was:" >&5
   6972 sed 's/^/| /' conftest.$ac_ext >&5
   6973 
   6974   # Passes both tests.
   6975 ac_preproc_ok=:
   6976 break
   6977 fi
   6978 
   6979 rm -f conftest.err conftest.$ac_ext
   6980 
   6981 done
   6982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6983 rm -f conftest.err conftest.$ac_ext
   6984 if $ac_preproc_ok; then
   6985   break
   6986 fi
   6987 
   6988     done
   6989     ac_cv_prog_CPP=$CPP
   6990 
   6991 fi
   6992   CPP=$ac_cv_prog_CPP
   6993 else
   6994   ac_cv_prog_CPP=$CPP
   6995 fi
   6996 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6997 $as_echo "$CPP" >&6; }
   6998 ac_preproc_ok=false
   6999 for ac_c_preproc_warn_flag in '' yes
   7000 do
   7001   # Use a header file that comes with gcc, so configuring glibc
   7002   # with a fresh cross-compiler works.
   7003   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7004   # <limits.h> exists even on freestanding compilers.
   7005   # On the NeXT, cc -E runs the code through the compiler's parser,
   7006   # not just through cpp. "Syntax error" is here to catch this case.
   7007   cat >conftest.$ac_ext <<_ACEOF
   7008 /* confdefs.h.  */
   7009 _ACEOF
   7010 cat confdefs.h >>conftest.$ac_ext
   7011 cat >>conftest.$ac_ext <<_ACEOF
   7012 /* end confdefs.h.  */
   7013 #ifdef __STDC__
   7014 # include <limits.h>
   7015 #else
   7016 # include <assert.h>
   7017 #endif
   7018 		     Syntax error
   7019 _ACEOF
   7020 if { (ac_try="$ac_cpp conftest.$ac_ext"
   7021 case "(($ac_try" in
   7022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7023   *) ac_try_echo=$ac_try;;
   7024 esac
   7025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7026 $as_echo "$ac_try_echo") >&5
   7027   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   7028   ac_status=$?
   7029   grep -v '^ *+' conftest.er1 >conftest.err
   7030   rm -f conftest.er1
   7031   cat conftest.err >&5
   7032   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7033   (exit $ac_status); } >/dev/null && {
   7034 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   7035 	 test ! -s conftest.err
   7036        }; then
   7037   :
   7038 else
   7039   $as_echo "$as_me: failed program was:" >&5
   7040 sed 's/^/| /' conftest.$ac_ext >&5
   7041 
   7042   # Broken: fails on valid input.
   7043 continue
   7044 fi
   7045 
   7046 rm -f conftest.err conftest.$ac_ext
   7047 
   7048   # OK, works on sane cases.  Now check whether nonexistent headers
   7049   # can be detected and how.
   7050   cat >conftest.$ac_ext <<_ACEOF
   7051 /* confdefs.h.  */
   7052 _ACEOF
   7053 cat confdefs.h >>conftest.$ac_ext
   7054 cat >>conftest.$ac_ext <<_ACEOF
   7055 /* end confdefs.h.  */
   7056 #include <ac_nonexistent.h>
   7057 _ACEOF
   7058 if { (ac_try="$ac_cpp conftest.$ac_ext"
   7059 case "(($ac_try" in
   7060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7061   *) ac_try_echo=$ac_try;;
   7062 esac
   7063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7064 $as_echo "$ac_try_echo") >&5
   7065   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   7066   ac_status=$?
   7067   grep -v '^ *+' conftest.er1 >conftest.err
   7068   rm -f conftest.er1
   7069   cat conftest.err >&5
   7070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7071   (exit $ac_status); } >/dev/null && {
   7072 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   7073 	 test ! -s conftest.err
   7074        }; then
   7075   # Broken: success on invalid input.
   7076 continue
   7077 else
   7078   $as_echo "$as_me: failed program was:" >&5
   7079 sed 's/^/| /' conftest.$ac_ext >&5
   7080 
   7081   # Passes both tests.
   7082 ac_preproc_ok=:
   7083 break
   7084 fi
   7085 
   7086 rm -f conftest.err conftest.$ac_ext
   7087 
   7088 done
   7089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7090 rm -f conftest.err conftest.$ac_ext
   7091 if $ac_preproc_ok; then
   7092   :
   7093 else
   7094   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   7095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7096 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   7097 See \`config.log' for more details." >&5
   7098 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   7099 See \`config.log' for more details." >&2;}
   7100    { (exit 1); exit 1; }; }; }
   7101 fi
   7102 
   7103 ac_ext=c
   7104 ac_cpp='$CPP $CPPFLAGS'
   7105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7108 
   7109 
   7110 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   7111 $as_echo_n "checking for ANSI C header files... " >&6; }
   7112 if test "${ac_cv_header_stdc+set}" = set; then
   7113   $as_echo_n "(cached) " >&6
   7114 else
   7115   cat >conftest.$ac_ext <<_ACEOF
   7116 /* confdefs.h.  */
   7117 _ACEOF
   7118 cat confdefs.h >>conftest.$ac_ext
   7119 cat >>conftest.$ac_ext <<_ACEOF
   7120 /* end confdefs.h.  */
   7121 #include <stdlib.h>
   7122 #include <stdarg.h>
   7123 #include <string.h>
   7124 #include <float.h>
   7125 
   7126 int
   7127 main ()
   7128 {
   7129 
   7130   ;
   7131   return 0;
   7132 }
   7133 _ACEOF
   7134 rm -f conftest.$ac_objext
   7135 if { (ac_try="$ac_compile"
   7136 case "(($ac_try" in
   7137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7138   *) ac_try_echo=$ac_try;;
   7139 esac
   7140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7141 $as_echo "$ac_try_echo") >&5
   7142   (eval "$ac_compile") 2>conftest.er1
   7143   ac_status=$?
   7144   grep -v '^ *+' conftest.er1 >conftest.err
   7145   rm -f conftest.er1
   7146   cat conftest.err >&5
   7147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7148   (exit $ac_status); } && {
   7149 	 test -z "$ac_c_werror_flag" ||
   7150 	 test ! -s conftest.err
   7151        } && test -s conftest.$ac_objext; then
   7152   ac_cv_header_stdc=yes
   7153 else
   7154   $as_echo "$as_me: failed program was:" >&5
   7155 sed 's/^/| /' conftest.$ac_ext >&5
   7156 
   7157 	ac_cv_header_stdc=no
   7158 fi
   7159 
   7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7161 
   7162 if test $ac_cv_header_stdc = yes; then
   7163   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7164   cat >conftest.$ac_ext <<_ACEOF
   7165 /* confdefs.h.  */
   7166 _ACEOF
   7167 cat confdefs.h >>conftest.$ac_ext
   7168 cat >>conftest.$ac_ext <<_ACEOF
   7169 /* end confdefs.h.  */
   7170 #include <string.h>
   7171 
   7172 _ACEOF
   7173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7174   $EGREP "memchr" >/dev/null 2>&1; then
   7175   :
   7176 else
   7177   ac_cv_header_stdc=no
   7178 fi
   7179 rm -f conftest*
   7180 
   7181 fi
   7182 
   7183 if test $ac_cv_header_stdc = yes; then
   7184   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7185   cat >conftest.$ac_ext <<_ACEOF
   7186 /* confdefs.h.  */
   7187 _ACEOF
   7188 cat confdefs.h >>conftest.$ac_ext
   7189 cat >>conftest.$ac_ext <<_ACEOF
   7190 /* end confdefs.h.  */
   7191 #include <stdlib.h>
   7192 
   7193 _ACEOF
   7194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7195   $EGREP "free" >/dev/null 2>&1; then
   7196   :
   7197 else
   7198   ac_cv_header_stdc=no
   7199 fi
   7200 rm -f conftest*
   7201 
   7202 fi
   7203 
   7204 if test $ac_cv_header_stdc = yes; then
   7205   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7206   if test "$cross_compiling" = yes; then
   7207   :
   7208 else
   7209   cat >conftest.$ac_ext <<_ACEOF
   7210 /* confdefs.h.  */
   7211 _ACEOF
   7212 cat confdefs.h >>conftest.$ac_ext
   7213 cat >>conftest.$ac_ext <<_ACEOF
   7214 /* end confdefs.h.  */
   7215 #include <ctype.h>
   7216 #include <stdlib.h>
   7217 #if ((' ' & 0x0FF) == 0x020)
   7218 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7219 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7220 #else
   7221 # define ISLOWER(c) \
   7222 		   (('a' <= (c) && (c) <= 'i') \
   7223 		     || ('j' <= (c) && (c) <= 'r') \
   7224 		     || ('s' <= (c) && (c) <= 'z'))
   7225 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7226 #endif
   7227 
   7228 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7229 int
   7230 main ()
   7231 {
   7232   int i;
   7233   for (i = 0; i < 256; i++)
   7234     if (XOR (islower (i), ISLOWER (i))
   7235 	|| toupper (i) != TOUPPER (i))
   7236       return 2;
   7237   return 0;
   7238 }
   7239 _ACEOF
   7240 rm -f conftest$ac_exeext
   7241 if { (ac_try="$ac_link"
   7242 case "(($ac_try" in
   7243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7244   *) ac_try_echo=$ac_try;;
   7245 esac
   7246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7247 $as_echo "$ac_try_echo") >&5
   7248   (eval "$ac_link") 2>&5
   7249   ac_status=$?
   7250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7251   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7252   { (case "(($ac_try" in
   7253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7254   *) ac_try_echo=$ac_try;;
   7255 esac
   7256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7257 $as_echo "$ac_try_echo") >&5
   7258   (eval "$ac_try") 2>&5
   7259   ac_status=$?
   7260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7261   (exit $ac_status); }; }; then
   7262   :
   7263 else
   7264   $as_echo "$as_me: program exited with status $ac_status" >&5
   7265 $as_echo "$as_me: failed program was:" >&5
   7266 sed 's/^/| /' conftest.$ac_ext >&5
   7267 
   7268 ( exit $ac_status )
   7269 ac_cv_header_stdc=no
   7270 fi
   7271 rm -rf conftest.dSYM
   7272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7273 fi
   7274 
   7275 
   7276 fi
   7277 fi
   7278 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   7279 $as_echo "$ac_cv_header_stdc" >&6; }
   7280 if test $ac_cv_header_stdc = yes; then
   7281 
   7282 cat >>confdefs.h <<\_ACEOF
   7283 #define STDC_HEADERS 1
   7284 _ACEOF
   7285 
   7286 fi
   7287 
   7288 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7299 		  inttypes.h stdint.h unistd.h
   7300 do
   7301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7302 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   7303 $as_echo_n "checking for $ac_header... " >&6; }
   7304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   7305   $as_echo_n "(cached) " >&6
   7306 else
   7307   cat >conftest.$ac_ext <<_ACEOF
   7308 /* confdefs.h.  */
   7309 _ACEOF
   7310 cat confdefs.h >>conftest.$ac_ext
   7311 cat >>conftest.$ac_ext <<_ACEOF
   7312 /* end confdefs.h.  */
   7313 $ac_includes_default
   7314 
   7315 #include <$ac_header>
   7316 _ACEOF
   7317 rm -f conftest.$ac_objext
   7318 if { (ac_try="$ac_compile"
   7319 case "(($ac_try" in
   7320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7321   *) ac_try_echo=$ac_try;;
   7322 esac
   7323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7324 $as_echo "$ac_try_echo") >&5
   7325   (eval "$ac_compile") 2>conftest.er1
   7326   ac_status=$?
   7327   grep -v '^ *+' conftest.er1 >conftest.err
   7328   rm -f conftest.er1
   7329   cat conftest.err >&5
   7330   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7331   (exit $ac_status); } && {
   7332 	 test -z "$ac_c_werror_flag" ||
   7333 	 test ! -s conftest.err
   7334        } && test -s conftest.$ac_objext; then
   7335   eval "$as_ac_Header=yes"
   7336 else
   7337   $as_echo "$as_me: failed program was:" >&5
   7338 sed 's/^/| /' conftest.$ac_ext >&5
   7339 
   7340 	eval "$as_ac_Header=no"
   7341 fi
   7342 
   7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7344 fi
   7345 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7346 		 $as_echo "$as_val"'`
   7347 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7348 $as_echo "$ac_res" >&6; }
   7349 as_val=`eval 'as_val=${'$as_ac_Header'}
   7350 		 $as_echo "$as_val"'`
   7351    if test "x$as_val" = x""yes; then
   7352   cat >>confdefs.h <<_ACEOF
   7353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7354 _ACEOF
   7355 
   7356 fi
   7357 
   7358 done
   7359 
   7360 
   7361 
   7362 for ac_header in dlfcn.h
   7363 do
   7364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7365 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   7366 $as_echo_n "checking for $ac_header... " >&6; }
   7367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   7368   $as_echo_n "(cached) " >&6
   7369 else
   7370   cat >conftest.$ac_ext <<_ACEOF
   7371 /* confdefs.h.  */
   7372 _ACEOF
   7373 cat confdefs.h >>conftest.$ac_ext
   7374 cat >>conftest.$ac_ext <<_ACEOF
   7375 /* end confdefs.h.  */
   7376 $ac_includes_default
   7377 
   7378 #include <$ac_header>
   7379 _ACEOF
   7380 rm -f conftest.$ac_objext
   7381 if { (ac_try="$ac_compile"
   7382 case "(($ac_try" in
   7383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7384   *) ac_try_echo=$ac_try;;
   7385 esac
   7386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7387 $as_echo "$ac_try_echo") >&5
   7388   (eval "$ac_compile") 2>conftest.er1
   7389   ac_status=$?
   7390   grep -v '^ *+' conftest.er1 >conftest.err
   7391   rm -f conftest.er1
   7392   cat conftest.err >&5
   7393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7394   (exit $ac_status); } && {
   7395 	 test -z "$ac_c_werror_flag" ||
   7396 	 test ! -s conftest.err
   7397        } && test -s conftest.$ac_objext; then
   7398   eval "$as_ac_Header=yes"
   7399 else
   7400   $as_echo "$as_me: failed program was:" >&5
   7401 sed 's/^/| /' conftest.$ac_ext >&5
   7402 
   7403 	eval "$as_ac_Header=no"
   7404 fi
   7405 
   7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7407 fi
   7408 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7409 		 $as_echo "$as_val"'`
   7410 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7411 $as_echo "$ac_res" >&6; }
   7412 as_val=`eval 'as_val=${'$as_ac_Header'}
   7413 		 $as_echo "$as_val"'`
   7414    if test "x$as_val" = x""yes; then
   7415   cat >>confdefs.h <<_ACEOF
   7416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7417 _ACEOF
   7418 
   7419 fi
   7420 
   7421 done
   7422 
   7423 
   7424 
   7425 # Set options
   7426 
   7427 
   7428 
   7429         enable_dlopen=no
   7430 
   7431 
   7432 
   7433             # Check whether --enable-shared was given.
   7434 if test "${enable_shared+set}" = set; then
   7435   enableval=$enable_shared; p=${PACKAGE-default}
   7436     case $enableval in
   7437     yes) enable_shared=yes ;;
   7438     no) enable_shared=no ;;
   7439     *)
   7440       enable_shared=no
   7441       # Look at the argument we got.  We use all the common list separators.
   7442       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7443       for pkg in $enableval; do
   7444 	IFS="$lt_save_ifs"
   7445 	if test "X$pkg" = "X$p"; then
   7446 	  enable_shared=yes
   7447 	fi
   7448       done
   7449       IFS="$lt_save_ifs"
   7450       ;;
   7451     esac
   7452 else
   7453   enable_shared=yes
   7454 fi
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464   # Check whether --enable-static was given.
   7465 if test "${enable_static+set}" = set; then
   7466   enableval=$enable_static; p=${PACKAGE-default}
   7467     case $enableval in
   7468     yes) enable_static=yes ;;
   7469     no) enable_static=no ;;
   7470     *)
   7471      enable_static=no
   7472       # Look at the argument we got.  We use all the common list separators.
   7473       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7474       for pkg in $enableval; do
   7475 	IFS="$lt_save_ifs"
   7476 	if test "X$pkg" = "X$p"; then
   7477 	  enable_static=yes
   7478 	fi
   7479       done
   7480       IFS="$lt_save_ifs"
   7481       ;;
   7482     esac
   7483 else
   7484   enable_static=yes
   7485 fi
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 # Check whether --with-pic was given.
   7497 if test "${with_pic+set}" = set; then
   7498   withval=$with_pic; pic_mode="$withval"
   7499 else
   7500   pic_mode=default
   7501 fi
   7502 
   7503 
   7504 test -z "$pic_mode" && pic_mode=default
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512   # Check whether --enable-fast-install was given.
   7513 if test "${enable_fast_install+set}" = set; then
   7514   enableval=$enable_fast_install; p=${PACKAGE-default}
   7515     case $enableval in
   7516     yes) enable_fast_install=yes ;;
   7517     no) enable_fast_install=no ;;
   7518     *)
   7519       enable_fast_install=no
   7520       # Look at the argument we got.  We use all the common list separators.
   7521       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7522       for pkg in $enableval; do
   7523 	IFS="$lt_save_ifs"
   7524 	if test "X$pkg" = "X$p"; then
   7525 	  enable_fast_install=yes
   7526 	fi
   7527       done
   7528       IFS="$lt_save_ifs"
   7529       ;;
   7530     esac
   7531 else
   7532   enable_fast_install=yes
   7533 fi
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 # This can be used to rebuild libtool when needed
   7546 LIBTOOL_DEPS="$ltmain"
   7547 
   7548 # Always use our own libtool.
   7549 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 test -z "$LN_S" && LN_S="ln -s"
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 if test -n "${ZSH_VERSION+set}" ; then
   7591    setopt NO_GLOB_SUBST
   7592 fi
   7593 
   7594 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7595 $as_echo_n "checking for objdir... " >&6; }
   7596 if test "${lt_cv_objdir+set}" = set; then
   7597   $as_echo_n "(cached) " >&6
   7598 else
   7599   rm -f .libs 2>/dev/null
   7600 mkdir .libs 2>/dev/null
   7601 if test -d .libs; then
   7602   lt_cv_objdir=.libs
   7603 else
   7604   # MS-DOS does not allow filenames that begin with a dot.
   7605   lt_cv_objdir=_libs
   7606 fi
   7607 rmdir .libs 2>/dev/null
   7608 fi
   7609 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7610 $as_echo "$lt_cv_objdir" >&6; }
   7611 objdir=$lt_cv_objdir
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 cat >>confdefs.h <<_ACEOF
   7618 #define LT_OBJDIR "$lt_cv_objdir/"
   7619 _ACEOF
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 case $host_os in
   7638 aix3*)
   7639   # AIX sometimes has problems with the GCC collect2 program.  For some
   7640   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7641   # vanish in a puff of smoke.
   7642   if test "X${COLLECT_NAMES+set}" != Xset; then
   7643     COLLECT_NAMES=
   7644     export COLLECT_NAMES
   7645   fi
   7646   ;;
   7647 esac
   7648 
   7649 # Sed substitution that helps us do robust quoting.  It backslashifies
   7650 # metacharacters that are still active within double-quoted strings.
   7651 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7652 
   7653 # Same as above, but do not quote variable references.
   7654 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7655 
   7656 # Sed substitution to delay expansion of an escaped shell variable in a
   7657 # double_quote_subst'ed string.
   7658 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7659 
   7660 # Sed substitution to delay expansion of an escaped single quote.
   7661 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7662 
   7663 # Sed substitution to avoid accidental globbing in evaled expressions
   7664 no_glob_subst='s/\*/\\\*/g'
   7665 
   7666 # Global variables:
   7667 ofile=libtool
   7668 can_build_shared=yes
   7669 
   7670 # All known linkers require a `.a' archive for static linking (except MSVC,
   7671 # which needs '.lib').
   7672 libext=a
   7673 
   7674 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7675 
   7676 old_CC="$CC"
   7677 old_CFLAGS="$CFLAGS"
   7678 
   7679 # Set sane defaults for various variables
   7680 test -z "$CC" && CC=cc
   7681 test -z "$LTCC" && LTCC=$CC
   7682 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7683 test -z "$LD" && LD=ld
   7684 test -z "$ac_objext" && ac_objext=o
   7685 
   7686 for cc_temp in $compiler""; do
   7687   case $cc_temp in
   7688     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7689     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7690     \-*) ;;
   7691     *) break;;
   7692   esac
   7693 done
   7694 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7695 
   7696 
   7697 # Only perform the check for file, if the check method requires it
   7698 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7699 case $deplibs_check_method in
   7700 file_magic*)
   7701   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7702     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7703 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7704 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7705   $as_echo_n "(cached) " >&6
   7706 else
   7707   case $MAGIC_CMD in
   7708 [\\/*] |  ?:[\\/]*)
   7709   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7710   ;;
   7711 *)
   7712   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7713   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7714   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7715   for ac_dir in $ac_dummy; do
   7716     IFS="$lt_save_ifs"
   7717     test -z "$ac_dir" && ac_dir=.
   7718     if test -f $ac_dir/${ac_tool_prefix}file; then
   7719       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7720       if test -n "$file_magic_test_file"; then
   7721 	case $deplibs_check_method in
   7722 	"file_magic "*)
   7723 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7724 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7725 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7726 	    $EGREP "$file_magic_regex" > /dev/null; then
   7727 	    :
   7728 	  else
   7729 	    cat <<_LT_EOF 1>&2
   7730 
   7731 *** Warning: the command libtool uses to detect shared libraries,
   7732 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7733 *** The result is that libtool may fail to recognize shared libraries
   7734 *** as such.  This will affect the creation of libtool libraries that
   7735 *** depend on shared libraries, but programs linked with such libtool
   7736 *** libraries will work regardless of this problem.  Nevertheless, you
   7737 *** may want to report the problem to your system manager and/or to
   7738 *** bug-libtool@gnu.org
   7739 
   7740 _LT_EOF
   7741 	  fi ;;
   7742 	esac
   7743       fi
   7744       break
   7745     fi
   7746   done
   7747   IFS="$lt_save_ifs"
   7748   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7749   ;;
   7750 esac
   7751 fi
   7752 
   7753 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7754 if test -n "$MAGIC_CMD"; then
   7755   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7756 $as_echo "$MAGIC_CMD" >&6; }
   7757 else
   7758   { $as_echo "$as_me:$LINENO: result: no" >&5
   7759 $as_echo "no" >&6; }
   7760 fi
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7767   if test -n "$ac_tool_prefix"; then
   7768     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7769 $as_echo_n "checking for file... " >&6; }
   7770 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7771   $as_echo_n "(cached) " >&6
   7772 else
   7773   case $MAGIC_CMD in
   7774 [\\/*] |  ?:[\\/]*)
   7775   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7776   ;;
   7777 *)
   7778   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7779   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7780   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7781   for ac_dir in $ac_dummy; do
   7782     IFS="$lt_save_ifs"
   7783     test -z "$ac_dir" && ac_dir=.
   7784     if test -f $ac_dir/file; then
   7785       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7786       if test -n "$file_magic_test_file"; then
   7787 	case $deplibs_check_method in
   7788 	"file_magic "*)
   7789 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7790 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7791 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7792 	    $EGREP "$file_magic_regex" > /dev/null; then
   7793 	    :
   7794 	  else
   7795 	    cat <<_LT_EOF 1>&2
   7796 
   7797 *** Warning: the command libtool uses to detect shared libraries,
   7798 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7799 *** The result is that libtool may fail to recognize shared libraries
   7800 *** as such.  This will affect the creation of libtool libraries that
   7801 *** depend on shared libraries, but programs linked with such libtool
   7802 *** libraries will work regardless of this problem.  Nevertheless, you
   7803 *** may want to report the problem to your system manager and/or to
   7804 *** bug-libtool@gnu.org
   7805 
   7806 _LT_EOF
   7807 	  fi ;;
   7808 	esac
   7809       fi
   7810       break
   7811     fi
   7812   done
   7813   IFS="$lt_save_ifs"
   7814   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7815   ;;
   7816 esac
   7817 fi
   7818 
   7819 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7820 if test -n "$MAGIC_CMD"; then
   7821   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7822 $as_echo "$MAGIC_CMD" >&6; }
   7823 else
   7824   { $as_echo "$as_me:$LINENO: result: no" >&5
   7825 $as_echo "no" >&6; }
   7826 fi
   7827 
   7828 
   7829   else
   7830     MAGIC_CMD=:
   7831   fi
   7832 fi
   7833 
   7834   fi
   7835   ;;
   7836 esac
   7837 
   7838 # Use C for the default configuration in the libtool script
   7839 
   7840 lt_save_CC="$CC"
   7841 ac_ext=c
   7842 ac_cpp='$CPP $CPPFLAGS'
   7843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7846 
   7847 
   7848 # Source file extension for C test sources.
   7849 ac_ext=c
   7850 
   7851 # Object file extension for compiled C test sources.
   7852 objext=o
   7853 objext=$objext
   7854 
   7855 # Code to be used in simple compile tests
   7856 lt_simple_compile_test_code="int some_variable = 0;"
   7857 
   7858 # Code to be used in simple link tests
   7859 lt_simple_link_test_code='int main(){return(0);}'
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 # If no C compiler was specified, use CC.
   7868 LTCC=${LTCC-"$CC"}
   7869 
   7870 # If no C compiler flags were specified, use CFLAGS.
   7871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7872 
   7873 # Allow CC to be a program name with arguments.
   7874 compiler=$CC
   7875 
   7876 # Save the default compiler, since it gets overwritten when the other
   7877 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7878 compiler_DEFAULT=$CC
   7879 
   7880 # save warnings/boilerplate of simple test code
   7881 ac_outfile=conftest.$ac_objext
   7882 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7883 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7884 _lt_compiler_boilerplate=`cat conftest.err`
   7885 $RM conftest*
   7886 
   7887 ac_outfile=conftest.$ac_objext
   7888 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7889 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7890 _lt_linker_boilerplate=`cat conftest.err`
   7891 $RM -r conftest*
   7892 
   7893 
   7894 if test -n "$compiler"; then
   7895 
   7896 lt_prog_compiler_no_builtin_flag=
   7897 
   7898 if test "$GCC" = yes; then
   7899   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7900 
   7901   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7902 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7903 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7904   $as_echo_n "(cached) " >&6
   7905 else
   7906   lt_cv_prog_compiler_rtti_exceptions=no
   7907    ac_outfile=conftest.$ac_objext
   7908    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7909    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7910    # Insert the option either (1) after the last *FLAGS variable, or
   7911    # (2) before a word containing "conftest.", or (3) at the end.
   7912    # Note that $ac_compile itself does not contain backslashes and begins
   7913    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7914    # The option is referenced via a variable to avoid confusing sed.
   7915    lt_compile=`echo "$ac_compile" | $SED \
   7916    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7917    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7918    -e 's:$: $lt_compiler_flag:'`
   7919    (eval echo "\"\$as_me:7919: $lt_compile\"" >&5)
   7920    (eval "$lt_compile" 2>conftest.err)
   7921    ac_status=$?
   7922    cat conftest.err >&5
   7923    echo "$as_me:7923: \$? = $ac_status" >&5
   7924    if (exit $ac_status) && test -s "$ac_outfile"; then
   7925      # The compiler can only warn and ignore the option if not recognized
   7926      # So say no if there are warnings other than the usual output.
   7927      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7928      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7929      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7930        lt_cv_prog_compiler_rtti_exceptions=yes
   7931      fi
   7932    fi
   7933    $RM conftest*
   7934 
   7935 fi
   7936 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7937 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7938 
   7939 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7940     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7941 else
   7942     :
   7943 fi
   7944 
   7945 fi
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952   lt_prog_compiler_wl=
   7953 lt_prog_compiler_pic=
   7954 lt_prog_compiler_static=
   7955 
   7956 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7957 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7958 
   7959   if test "$GCC" = yes; then
   7960     lt_prog_compiler_wl='-Wl,'
   7961     lt_prog_compiler_static='-static'
   7962 
   7963     case $host_os in
   7964       aix*)
   7965       # All AIX code is PIC.
   7966       if test "$host_cpu" = ia64; then
   7967 	# AIX 5 now supports IA64 processor
   7968 	lt_prog_compiler_static='-Bstatic'
   7969       fi
   7970       ;;
   7971 
   7972     amigaos*)
   7973       case $host_cpu in
   7974       powerpc)
   7975             # see comment about AmigaOS4 .so support
   7976             lt_prog_compiler_pic='-fPIC'
   7977         ;;
   7978       m68k)
   7979             # FIXME: we need at least 68020 code to build shared libraries, but
   7980             # adding the `-m68020' flag to GCC prevents building anything better,
   7981             # like `-m68040'.
   7982             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7983         ;;
   7984       esac
   7985       ;;
   7986 
   7987     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7988       # PIC is the default for these OSes.
   7989       ;;
   7990 
   7991     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7992       # This hack is so that the source file can tell whether it is being
   7993       # built for inclusion in a dll (and should export symbols for example).
   7994       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7995       # (--disable-auto-import) libraries
   7996       lt_prog_compiler_pic='-DDLL_EXPORT'
   7997       ;;
   7998 
   7999     darwin* | rhapsody*)
   8000       # PIC is the default on this platform
   8001       # Common symbols not allowed in MH_DYLIB files
   8002       lt_prog_compiler_pic='-fno-common'
   8003       ;;
   8004 
   8005     hpux*)
   8006       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8007       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8008       # sets the default TLS model and affects inlining.
   8009       case $host_cpu in
   8010       hppa*64*)
   8011 	# +Z the default
   8012 	;;
   8013       *)
   8014 	lt_prog_compiler_pic='-fPIC'
   8015 	;;
   8016       esac
   8017       ;;
   8018 
   8019     interix[3-9]*)
   8020       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8021       # Instead, we relocate shared libraries at runtime.
   8022       ;;
   8023 
   8024     msdosdjgpp*)
   8025       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8026       # on systems that don't support them.
   8027       lt_prog_compiler_can_build_shared=no
   8028       enable_shared=no
   8029       ;;
   8030 
   8031     *nto* | *qnx*)
   8032       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8033       # it will coredump.
   8034       lt_prog_compiler_pic='-fPIC -shared'
   8035       ;;
   8036 
   8037     sysv4*MP*)
   8038       if test -d /usr/nec; then
   8039 	lt_prog_compiler_pic=-Kconform_pic
   8040       fi
   8041       ;;
   8042 
   8043     *)
   8044       lt_prog_compiler_pic='-fPIC'
   8045       ;;
   8046     esac
   8047   else
   8048     # PORTME Check for flag to pass linker flags through the system compiler.
   8049     case $host_os in
   8050     aix*)
   8051       lt_prog_compiler_wl='-Wl,'
   8052       if test "$host_cpu" = ia64; then
   8053 	# AIX 5 now supports IA64 processor
   8054 	lt_prog_compiler_static='-Bstatic'
   8055       else
   8056 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8057       fi
   8058       ;;
   8059 
   8060     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8061       # This hack is so that the source file can tell whether it is being
   8062       # built for inclusion in a dll (and should export symbols for example).
   8063       lt_prog_compiler_pic='-DDLL_EXPORT'
   8064       ;;
   8065 
   8066     hpux9* | hpux10* | hpux11*)
   8067       lt_prog_compiler_wl='-Wl,'
   8068       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8069       # not for PA HP-UX.
   8070       case $host_cpu in
   8071       hppa*64*|ia64*)
   8072 	# +Z the default
   8073 	;;
   8074       *)
   8075 	lt_prog_compiler_pic='+Z'
   8076 	;;
   8077       esac
   8078       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8079       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8080       ;;
   8081 
   8082     irix5* | irix6* | nonstopux*)
   8083       lt_prog_compiler_wl='-Wl,'
   8084       # PIC (with -KPIC) is the default.
   8085       lt_prog_compiler_static='-non_shared'
   8086       ;;
   8087 
   8088     linux* | k*bsd*-gnu)
   8089       case $cc_basename in
   8090       # old Intel for x86_64 which still supported -KPIC.
   8091       ecc*)
   8092 	lt_prog_compiler_wl='-Wl,'
   8093 	lt_prog_compiler_pic='-KPIC'
   8094 	lt_prog_compiler_static='-static'
   8095         ;;
   8096       # icc used to be incompatible with GCC.
   8097       # ICC 10 doesn't accept -KPIC any more.
   8098       icc* | ifort*)
   8099 	lt_prog_compiler_wl='-Wl,'
   8100 	lt_prog_compiler_pic='-fPIC'
   8101 	lt_prog_compiler_static='-static'
   8102         ;;
   8103       # Lahey Fortran 8.1.
   8104       lf95*)
   8105 	lt_prog_compiler_wl='-Wl,'
   8106 	lt_prog_compiler_pic='--shared'
   8107 	lt_prog_compiler_static='--static'
   8108 	;;
   8109       pgcc* | pgf77* | pgf90* | pgf95*)
   8110         # Portland Group compilers (*not* the Pentium gcc compiler,
   8111 	# which looks to be a dead project)
   8112 	lt_prog_compiler_wl='-Wl,'
   8113 	lt_prog_compiler_pic='-fpic'
   8114 	lt_prog_compiler_static='-Bstatic'
   8115         ;;
   8116       ccc*)
   8117         lt_prog_compiler_wl='-Wl,'
   8118         # All Alpha code is PIC.
   8119         lt_prog_compiler_static='-non_shared'
   8120         ;;
   8121       xl*)
   8122 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8123 	lt_prog_compiler_wl='-Wl,'
   8124 	lt_prog_compiler_pic='-qpic'
   8125 	lt_prog_compiler_static='-qstaticlink'
   8126 	;;
   8127       *)
   8128 	case `$CC -V 2>&1 | sed 5q` in
   8129 	*Sun\ C*)
   8130 	  # Sun C 5.9
   8131 	  lt_prog_compiler_pic='-KPIC'
   8132 	  lt_prog_compiler_static='-Bstatic'
   8133 	  lt_prog_compiler_wl='-Wl,'
   8134 	  ;;
   8135 	*Sun\ F*)
   8136 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8137 	  lt_prog_compiler_pic='-KPIC'
   8138 	  lt_prog_compiler_static='-Bstatic'
   8139 	  lt_prog_compiler_wl=''
   8140 	  ;;
   8141 	esac
   8142 	;;
   8143       esac
   8144       ;;
   8145 
   8146     newsos6)
   8147       lt_prog_compiler_pic='-KPIC'
   8148       lt_prog_compiler_static='-Bstatic'
   8149       ;;
   8150 
   8151     *nto* | *qnx*)
   8152       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8153       # it will coredump.
   8154       lt_prog_compiler_pic='-fPIC -shared'
   8155       ;;
   8156 
   8157     osf3* | osf4* | osf5*)
   8158       lt_prog_compiler_wl='-Wl,'
   8159       # All OSF/1 code is PIC.
   8160       lt_prog_compiler_static='-non_shared'
   8161       ;;
   8162 
   8163     rdos*)
   8164       lt_prog_compiler_static='-non_shared'
   8165       ;;
   8166 
   8167     solaris*)
   8168       lt_prog_compiler_pic='-KPIC'
   8169       lt_prog_compiler_static='-Bstatic'
   8170       case $cc_basename in
   8171       f77* | f90* | f95*)
   8172 	lt_prog_compiler_wl='-Qoption ld ';;
   8173       *)
   8174 	lt_prog_compiler_wl='-Wl,';;
   8175       esac
   8176       ;;
   8177 
   8178     sunos4*)
   8179       lt_prog_compiler_wl='-Qoption ld '
   8180       lt_prog_compiler_pic='-PIC'
   8181       lt_prog_compiler_static='-Bstatic'
   8182       ;;
   8183 
   8184     sysv4 | sysv4.2uw2* | sysv4.3*)
   8185       lt_prog_compiler_wl='-Wl,'
   8186       lt_prog_compiler_pic='-KPIC'
   8187       lt_prog_compiler_static='-Bstatic'
   8188       ;;
   8189 
   8190     sysv4*MP*)
   8191       if test -d /usr/nec ;then
   8192 	lt_prog_compiler_pic='-Kconform_pic'
   8193 	lt_prog_compiler_static='-Bstatic'
   8194       fi
   8195       ;;
   8196 
   8197     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8198       lt_prog_compiler_wl='-Wl,'
   8199       lt_prog_compiler_pic='-KPIC'
   8200       lt_prog_compiler_static='-Bstatic'
   8201       ;;
   8202 
   8203     unicos*)
   8204       lt_prog_compiler_wl='-Wl,'
   8205       lt_prog_compiler_can_build_shared=no
   8206       ;;
   8207 
   8208     uts4*)
   8209       lt_prog_compiler_pic='-pic'
   8210       lt_prog_compiler_static='-Bstatic'
   8211       ;;
   8212 
   8213     *)
   8214       lt_prog_compiler_can_build_shared=no
   8215       ;;
   8216     esac
   8217   fi
   8218 
   8219 case $host_os in
   8220   # For platforms which do not support PIC, -DPIC is meaningless:
   8221   *djgpp*)
   8222     lt_prog_compiler_pic=
   8223     ;;
   8224   *)
   8225     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8226     ;;
   8227 esac
   8228 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8229 $as_echo "$lt_prog_compiler_pic" >&6; }
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 #
   8237 # Check to make sure the PIC flag actually works.
   8238 #
   8239 if test -n "$lt_prog_compiler_pic"; then
   8240   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8241 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8242 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   8243   $as_echo_n "(cached) " >&6
   8244 else
   8245   lt_cv_prog_compiler_pic_works=no
   8246    ac_outfile=conftest.$ac_objext
   8247    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8248    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8249    # Insert the option either (1) after the last *FLAGS variable, or
   8250    # (2) before a word containing "conftest.", or (3) at the end.
   8251    # Note that $ac_compile itself does not contain backslashes and begins
   8252    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8253    # The option is referenced via a variable to avoid confusing sed.
   8254    lt_compile=`echo "$ac_compile" | $SED \
   8255    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8256    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8257    -e 's:$: $lt_compiler_flag:'`
   8258    (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
   8259    (eval "$lt_compile" 2>conftest.err)
   8260    ac_status=$?
   8261    cat conftest.err >&5
   8262    echo "$as_me:8262: \$? = $ac_status" >&5
   8263    if (exit $ac_status) && test -s "$ac_outfile"; then
   8264      # The compiler can only warn and ignore the option if not recognized
   8265      # So say no if there are warnings other than the usual output.
   8266      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8267      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8268      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8269        lt_cv_prog_compiler_pic_works=yes
   8270      fi
   8271    fi
   8272    $RM conftest*
   8273 
   8274 fi
   8275 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   8276 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8277 
   8278 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8279     case $lt_prog_compiler_pic in
   8280      "" | " "*) ;;
   8281      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8282      esac
   8283 else
   8284     lt_prog_compiler_pic=
   8285      lt_prog_compiler_can_build_shared=no
   8286 fi
   8287 
   8288 fi
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 #
   8296 # Check to make sure the static flag actually works.
   8297 #
   8298 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8299 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8300 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8301 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8302   $as_echo_n "(cached) " >&6
   8303 else
   8304   lt_cv_prog_compiler_static_works=no
   8305    save_LDFLAGS="$LDFLAGS"
   8306    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8307    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8308    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8309      # The linker can only warn and ignore the option if not recognized
   8310      # So say no if there are warnings
   8311      if test -s conftest.err; then
   8312        # Append any errors to the config.log.
   8313        cat conftest.err 1>&5
   8314        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8315        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8316        if diff conftest.exp conftest.er2 >/dev/null; then
   8317          lt_cv_prog_compiler_static_works=yes
   8318        fi
   8319      else
   8320        lt_cv_prog_compiler_static_works=yes
   8321      fi
   8322    fi
   8323    $RM -r conftest*
   8324    LDFLAGS="$save_LDFLAGS"
   8325 
   8326 fi
   8327 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8328 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8329 
   8330 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8331     :
   8332 else
   8333     lt_prog_compiler_static=
   8334 fi
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8344 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8345   $as_echo_n "(cached) " >&6
   8346 else
   8347   lt_cv_prog_compiler_c_o=no
   8348    $RM -r conftest 2>/dev/null
   8349    mkdir conftest
   8350    cd conftest
   8351    mkdir out
   8352    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8353 
   8354    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8355    # Insert the option either (1) after the last *FLAGS variable, or
   8356    # (2) before a word containing "conftest.", or (3) at the end.
   8357    # Note that $ac_compile itself does not contain backslashes and begins
   8358    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8359    lt_compile=`echo "$ac_compile" | $SED \
   8360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8362    -e 's:$: $lt_compiler_flag:'`
   8363    (eval echo "\"\$as_me:8363: $lt_compile\"" >&5)
   8364    (eval "$lt_compile" 2>out/conftest.err)
   8365    ac_status=$?
   8366    cat out/conftest.err >&5
   8367    echo "$as_me:8367: \$? = $ac_status" >&5
   8368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8369    then
   8370      # The compiler can only warn and ignore the option if not recognized
   8371      # So say no if there are warnings
   8372      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8375        lt_cv_prog_compiler_c_o=yes
   8376      fi
   8377    fi
   8378    chmod u+w . 2>&5
   8379    $RM conftest*
   8380    # SGI C++ compiler will create directory out/ii_files/ for
   8381    # template instantiation
   8382    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8383    $RM out/* && rmdir out
   8384    cd ..
   8385    $RM -r conftest
   8386    $RM conftest*
   8387 
   8388 fi
   8389 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8390 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8399 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8400   $as_echo_n "(cached) " >&6
   8401 else
   8402   lt_cv_prog_compiler_c_o=no
   8403    $RM -r conftest 2>/dev/null
   8404    mkdir conftest
   8405    cd conftest
   8406    mkdir out
   8407    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8408 
   8409    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8410    # Insert the option either (1) after the last *FLAGS variable, or
   8411    # (2) before a word containing "conftest.", or (3) at the end.
   8412    # Note that $ac_compile itself does not contain backslashes and begins
   8413    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8414    lt_compile=`echo "$ac_compile" | $SED \
   8415    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8416    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8417    -e 's:$: $lt_compiler_flag:'`
   8418    (eval echo "\"\$as_me:8418: $lt_compile\"" >&5)
   8419    (eval "$lt_compile" 2>out/conftest.err)
   8420    ac_status=$?
   8421    cat out/conftest.err >&5
   8422    echo "$as_me:8422: \$? = $ac_status" >&5
   8423    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8424    then
   8425      # The compiler can only warn and ignore the option if not recognized
   8426      # So say no if there are warnings
   8427      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8428      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8429      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8430        lt_cv_prog_compiler_c_o=yes
   8431      fi
   8432    fi
   8433    chmod u+w . 2>&5
   8434    $RM conftest*
   8435    # SGI C++ compiler will create directory out/ii_files/ for
   8436    # template instantiation
   8437    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8438    $RM out/* && rmdir out
   8439    cd ..
   8440    $RM -r conftest
   8441    $RM conftest*
   8442 
   8443 fi
   8444 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8445 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8446 
   8447 
   8448 
   8449 
   8450 hard_links="nottested"
   8451 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8452   # do not overwrite the value of need_locks provided by the user
   8453   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8454 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8455   hard_links=yes
   8456   $RM conftest*
   8457   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8458   touch conftest.a
   8459   ln conftest.a conftest.b 2>&5 || hard_links=no
   8460   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8461   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8462 $as_echo "$hard_links" >&6; }
   8463   if test "$hard_links" = no; then
   8464     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8465 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8466     need_locks=warn
   8467   fi
   8468 else
   8469   need_locks=no
   8470 fi
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8478 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8479 
   8480   runpath_var=
   8481   allow_undefined_flag=
   8482   always_export_symbols=no
   8483   archive_cmds=
   8484   archive_expsym_cmds=
   8485   compiler_needs_object=no
   8486   enable_shared_with_static_runtimes=no
   8487   export_dynamic_flag_spec=
   8488   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8489   hardcode_automatic=no
   8490   hardcode_direct=no
   8491   hardcode_direct_absolute=no
   8492   hardcode_libdir_flag_spec=
   8493   hardcode_libdir_flag_spec_ld=
   8494   hardcode_libdir_separator=
   8495   hardcode_minus_L=no
   8496   hardcode_shlibpath_var=unsupported
   8497   inherit_rpath=no
   8498   link_all_deplibs=unknown
   8499   module_cmds=
   8500   module_expsym_cmds=
   8501   old_archive_from_new_cmds=
   8502   old_archive_from_expsyms_cmds=
   8503   thread_safe_flag_spec=
   8504   whole_archive_flag_spec=
   8505   # include_expsyms should be a list of space-separated symbols to be *always*
   8506   # included in the symbol list
   8507   include_expsyms=
   8508   # exclude_expsyms can be an extended regexp of symbols to exclude
   8509   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8510   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8511   # as well as any symbol that contains `d'.
   8512   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8513   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8514   # platforms (ab)use it in PIC code, but their linkers get confused if
   8515   # the symbol is explicitly referenced.  Since portable code cannot
   8516   # rely on this symbol name, it's probably fine to never include it in
   8517   # preloaded symbol tables.
   8518   # Exclude shared library initialization/finalization symbols.
   8519   extract_expsyms_cmds=
   8520 
   8521   case $host_os in
   8522   cygwin* | mingw* | pw32* | cegcc*)
   8523     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8524     # When not using gcc, we currently assume that we are using
   8525     # Microsoft Visual C++.
   8526     if test "$GCC" != yes; then
   8527       with_gnu_ld=no
   8528     fi
   8529     ;;
   8530   interix*)
   8531     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8532     with_gnu_ld=yes
   8533     ;;
   8534   openbsd*)
   8535     with_gnu_ld=no
   8536     ;;
   8537   esac
   8538 
   8539   ld_shlibs=yes
   8540   if test "$with_gnu_ld" = yes; then
   8541     # If archive_cmds runs LD, not CC, wlarc should be empty
   8542     wlarc='${wl}'
   8543 
   8544     # Set some defaults for GNU ld with shared library support. These
   8545     # are reset later if shared libraries are not supported. Putting them
   8546     # here allows them to be overridden if necessary.
   8547     runpath_var=LD_RUN_PATH
   8548     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8549     export_dynamic_flag_spec='${wl}--export-dynamic'
   8550     # ancient GNU ld didn't support --whole-archive et. al.
   8551     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8552       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8553     else
   8554       whole_archive_flag_spec=
   8555     fi
   8556     supports_anon_versioning=no
   8557     case `$LD -v 2>&1` in
   8558       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8559       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8560       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8561       *\ 2.11.*) ;; # other 2.11 versions
   8562       *) supports_anon_versioning=yes ;;
   8563     esac
   8564 
   8565     # See if GNU ld supports shared libraries.
   8566     case $host_os in
   8567     aix[3-9]*)
   8568       # On AIX/PPC, the GNU linker is very broken
   8569       if test "$host_cpu" != ia64; then
   8570 	ld_shlibs=no
   8571 	cat <<_LT_EOF 1>&2
   8572 
   8573 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8574 *** to be unable to reliably create shared libraries on AIX.
   8575 *** Therefore, libtool is disabling shared libraries support.  If you
   8576 *** really care for shared libraries, you may want to modify your PATH
   8577 *** so that a non-GNU linker is found, and then restart.
   8578 
   8579 _LT_EOF
   8580       fi
   8581       ;;
   8582 
   8583     amigaos*)
   8584       case $host_cpu in
   8585       powerpc)
   8586             # see comment about AmigaOS4 .so support
   8587             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8588             archive_expsym_cmds=''
   8589         ;;
   8590       m68k)
   8591             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)'
   8592             hardcode_libdir_flag_spec='-L$libdir'
   8593             hardcode_minus_L=yes
   8594         ;;
   8595       esac
   8596       ;;
   8597 
   8598     beos*)
   8599       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8600 	allow_undefined_flag=unsupported
   8601 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8602 	# support --undefined.  This deserves some investigation.  FIXME
   8603 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8604       else
   8605 	ld_shlibs=no
   8606       fi
   8607       ;;
   8608 
   8609     cygwin* | mingw* | pw32* | cegcc*)
   8610       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8611       # as there is no search path for DLLs.
   8612       hardcode_libdir_flag_spec='-L$libdir'
   8613       allow_undefined_flag=unsupported
   8614       always_export_symbols=no
   8615       enable_shared_with_static_runtimes=yes
   8616       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8617 
   8618       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8619         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8620 	# If the export-symbols file already is a .def file (1st line
   8621 	# is EXPORTS), use it as is; otherwise, prepend...
   8622 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8623 	  cp $export_symbols $output_objdir/$soname.def;
   8624 	else
   8625 	  echo EXPORTS > $output_objdir/$soname.def;
   8626 	  cat $export_symbols >> $output_objdir/$soname.def;
   8627 	fi~
   8628 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8629       else
   8630 	ld_shlibs=no
   8631       fi
   8632       ;;
   8633 
   8634     interix[3-9]*)
   8635       hardcode_direct=no
   8636       hardcode_shlibpath_var=no
   8637       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8638       export_dynamic_flag_spec='${wl}-E'
   8639       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8640       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8641       # default) and relocated if they conflict, which is a slow very memory
   8642       # consuming and fragmenting process.  To avoid this, we pick a random,
   8643       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8644       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8645       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8646       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'
   8647       ;;
   8648 
   8649     gnu* | linux* | tpf* | k*bsd*-gnu)
   8650       tmp_diet=no
   8651       if test "$host_os" = linux-dietlibc; then
   8652 	case $cc_basename in
   8653 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8654 	esac
   8655       fi
   8656       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8657 	 && test "$tmp_diet" = no
   8658       then
   8659 	tmp_addflag=
   8660 	tmp_sharedflag='-shared'
   8661 	case $cc_basename,$host_cpu in
   8662         pgcc*)				# Portland Group C compiler
   8663 	  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'
   8664 	  tmp_addflag=' $pic_flag'
   8665 	  ;;
   8666 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8667 	  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'
   8668 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8669 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8670 	  tmp_addflag=' -i_dynamic' ;;
   8671 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8672 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8673 	ifc* | ifort*)			# Intel Fortran compiler
   8674 	  tmp_addflag=' -nofor_main' ;;
   8675 	lf95*)				# Lahey Fortran 8.1
   8676 	  whole_archive_flag_spec=
   8677 	  tmp_sharedflag='--shared' ;;
   8678 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8679 	  tmp_sharedflag='-qmkshrobj'
   8680 	  tmp_addflag= ;;
   8681 	esac
   8682 	case `$CC -V 2>&1 | sed 5q` in
   8683 	*Sun\ C*)			# Sun C 5.9
   8684 	  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'
   8685 	  compiler_needs_object=yes
   8686 	  tmp_sharedflag='-G' ;;
   8687 	*Sun\ F*)			# Sun Fortran 8.3
   8688 	  tmp_sharedflag='-G' ;;
   8689 	esac
   8690 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8691 
   8692         if test "x$supports_anon_versioning" = xyes; then
   8693           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8694 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8695 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8696 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8697         fi
   8698 
   8699 	case $cc_basename in
   8700 	xlf*)
   8701 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8702 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8703 	  hardcode_libdir_flag_spec=
   8704 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8705 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8706 	  if test "x$supports_anon_versioning" = xyes; then
   8707 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8708 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8709 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8710 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8711 	  fi
   8712 	  ;;
   8713 	esac
   8714       else
   8715         ld_shlibs=no
   8716       fi
   8717       ;;
   8718 
   8719     netbsd*)
   8720       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8721 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8722 	wlarc=
   8723       else
   8724 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8725 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8726       fi
   8727       ;;
   8728 
   8729     solaris*)
   8730       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8731 	ld_shlibs=no
   8732 	cat <<_LT_EOF 1>&2
   8733 
   8734 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8735 *** create shared libraries on Solaris systems.  Therefore, libtool
   8736 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8737 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8738 *** your PATH or compiler configuration so that the native linker is
   8739 *** used, and then restart.
   8740 
   8741 _LT_EOF
   8742       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8743 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8744 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8745       else
   8746 	ld_shlibs=no
   8747       fi
   8748       ;;
   8749 
   8750     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8751       case `$LD -v 2>&1` in
   8752         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8753 	ld_shlibs=no
   8754 	cat <<_LT_EOF 1>&2
   8755 
   8756 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8757 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8758 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8759 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8760 *** your PATH or compiler configuration so that the native linker is
   8761 *** used, and then restart.
   8762 
   8763 _LT_EOF
   8764 	;;
   8765 	*)
   8766 	  # For security reasons, it is highly recommended that you always
   8767 	  # use absolute paths for naming shared libraries, and exclude the
   8768 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8769 	  # requires that you compile everything twice, which is a pain.
   8770 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8771 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8772 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8773 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8774 	  else
   8775 	    ld_shlibs=no
   8776 	  fi
   8777 	;;
   8778       esac
   8779       ;;
   8780 
   8781     sunos4*)
   8782       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8783       wlarc=
   8784       hardcode_direct=yes
   8785       hardcode_shlibpath_var=no
   8786       ;;
   8787 
   8788     *)
   8789       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8790 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8791 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8792       else
   8793 	ld_shlibs=no
   8794       fi
   8795       ;;
   8796     esac
   8797 
   8798     if test "$ld_shlibs" = no; then
   8799       runpath_var=
   8800       hardcode_libdir_flag_spec=
   8801       export_dynamic_flag_spec=
   8802       whole_archive_flag_spec=
   8803     fi
   8804   else
   8805     # PORTME fill in a description of your system's linker (not GNU ld)
   8806     case $host_os in
   8807     aix3*)
   8808       allow_undefined_flag=unsupported
   8809       always_export_symbols=yes
   8810       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'
   8811       # Note: this linker hardcodes the directories in LIBPATH if there
   8812       # are no directories specified by -L.
   8813       hardcode_minus_L=yes
   8814       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8815 	# Neither direct hardcoding nor static linking is supported with a
   8816 	# broken collect2.
   8817 	hardcode_direct=unsupported
   8818       fi
   8819       ;;
   8820 
   8821     aix[4-9]*)
   8822       if test "$host_cpu" = ia64; then
   8823 	# On IA64, the linker does run time linking by default, so we don't
   8824 	# have to do anything special.
   8825 	aix_use_runtimelinking=no
   8826 	exp_sym_flag='-Bexport'
   8827 	no_entry_flag=""
   8828       else
   8829 	# If we're using GNU nm, then we don't want the "-C" option.
   8830 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8831 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8832 	  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'
   8833 	else
   8834 	  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'
   8835 	fi
   8836 	aix_use_runtimelinking=no
   8837 
   8838 	# Test if we are trying to use run time linking or normal
   8839 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8840 	# need to do runtime linking.
   8841 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8842 	  for ld_flag in $LDFLAGS; do
   8843 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8844 	    aix_use_runtimelinking=yes
   8845 	    break
   8846 	  fi
   8847 	  done
   8848 	  ;;
   8849 	esac
   8850 
   8851 	exp_sym_flag='-bexport'
   8852 	no_entry_flag='-bnoentry'
   8853       fi
   8854 
   8855       # When large executables or shared objects are built, AIX ld can
   8856       # have problems creating the table of contents.  If linking a library
   8857       # or program results in "error TOC overflow" add -mminimal-toc to
   8858       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8859       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8860 
   8861       archive_cmds=''
   8862       hardcode_direct=yes
   8863       hardcode_direct_absolute=yes
   8864       hardcode_libdir_separator=':'
   8865       link_all_deplibs=yes
   8866       file_list_spec='${wl}-f,'
   8867 
   8868       if test "$GCC" = yes; then
   8869 	case $host_os in aix4.[012]|aix4.[012].*)
   8870 	# We only want to do this on AIX 4.2 and lower, the check
   8871 	# below for broken collect2 doesn't work under 4.3+
   8872 	  collect2name=`${CC} -print-prog-name=collect2`
   8873 	  if test -f "$collect2name" &&
   8874 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8875 	  then
   8876 	  # We have reworked collect2
   8877 	  :
   8878 	  else
   8879 	  # We have old collect2
   8880 	  hardcode_direct=unsupported
   8881 	  # It fails to find uninstalled libraries when the uninstalled
   8882 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8883 	  # to unsupported forces relinking
   8884 	  hardcode_minus_L=yes
   8885 	  hardcode_libdir_flag_spec='-L$libdir'
   8886 	  hardcode_libdir_separator=
   8887 	  fi
   8888 	  ;;
   8889 	esac
   8890 	shared_flag='-shared'
   8891 	if test "$aix_use_runtimelinking" = yes; then
   8892 	  shared_flag="$shared_flag "'${wl}-G'
   8893 	fi
   8894       else
   8895 	# not using gcc
   8896 	if test "$host_cpu" = ia64; then
   8897 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8898 	# chokes on -Wl,-G. The following line is correct:
   8899 	  shared_flag='-G'
   8900 	else
   8901 	  if test "$aix_use_runtimelinking" = yes; then
   8902 	    shared_flag='${wl}-G'
   8903 	  else
   8904 	    shared_flag='${wl}-bM:SRE'
   8905 	  fi
   8906 	fi
   8907       fi
   8908 
   8909       export_dynamic_flag_spec='${wl}-bexpall'
   8910       # It seems that -bexpall does not export symbols beginning with
   8911       # underscore (_), so it is better to generate a list of symbols to export.
   8912       always_export_symbols=yes
   8913       if test "$aix_use_runtimelinking" = yes; then
   8914 	# Warning - without using the other runtime loading flags (-brtl),
   8915 	# -berok will link without error, but may produce a broken library.
   8916 	allow_undefined_flag='-berok'
   8917         # Determine the default libpath from the value encoded in an
   8918         # empty executable.
   8919         cat >conftest.$ac_ext <<_ACEOF
   8920 /* confdefs.h.  */
   8921 _ACEOF
   8922 cat confdefs.h >>conftest.$ac_ext
   8923 cat >>conftest.$ac_ext <<_ACEOF
   8924 /* end confdefs.h.  */
   8925 
   8926 int
   8927 main ()
   8928 {
   8929 
   8930   ;
   8931   return 0;
   8932 }
   8933 _ACEOF
   8934 rm -f conftest.$ac_objext conftest$ac_exeext
   8935 if { (ac_try="$ac_link"
   8936 case "(($ac_try" in
   8937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8938   *) ac_try_echo=$ac_try;;
   8939 esac
   8940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8941 $as_echo "$ac_try_echo") >&5
   8942   (eval "$ac_link") 2>conftest.er1
   8943   ac_status=$?
   8944   grep -v '^ *+' conftest.er1 >conftest.err
   8945   rm -f conftest.er1
   8946   cat conftest.err >&5
   8947   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8948   (exit $ac_status); } && {
   8949 	 test -z "$ac_c_werror_flag" ||
   8950 	 test ! -s conftest.err
   8951        } && test -s conftest$ac_exeext && {
   8952 	 test "$cross_compiling" = yes ||
   8953 	 $as_test_x conftest$ac_exeext
   8954        }; then
   8955 
   8956 lt_aix_libpath_sed='
   8957     /Import File Strings/,/^$/ {
   8958 	/^0/ {
   8959 	    s/^0  *\(.*\)$/\1/
   8960 	    p
   8961 	}
   8962     }'
   8963 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8964 # Check for a 64-bit object if we didn't find anything.
   8965 if test -z "$aix_libpath"; then
   8966   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8967 fi
   8968 else
   8969   $as_echo "$as_me: failed program was:" >&5
   8970 sed 's/^/| /' conftest.$ac_ext >&5
   8971 
   8972 
   8973 fi
   8974 
   8975 rm -rf conftest.dSYM
   8976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8977       conftest$ac_exeext conftest.$ac_ext
   8978 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8979 
   8980         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8981         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"
   8982       else
   8983 	if test "$host_cpu" = ia64; then
   8984 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8985 	  allow_undefined_flag="-z nodefs"
   8986 	  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"
   8987 	else
   8988 	 # Determine the default libpath from the value encoded in an
   8989 	 # empty executable.
   8990 	 cat >conftest.$ac_ext <<_ACEOF
   8991 /* confdefs.h.  */
   8992 _ACEOF
   8993 cat confdefs.h >>conftest.$ac_ext
   8994 cat >>conftest.$ac_ext <<_ACEOF
   8995 /* end confdefs.h.  */
   8996 
   8997 int
   8998 main ()
   8999 {
   9000 
   9001   ;
   9002   return 0;
   9003 }
   9004 _ACEOF
   9005 rm -f conftest.$ac_objext conftest$ac_exeext
   9006 if { (ac_try="$ac_link"
   9007 case "(($ac_try" in
   9008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9009   *) ac_try_echo=$ac_try;;
   9010 esac
   9011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9012 $as_echo "$ac_try_echo") >&5
   9013   (eval "$ac_link") 2>conftest.er1
   9014   ac_status=$?
   9015   grep -v '^ *+' conftest.er1 >conftest.err
   9016   rm -f conftest.er1
   9017   cat conftest.err >&5
   9018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9019   (exit $ac_status); } && {
   9020 	 test -z "$ac_c_werror_flag" ||
   9021 	 test ! -s conftest.err
   9022        } && test -s conftest$ac_exeext && {
   9023 	 test "$cross_compiling" = yes ||
   9024 	 $as_test_x conftest$ac_exeext
   9025        }; then
   9026 
   9027 lt_aix_libpath_sed='
   9028     /Import File Strings/,/^$/ {
   9029 	/^0/ {
   9030 	    s/^0  *\(.*\)$/\1/
   9031 	    p
   9032 	}
   9033     }'
   9034 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9035 # Check for a 64-bit object if we didn't find anything.
   9036 if test -z "$aix_libpath"; then
   9037   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9038 fi
   9039 else
   9040   $as_echo "$as_me: failed program was:" >&5
   9041 sed 's/^/| /' conftest.$ac_ext >&5
   9042 
   9043 
   9044 fi
   9045 
   9046 rm -rf conftest.dSYM
   9047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9048       conftest$ac_exeext conftest.$ac_ext
   9049 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9050 
   9051 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9052 	  # Warning - without using the other run time loading flags,
   9053 	  # -berok will link without error, but may produce a broken library.
   9054 	  no_undefined_flag=' ${wl}-bernotok'
   9055 	  allow_undefined_flag=' ${wl}-berok'
   9056 	  # Exported symbols can be pulled into shared objects from archives
   9057 	  whole_archive_flag_spec='$convenience'
   9058 	  archive_cmds_need_lc=yes
   9059 	  # This is similar to how AIX traditionally builds its shared libraries.
   9060 	  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'
   9061 	fi
   9062       fi
   9063       ;;
   9064 
   9065     amigaos*)
   9066       case $host_cpu in
   9067       powerpc)
   9068             # see comment about AmigaOS4 .so support
   9069             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9070             archive_expsym_cmds=''
   9071         ;;
   9072       m68k)
   9073             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)'
   9074             hardcode_libdir_flag_spec='-L$libdir'
   9075             hardcode_minus_L=yes
   9076         ;;
   9077       esac
   9078       ;;
   9079 
   9080     bsdi[45]*)
   9081       export_dynamic_flag_spec=-rdynamic
   9082       ;;
   9083 
   9084     cygwin* | mingw* | pw32* | cegcc*)
   9085       # When not using gcc, we currently assume that we are using
   9086       # Microsoft Visual C++.
   9087       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9088       # no search path for DLLs.
   9089       hardcode_libdir_flag_spec=' '
   9090       allow_undefined_flag=unsupported
   9091       # Tell ltmain to make .lib files, not .a files.
   9092       libext=lib
   9093       # Tell ltmain to make .dll files, not .so files.
   9094       shrext_cmds=".dll"
   9095       # FIXME: Setting linknames here is a bad hack.
   9096       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9097       # The linker will automatically build a .lib file if we build a DLL.
   9098       old_archive_from_new_cmds='true'
   9099       # FIXME: Should let the user specify the lib program.
   9100       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9101       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9102       enable_shared_with_static_runtimes=yes
   9103       ;;
   9104 
   9105     darwin* | rhapsody*)
   9106 
   9107 
   9108   archive_cmds_need_lc=no
   9109   hardcode_direct=no
   9110   hardcode_automatic=yes
   9111   hardcode_shlibpath_var=unsupported
   9112   whole_archive_flag_spec=''
   9113   link_all_deplibs=yes
   9114   allow_undefined_flag="$_lt_dar_allow_undefined"
   9115   case $cc_basename in
   9116      ifort*) _lt_dar_can_shared=yes ;;
   9117      *) _lt_dar_can_shared=$GCC ;;
   9118   esac
   9119   if test "$_lt_dar_can_shared" = "yes"; then
   9120     output_verbose_link_cmd=echo
   9121     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9122     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9123     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}"
   9124     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}"
   9125 
   9126   else
   9127   ld_shlibs=no
   9128   fi
   9129 
   9130       ;;
   9131 
   9132     dgux*)
   9133       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9134       hardcode_libdir_flag_spec='-L$libdir'
   9135       hardcode_shlibpath_var=no
   9136       ;;
   9137 
   9138     freebsd1*)
   9139       ld_shlibs=no
   9140       ;;
   9141 
   9142     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9143     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9144     # does not break anything, and helps significantly (at the cost of a little
   9145     # extra space).
   9146     freebsd2.2*)
   9147       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9148       hardcode_libdir_flag_spec='-R$libdir'
   9149       hardcode_direct=yes
   9150       hardcode_shlibpath_var=no
   9151       ;;
   9152 
   9153     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9154     freebsd2*)
   9155       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9156       hardcode_direct=yes
   9157       hardcode_minus_L=yes
   9158       hardcode_shlibpath_var=no
   9159       ;;
   9160 
   9161     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9162     freebsd* | dragonfly*)
   9163       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9164       hardcode_libdir_flag_spec='-R$libdir'
   9165       hardcode_direct=yes
   9166       hardcode_shlibpath_var=no
   9167       ;;
   9168 
   9169     hpux9*)
   9170       if test "$GCC" = yes; then
   9171 	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'
   9172       else
   9173 	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'
   9174       fi
   9175       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9176       hardcode_libdir_separator=:
   9177       hardcode_direct=yes
   9178 
   9179       # hardcode_minus_L: Not really in the search PATH,
   9180       # but as the default location of the library.
   9181       hardcode_minus_L=yes
   9182       export_dynamic_flag_spec='${wl}-E'
   9183       ;;
   9184 
   9185     hpux10*)
   9186       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9187 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9188       else
   9189 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9190       fi
   9191       if test "$with_gnu_ld" = no; then
   9192 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9193 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9194 	hardcode_libdir_separator=:
   9195 	hardcode_direct=yes
   9196 	hardcode_direct_absolute=yes
   9197 	export_dynamic_flag_spec='${wl}-E'
   9198 	# hardcode_minus_L: Not really in the search PATH,
   9199 	# but as the default location of the library.
   9200 	hardcode_minus_L=yes
   9201       fi
   9202       ;;
   9203 
   9204     hpux11*)
   9205       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9206 	case $host_cpu in
   9207 	hppa*64*)
   9208 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9209 	  ;;
   9210 	ia64*)
   9211 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9212 	  ;;
   9213 	*)
   9214 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9215 	  ;;
   9216 	esac
   9217       else
   9218 	case $host_cpu in
   9219 	hppa*64*)
   9220 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9221 	  ;;
   9222 	ia64*)
   9223 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9224 	  ;;
   9225 	*)
   9226 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9227 	  ;;
   9228 	esac
   9229       fi
   9230       if test "$with_gnu_ld" = no; then
   9231 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9232 	hardcode_libdir_separator=:
   9233 
   9234 	case $host_cpu in
   9235 	hppa*64*|ia64*)
   9236 	  hardcode_direct=no
   9237 	  hardcode_shlibpath_var=no
   9238 	  ;;
   9239 	*)
   9240 	  hardcode_direct=yes
   9241 	  hardcode_direct_absolute=yes
   9242 	  export_dynamic_flag_spec='${wl}-E'
   9243 
   9244 	  # hardcode_minus_L: Not really in the search PATH,
   9245 	  # but as the default location of the library.
   9246 	  hardcode_minus_L=yes
   9247 	  ;;
   9248 	esac
   9249       fi
   9250       ;;
   9251 
   9252     irix5* | irix6* | nonstopux*)
   9253       if test "$GCC" = yes; then
   9254 	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'
   9255 	# Try to use the -exported_symbol ld option, if it does not
   9256 	# work, assume that -exports_file does not work either and
   9257 	# implicitly export all symbols.
   9258         save_LDFLAGS="$LDFLAGS"
   9259         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9260         cat >conftest.$ac_ext <<_ACEOF
   9261 int foo(void) {}
   9262 _ACEOF
   9263 rm -f conftest.$ac_objext conftest$ac_exeext
   9264 if { (ac_try="$ac_link"
   9265 case "(($ac_try" in
   9266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9267   *) ac_try_echo=$ac_try;;
   9268 esac
   9269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9270 $as_echo "$ac_try_echo") >&5
   9271   (eval "$ac_link") 2>conftest.er1
   9272   ac_status=$?
   9273   grep -v '^ *+' conftest.er1 >conftest.err
   9274   rm -f conftest.er1
   9275   cat conftest.err >&5
   9276   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9277   (exit $ac_status); } && {
   9278 	 test -z "$ac_c_werror_flag" ||
   9279 	 test ! -s conftest.err
   9280        } && test -s conftest$ac_exeext && {
   9281 	 test "$cross_compiling" = yes ||
   9282 	 $as_test_x conftest$ac_exeext
   9283        }; then
   9284   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'
   9285 
   9286 else
   9287   $as_echo "$as_me: failed program was:" >&5
   9288 sed 's/^/| /' conftest.$ac_ext >&5
   9289 
   9290 
   9291 fi
   9292 
   9293 rm -rf conftest.dSYM
   9294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9295       conftest$ac_exeext conftest.$ac_ext
   9296         LDFLAGS="$save_LDFLAGS"
   9297       else
   9298 	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'
   9299 	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'
   9300       fi
   9301       archive_cmds_need_lc='no'
   9302       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9303       hardcode_libdir_separator=:
   9304       inherit_rpath=yes
   9305       link_all_deplibs=yes
   9306       ;;
   9307 
   9308     netbsd*)
   9309       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9310 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9311       else
   9312 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9313       fi
   9314       hardcode_libdir_flag_spec='-R$libdir'
   9315       hardcode_direct=yes
   9316       hardcode_shlibpath_var=no
   9317       ;;
   9318 
   9319     newsos6)
   9320       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9321       hardcode_direct=yes
   9322       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9323       hardcode_libdir_separator=:
   9324       hardcode_shlibpath_var=no
   9325       ;;
   9326 
   9327     *nto* | *qnx*)
   9328       ;;
   9329 
   9330     openbsd*)
   9331       if test -f /usr/libexec/ld.so; then
   9332 	hardcode_direct=yes
   9333 	hardcode_shlibpath_var=no
   9334 	hardcode_direct_absolute=yes
   9335 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9336 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9337 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9338 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9339 	  export_dynamic_flag_spec='${wl}-E'
   9340 	else
   9341 	  case $host_os in
   9342 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9343 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9344 	     hardcode_libdir_flag_spec='-R$libdir'
   9345 	     ;;
   9346 	   *)
   9347 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9348 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9349 	     ;;
   9350 	  esac
   9351 	fi
   9352       else
   9353 	ld_shlibs=no
   9354       fi
   9355       ;;
   9356 
   9357     os2*)
   9358       hardcode_libdir_flag_spec='-L$libdir'
   9359       hardcode_minus_L=yes
   9360       allow_undefined_flag=unsupported
   9361       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'
   9362       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9363       ;;
   9364 
   9365     osf3*)
   9366       if test "$GCC" = yes; then
   9367 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9368 	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'
   9369       else
   9370 	allow_undefined_flag=' -expect_unresolved \*'
   9371 	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'
   9372       fi
   9373       archive_cmds_need_lc='no'
   9374       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9375       hardcode_libdir_separator=:
   9376       ;;
   9377 
   9378     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9379       if test "$GCC" = yes; then
   9380 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9381 	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'
   9382 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9383       else
   9384 	allow_undefined_flag=' -expect_unresolved \*'
   9385 	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'
   9386 	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~
   9387 	$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'
   9388 
   9389 	# Both c and cxx compiler support -rpath directly
   9390 	hardcode_libdir_flag_spec='-rpath $libdir'
   9391       fi
   9392       archive_cmds_need_lc='no'
   9393       hardcode_libdir_separator=:
   9394       ;;
   9395 
   9396     solaris*)
   9397       no_undefined_flag=' -z defs'
   9398       if test "$GCC" = yes; then
   9399 	wlarc='${wl}'
   9400 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9401 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9402 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9403       else
   9404 	case `$CC -V 2>&1` in
   9405 	*"Compilers 5.0"*)
   9406 	  wlarc=''
   9407 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9408 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9409 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9410 	  ;;
   9411 	*)
   9412 	  wlarc='${wl}'
   9413 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9414 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9415 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9416 	  ;;
   9417 	esac
   9418       fi
   9419       hardcode_libdir_flag_spec='-R$libdir'
   9420       hardcode_shlibpath_var=no
   9421       case $host_os in
   9422       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9423       *)
   9424 	# The compiler driver will combine and reorder linker options,
   9425 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9426 	# but is careful enough not to reorder.
   9427 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9428 	if test "$GCC" = yes; then
   9429 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9430 	else
   9431 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9432 	fi
   9433 	;;
   9434       esac
   9435       link_all_deplibs=yes
   9436       ;;
   9437 
   9438     sunos4*)
   9439       if test "x$host_vendor" = xsequent; then
   9440 	# Use $CC to link under sequent, because it throws in some extra .o
   9441 	# files that make .init and .fini sections work.
   9442 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9443       else
   9444 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9445       fi
   9446       hardcode_libdir_flag_spec='-L$libdir'
   9447       hardcode_direct=yes
   9448       hardcode_minus_L=yes
   9449       hardcode_shlibpath_var=no
   9450       ;;
   9451 
   9452     sysv4)
   9453       case $host_vendor in
   9454 	sni)
   9455 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9456 	  hardcode_direct=yes # is this really true???
   9457 	;;
   9458 	siemens)
   9459 	  ## LD is ld it makes a PLAMLIB
   9460 	  ## CC just makes a GrossModule.
   9461 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9462 	  reload_cmds='$CC -r -o $output$reload_objs'
   9463 	  hardcode_direct=no
   9464         ;;
   9465 	motorola)
   9466 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9467 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9468 	;;
   9469       esac
   9470       runpath_var='LD_RUN_PATH'
   9471       hardcode_shlibpath_var=no
   9472       ;;
   9473 
   9474     sysv4.3*)
   9475       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9476       hardcode_shlibpath_var=no
   9477       export_dynamic_flag_spec='-Bexport'
   9478       ;;
   9479 
   9480     sysv4*MP*)
   9481       if test -d /usr/nec; then
   9482 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9483 	hardcode_shlibpath_var=no
   9484 	runpath_var=LD_RUN_PATH
   9485 	hardcode_runpath_var=yes
   9486 	ld_shlibs=yes
   9487       fi
   9488       ;;
   9489 
   9490     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9491       no_undefined_flag='${wl}-z,text'
   9492       archive_cmds_need_lc=no
   9493       hardcode_shlibpath_var=no
   9494       runpath_var='LD_RUN_PATH'
   9495 
   9496       if test "$GCC" = yes; then
   9497 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9498 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9499       else
   9500 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9501 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9502       fi
   9503       ;;
   9504 
   9505     sysv5* | sco3.2v5* | sco5v6*)
   9506       # Note: We can NOT use -z defs as we might desire, because we do not
   9507       # link with -lc, and that would cause any symbols used from libc to
   9508       # always be unresolved, which means just about no library would
   9509       # ever link correctly.  If we're not using GNU ld we use -z text
   9510       # though, which does catch some bad symbols but isn't as heavy-handed
   9511       # as -z defs.
   9512       no_undefined_flag='${wl}-z,text'
   9513       allow_undefined_flag='${wl}-z,nodefs'
   9514       archive_cmds_need_lc=no
   9515       hardcode_shlibpath_var=no
   9516       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9517       hardcode_libdir_separator=':'
   9518       link_all_deplibs=yes
   9519       export_dynamic_flag_spec='${wl}-Bexport'
   9520       runpath_var='LD_RUN_PATH'
   9521 
   9522       if test "$GCC" = yes; then
   9523 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9524 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9525       else
   9526 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9527 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9528       fi
   9529       ;;
   9530 
   9531     uts4*)
   9532       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9533       hardcode_libdir_flag_spec='-L$libdir'
   9534       hardcode_shlibpath_var=no
   9535       ;;
   9536 
   9537     *)
   9538       ld_shlibs=no
   9539       ;;
   9540     esac
   9541 
   9542     if test x$host_vendor = xsni; then
   9543       case $host in
   9544       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9545 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9546 	;;
   9547       esac
   9548     fi
   9549   fi
   9550 
   9551 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9552 $as_echo "$ld_shlibs" >&6; }
   9553 test "$ld_shlibs" = no && can_build_shared=no
   9554 
   9555 with_gnu_ld=$with_gnu_ld
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 #
   9572 # Do we need to explicitly link libc?
   9573 #
   9574 case "x$archive_cmds_need_lc" in
   9575 x|xyes)
   9576   # Assume -lc should be added
   9577   archive_cmds_need_lc=yes
   9578 
   9579   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9580     case $archive_cmds in
   9581     *'~'*)
   9582       # FIXME: we may have to deal with multi-command sequences.
   9583       ;;
   9584     '$CC '*)
   9585       # Test whether the compiler implicitly links with -lc since on some
   9586       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9587       # to ld, don't add -lc before -lgcc.
   9588       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9589 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9590       $RM conftest*
   9591       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9592 
   9593       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9594   (eval $ac_compile) 2>&5
   9595   ac_status=$?
   9596   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9597   (exit $ac_status); } 2>conftest.err; then
   9598         soname=conftest
   9599         lib=conftest
   9600         libobjs=conftest.$ac_objext
   9601         deplibs=
   9602         wl=$lt_prog_compiler_wl
   9603 	pic_flag=$lt_prog_compiler_pic
   9604         compiler_flags=-v
   9605         linker_flags=-v
   9606         verstring=
   9607         output_objdir=.
   9608         libname=conftest
   9609         lt_save_allow_undefined_flag=$allow_undefined_flag
   9610         allow_undefined_flag=
   9611         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9612   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9613   ac_status=$?
   9614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9615   (exit $ac_status); }
   9616         then
   9617 	  archive_cmds_need_lc=no
   9618         else
   9619 	  archive_cmds_need_lc=yes
   9620         fi
   9621         allow_undefined_flag=$lt_save_allow_undefined_flag
   9622       else
   9623         cat conftest.err 1>&5
   9624       fi
   9625       $RM conftest*
   9626       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9627 $as_echo "$archive_cmds_need_lc" >&6; }
   9628       ;;
   9629     esac
   9630   fi
   9631   ;;
   9632 esac
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9791 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9792 
   9793 if test "$GCC" = yes; then
   9794   case $host_os in
   9795     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9796     *) lt_awk_arg="/^libraries:/" ;;
   9797   esac
   9798   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9799   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9800     # if the path contains ";" then we assume it to be the separator
   9801     # otherwise default to the standard path separator (i.e. ":") - it is
   9802     # assumed that no part of a normal pathname contains ";" but that should
   9803     # okay in the real world where ";" in dirpaths is itself problematic.
   9804     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9805   else
   9806     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9807   fi
   9808   # Ok, now we have the path, separated by spaces, we can step through it
   9809   # and add multilib dir if necessary.
   9810   lt_tmp_lt_search_path_spec=
   9811   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9812   for lt_sys_path in $lt_search_path_spec; do
   9813     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9814       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9815     else
   9816       test -d "$lt_sys_path" && \
   9817 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9818     fi
   9819   done
   9820   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9821 BEGIN {RS=" "; FS="/|\n";} {
   9822   lt_foo="";
   9823   lt_count=0;
   9824   for (lt_i = NF; lt_i > 0; lt_i--) {
   9825     if ($lt_i != "" && $lt_i != ".") {
   9826       if ($lt_i == "..") {
   9827         lt_count++;
   9828       } else {
   9829         if (lt_count == 0) {
   9830           lt_foo="/" $lt_i lt_foo;
   9831         } else {
   9832           lt_count--;
   9833         }
   9834       }
   9835     }
   9836   }
   9837   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9838   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9839 }'`
   9840   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9841 else
   9842   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9843 fi
   9844 library_names_spec=
   9845 libname_spec='lib$name'
   9846 soname_spec=
   9847 shrext_cmds=".so"
   9848 postinstall_cmds=
   9849 postuninstall_cmds=
   9850 finish_cmds=
   9851 finish_eval=
   9852 shlibpath_var=
   9853 shlibpath_overrides_runpath=unknown
   9854 version_type=none
   9855 dynamic_linker="$host_os ld.so"
   9856 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9857 need_lib_prefix=unknown
   9858 hardcode_into_libs=no
   9859 
   9860 # when you set need_version to no, make sure it does not cause -set_version
   9861 # flags to be left without arguments
   9862 need_version=unknown
   9863 
   9864 case $host_os in
   9865 aix3*)
   9866   version_type=linux
   9867   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9868   shlibpath_var=LIBPATH
   9869 
   9870   # AIX 3 has no versioning support, so we append a major version to the name.
   9871   soname_spec='${libname}${release}${shared_ext}$major'
   9872   ;;
   9873 
   9874 aix[4-9]*)
   9875   version_type=linux
   9876   need_lib_prefix=no
   9877   need_version=no
   9878   hardcode_into_libs=yes
   9879   if test "$host_cpu" = ia64; then
   9880     # AIX 5 supports IA64
   9881     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9882     shlibpath_var=LD_LIBRARY_PATH
   9883   else
   9884     # With GCC up to 2.95.x, collect2 would create an import file
   9885     # for dependence libraries.  The import file would start with
   9886     # the line `#! .'.  This would cause the generated library to
   9887     # depend on `.', always an invalid library.  This was fixed in
   9888     # development snapshots of GCC prior to 3.0.
   9889     case $host_os in
   9890       aix4 | aix4.[01] | aix4.[01].*)
   9891       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9892 	   echo ' yes '
   9893 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9894 	:
   9895       else
   9896 	can_build_shared=no
   9897       fi
   9898       ;;
   9899     esac
   9900     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9901     # soname into executable. Probably we can add versioning support to
   9902     # collect2, so additional links can be useful in future.
   9903     if test "$aix_use_runtimelinking" = yes; then
   9904       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9905       # instead of lib<name>.a to let people know that these are not
   9906       # typical AIX shared libraries.
   9907       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9908     else
   9909       # We preserve .a as extension for shared libraries through AIX4.2
   9910       # and later when we are not doing run time linking.
   9911       library_names_spec='${libname}${release}.a $libname.a'
   9912       soname_spec='${libname}${release}${shared_ext}$major'
   9913     fi
   9914     shlibpath_var=LIBPATH
   9915   fi
   9916   ;;
   9917 
   9918 amigaos*)
   9919   case $host_cpu in
   9920   powerpc)
   9921     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9922     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9923     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9924     ;;
   9925   m68k)
   9926     library_names_spec='$libname.ixlibrary $libname.a'
   9927     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9928     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'
   9929     ;;
   9930   esac
   9931   ;;
   9932 
   9933 beos*)
   9934   library_names_spec='${libname}${shared_ext}'
   9935   dynamic_linker="$host_os ld.so"
   9936   shlibpath_var=LIBRARY_PATH
   9937   ;;
   9938 
   9939 bsdi[45]*)
   9940   version_type=linux
   9941   need_version=no
   9942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9943   soname_spec='${libname}${release}${shared_ext}$major'
   9944   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9945   shlibpath_var=LD_LIBRARY_PATH
   9946   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9947   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9948   # the default ld.so.conf also contains /usr/contrib/lib and
   9949   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9950   # libtool to hard-code these into programs
   9951   ;;
   9952 
   9953 cygwin* | mingw* | pw32* | cegcc*)
   9954   version_type=windows
   9955   shrext_cmds=".dll"
   9956   need_version=no
   9957   need_lib_prefix=no
   9958 
   9959   case $GCC,$host_os in
   9960   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9961     library_names_spec='$libname.dll.a'
   9962     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9963     postinstall_cmds='base_file=`basename \${file}`~
   9964       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9965       dldir=$destdir/`dirname \$dlpath`~
   9966       test -d \$dldir || mkdir -p \$dldir~
   9967       $install_prog $dir/$dlname \$dldir/$dlname~
   9968       chmod a+x \$dldir/$dlname~
   9969       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9970         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9971       fi'
   9972     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9973       dlpath=$dir/\$dldll~
   9974        $RM \$dlpath'
   9975     shlibpath_overrides_runpath=yes
   9976 
   9977     case $host_os in
   9978     cygwin*)
   9979       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9980       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9981       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9982       ;;
   9983     mingw* | cegcc*)
   9984       # MinGW DLLs use traditional 'lib' prefix
   9985       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9986       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9987       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9988         # It is most probably a Windows format PATH printed by
   9989         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9990         # path with ; separators, and with drive letters. We can handle the
   9991         # drive letters (cygwin fileutils understands them), so leave them,
   9992         # especially as we might pass files found there to a mingw objdump,
   9993         # which wouldn't understand a cygwinified path. Ahh.
   9994         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9995       else
   9996         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9997       fi
   9998       ;;
   9999     pw32*)
   10000       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10001       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10002       ;;
   10003     esac
   10004     ;;
   10005 
   10006   *)
   10007     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10008     ;;
   10009   esac
   10010   dynamic_linker='Win32 ld.exe'
   10011   # FIXME: first we should search . and the directory the executable is in
   10012   shlibpath_var=PATH
   10013   ;;
   10014 
   10015 darwin* | rhapsody*)
   10016   dynamic_linker="$host_os dyld"
   10017   version_type=darwin
   10018   need_lib_prefix=no
   10019   need_version=no
   10020   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10021   soname_spec='${libname}${release}${major}$shared_ext'
   10022   shlibpath_overrides_runpath=yes
   10023   shlibpath_var=DYLD_LIBRARY_PATH
   10024   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10025 
   10026   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10027   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10028   ;;
   10029 
   10030 dgux*)
   10031   version_type=linux
   10032   need_lib_prefix=no
   10033   need_version=no
   10034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10035   soname_spec='${libname}${release}${shared_ext}$major'
   10036   shlibpath_var=LD_LIBRARY_PATH
   10037   ;;
   10038 
   10039 freebsd1*)
   10040   dynamic_linker=no
   10041   ;;
   10042 
   10043 freebsd* | dragonfly*)
   10044   # DragonFly does not have aout.  When/if they implement a new
   10045   # versioning mechanism, adjust this.
   10046   if test -x /usr/bin/objformat; then
   10047     objformat=`/usr/bin/objformat`
   10048   else
   10049     case $host_os in
   10050     freebsd[123]*) objformat=aout ;;
   10051     *) objformat=elf ;;
   10052     esac
   10053   fi
   10054   version_type=freebsd-$objformat
   10055   case $version_type in
   10056     freebsd-elf*)
   10057       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10058       need_version=no
   10059       need_lib_prefix=no
   10060       ;;
   10061     freebsd-*)
   10062       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10063       need_version=yes
   10064       ;;
   10065   esac
   10066   shlibpath_var=LD_LIBRARY_PATH
   10067   case $host_os in
   10068   freebsd2*)
   10069     shlibpath_overrides_runpath=yes
   10070     ;;
   10071   freebsd3.[01]* | freebsdelf3.[01]*)
   10072     shlibpath_overrides_runpath=yes
   10073     hardcode_into_libs=yes
   10074     ;;
   10075   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10076   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10077     shlibpath_overrides_runpath=no
   10078     hardcode_into_libs=yes
   10079     ;;
   10080   *) # from 4.6 on, and DragonFly
   10081     shlibpath_overrides_runpath=yes
   10082     hardcode_into_libs=yes
   10083     ;;
   10084   esac
   10085   ;;
   10086 
   10087 gnu*)
   10088   version_type=linux
   10089   need_lib_prefix=no
   10090   need_version=no
   10091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10092   soname_spec='${libname}${release}${shared_ext}$major'
   10093   shlibpath_var=LD_LIBRARY_PATH
   10094   hardcode_into_libs=yes
   10095   ;;
   10096 
   10097 hpux9* | hpux10* | hpux11*)
   10098   # Give a soname corresponding to the major version so that dld.sl refuses to
   10099   # link against other versions.
   10100   version_type=sunos
   10101   need_lib_prefix=no
   10102   need_version=no
   10103   case $host_cpu in
   10104   ia64*)
   10105     shrext_cmds='.so'
   10106     hardcode_into_libs=yes
   10107     dynamic_linker="$host_os dld.so"
   10108     shlibpath_var=LD_LIBRARY_PATH
   10109     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10110     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10111     soname_spec='${libname}${release}${shared_ext}$major'
   10112     if test "X$HPUX_IA64_MODE" = X32; then
   10113       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10114     else
   10115       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10116     fi
   10117     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10118     ;;
   10119   hppa*64*)
   10120     shrext_cmds='.sl'
   10121     hardcode_into_libs=yes
   10122     dynamic_linker="$host_os dld.sl"
   10123     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10124     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10125     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10126     soname_spec='${libname}${release}${shared_ext}$major'
   10127     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10128     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10129     ;;
   10130   *)
   10131     shrext_cmds='.sl'
   10132     dynamic_linker="$host_os dld.sl"
   10133     shlibpath_var=SHLIB_PATH
   10134     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10135     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10136     soname_spec='${libname}${release}${shared_ext}$major'
   10137     ;;
   10138   esac
   10139   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10140   postinstall_cmds='chmod 555 $lib'
   10141   ;;
   10142 
   10143 interix[3-9]*)
   10144   version_type=linux
   10145   need_lib_prefix=no
   10146   need_version=no
   10147   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10148   soname_spec='${libname}${release}${shared_ext}$major'
   10149   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10150   shlibpath_var=LD_LIBRARY_PATH
   10151   shlibpath_overrides_runpath=no
   10152   hardcode_into_libs=yes
   10153   ;;
   10154 
   10155 irix5* | irix6* | nonstopux*)
   10156   case $host_os in
   10157     nonstopux*) version_type=nonstopux ;;
   10158     *)
   10159 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10160 		version_type=linux
   10161 	else
   10162 		version_type=irix
   10163 	fi ;;
   10164   esac
   10165   need_lib_prefix=no
   10166   need_version=no
   10167   soname_spec='${libname}${release}${shared_ext}$major'
   10168   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10169   case $host_os in
   10170   irix5* | nonstopux*)
   10171     libsuff= shlibsuff=
   10172     ;;
   10173   *)
   10174     case $LD in # libtool.m4 will add one of these switches to LD
   10175     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10176       libsuff= shlibsuff= libmagic=32-bit;;
   10177     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10178       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10179     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10180       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10181     *) libsuff= shlibsuff= libmagic=never-match;;
   10182     esac
   10183     ;;
   10184   esac
   10185   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10186   shlibpath_overrides_runpath=no
   10187   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10188   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10189   hardcode_into_libs=yes
   10190   ;;
   10191 
   10192 # No shared lib support for Linux oldld, aout, or coff.
   10193 linux*oldld* | linux*aout* | linux*coff*)
   10194   dynamic_linker=no
   10195   ;;
   10196 
   10197 # This must be Linux ELF.
   10198 linux* | k*bsd*-gnu)
   10199   version_type=linux
   10200   need_lib_prefix=no
   10201   need_version=no
   10202   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10203   soname_spec='${libname}${release}${shared_ext}$major'
   10204   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10205   shlibpath_var=LD_LIBRARY_PATH
   10206   shlibpath_overrides_runpath=no
   10207   # Some binutils ld are patched to set DT_RUNPATH
   10208   save_LDFLAGS=$LDFLAGS
   10209   save_libdir=$libdir
   10210   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10211        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10212   cat >conftest.$ac_ext <<_ACEOF
   10213 /* confdefs.h.  */
   10214 _ACEOF
   10215 cat confdefs.h >>conftest.$ac_ext
   10216 cat >>conftest.$ac_ext <<_ACEOF
   10217 /* end confdefs.h.  */
   10218 
   10219 int
   10220 main ()
   10221 {
   10222 
   10223   ;
   10224   return 0;
   10225 }
   10226 _ACEOF
   10227 rm -f conftest.$ac_objext conftest$ac_exeext
   10228 if { (ac_try="$ac_link"
   10229 case "(($ac_try" in
   10230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10231   *) ac_try_echo=$ac_try;;
   10232 esac
   10233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10234 $as_echo "$ac_try_echo") >&5
   10235   (eval "$ac_link") 2>conftest.er1
   10236   ac_status=$?
   10237   grep -v '^ *+' conftest.er1 >conftest.err
   10238   rm -f conftest.er1
   10239   cat conftest.err >&5
   10240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10241   (exit $ac_status); } && {
   10242 	 test -z "$ac_c_werror_flag" ||
   10243 	 test ! -s conftest.err
   10244        } && test -s conftest$ac_exeext && {
   10245 	 test "$cross_compiling" = yes ||
   10246 	 $as_test_x conftest$ac_exeext
   10247        }; then
   10248   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   10249   shlibpath_overrides_runpath=yes
   10250 fi
   10251 
   10252 else
   10253   $as_echo "$as_me: failed program was:" >&5
   10254 sed 's/^/| /' conftest.$ac_ext >&5
   10255 
   10256 
   10257 fi
   10258 
   10259 rm -rf conftest.dSYM
   10260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10261       conftest$ac_exeext conftest.$ac_ext
   10262   LDFLAGS=$save_LDFLAGS
   10263   libdir=$save_libdir
   10264 
   10265   # This implies no fast_install, which is unacceptable.
   10266   # Some rework will be needed to allow for fast_install
   10267   # before this can be enabled.
   10268   hardcode_into_libs=yes
   10269 
   10270   # Add ABI-specific directories to the system library path.
   10271   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10272 
   10273   # Append ld.so.conf contents to the search path
   10274   if test -f /etc/ld.so.conf; then
   10275     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' ' '`
   10276     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10277   fi
   10278 
   10279   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10280   # powerpc, because MkLinux only supported shared libraries with the
   10281   # GNU dynamic linker.  Since this was broken with cross compilers,
   10282   # most powerpc-linux boxes support dynamic linking these days and
   10283   # people can always --disable-shared, the test was removed, and we
   10284   # assume the GNU/Linux dynamic linker is in use.
   10285   dynamic_linker='GNU/Linux ld.so'
   10286   ;;
   10287 
   10288 netbsd*)
   10289   version_type=sunos
   10290   need_lib_prefix=no
   10291   need_version=no
   10292   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10293     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10294     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10295     dynamic_linker='NetBSD (a.out) ld.so'
   10296   else
   10297     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10298     soname_spec='${libname}${release}${shared_ext}$major'
   10299     dynamic_linker='NetBSD ld.elf_so'
   10300   fi
   10301   shlibpath_var=LD_LIBRARY_PATH
   10302   shlibpath_overrides_runpath=yes
   10303   hardcode_into_libs=yes
   10304   ;;
   10305 
   10306 newsos6)
   10307   version_type=linux
   10308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10309   shlibpath_var=LD_LIBRARY_PATH
   10310   shlibpath_overrides_runpath=yes
   10311   ;;
   10312 
   10313 *nto* | *qnx*)
   10314   version_type=qnx
   10315   need_lib_prefix=no
   10316   need_version=no
   10317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10318   soname_spec='${libname}${release}${shared_ext}$major'
   10319   shlibpath_var=LD_LIBRARY_PATH
   10320   shlibpath_overrides_runpath=no
   10321   hardcode_into_libs=yes
   10322   dynamic_linker='ldqnx.so'
   10323   ;;
   10324 
   10325 openbsd*)
   10326   version_type=sunos
   10327   sys_lib_dlsearch_path_spec="/usr/lib"
   10328   need_lib_prefix=no
   10329   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10330   case $host_os in
   10331     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10332     *)				need_version=no  ;;
   10333   esac
   10334   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10335   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10336   shlibpath_var=LD_LIBRARY_PATH
   10337   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10338     case $host_os in
   10339       openbsd2.[89] | openbsd2.[89].*)
   10340 	shlibpath_overrides_runpath=no
   10341 	;;
   10342       *)
   10343 	shlibpath_overrides_runpath=yes
   10344 	;;
   10345       esac
   10346   else
   10347     shlibpath_overrides_runpath=yes
   10348   fi
   10349   ;;
   10350 
   10351 os2*)
   10352   libname_spec='$name'
   10353   shrext_cmds=".dll"
   10354   need_lib_prefix=no
   10355   library_names_spec='$libname${shared_ext} $libname.a'
   10356   dynamic_linker='OS/2 ld.exe'
   10357   shlibpath_var=LIBPATH
   10358   ;;
   10359 
   10360 osf3* | osf4* | osf5*)
   10361   version_type=osf
   10362   need_lib_prefix=no
   10363   need_version=no
   10364   soname_spec='${libname}${release}${shared_ext}$major'
   10365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10366   shlibpath_var=LD_LIBRARY_PATH
   10367   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10368   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10369   ;;
   10370 
   10371 rdos*)
   10372   dynamic_linker=no
   10373   ;;
   10374 
   10375 solaris*)
   10376   version_type=linux
   10377   need_lib_prefix=no
   10378   need_version=no
   10379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10380   soname_spec='${libname}${release}${shared_ext}$major'
   10381   shlibpath_var=LD_LIBRARY_PATH
   10382   shlibpath_overrides_runpath=yes
   10383   hardcode_into_libs=yes
   10384   # ldd complains unless libraries are executable
   10385   postinstall_cmds='chmod +x $lib'
   10386   ;;
   10387 
   10388 sunos4*)
   10389   version_type=sunos
   10390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10391   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10392   shlibpath_var=LD_LIBRARY_PATH
   10393   shlibpath_overrides_runpath=yes
   10394   if test "$with_gnu_ld" = yes; then
   10395     need_lib_prefix=no
   10396   fi
   10397   need_version=yes
   10398   ;;
   10399 
   10400 sysv4 | sysv4.3*)
   10401   version_type=linux
   10402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10403   soname_spec='${libname}${release}${shared_ext}$major'
   10404   shlibpath_var=LD_LIBRARY_PATH
   10405   case $host_vendor in
   10406     sni)
   10407       shlibpath_overrides_runpath=no
   10408       need_lib_prefix=no
   10409       runpath_var=LD_RUN_PATH
   10410       ;;
   10411     siemens)
   10412       need_lib_prefix=no
   10413       ;;
   10414     motorola)
   10415       need_lib_prefix=no
   10416       need_version=no
   10417       shlibpath_overrides_runpath=no
   10418       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10419       ;;
   10420   esac
   10421   ;;
   10422 
   10423 sysv4*MP*)
   10424   if test -d /usr/nec ;then
   10425     version_type=linux
   10426     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10427     soname_spec='$libname${shared_ext}.$major'
   10428     shlibpath_var=LD_LIBRARY_PATH
   10429   fi
   10430   ;;
   10431 
   10432 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10433   version_type=freebsd-elf
   10434   need_lib_prefix=no
   10435   need_version=no
   10436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10437   soname_spec='${libname}${release}${shared_ext}$major'
   10438   shlibpath_var=LD_LIBRARY_PATH
   10439   shlibpath_overrides_runpath=yes
   10440   hardcode_into_libs=yes
   10441   if test "$with_gnu_ld" = yes; then
   10442     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10443   else
   10444     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10445     case $host_os in
   10446       sco3.2v5*)
   10447         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10448 	;;
   10449     esac
   10450   fi
   10451   sys_lib_dlsearch_path_spec='/usr/lib'
   10452   ;;
   10453 
   10454 tpf*)
   10455   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10456   version_type=linux
   10457   need_lib_prefix=no
   10458   need_version=no
   10459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10460   shlibpath_var=LD_LIBRARY_PATH
   10461   shlibpath_overrides_runpath=no
   10462   hardcode_into_libs=yes
   10463   ;;
   10464 
   10465 uts4*)
   10466   version_type=linux
   10467   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10468   soname_spec='${libname}${release}${shared_ext}$major'
   10469   shlibpath_var=LD_LIBRARY_PATH
   10470   ;;
   10471 
   10472 *)
   10473   dynamic_linker=no
   10474   ;;
   10475 esac
   10476 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10477 $as_echo "$dynamic_linker" >&6; }
   10478 test "$dynamic_linker" = no && can_build_shared=no
   10479 
   10480 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10481 if test "$GCC" = yes; then
   10482   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10483 fi
   10484 
   10485 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10486   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10487 fi
   10488 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10489   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10490 fi
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10579 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10580 hardcode_action=
   10581 if test -n "$hardcode_libdir_flag_spec" ||
   10582    test -n "$runpath_var" ||
   10583    test "X$hardcode_automatic" = "Xyes" ; then
   10584 
   10585   # We can hardcode non-existent directories.
   10586   if test "$hardcode_direct" != no &&
   10587      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10588      # have to relink, otherwise we might link with an installed library
   10589      # when we should be linking with a yet-to-be-installed one
   10590      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10591      test "$hardcode_minus_L" != no; then
   10592     # Linking always hardcodes the temporary library directory.
   10593     hardcode_action=relink
   10594   else
   10595     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10596     hardcode_action=immediate
   10597   fi
   10598 else
   10599   # We cannot hardcode anything, or else we can only hardcode existing
   10600   # directories.
   10601   hardcode_action=unsupported
   10602 fi
   10603 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10604 $as_echo "$hardcode_action" >&6; }
   10605 
   10606 if test "$hardcode_action" = relink ||
   10607    test "$inherit_rpath" = yes; then
   10608   # Fast installation is not supported
   10609   enable_fast_install=no
   10610 elif test "$shlibpath_overrides_runpath" = yes ||
   10611      test "$enable_shared" = no; then
   10612   # Fast installation is not necessary
   10613   enable_fast_install=needless
   10614 fi
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621   if test "x$enable_dlopen" != xyes; then
   10622   enable_dlopen=unknown
   10623   enable_dlopen_self=unknown
   10624   enable_dlopen_self_static=unknown
   10625 else
   10626   lt_cv_dlopen=no
   10627   lt_cv_dlopen_libs=
   10628 
   10629   case $host_os in
   10630   beos*)
   10631     lt_cv_dlopen="load_add_on"
   10632     lt_cv_dlopen_libs=
   10633     lt_cv_dlopen_self=yes
   10634     ;;
   10635 
   10636   mingw* | pw32* | cegcc*)
   10637     lt_cv_dlopen="LoadLibrary"
   10638     lt_cv_dlopen_libs=
   10639     ;;
   10640 
   10641   cygwin*)
   10642     lt_cv_dlopen="dlopen"
   10643     lt_cv_dlopen_libs=
   10644     ;;
   10645 
   10646   darwin*)
   10647   # if libdl is installed we need to link against it
   10648     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10650 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10651   $as_echo_n "(cached) " >&6
   10652 else
   10653   ac_check_lib_save_LIBS=$LIBS
   10654 LIBS="-ldl  $LIBS"
   10655 cat >conftest.$ac_ext <<_ACEOF
   10656 /* confdefs.h.  */
   10657 _ACEOF
   10658 cat confdefs.h >>conftest.$ac_ext
   10659 cat >>conftest.$ac_ext <<_ACEOF
   10660 /* end confdefs.h.  */
   10661 
   10662 /* Override any GCC internal prototype to avoid an error.
   10663    Use char because int might match the return type of a GCC
   10664    builtin and then its argument prototype would still apply.  */
   10665 #ifdef __cplusplus
   10666 extern "C"
   10667 #endif
   10668 char dlopen ();
   10669 int
   10670 main ()
   10671 {
   10672 return dlopen ();
   10673   ;
   10674   return 0;
   10675 }
   10676 _ACEOF
   10677 rm -f conftest.$ac_objext conftest$ac_exeext
   10678 if { (ac_try="$ac_link"
   10679 case "(($ac_try" in
   10680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10681   *) ac_try_echo=$ac_try;;
   10682 esac
   10683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10684 $as_echo "$ac_try_echo") >&5
   10685   (eval "$ac_link") 2>conftest.er1
   10686   ac_status=$?
   10687   grep -v '^ *+' conftest.er1 >conftest.err
   10688   rm -f conftest.er1
   10689   cat conftest.err >&5
   10690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10691   (exit $ac_status); } && {
   10692 	 test -z "$ac_c_werror_flag" ||
   10693 	 test ! -s conftest.err
   10694        } && test -s conftest$ac_exeext && {
   10695 	 test "$cross_compiling" = yes ||
   10696 	 $as_test_x conftest$ac_exeext
   10697        }; then
   10698   ac_cv_lib_dl_dlopen=yes
   10699 else
   10700   $as_echo "$as_me: failed program was:" >&5
   10701 sed 's/^/| /' conftest.$ac_ext >&5
   10702 
   10703 	ac_cv_lib_dl_dlopen=no
   10704 fi
   10705 
   10706 rm -rf conftest.dSYM
   10707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10708       conftest$ac_exeext conftest.$ac_ext
   10709 LIBS=$ac_check_lib_save_LIBS
   10710 fi
   10711 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10712 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10713 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10714   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10715 else
   10716 
   10717     lt_cv_dlopen="dyld"
   10718     lt_cv_dlopen_libs=
   10719     lt_cv_dlopen_self=yes
   10720 
   10721 fi
   10722 
   10723     ;;
   10724 
   10725   *)
   10726     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10727 $as_echo_n "checking for shl_load... " >&6; }
   10728 if test "${ac_cv_func_shl_load+set}" = set; then
   10729   $as_echo_n "(cached) " >&6
   10730 else
   10731   cat >conftest.$ac_ext <<_ACEOF
   10732 /* confdefs.h.  */
   10733 _ACEOF
   10734 cat confdefs.h >>conftest.$ac_ext
   10735 cat >>conftest.$ac_ext <<_ACEOF
   10736 /* end confdefs.h.  */
   10737 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10739 #define shl_load innocuous_shl_load
   10740 
   10741 /* System header to define __stub macros and hopefully few prototypes,
   10742     which can conflict with char shl_load (); below.
   10743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10744     <limits.h> exists even on freestanding compilers.  */
   10745 
   10746 #ifdef __STDC__
   10747 # include <limits.h>
   10748 #else
   10749 # include <assert.h>
   10750 #endif
   10751 
   10752 #undef shl_load
   10753 
   10754 /* Override any GCC internal prototype to avoid an error.
   10755    Use char because int might match the return type of a GCC
   10756    builtin and then its argument prototype would still apply.  */
   10757 #ifdef __cplusplus
   10758 extern "C"
   10759 #endif
   10760 char shl_load ();
   10761 /* The GNU C library defines this for functions which it implements
   10762     to always fail with ENOSYS.  Some functions are actually named
   10763     something starting with __ and the normal name is an alias.  */
   10764 #if defined __stub_shl_load || defined __stub___shl_load
   10765 choke me
   10766 #endif
   10767 
   10768 int
   10769 main ()
   10770 {
   10771 return shl_load ();
   10772   ;
   10773   return 0;
   10774 }
   10775 _ACEOF
   10776 rm -f conftest.$ac_objext conftest$ac_exeext
   10777 if { (ac_try="$ac_link"
   10778 case "(($ac_try" in
   10779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10780   *) ac_try_echo=$ac_try;;
   10781 esac
   10782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10783 $as_echo "$ac_try_echo") >&5
   10784   (eval "$ac_link") 2>conftest.er1
   10785   ac_status=$?
   10786   grep -v '^ *+' conftest.er1 >conftest.err
   10787   rm -f conftest.er1
   10788   cat conftest.err >&5
   10789   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10790   (exit $ac_status); } && {
   10791 	 test -z "$ac_c_werror_flag" ||
   10792 	 test ! -s conftest.err
   10793        } && test -s conftest$ac_exeext && {
   10794 	 test "$cross_compiling" = yes ||
   10795 	 $as_test_x conftest$ac_exeext
   10796        }; then
   10797   ac_cv_func_shl_load=yes
   10798 else
   10799   $as_echo "$as_me: failed program was:" >&5
   10800 sed 's/^/| /' conftest.$ac_ext >&5
   10801 
   10802 	ac_cv_func_shl_load=no
   10803 fi
   10804 
   10805 rm -rf conftest.dSYM
   10806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10807       conftest$ac_exeext conftest.$ac_ext
   10808 fi
   10809 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10810 $as_echo "$ac_cv_func_shl_load" >&6; }
   10811 if test "x$ac_cv_func_shl_load" = x""yes; then
   10812   lt_cv_dlopen="shl_load"
   10813 else
   10814   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10815 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10816 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10817   $as_echo_n "(cached) " >&6
   10818 else
   10819   ac_check_lib_save_LIBS=$LIBS
   10820 LIBS="-ldld  $LIBS"
   10821 cat >conftest.$ac_ext <<_ACEOF
   10822 /* confdefs.h.  */
   10823 _ACEOF
   10824 cat confdefs.h >>conftest.$ac_ext
   10825 cat >>conftest.$ac_ext <<_ACEOF
   10826 /* end confdefs.h.  */
   10827 
   10828 /* Override any GCC internal prototype to avoid an error.
   10829    Use char because int might match the return type of a GCC
   10830    builtin and then its argument prototype would still apply.  */
   10831 #ifdef __cplusplus
   10832 extern "C"
   10833 #endif
   10834 char shl_load ();
   10835 int
   10836 main ()
   10837 {
   10838 return shl_load ();
   10839   ;
   10840   return 0;
   10841 }
   10842 _ACEOF
   10843 rm -f conftest.$ac_objext conftest$ac_exeext
   10844 if { (ac_try="$ac_link"
   10845 case "(($ac_try" in
   10846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10847   *) ac_try_echo=$ac_try;;
   10848 esac
   10849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10850 $as_echo "$ac_try_echo") >&5
   10851   (eval "$ac_link") 2>conftest.er1
   10852   ac_status=$?
   10853   grep -v '^ *+' conftest.er1 >conftest.err
   10854   rm -f conftest.er1
   10855   cat conftest.err >&5
   10856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10857   (exit $ac_status); } && {
   10858 	 test -z "$ac_c_werror_flag" ||
   10859 	 test ! -s conftest.err
   10860        } && test -s conftest$ac_exeext && {
   10861 	 test "$cross_compiling" = yes ||
   10862 	 $as_test_x conftest$ac_exeext
   10863        }; then
   10864   ac_cv_lib_dld_shl_load=yes
   10865 else
   10866   $as_echo "$as_me: failed program was:" >&5
   10867 sed 's/^/| /' conftest.$ac_ext >&5
   10868 
   10869 	ac_cv_lib_dld_shl_load=no
   10870 fi
   10871 
   10872 rm -rf conftest.dSYM
   10873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10874       conftest$ac_exeext conftest.$ac_ext
   10875 LIBS=$ac_check_lib_save_LIBS
   10876 fi
   10877 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10878 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10879 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10880   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10881 else
   10882   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10883 $as_echo_n "checking for dlopen... " >&6; }
   10884 if test "${ac_cv_func_dlopen+set}" = set; then
   10885   $as_echo_n "(cached) " >&6
   10886 else
   10887   cat >conftest.$ac_ext <<_ACEOF
   10888 /* confdefs.h.  */
   10889 _ACEOF
   10890 cat confdefs.h >>conftest.$ac_ext
   10891 cat >>conftest.$ac_ext <<_ACEOF
   10892 /* end confdefs.h.  */
   10893 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10895 #define dlopen innocuous_dlopen
   10896 
   10897 /* System header to define __stub macros and hopefully few prototypes,
   10898     which can conflict with char dlopen (); below.
   10899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10900     <limits.h> exists even on freestanding compilers.  */
   10901 
   10902 #ifdef __STDC__
   10903 # include <limits.h>
   10904 #else
   10905 # include <assert.h>
   10906 #endif
   10907 
   10908 #undef dlopen
   10909 
   10910 /* Override any GCC internal prototype to avoid an error.
   10911    Use char because int might match the return type of a GCC
   10912    builtin and then its argument prototype would still apply.  */
   10913 #ifdef __cplusplus
   10914 extern "C"
   10915 #endif
   10916 char dlopen ();
   10917 /* The GNU C library defines this for functions which it implements
   10918     to always fail with ENOSYS.  Some functions are actually named
   10919     something starting with __ and the normal name is an alias.  */
   10920 #if defined __stub_dlopen || defined __stub___dlopen
   10921 choke me
   10922 #endif
   10923 
   10924 int
   10925 main ()
   10926 {
   10927 return dlopen ();
   10928   ;
   10929   return 0;
   10930 }
   10931 _ACEOF
   10932 rm -f conftest.$ac_objext conftest$ac_exeext
   10933 if { (ac_try="$ac_link"
   10934 case "(($ac_try" in
   10935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10936   *) ac_try_echo=$ac_try;;
   10937 esac
   10938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10939 $as_echo "$ac_try_echo") >&5
   10940   (eval "$ac_link") 2>conftest.er1
   10941   ac_status=$?
   10942   grep -v '^ *+' conftest.er1 >conftest.err
   10943   rm -f conftest.er1
   10944   cat conftest.err >&5
   10945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10946   (exit $ac_status); } && {
   10947 	 test -z "$ac_c_werror_flag" ||
   10948 	 test ! -s conftest.err
   10949        } && test -s conftest$ac_exeext && {
   10950 	 test "$cross_compiling" = yes ||
   10951 	 $as_test_x conftest$ac_exeext
   10952        }; then
   10953   ac_cv_func_dlopen=yes
   10954 else
   10955   $as_echo "$as_me: failed program was:" >&5
   10956 sed 's/^/| /' conftest.$ac_ext >&5
   10957 
   10958 	ac_cv_func_dlopen=no
   10959 fi
   10960 
   10961 rm -rf conftest.dSYM
   10962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10963       conftest$ac_exeext conftest.$ac_ext
   10964 fi
   10965 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10966 $as_echo "$ac_cv_func_dlopen" >&6; }
   10967 if test "x$ac_cv_func_dlopen" = x""yes; then
   10968   lt_cv_dlopen="dlopen"
   10969 else
   10970   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10971 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10972 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10973   $as_echo_n "(cached) " >&6
   10974 else
   10975   ac_check_lib_save_LIBS=$LIBS
   10976 LIBS="-ldl  $LIBS"
   10977 cat >conftest.$ac_ext <<_ACEOF
   10978 /* confdefs.h.  */
   10979 _ACEOF
   10980 cat confdefs.h >>conftest.$ac_ext
   10981 cat >>conftest.$ac_ext <<_ACEOF
   10982 /* end confdefs.h.  */
   10983 
   10984 /* Override any GCC internal prototype to avoid an error.
   10985    Use char because int might match the return type of a GCC
   10986    builtin and then its argument prototype would still apply.  */
   10987 #ifdef __cplusplus
   10988 extern "C"
   10989 #endif
   10990 char dlopen ();
   10991 int
   10992 main ()
   10993 {
   10994 return dlopen ();
   10995   ;
   10996   return 0;
   10997 }
   10998 _ACEOF
   10999 rm -f conftest.$ac_objext conftest$ac_exeext
   11000 if { (ac_try="$ac_link"
   11001 case "(($ac_try" in
   11002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11003   *) ac_try_echo=$ac_try;;
   11004 esac
   11005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11006 $as_echo "$ac_try_echo") >&5
   11007   (eval "$ac_link") 2>conftest.er1
   11008   ac_status=$?
   11009   grep -v '^ *+' conftest.er1 >conftest.err
   11010   rm -f conftest.er1
   11011   cat conftest.err >&5
   11012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11013   (exit $ac_status); } && {
   11014 	 test -z "$ac_c_werror_flag" ||
   11015 	 test ! -s conftest.err
   11016        } && test -s conftest$ac_exeext && {
   11017 	 test "$cross_compiling" = yes ||
   11018 	 $as_test_x conftest$ac_exeext
   11019        }; then
   11020   ac_cv_lib_dl_dlopen=yes
   11021 else
   11022   $as_echo "$as_me: failed program was:" >&5
   11023 sed 's/^/| /' conftest.$ac_ext >&5
   11024 
   11025 	ac_cv_lib_dl_dlopen=no
   11026 fi
   11027 
   11028 rm -rf conftest.dSYM
   11029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11030       conftest$ac_exeext conftest.$ac_ext
   11031 LIBS=$ac_check_lib_save_LIBS
   11032 fi
   11033 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11034 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11035 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11036   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11037 else
   11038   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   11039 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11040 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   11041   $as_echo_n "(cached) " >&6
   11042 else
   11043   ac_check_lib_save_LIBS=$LIBS
   11044 LIBS="-lsvld  $LIBS"
   11045 cat >conftest.$ac_ext <<_ACEOF
   11046 /* confdefs.h.  */
   11047 _ACEOF
   11048 cat confdefs.h >>conftest.$ac_ext
   11049 cat >>conftest.$ac_ext <<_ACEOF
   11050 /* end confdefs.h.  */
   11051 
   11052 /* Override any GCC internal prototype to avoid an error.
   11053    Use char because int might match the return type of a GCC
   11054    builtin and then its argument prototype would still apply.  */
   11055 #ifdef __cplusplus
   11056 extern "C"
   11057 #endif
   11058 char dlopen ();
   11059 int
   11060 main ()
   11061 {
   11062 return dlopen ();
   11063   ;
   11064   return 0;
   11065 }
   11066 _ACEOF
   11067 rm -f conftest.$ac_objext conftest$ac_exeext
   11068 if { (ac_try="$ac_link"
   11069 case "(($ac_try" in
   11070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11071   *) ac_try_echo=$ac_try;;
   11072 esac
   11073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11074 $as_echo "$ac_try_echo") >&5
   11075   (eval "$ac_link") 2>conftest.er1
   11076   ac_status=$?
   11077   grep -v '^ *+' conftest.er1 >conftest.err
   11078   rm -f conftest.er1
   11079   cat conftest.err >&5
   11080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11081   (exit $ac_status); } && {
   11082 	 test -z "$ac_c_werror_flag" ||
   11083 	 test ! -s conftest.err
   11084        } && test -s conftest$ac_exeext && {
   11085 	 test "$cross_compiling" = yes ||
   11086 	 $as_test_x conftest$ac_exeext
   11087        }; then
   11088   ac_cv_lib_svld_dlopen=yes
   11089 else
   11090   $as_echo "$as_me: failed program was:" >&5
   11091 sed 's/^/| /' conftest.$ac_ext >&5
   11092 
   11093 	ac_cv_lib_svld_dlopen=no
   11094 fi
   11095 
   11096 rm -rf conftest.dSYM
   11097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11098       conftest$ac_exeext conftest.$ac_ext
   11099 LIBS=$ac_check_lib_save_LIBS
   11100 fi
   11101 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   11102 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11103 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   11104   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11105 else
   11106   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   11107 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11108 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   11109   $as_echo_n "(cached) " >&6
   11110 else
   11111   ac_check_lib_save_LIBS=$LIBS
   11112 LIBS="-ldld  $LIBS"
   11113 cat >conftest.$ac_ext <<_ACEOF
   11114 /* confdefs.h.  */
   11115 _ACEOF
   11116 cat confdefs.h >>conftest.$ac_ext
   11117 cat >>conftest.$ac_ext <<_ACEOF
   11118 /* end confdefs.h.  */
   11119 
   11120 /* Override any GCC internal prototype to avoid an error.
   11121    Use char because int might match the return type of a GCC
   11122    builtin and then its argument prototype would still apply.  */
   11123 #ifdef __cplusplus
   11124 extern "C"
   11125 #endif
   11126 char dld_link ();
   11127 int
   11128 main ()
   11129 {
   11130 return dld_link ();
   11131   ;
   11132   return 0;
   11133 }
   11134 _ACEOF
   11135 rm -f conftest.$ac_objext conftest$ac_exeext
   11136 if { (ac_try="$ac_link"
   11137 case "(($ac_try" in
   11138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11139   *) ac_try_echo=$ac_try;;
   11140 esac
   11141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11142 $as_echo "$ac_try_echo") >&5
   11143   (eval "$ac_link") 2>conftest.er1
   11144   ac_status=$?
   11145   grep -v '^ *+' conftest.er1 >conftest.err
   11146   rm -f conftest.er1
   11147   cat conftest.err >&5
   11148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11149   (exit $ac_status); } && {
   11150 	 test -z "$ac_c_werror_flag" ||
   11151 	 test ! -s conftest.err
   11152        } && test -s conftest$ac_exeext && {
   11153 	 test "$cross_compiling" = yes ||
   11154 	 $as_test_x conftest$ac_exeext
   11155        }; then
   11156   ac_cv_lib_dld_dld_link=yes
   11157 else
   11158   $as_echo "$as_me: failed program was:" >&5
   11159 sed 's/^/| /' conftest.$ac_ext >&5
   11160 
   11161 	ac_cv_lib_dld_dld_link=no
   11162 fi
   11163 
   11164 rm -rf conftest.dSYM
   11165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11166       conftest$ac_exeext conftest.$ac_ext
   11167 LIBS=$ac_check_lib_save_LIBS
   11168 fi
   11169 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   11170 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11171 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   11172   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11173 fi
   11174 
   11175 
   11176 fi
   11177 
   11178 
   11179 fi
   11180 
   11181 
   11182 fi
   11183 
   11184 
   11185 fi
   11186 
   11187 
   11188 fi
   11189 
   11190     ;;
   11191   esac
   11192 
   11193   if test "x$lt_cv_dlopen" != xno; then
   11194     enable_dlopen=yes
   11195   else
   11196     enable_dlopen=no
   11197   fi
   11198 
   11199   case $lt_cv_dlopen in
   11200   dlopen)
   11201     save_CPPFLAGS="$CPPFLAGS"
   11202     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11203 
   11204     save_LDFLAGS="$LDFLAGS"
   11205     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11206 
   11207     save_LIBS="$LIBS"
   11208     LIBS="$lt_cv_dlopen_libs $LIBS"
   11209 
   11210     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   11211 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11212 if test "${lt_cv_dlopen_self+set}" = set; then
   11213   $as_echo_n "(cached) " >&6
   11214 else
   11215   	  if test "$cross_compiling" = yes; then :
   11216   lt_cv_dlopen_self=cross
   11217 else
   11218   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11219   lt_status=$lt_dlunknown
   11220   cat > conftest.$ac_ext <<_LT_EOF
   11221 #line 11221 "configure"
   11222 #include "confdefs.h"
   11223 
   11224 #if HAVE_DLFCN_H
   11225 #include <dlfcn.h>
   11226 #endif
   11227 
   11228 #include <stdio.h>
   11229 
   11230 #ifdef RTLD_GLOBAL
   11231 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11232 #else
   11233 #  ifdef DL_GLOBAL
   11234 #    define LT_DLGLOBAL		DL_GLOBAL
   11235 #  else
   11236 #    define LT_DLGLOBAL		0
   11237 #  endif
   11238 #endif
   11239 
   11240 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11241    find out it does not work in some platform. */
   11242 #ifndef LT_DLLAZY_OR_NOW
   11243 #  ifdef RTLD_LAZY
   11244 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11245 #  else
   11246 #    ifdef DL_LAZY
   11247 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11248 #    else
   11249 #      ifdef RTLD_NOW
   11250 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11251 #      else
   11252 #        ifdef DL_NOW
   11253 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11254 #        else
   11255 #          define LT_DLLAZY_OR_NOW	0
   11256 #        endif
   11257 #      endif
   11258 #    endif
   11259 #  endif
   11260 #endif
   11261 
   11262 void fnord() { int i=42;}
   11263 int main ()
   11264 {
   11265   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11266   int status = $lt_dlunknown;
   11267 
   11268   if (self)
   11269     {
   11270       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11271       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11272       /* dlclose (self); */
   11273     }
   11274   else
   11275     puts (dlerror ());
   11276 
   11277   return status;
   11278 }
   11279 _LT_EOF
   11280   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11281   (eval $ac_link) 2>&5
   11282   ac_status=$?
   11283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11284   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11285     (./conftest; exit; ) >&5 2>/dev/null
   11286     lt_status=$?
   11287     case x$lt_status in
   11288       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11289       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11290       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11291     esac
   11292   else :
   11293     # compilation failed
   11294     lt_cv_dlopen_self=no
   11295   fi
   11296 fi
   11297 rm -fr conftest*
   11298 
   11299 
   11300 fi
   11301 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   11302 $as_echo "$lt_cv_dlopen_self" >&6; }
   11303 
   11304     if test "x$lt_cv_dlopen_self" = xyes; then
   11305       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11306       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   11307 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11308 if test "${lt_cv_dlopen_self_static+set}" = set; then
   11309   $as_echo_n "(cached) " >&6
   11310 else
   11311   	  if test "$cross_compiling" = yes; then :
   11312   lt_cv_dlopen_self_static=cross
   11313 else
   11314   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11315   lt_status=$lt_dlunknown
   11316   cat > conftest.$ac_ext <<_LT_EOF
   11317 #line 11317 "configure"
   11318 #include "confdefs.h"
   11319 
   11320 #if HAVE_DLFCN_H
   11321 #include <dlfcn.h>
   11322 #endif
   11323 
   11324 #include <stdio.h>
   11325 
   11326 #ifdef RTLD_GLOBAL
   11327 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11328 #else
   11329 #  ifdef DL_GLOBAL
   11330 #    define LT_DLGLOBAL		DL_GLOBAL
   11331 #  else
   11332 #    define LT_DLGLOBAL		0
   11333 #  endif
   11334 #endif
   11335 
   11336 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11337    find out it does not work in some platform. */
   11338 #ifndef LT_DLLAZY_OR_NOW
   11339 #  ifdef RTLD_LAZY
   11340 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11341 #  else
   11342 #    ifdef DL_LAZY
   11343 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11344 #    else
   11345 #      ifdef RTLD_NOW
   11346 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11347 #      else
   11348 #        ifdef DL_NOW
   11349 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11350 #        else
   11351 #          define LT_DLLAZY_OR_NOW	0
   11352 #        endif
   11353 #      endif
   11354 #    endif
   11355 #  endif
   11356 #endif
   11357 
   11358 void fnord() { int i=42;}
   11359 int main ()
   11360 {
   11361   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11362   int status = $lt_dlunknown;
   11363 
   11364   if (self)
   11365     {
   11366       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11367       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11368       /* dlclose (self); */
   11369     }
   11370   else
   11371     puts (dlerror ());
   11372 
   11373   return status;
   11374 }
   11375 _LT_EOF
   11376   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11377   (eval $ac_link) 2>&5
   11378   ac_status=$?
   11379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11380   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11381     (./conftest; exit; ) >&5 2>/dev/null
   11382     lt_status=$?
   11383     case x$lt_status in
   11384       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11385       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11386       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11387     esac
   11388   else :
   11389     # compilation failed
   11390     lt_cv_dlopen_self_static=no
   11391   fi
   11392 fi
   11393 rm -fr conftest*
   11394 
   11395 
   11396 fi
   11397 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11398 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11399     fi
   11400 
   11401     CPPFLAGS="$save_CPPFLAGS"
   11402     LDFLAGS="$save_LDFLAGS"
   11403     LIBS="$save_LIBS"
   11404     ;;
   11405   esac
   11406 
   11407   case $lt_cv_dlopen_self in
   11408   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11409   *) enable_dlopen_self=unknown ;;
   11410   esac
   11411 
   11412   case $lt_cv_dlopen_self_static in
   11413   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11414   *) enable_dlopen_self_static=unknown ;;
   11415   esac
   11416 fi
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 striplib=
   11435 old_striplib=
   11436 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11437 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11438 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11439   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11440   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11441   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11442 $as_echo "yes" >&6; }
   11443 else
   11444 # FIXME - insert some real tests, host_os isn't really good enough
   11445   case $host_os in
   11446   darwin*)
   11447     if test -n "$STRIP" ; then
   11448       striplib="$STRIP -x"
   11449       old_striplib="$STRIP -S"
   11450       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11451 $as_echo "yes" >&6; }
   11452     else
   11453       { $as_echo "$as_me:$LINENO: result: no" >&5
   11454 $as_echo "no" >&6; }
   11455     fi
   11456     ;;
   11457   *)
   11458     { $as_echo "$as_me:$LINENO: result: no" >&5
   11459 $as_echo "no" >&6; }
   11460     ;;
   11461   esac
   11462 fi
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475   # Report which library types will actually be built
   11476   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11477 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11478   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11479 $as_echo "$can_build_shared" >&6; }
   11480 
   11481   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11482 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11483   test "$can_build_shared" = "no" && enable_shared=no
   11484 
   11485   # On AIX, shared libraries and static libraries use the same namespace, and
   11486   # are all built from PIC.
   11487   case $host_os in
   11488   aix3*)
   11489     test "$enable_shared" = yes && enable_static=no
   11490     if test -n "$RANLIB"; then
   11491       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11492       postinstall_cmds='$RANLIB $lib'
   11493     fi
   11494     ;;
   11495 
   11496   aix[4-9]*)
   11497     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11498       test "$enable_shared" = yes && enable_static=no
   11499     fi
   11500     ;;
   11501   esac
   11502   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11503 $as_echo "$enable_shared" >&6; }
   11504 
   11505   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11506 $as_echo_n "checking whether to build static libraries... " >&6; }
   11507   # Make sure either enable_shared or enable_static is yes.
   11508   test "$enable_shared" = yes || enable_static=yes
   11509   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11510 $as_echo "$enable_static" >&6; }
   11511 
   11512 
   11513 
   11514 
   11515 fi
   11516 ac_ext=c
   11517 ac_cpp='$CPP $CPPFLAGS'
   11518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11521 
   11522 CC="$lt_save_CC"
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536         ac_config_commands="$ac_config_commands libtool"
   11537 
   11538 
   11539 
   11540 
   11541 # Only expand once:
   11542 
   11543 
   11544 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   11545 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   11546 set x ${MAKE-make}
   11547 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   11548 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   11549   $as_echo_n "(cached) " >&6
   11550 else
   11551   cat >conftest.make <<\_ACEOF
   11552 SHELL = /bin/sh
   11553 all:
   11554 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   11555 _ACEOF
   11556 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   11557 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   11558   *@@@%%%=?*=@@@%%%*)
   11559     eval ac_cv_prog_make_${ac_make}_set=yes;;
   11560   *)
   11561     eval ac_cv_prog_make_${ac_make}_set=no;;
   11562 esac
   11563 rm -f conftest.make
   11564 fi
   11565 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   11566   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11567 $as_echo "yes" >&6; }
   11568   SET_MAKE=
   11569 else
   11570   { $as_echo "$as_me:$LINENO: result: no" >&5
   11571 $as_echo "no" >&6; }
   11572   SET_MAKE="MAKE=${MAKE-make}"
   11573 fi
   11574 
   11575 
   11576 
   11577 
   11578 for ac_func in srand48 lrand48
   11579 do
   11580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11581 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   11582 $as_echo_n "checking for $ac_func... " >&6; }
   11583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   11584   $as_echo_n "(cached) " >&6
   11585 else
   11586   cat >conftest.$ac_ext <<_ACEOF
   11587 /* confdefs.h.  */
   11588 _ACEOF
   11589 cat confdefs.h >>conftest.$ac_ext
   11590 cat >>conftest.$ac_ext <<_ACEOF
   11591 /* end confdefs.h.  */
   11592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11594 #define $ac_func innocuous_$ac_func
   11595 
   11596 /* System header to define __stub macros and hopefully few prototypes,
   11597     which can conflict with char $ac_func (); below.
   11598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11599     <limits.h> exists even on freestanding compilers.  */
   11600 
   11601 #ifdef __STDC__
   11602 # include <limits.h>
   11603 #else
   11604 # include <assert.h>
   11605 #endif
   11606 
   11607 #undef $ac_func
   11608 
   11609 /* Override any GCC internal prototype to avoid an error.
   11610    Use char because int might match the return type of a GCC
   11611    builtin and then its argument prototype would still apply.  */
   11612 #ifdef __cplusplus
   11613 extern "C"
   11614 #endif
   11615 char $ac_func ();
   11616 /* The GNU C library defines this for functions which it implements
   11617     to always fail with ENOSYS.  Some functions are actually named
   11618     something starting with __ and the normal name is an alias.  */
   11619 #if defined __stub_$ac_func || defined __stub___$ac_func
   11620 choke me
   11621 #endif
   11622 
   11623 int
   11624 main ()
   11625 {
   11626 return $ac_func ();
   11627   ;
   11628   return 0;
   11629 }
   11630 _ACEOF
   11631 rm -f conftest.$ac_objext conftest$ac_exeext
   11632 if { (ac_try="$ac_link"
   11633 case "(($ac_try" in
   11634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11635   *) ac_try_echo=$ac_try;;
   11636 esac
   11637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11638 $as_echo "$ac_try_echo") >&5
   11639   (eval "$ac_link") 2>conftest.er1
   11640   ac_status=$?
   11641   grep -v '^ *+' conftest.er1 >conftest.err
   11642   rm -f conftest.er1
   11643   cat conftest.err >&5
   11644   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11645   (exit $ac_status); } && {
   11646 	 test -z "$ac_c_werror_flag" ||
   11647 	 test ! -s conftest.err
   11648        } && test -s conftest$ac_exeext && {
   11649 	 test "$cross_compiling" = yes ||
   11650 	 $as_test_x conftest$ac_exeext
   11651        }; then
   11652   eval "$as_ac_var=yes"
   11653 else
   11654   $as_echo "$as_me: failed program was:" >&5
   11655 sed 's/^/| /' conftest.$ac_ext >&5
   11656 
   11657 	eval "$as_ac_var=no"
   11658 fi
   11659 
   11660 rm -rf conftest.dSYM
   11661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11662       conftest$ac_exeext conftest.$ac_ext
   11663 fi
   11664 ac_res=`eval 'as_val=${'$as_ac_var'}
   11665 		 $as_echo "$as_val"'`
   11666 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   11667 $as_echo "$ac_res" >&6; }
   11668 as_val=`eval 'as_val=${'$as_ac_var'}
   11669 		 $as_echo "$as_val"'`
   11670    if test "x$as_val" = x""yes; then
   11671   cat >>confdefs.h <<_ACEOF
   11672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11673 _ACEOF
   11674 
   11675 fi
   11676 done
   11677 
   11678 
   11679 { $as_echo "$as_me:$LINENO: checking for library containing recvfrom" >&5
   11680 $as_echo_n "checking for library containing recvfrom... " >&6; }
   11681 if test "${ac_cv_search_recvfrom+set}" = set; then
   11682   $as_echo_n "(cached) " >&6
   11683 else
   11684   ac_func_search_save_LIBS=$LIBS
   11685 cat >conftest.$ac_ext <<_ACEOF
   11686 /* confdefs.h.  */
   11687 _ACEOF
   11688 cat confdefs.h >>conftest.$ac_ext
   11689 cat >>conftest.$ac_ext <<_ACEOF
   11690 /* end confdefs.h.  */
   11691 
   11692 /* Override any GCC internal prototype to avoid an error.
   11693    Use char because int might match the return type of a GCC
   11694    builtin and then its argument prototype would still apply.  */
   11695 #ifdef __cplusplus
   11696 extern "C"
   11697 #endif
   11698 char recvfrom ();
   11699 int
   11700 main ()
   11701 {
   11702 return recvfrom ();
   11703   ;
   11704   return 0;
   11705 }
   11706 _ACEOF
   11707 for ac_lib in '' socket; do
   11708   if test -z "$ac_lib"; then
   11709     ac_res="none required"
   11710   else
   11711     ac_res=-l$ac_lib
   11712     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11713   fi
   11714   rm -f conftest.$ac_objext conftest$ac_exeext
   11715 if { (ac_try="$ac_link"
   11716 case "(($ac_try" in
   11717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11718   *) ac_try_echo=$ac_try;;
   11719 esac
   11720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11721 $as_echo "$ac_try_echo") >&5
   11722   (eval "$ac_link") 2>conftest.er1
   11723   ac_status=$?
   11724   grep -v '^ *+' conftest.er1 >conftest.err
   11725   rm -f conftest.er1
   11726   cat conftest.err >&5
   11727   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11728   (exit $ac_status); } && {
   11729 	 test -z "$ac_c_werror_flag" ||
   11730 	 test ! -s conftest.err
   11731        } && test -s conftest$ac_exeext && {
   11732 	 test "$cross_compiling" = yes ||
   11733 	 $as_test_x conftest$ac_exeext
   11734        }; then
   11735   ac_cv_search_recvfrom=$ac_res
   11736 else
   11737   $as_echo "$as_me: failed program was:" >&5
   11738 sed 's/^/| /' conftest.$ac_ext >&5
   11739 
   11740 
   11741 fi
   11742 
   11743 rm -rf conftest.dSYM
   11744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11745       conftest$ac_exeext
   11746   if test "${ac_cv_search_recvfrom+set}" = set; then
   11747   break
   11748 fi
   11749 done
   11750 if test "${ac_cv_search_recvfrom+set}" = set; then
   11751   :
   11752 else
   11753   ac_cv_search_recvfrom=no
   11754 fi
   11755 rm conftest.$ac_ext
   11756 LIBS=$ac_func_search_save_LIBS
   11757 fi
   11758 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_recvfrom" >&5
   11759 $as_echo "$ac_cv_search_recvfrom" >&6; }
   11760 ac_res=$ac_cv_search_recvfrom
   11761 if test "$ac_res" != no; then
   11762   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11763 
   11764 fi
   11765 
   11766 
   11767 
   11768 
   11769 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11770 	if test -n "$ac_tool_prefix"; then
   11771   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11772 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11773 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11774 $as_echo_n "checking for $ac_word... " >&6; }
   11775 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   11776   $as_echo_n "(cached) " >&6
   11777 else
   11778   case $PKG_CONFIG in
   11779   [\\/]* | ?:[\\/]*)
   11780   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11781   ;;
   11782   *)
   11783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11784 for as_dir in $PATH
   11785 do
   11786   IFS=$as_save_IFS
   11787   test -z "$as_dir" && as_dir=.
   11788   for ac_exec_ext in '' $ac_executable_extensions; do
   11789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11790     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11791     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11792     break 2
   11793   fi
   11794 done
   11795 done
   11796 IFS=$as_save_IFS
   11797 
   11798   ;;
   11799 esac
   11800 fi
   11801 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11802 if test -n "$PKG_CONFIG"; then
   11803   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   11804 $as_echo "$PKG_CONFIG" >&6; }
   11805 else
   11806   { $as_echo "$as_me:$LINENO: result: no" >&5
   11807 $as_echo "no" >&6; }
   11808 fi
   11809 
   11810 
   11811 fi
   11812 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11813   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11814   # Extract the first word of "pkg-config", so it can be a program name with args.
   11815 set dummy pkg-config; ac_word=$2
   11816 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11817 $as_echo_n "checking for $ac_word... " >&6; }
   11818 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   11819   $as_echo_n "(cached) " >&6
   11820 else
   11821   case $ac_pt_PKG_CONFIG in
   11822   [\\/]* | ?:[\\/]*)
   11823   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11824   ;;
   11825   *)
   11826   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11827 for as_dir in $PATH
   11828 do
   11829   IFS=$as_save_IFS
   11830   test -z "$as_dir" && as_dir=.
   11831   for ac_exec_ext in '' $ac_executable_extensions; do
   11832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11833     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11834     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11835     break 2
   11836   fi
   11837 done
   11838 done
   11839 IFS=$as_save_IFS
   11840 
   11841   ;;
   11842 esac
   11843 fi
   11844 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11845 if test -n "$ac_pt_PKG_CONFIG"; then
   11846   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   11847 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11848 else
   11849   { $as_echo "$as_me:$LINENO: result: no" >&5
   11850 $as_echo "no" >&6; }
   11851 fi
   11852 
   11853   if test "x$ac_pt_PKG_CONFIG" = x; then
   11854     PKG_CONFIG=""
   11855   else
   11856     case $cross_compiling:$ac_tool_warned in
   11857 yes:)
   11858 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11860 ac_tool_warned=yes ;;
   11861 esac
   11862     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11863   fi
   11864 else
   11865   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11866 fi
   11867 
   11868 fi
   11869 if test -n "$PKG_CONFIG"; then
   11870 	_pkg_min_version=0.9.0
   11871 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   11872 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11873 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11874 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   11875 $as_echo "yes" >&6; }
   11876 	else
   11877 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   11878 $as_echo "no" >&6; }
   11879 		PKG_CONFIG=""
   11880 	fi
   11881 
   11882 fi
   11883 
   11884 pkg_failed=no
   11885 { $as_echo "$as_me:$LINENO: checking for XDMCP" >&5
   11886 $as_echo_n "checking for XDMCP... " >&6; }
   11887 
   11888 if test -n "$XDMCP_CFLAGS"; then
   11889     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   11890  elif test -n "$PKG_CONFIG"; then
   11891     if test -n "$PKG_CONFIG" && \
   11892     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   11893   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11894   ac_status=$?
   11895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11896   (exit $ac_status); }; then
   11897   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   11898 else
   11899   pkg_failed=yes
   11900 fi
   11901  else
   11902     pkg_failed=untried
   11903 fi
   11904 if test -n "$XDMCP_LIBS"; then
   11905     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   11906  elif test -n "$PKG_CONFIG"; then
   11907     if test -n "$PKG_CONFIG" && \
   11908     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   11909   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11910   ac_status=$?
   11911   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11912   (exit $ac_status); }; then
   11913   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   11914 else
   11915   pkg_failed=yes
   11916 fi
   11917  else
   11918     pkg_failed=untried
   11919 fi
   11920 
   11921 
   11922 
   11923 if test $pkg_failed = yes; then
   11924 
   11925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11926         _pkg_short_errors_supported=yes
   11927 else
   11928         _pkg_short_errors_supported=no
   11929 fi
   11930         if test $_pkg_short_errors_supported = yes; then
   11931 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   11932         else
   11933 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   11934         fi
   11935 	# Put the nasty error message in config.log where it belongs
   11936 	echo "$XDMCP_PKG_ERRORS" >&5
   11937 
   11938 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
   11939 
   11940 $XDMCP_PKG_ERRORS
   11941 
   11942 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11943 installed software in a non-standard prefix.
   11944 
   11945 Alternatively, you may set the environment variables XDMCP_CFLAGS
   11946 and XDMCP_LIBS to avoid the need to call pkg-config.
   11947 See the pkg-config man page for more details.
   11948 " >&5
   11949 $as_echo "$as_me: error: Package requirements (xproto) were not met:
   11950 
   11951 $XDMCP_PKG_ERRORS
   11952 
   11953 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11954 installed software in a non-standard prefix.
   11955 
   11956 Alternatively, you may set the environment variables XDMCP_CFLAGS
   11957 and XDMCP_LIBS to avoid the need to call pkg-config.
   11958 See the pkg-config man page for more details.
   11959 " >&2;}
   11960    { (exit 1); exit 1; }; }
   11961 elif test $pkg_failed = untried; then
   11962 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11964 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   11965 is in your PATH or set the PKG_CONFIG environment variable to the full
   11966 path to pkg-config.
   11967 
   11968 Alternatively, you may set the environment variables XDMCP_CFLAGS
   11969 and XDMCP_LIBS to avoid the need to call pkg-config.
   11970 See the pkg-config man page for more details.
   11971 
   11972 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11973 See \`config.log' for more details." >&5
   11974 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   11975 is in your PATH or set the PKG_CONFIG environment variable to the full
   11976 path to pkg-config.
   11977 
   11978 Alternatively, you may set the environment variables XDMCP_CFLAGS
   11979 and XDMCP_LIBS to avoid the need to call pkg-config.
   11980 See the pkg-config man page for more details.
   11981 
   11982 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11983 See \`config.log' for more details." >&2;}
   11984    { (exit 1); exit 1; }; }; }
   11985 else
   11986 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   11987 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   11988         { $as_echo "$as_me:$LINENO: result: yes" >&5
   11989 $as_echo "yes" >&6; }
   11990 	:
   11991 fi
   11992    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   11993 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11994 if test "${ac_cv_prog_cc_c99+set}" = set; then
   11995   $as_echo_n "(cached) " >&6
   11996 else
   11997   ac_cv_prog_cc_c99=no
   11998 ac_save_CC=$CC
   11999 cat >conftest.$ac_ext <<_ACEOF
   12000 /* confdefs.h.  */
   12001 _ACEOF
   12002 cat confdefs.h >>conftest.$ac_ext
   12003 cat >>conftest.$ac_ext <<_ACEOF
   12004 /* end confdefs.h.  */
   12005 #include <stdarg.h>
   12006 #include <stdbool.h>
   12007 #include <stdlib.h>
   12008 #include <wchar.h>
   12009 #include <stdio.h>
   12010 
   12011 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12012 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12013 #define showlist(...) puts (#__VA_ARGS__)
   12014 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12015 static void
   12016 test_varargs_macros (void)
   12017 {
   12018   int x = 1234;
   12019   int y = 5678;
   12020   debug ("Flag");
   12021   debug ("X = %d\n", x);
   12022   showlist (The first, second, and third items.);
   12023   report (x>y, "x is %d but y is %d", x, y);
   12024 }
   12025 
   12026 // Check long long types.
   12027 #define BIG64 18446744073709551615ull
   12028 #define BIG32 4294967295ul
   12029 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12030 #if !BIG_OK
   12031   your preprocessor is broken;
   12032 #endif
   12033 #if BIG_OK
   12034 #else
   12035   your preprocessor is broken;
   12036 #endif
   12037 static long long int bignum = -9223372036854775807LL;
   12038 static unsigned long long int ubignum = BIG64;
   12039 
   12040 struct incomplete_array
   12041 {
   12042   int datasize;
   12043   double data[];
   12044 };
   12045 
   12046 struct named_init {
   12047   int number;
   12048   const wchar_t *name;
   12049   double average;
   12050 };
   12051 
   12052 typedef const char *ccp;
   12053 
   12054 static inline int
   12055 test_restrict (ccp restrict text)
   12056 {
   12057   // See if C++-style comments work.
   12058   // Iterate through items via the restricted pointer.
   12059   // Also check for declarations in for loops.
   12060   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12061     continue;
   12062   return 0;
   12063 }
   12064 
   12065 // Check varargs and va_copy.
   12066 static void
   12067 test_varargs (const char *format, ...)
   12068 {
   12069   va_list args;
   12070   va_start (args, format);
   12071   va_list args_copy;
   12072   va_copy (args_copy, args);
   12073 
   12074   const char *str;
   12075   int number;
   12076   float fnumber;
   12077 
   12078   while (*format)
   12079     {
   12080       switch (*format++)
   12081 	{
   12082 	case 's': // string
   12083 	  str = va_arg (args_copy, const char *);
   12084 	  break;
   12085 	case 'd': // int
   12086 	  number = va_arg (args_copy, int);
   12087 	  break;
   12088 	case 'f': // float
   12089 	  fnumber = va_arg (args_copy, double);
   12090 	  break;
   12091 	default:
   12092 	  break;
   12093 	}
   12094     }
   12095   va_end (args_copy);
   12096   va_end (args);
   12097 }
   12098 
   12099 int
   12100 main ()
   12101 {
   12102 
   12103   // Check bool.
   12104   _Bool success = false;
   12105 
   12106   // Check restrict.
   12107   if (test_restrict ("String literal") == 0)
   12108     success = true;
   12109   char *restrict newvar = "Another string";
   12110 
   12111   // Check varargs.
   12112   test_varargs ("s, d' f .", "string", 65, 34.234);
   12113   test_varargs_macros ();
   12114 
   12115   // Check flexible array members.
   12116   struct incomplete_array *ia =
   12117     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12118   ia->datasize = 10;
   12119   for (int i = 0; i < ia->datasize; ++i)
   12120     ia->data[i] = i * 1.234;
   12121 
   12122   // Check named initializers.
   12123   struct named_init ni = {
   12124     .number = 34,
   12125     .name = L"Test wide string",
   12126     .average = 543.34343,
   12127   };
   12128 
   12129   ni.number = 58;
   12130 
   12131   int dynamic_array[ni.number];
   12132   dynamic_array[ni.number - 1] = 543;
   12133 
   12134   // work around unused variable warnings
   12135   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12136 	  || dynamic_array[ni.number - 1] != 543);
   12137 
   12138   ;
   12139   return 0;
   12140 }
   12141 _ACEOF
   12142 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   12143 do
   12144   CC="$ac_save_CC $ac_arg"
   12145   rm -f conftest.$ac_objext
   12146 if { (ac_try="$ac_compile"
   12147 case "(($ac_try" in
   12148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12149   *) ac_try_echo=$ac_try;;
   12150 esac
   12151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12152 $as_echo "$ac_try_echo") >&5
   12153   (eval "$ac_compile") 2>conftest.er1
   12154   ac_status=$?
   12155   grep -v '^ *+' conftest.er1 >conftest.err
   12156   rm -f conftest.er1
   12157   cat conftest.err >&5
   12158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12159   (exit $ac_status); } && {
   12160 	 test -z "$ac_c_werror_flag" ||
   12161 	 test ! -s conftest.err
   12162        } && test -s conftest.$ac_objext; then
   12163   ac_cv_prog_cc_c99=$ac_arg
   12164 else
   12165   $as_echo "$as_me: failed program was:" >&5
   12166 sed 's/^/| /' conftest.$ac_ext >&5
   12167 
   12168 
   12169 fi
   12170 
   12171 rm -f core conftest.err conftest.$ac_objext
   12172   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12173 done
   12174 rm -f conftest.$ac_ext
   12175 CC=$ac_save_CC
   12176 
   12177 fi
   12178 # AC_CACHE_VAL
   12179 case "x$ac_cv_prog_cc_c99" in
   12180   x)
   12181     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   12182 $as_echo "none needed" >&6; } ;;
   12183   xno)
   12184     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   12185 $as_echo "unsupported" >&6; } ;;
   12186   *)
   12187     CC="$CC $ac_cv_prog_cc_c99"
   12188     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   12189 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12190 esac
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 if  test "x$GCC" = xyes ; then
   12198     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   12199 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   12200 -Wbad-function-cast"
   12201     case `$CC -dumpversion` in
   12202     3.4.* | 4.*)
   12203 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   12204 	;;
   12205     esac
   12206 else
   12207     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   12208 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   12209 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   12210   $as_echo_n "(cached) " >&6
   12211 else
   12212   cat >conftest.$ac_ext <<_ACEOF
   12213 /* confdefs.h.  */
   12214 _ACEOF
   12215 cat confdefs.h >>conftest.$ac_ext
   12216 cat >>conftest.$ac_ext <<_ACEOF
   12217 /* end confdefs.h.  */
   12218 $ac_includes_default
   12219 int
   12220 main ()
   12221 {
   12222 #ifndef __SUNPRO_C
   12223   (void) __SUNPRO_C;
   12224 #endif
   12225 
   12226   ;
   12227   return 0;
   12228 }
   12229 _ACEOF
   12230 rm -f conftest.$ac_objext
   12231 if { (ac_try="$ac_compile"
   12232 case "(($ac_try" in
   12233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12234   *) ac_try_echo=$ac_try;;
   12235 esac
   12236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12237 $as_echo "$ac_try_echo") >&5
   12238   (eval "$ac_compile") 2>conftest.er1
   12239   ac_status=$?
   12240   grep -v '^ *+' conftest.er1 >conftest.err
   12241   rm -f conftest.er1
   12242   cat conftest.err >&5
   12243   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12244   (exit $ac_status); } && {
   12245 	 test -z "$ac_c_werror_flag" ||
   12246 	 test ! -s conftest.err
   12247        } && test -s conftest.$ac_objext; then
   12248   ac_cv_have_decl___SUNPRO_C=yes
   12249 else
   12250   $as_echo "$as_me: failed program was:" >&5
   12251 sed 's/^/| /' conftest.$ac_ext >&5
   12252 
   12253 	ac_cv_have_decl___SUNPRO_C=no
   12254 fi
   12255 
   12256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12257 fi
   12258 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   12259 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   12260 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   12261   SUNCC="yes"
   12262 else
   12263   SUNCC="no"
   12264 fi
   12265 
   12266     if test "x$SUNCC" = "xyes"; then
   12267 	CWARNFLAGS="-v"
   12268     fi
   12269 fi
   12270 
   12271 # Check whether --enable-silent-rules was given.
   12272 if test "${enable_silent_rules+set}" = set; then
   12273   enableval=$enable_silent_rules;
   12274 fi
   12275 
   12276 case $enable_silent_rules in
   12277 yes) AM_DEFAULT_VERBOSITY=0;;
   12278 no)  AM_DEFAULT_VERBOSITY=1;;
   12279 *)   AM_DEFAULT_VERBOSITY=0;;
   12280 esac
   12281 AM_BACKSLASH='\'
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 # Check whether --enable-strict-compilation was given.
   12290 if test "${enable_strict_compilation+set}" = set; then
   12291   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   12292 else
   12293   STRICT_COMPILE=no
   12294 fi
   12295 
   12296 if test "x$STRICT_COMPILE" = "xyes"; then
   12297 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   12298 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   12299 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   12300   $as_echo_n "(cached) " >&6
   12301 else
   12302   cat >conftest.$ac_ext <<_ACEOF
   12303 /* confdefs.h.  */
   12304 _ACEOF
   12305 cat confdefs.h >>conftest.$ac_ext
   12306 cat >>conftest.$ac_ext <<_ACEOF
   12307 /* end confdefs.h.  */
   12308 $ac_includes_default
   12309 int
   12310 main ()
   12311 {
   12312 #ifndef __SUNPRO_C
   12313   (void) __SUNPRO_C;
   12314 #endif
   12315 
   12316   ;
   12317   return 0;
   12318 }
   12319 _ACEOF
   12320 rm -f conftest.$ac_objext
   12321 if { (ac_try="$ac_compile"
   12322 case "(($ac_try" in
   12323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12324   *) ac_try_echo=$ac_try;;
   12325 esac
   12326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12327 $as_echo "$ac_try_echo") >&5
   12328   (eval "$ac_compile") 2>conftest.er1
   12329   ac_status=$?
   12330   grep -v '^ *+' conftest.er1 >conftest.err
   12331   rm -f conftest.er1
   12332   cat conftest.err >&5
   12333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12334   (exit $ac_status); } && {
   12335 	 test -z "$ac_c_werror_flag" ||
   12336 	 test ! -s conftest.err
   12337        } && test -s conftest.$ac_objext; then
   12338   ac_cv_have_decl___SUNPRO_C=yes
   12339 else
   12340   $as_echo "$as_me: failed program was:" >&5
   12341 sed 's/^/| /' conftest.$ac_ext >&5
   12342 
   12343 	ac_cv_have_decl___SUNPRO_C=no
   12344 fi
   12345 
   12346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12347 fi
   12348 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   12349 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   12350 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   12351   SUNCC="yes"
   12352 else
   12353   SUNCC="no"
   12354 fi
   12355 
   12356 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   12357 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   12358 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   12359   $as_echo_n "(cached) " >&6
   12360 else
   12361   cat >conftest.$ac_ext <<_ACEOF
   12362 /* confdefs.h.  */
   12363 _ACEOF
   12364 cat confdefs.h >>conftest.$ac_ext
   12365 cat >>conftest.$ac_ext <<_ACEOF
   12366 /* end confdefs.h.  */
   12367 $ac_includes_default
   12368 int
   12369 main ()
   12370 {
   12371 #ifndef __INTEL_COMPILER
   12372   (void) __INTEL_COMPILER;
   12373 #endif
   12374 
   12375   ;
   12376   return 0;
   12377 }
   12378 _ACEOF
   12379 rm -f conftest.$ac_objext
   12380 if { (ac_try="$ac_compile"
   12381 case "(($ac_try" in
   12382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12383   *) ac_try_echo=$ac_try;;
   12384 esac
   12385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12386 $as_echo "$ac_try_echo") >&5
   12387   (eval "$ac_compile") 2>conftest.er1
   12388   ac_status=$?
   12389   grep -v '^ *+' conftest.er1 >conftest.err
   12390   rm -f conftest.er1
   12391   cat conftest.err >&5
   12392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12393   (exit $ac_status); } && {
   12394 	 test -z "$ac_c_werror_flag" ||
   12395 	 test ! -s conftest.err
   12396        } && test -s conftest.$ac_objext; then
   12397   ac_cv_have_decl___INTEL_COMPILER=yes
   12398 else
   12399   $as_echo "$as_me: failed program was:" >&5
   12400 sed 's/^/| /' conftest.$ac_ext >&5
   12401 
   12402 	ac_cv_have_decl___INTEL_COMPILER=no
   12403 fi
   12404 
   12405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12406 fi
   12407 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   12408 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   12409 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   12410   INTELCC="yes"
   12411 else
   12412   INTELCC="no"
   12413 fi
   12414 
   12415 	if test "x$GCC" = xyes ; then
   12416 		STRICT_CFLAGS="-pedantic -Werror"
   12417 	elif test "x$SUNCC" = "xyes"; then
   12418 		STRICT_CFLAGS="-errwarn"
   12419     elif test "x$INTELCC" = "xyes"; then
   12420 		STRICT_CFLAGS="-Werror"
   12421 	fi
   12422 fi
   12423 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   12424 
   12425 
   12426 
   12427 
   12428 # Check whether --with-release-version was given.
   12429 if test "${with_release_version+set}" = set; then
   12430   withval=$with_release_version; RELEASE_VERSION="$withval"
   12431 else
   12432   RELEASE_VERSION=""
   12433 fi
   12434 
   12435 	if test "x$RELEASE_VERSION" != "x"; then
   12436 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   12437 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   12438 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   12439 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   12440 	fi
   12441 
   12442 cat >>confdefs.h <<_ACEOF
   12443 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   12444 _ACEOF
   12445 
   12446 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   12447 	if test "x$PVM" = "x"; then
   12448 		PVM="0"
   12449 	fi
   12450 
   12451 cat >>confdefs.h <<_ACEOF
   12452 #define PACKAGE_VERSION_MINOR $PVM
   12453 _ACEOF
   12454 
   12455 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   12456 	if test "x$PVP" = "x"; then
   12457 		PVP="0"
   12458 	fi
   12459 
   12460 cat >>confdefs.h <<_ACEOF
   12461 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   12462 _ACEOF
   12463 
   12464 
   12465 
   12466 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   12467 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   12468 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   12469 
   12470 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 if test x$APP_MAN_SUFFIX = x    ; then
   12477     APP_MAN_SUFFIX=1
   12478 fi
   12479 if test x$APP_MAN_DIR = x    ; then
   12480     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   12481 fi
   12482 
   12483 if test x$LIB_MAN_SUFFIX = x    ; then
   12484     LIB_MAN_SUFFIX=3
   12485 fi
   12486 if test x$LIB_MAN_DIR = x    ; then
   12487     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   12488 fi
   12489 
   12490 if test x$FILE_MAN_SUFFIX = x    ; then
   12491     case $host_os in
   12492 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   12493 	*)		FILE_MAN_SUFFIX=5  ;;
   12494     esac
   12495 fi
   12496 if test x$FILE_MAN_DIR = x    ; then
   12497     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   12498 fi
   12499 
   12500 if test x$MISC_MAN_SUFFIX = x    ; then
   12501     case $host_os in
   12502 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   12503 	*)		MISC_MAN_SUFFIX=7  ;;
   12504     esac
   12505 fi
   12506 if test x$MISC_MAN_DIR = x    ; then
   12507     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   12508 fi
   12509 
   12510 if test x$DRIVER_MAN_SUFFIX = x    ; then
   12511     case $host_os in
   12512 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   12513 	*)		DRIVER_MAN_SUFFIX=4  ;;
   12514     esac
   12515 fi
   12516 if test x$DRIVER_MAN_DIR = x    ; then
   12517     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   12518 fi
   12519 
   12520 if test x$ADMIN_MAN_SUFFIX = x    ; then
   12521     case $host_os in
   12522 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   12523 	*)		ADMIN_MAN_SUFFIX=8  ;;
   12524     esac
   12525 fi
   12526 if test x$ADMIN_MAN_DIR = x    ; then
   12527     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   12528 fi
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 XDMCP_CFLAGS="$CWARNFLAGS $XDMCP_CFLAGS"
   12546 
   12547 
   12548 
   12549 if test -f ${srcdir}/Wraphelp.c; then
   12550 
   12551 cat >>confdefs.h <<\_ACEOF
   12552 #define HASXDMAUTH 1
   12553 _ACEOF
   12554 
   12555 	HASXDMAUTH=yes
   12556 else
   12557 	HASXDMAUTH=no
   12558 fi
   12559 
   12560  if test x$HASXDMAUTH = xyes; then
   12561   HASXDMAUTH_TRUE=
   12562   HASXDMAUTH_FALSE='#'
   12563 else
   12564   HASXDMAUTH_TRUE='#'
   12565   HASXDMAUTH_FALSE=
   12566 fi
   12567 
   12568 
   12569 
   12570 
   12571 # Allow checking code with lint, sparse, etc.
   12572 
   12573 # Check whether --with-lint was given.
   12574 if test "${with_lint+set}" = set; then
   12575   withval=$with_lint; use_lint=$withval
   12576 else
   12577   use_lint=no
   12578 fi
   12579 
   12580 if test "x$use_lint" = "xyes" ; then
   12581 	LINT="lint"
   12582 else
   12583 	LINT="$use_lint"
   12584 fi
   12585 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   12586     case $LINT in
   12587 	lint|*/lint)
   12588 	    case $host_os in
   12589 		solaris*)
   12590 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   12591 			;;
   12592 	    esac
   12593 	    ;;
   12594     esac
   12595 fi
   12596 
   12597 
   12598 
   12599  if test x$LINT != xno; then
   12600   LINT_TRUE=
   12601   LINT_FALSE='#'
   12602 else
   12603   LINT_TRUE='#'
   12604   LINT_FALSE=
   12605 fi
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 # Build lint "library" for more indepth checks of programs calling this library
   12612 # Check whether --enable-lint-library was given.
   12613 if test "${enable_lint_library+set}" = set; then
   12614   enableval=$enable_lint_library; make_lint_lib=$enableval
   12615 else
   12616   make_lint_lib=no
   12617 fi
   12618 
   12619 if test "x$make_lint_lib" != "xno" ; then
   12620 	if test "x$LINT" = "xno" ; then
   12621 		{ { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   12622 $as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   12623    { (exit 1); exit 1; }; }
   12624 	fi
   12625 	if test "x$make_lint_lib" = "xyes" ; then
   12626 		LINTLIB=llib-lXdmcp.ln
   12627 	else
   12628 		LINTLIB=$make_lint_lib
   12629 	fi
   12630 fi
   12631 
   12632  if test x$make_lint_lib != xno; then
   12633   MAKE_LINT_LIB_TRUE=
   12634   MAKE_LINT_LIB_FALSE='#'
   12635 else
   12636   MAKE_LINT_LIB_TRUE='#'
   12637   MAKE_LINT_LIB_FALSE=
   12638 fi
   12639 
   12640 
   12641 
   12642 
   12643 ac_config_files="$ac_config_files Makefile xdmcp.pc"
   12644 
   12645 cat >confcache <<\_ACEOF
   12646 # This file is a shell script that caches the results of configure
   12647 # tests run on this system so they can be shared between configure
   12648 # scripts and configure runs, see configure's option --config-cache.
   12649 # It is not useful on other systems.  If it contains results you don't
   12650 # want to keep, you may remove or edit it.
   12651 #
   12652 # config.status only pays attention to the cache file if you give it
   12653 # the --recheck option to rerun configure.
   12654 #
   12655 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12656 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12657 # following values.
   12658 
   12659 _ACEOF
   12660 
   12661 # The following way of writing the cache mishandles newlines in values,
   12662 # but we know of no workaround that is simple, portable, and efficient.
   12663 # So, we kill variables containing newlines.
   12664 # Ultrix sh set writes to stderr and can't be redirected directly,
   12665 # and sets the high bit in the cache file unless we assign to the vars.
   12666 (
   12667   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12668     eval ac_val=\$$ac_var
   12669     case $ac_val in #(
   12670     *${as_nl}*)
   12671       case $ac_var in #(
   12672       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   12673 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12674       esac
   12675       case $ac_var in #(
   12676       _ | IFS | as_nl) ;; #(
   12677       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12678       *) $as_unset $ac_var ;;
   12679       esac ;;
   12680     esac
   12681   done
   12682 
   12683   (set) 2>&1 |
   12684     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12685     *${as_nl}ac_space=\ *)
   12686       # `set' does not quote correctly, so add quotes (double-quote
   12687       # substitution turns \\\\ into \\, and sed turns \\ into \).
   12688       sed -n \
   12689 	"s/'/'\\\\''/g;
   12690 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12691       ;; #(
   12692     *)
   12693       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12694       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12695       ;;
   12696     esac |
   12697     sort
   12698 ) |
   12699   sed '
   12700      /^ac_cv_env_/b end
   12701      t clear
   12702      :clear
   12703      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12704      t end
   12705      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12706      :end' >>confcache
   12707 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12708   if test -w "$cache_file"; then
   12709     test "x$cache_file" != "x/dev/null" &&
   12710       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   12711 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12712     cat confcache >$cache_file
   12713   else
   12714     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   12715 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12716   fi
   12717 fi
   12718 rm -f confcache
   12719 
   12720 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12721 # Let make expand exec_prefix.
   12722 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12723 
   12724 DEFS=-DHAVE_CONFIG_H
   12725 
   12726 ac_libobjs=
   12727 ac_ltlibobjs=
   12728 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12729   # 1. Remove the extension, and $U if already installed.
   12730   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12731   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12732   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12733   #    will be set to the directory where LIBOBJS objects are built.
   12734   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12735   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   12736 done
   12737 LIBOBJS=$ac_libobjs
   12738 
   12739 LTLIBOBJS=$ac_ltlibobjs
   12740 
   12741 
   12742  if test -n "$EXEEXT"; then
   12743   am__EXEEXT_TRUE=
   12744   am__EXEEXT_FALSE='#'
   12745 else
   12746   am__EXEEXT_TRUE='#'
   12747   am__EXEEXT_FALSE=
   12748 fi
   12749 
   12750 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12751   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   12752 Usually this means the macro was only invoked conditionally." >&5
   12753 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   12754 Usually this means the macro was only invoked conditionally." >&2;}
   12755    { (exit 1); exit 1; }; }
   12756 fi
   12757 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12758   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   12759 Usually this means the macro was only invoked conditionally." >&5
   12760 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   12761 Usually this means the macro was only invoked conditionally." >&2;}
   12762    { (exit 1); exit 1; }; }
   12763 fi
   12764 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12765   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   12766 Usually this means the macro was only invoked conditionally." >&5
   12767 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   12768 Usually this means the macro was only invoked conditionally." >&2;}
   12769    { (exit 1); exit 1; }; }
   12770 fi
   12771 if test -z "${HASXDMAUTH_TRUE}" && test -z "${HASXDMAUTH_FALSE}"; then
   12772   { { $as_echo "$as_me:$LINENO: error: conditional \"HASXDMAUTH\" was never defined.
   12773 Usually this means the macro was only invoked conditionally." >&5
   12774 $as_echo "$as_me: error: conditional \"HASXDMAUTH\" was never defined.
   12775 Usually this means the macro was only invoked conditionally." >&2;}
   12776    { (exit 1); exit 1; }; }
   12777 fi
   12778 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12779   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   12780 Usually this means the macro was only invoked conditionally." >&5
   12781 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   12782 Usually this means the macro was only invoked conditionally." >&2;}
   12783    { (exit 1); exit 1; }; }
   12784 fi
   12785 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   12786   { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   12787 Usually this means the macro was only invoked conditionally." >&5
   12788 $as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   12789 Usually this means the macro was only invoked conditionally." >&2;}
   12790    { (exit 1); exit 1; }; }
   12791 fi
   12792 
   12793 : ${CONFIG_STATUS=./config.status}
   12794 ac_write_fail=0
   12795 ac_clean_files_save=$ac_clean_files
   12796 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12797 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   12798 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12799 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12800 #! $SHELL
   12801 # Generated by $as_me.
   12802 # Run this file to recreate the current configuration.
   12803 # Compiler output produced by configure, useful for debugging
   12804 # configure, is in config.log if it exists.
   12805 
   12806 debug=false
   12807 ac_cs_recheck=false
   12808 ac_cs_silent=false
   12809 SHELL=\${CONFIG_SHELL-$SHELL}
   12810 _ACEOF
   12811 
   12812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12813 ## --------------------- ##
   12814 ## M4sh Initialization.  ##
   12815 ## --------------------- ##
   12816 
   12817 # Be more Bourne compatible
   12818 DUALCASE=1; export DUALCASE # for MKS sh
   12819 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   12820   emulate sh
   12821   NULLCMD=:
   12822   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12823   # is contrary to our usage.  Disable this feature.
   12824   alias -g '${1+"$@"}'='"$@"'
   12825   setopt NO_GLOB_SUBST
   12826 else
   12827   case `(set -o) 2>/dev/null` in
   12828   *posix*) set -o posix ;;
   12829 esac
   12830 
   12831 fi
   12832 
   12833 
   12834 
   12835 
   12836 # PATH needs CR
   12837 # Avoid depending upon Character Ranges.
   12838 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12839 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12840 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12841 as_cr_digits='0123456789'
   12842 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12843 
   12844 as_nl='
   12845 '
   12846 export as_nl
   12847 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12848 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12849 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12850 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12851 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12852   as_echo='printf %s\n'
   12853   as_echo_n='printf %s'
   12854 else
   12855   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12856     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12857     as_echo_n='/usr/ucb/echo -n'
   12858   else
   12859     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12860     as_echo_n_body='eval
   12861       arg=$1;
   12862       case $arg in
   12863       *"$as_nl"*)
   12864 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12865 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12866       esac;
   12867       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12868     '
   12869     export as_echo_n_body
   12870     as_echo_n='sh -c $as_echo_n_body as_echo'
   12871   fi
   12872   export as_echo_body
   12873   as_echo='sh -c $as_echo_body as_echo'
   12874 fi
   12875 
   12876 # The user is always right.
   12877 if test "${PATH_SEPARATOR+set}" != set; then
   12878   PATH_SEPARATOR=:
   12879   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12880     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12881       PATH_SEPARATOR=';'
   12882   }
   12883 fi
   12884 
   12885 # Support unset when possible.
   12886 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12887   as_unset=unset
   12888 else
   12889   as_unset=false
   12890 fi
   12891 
   12892 
   12893 # IFS
   12894 # We need space, tab and new line, in precisely that order.  Quoting is
   12895 # there to prevent editors from complaining about space-tab.
   12896 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12897 # splitting by setting IFS to empty value.)
   12898 IFS=" ""	$as_nl"
   12899 
   12900 # Find who we are.  Look in the path if we contain no directory separator.
   12901 case $0 in
   12902   *[\\/]* ) as_myself=$0 ;;
   12903   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12904 for as_dir in $PATH
   12905 do
   12906   IFS=$as_save_IFS
   12907   test -z "$as_dir" && as_dir=.
   12908   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12909 done
   12910 IFS=$as_save_IFS
   12911 
   12912      ;;
   12913 esac
   12914 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12915 # in which case we are not to be found in the path.
   12916 if test "x$as_myself" = x; then
   12917   as_myself=$0
   12918 fi
   12919 if test ! -f "$as_myself"; then
   12920   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12921   { (exit 1); exit 1; }
   12922 fi
   12923 
   12924 # Work around bugs in pre-3.0 UWIN ksh.
   12925 for as_var in ENV MAIL MAILPATH
   12926 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   12927 done
   12928 PS1='$ '
   12929 PS2='> '
   12930 PS4='+ '
   12931 
   12932 # NLS nuisances.
   12933 LC_ALL=C
   12934 export LC_ALL
   12935 LANGUAGE=C
   12936 export LANGUAGE
   12937 
   12938 # Required to use basename.
   12939 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12940    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12941   as_expr=expr
   12942 else
   12943   as_expr=false
   12944 fi
   12945 
   12946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12947   as_basename=basename
   12948 else
   12949   as_basename=false
   12950 fi
   12951 
   12952 
   12953 # Name of the executable.
   12954 as_me=`$as_basename -- "$0" ||
   12955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12956 	 X"$0" : 'X\(//\)$' \| \
   12957 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12958 $as_echo X/"$0" |
   12959     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12960 	    s//\1/
   12961 	    q
   12962 	  }
   12963 	  /^X\/\(\/\/\)$/{
   12964 	    s//\1/
   12965 	    q
   12966 	  }
   12967 	  /^X\/\(\/\).*/{
   12968 	    s//\1/
   12969 	    q
   12970 	  }
   12971 	  s/.*/./; q'`
   12972 
   12973 # CDPATH.
   12974 $as_unset CDPATH
   12975 
   12976 
   12977 
   12978   as_lineno_1=$LINENO
   12979   as_lineno_2=$LINENO
   12980   test "x$as_lineno_1" != "x$as_lineno_2" &&
   12981   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   12982 
   12983   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   12984   # uniformly replaced by the line number.  The first 'sed' inserts a
   12985   # line-number line after each line using $LINENO; the second 'sed'
   12986   # does the real work.  The second script uses 'N' to pair each
   12987   # line-number line with the line containing $LINENO, and appends
   12988   # trailing '-' during substitution so that $LINENO is not a special
   12989   # case at line end.
   12990   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   12991   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   12992   # E. McMahon (1931-1989) for sed's syntax.  :-)
   12993   sed -n '
   12994     p
   12995     /[$]LINENO/=
   12996   ' <$as_myself |
   12997     sed '
   12998       s/[$]LINENO.*/&-/
   12999       t lineno
   13000       b
   13001       :lineno
   13002       N
   13003       :loop
   13004       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13005       t loop
   13006       s/-\n.*//
   13007     ' >$as_me.lineno &&
   13008   chmod +x "$as_me.lineno" ||
   13009     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13010    { (exit 1); exit 1; }; }
   13011 
   13012   # Don't try to exec as it changes $[0], causing all sort of problems
   13013   # (the dirname of $[0] is not the place where we might find the
   13014   # original and so on.  Autoconf is especially sensitive to this).
   13015   . "./$as_me.lineno"
   13016   # Exit status is that of the last command.
   13017   exit
   13018 }
   13019 
   13020 
   13021 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13022   as_dirname=dirname
   13023 else
   13024   as_dirname=false
   13025 fi
   13026 
   13027 ECHO_C= ECHO_N= ECHO_T=
   13028 case `echo -n x` in
   13029 -n*)
   13030   case `echo 'x\c'` in
   13031   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13032   *)   ECHO_C='\c';;
   13033   esac;;
   13034 *)
   13035   ECHO_N='-n';;
   13036 esac
   13037 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13038    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13039   as_expr=expr
   13040 else
   13041   as_expr=false
   13042 fi
   13043 
   13044 rm -f conf$$ conf$$.exe conf$$.file
   13045 if test -d conf$$.dir; then
   13046   rm -f conf$$.dir/conf$$.file
   13047 else
   13048   rm -f conf$$.dir
   13049   mkdir conf$$.dir 2>/dev/null
   13050 fi
   13051 if (echo >conf$$.file) 2>/dev/null; then
   13052   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13053     as_ln_s='ln -s'
   13054     # ... but there are two gotchas:
   13055     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13056     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13057     # In both cases, we have to default to `cp -p'.
   13058     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13059       as_ln_s='cp -p'
   13060   elif ln conf$$.file conf$$ 2>/dev/null; then
   13061     as_ln_s=ln
   13062   else
   13063     as_ln_s='cp -p'
   13064   fi
   13065 else
   13066   as_ln_s='cp -p'
   13067 fi
   13068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13069 rmdir conf$$.dir 2>/dev/null
   13070 
   13071 if mkdir -p . 2>/dev/null; then
   13072   as_mkdir_p=:
   13073 else
   13074   test -d ./-p && rmdir ./-p
   13075   as_mkdir_p=false
   13076 fi
   13077 
   13078 if test -x / >/dev/null 2>&1; then
   13079   as_test_x='test -x'
   13080 else
   13081   if ls -dL / >/dev/null 2>&1; then
   13082     as_ls_L_option=L
   13083   else
   13084     as_ls_L_option=
   13085   fi
   13086   as_test_x='
   13087     eval sh -c '\''
   13088       if test -d "$1"; then
   13089 	test -d "$1/.";
   13090       else
   13091 	case $1 in
   13092 	-*)set "./$1";;
   13093 	esac;
   13094 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13095 	???[sx]*):;;*)false;;esac;fi
   13096     '\'' sh
   13097   '
   13098 fi
   13099 as_executable_p=$as_test_x
   13100 
   13101 # Sed expression to map a string onto a valid CPP name.
   13102 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13103 
   13104 # Sed expression to map a string onto a valid variable name.
   13105 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13106 
   13107 
   13108 exec 6>&1
   13109 
   13110 # Save the log message, to keep $[0] and so on meaningful, and to
   13111 # report actual input values of CONFIG_FILES etc. instead of their
   13112 # values after options handling.
   13113 ac_log="
   13114 This file was extended by libXdmcp $as_me 1.0.3, which was
   13115 generated by GNU Autoconf 2.63.  Invocation command line was
   13116 
   13117   CONFIG_FILES    = $CONFIG_FILES
   13118   CONFIG_HEADERS  = $CONFIG_HEADERS
   13119   CONFIG_LINKS    = $CONFIG_LINKS
   13120   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13121   $ $0 $@
   13122 
   13123 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13124 "
   13125 
   13126 _ACEOF
   13127 
   13128 case $ac_config_files in *"
   13129 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13130 esac
   13131 
   13132 case $ac_config_headers in *"
   13133 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13134 esac
   13135 
   13136 
   13137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13138 # Files that config.status was made for.
   13139 config_files="$ac_config_files"
   13140 config_headers="$ac_config_headers"
   13141 config_commands="$ac_config_commands"
   13142 
   13143 _ACEOF
   13144 
   13145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13146 ac_cs_usage="\
   13147 \`$as_me' instantiates files from templates according to the
   13148 current configuration.
   13149 
   13150 Usage: $0 [OPTION]... [FILE]...
   13151 
   13152   -h, --help       print this help, then exit
   13153   -V, --version    print version number and configuration settings, then exit
   13154   -q, --quiet, --silent
   13155                    do not print progress messages
   13156   -d, --debug      don't remove temporary files
   13157       --recheck    update $as_me by reconfiguring in the same conditions
   13158       --file=FILE[:TEMPLATE]
   13159                    instantiate the configuration file FILE
   13160       --header=FILE[:TEMPLATE]
   13161                    instantiate the configuration header FILE
   13162 
   13163 Configuration files:
   13164 $config_files
   13165 
   13166 Configuration headers:
   13167 $config_headers
   13168 
   13169 Configuration commands:
   13170 $config_commands
   13171 
   13172 Report bugs to <bug-autoconf (at] gnu.org>."
   13173 
   13174 _ACEOF
   13175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13176 ac_cs_version="\\
   13177 libXdmcp config.status 1.0.3
   13178 configured by $0, generated by GNU Autoconf 2.63,
   13179   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   13180 
   13181 Copyright (C) 2008 Free Software Foundation, Inc.
   13182 This config.status script is free software; the Free Software Foundation
   13183 gives unlimited permission to copy, distribute and modify it."
   13184 
   13185 ac_pwd='$ac_pwd'
   13186 srcdir='$srcdir'
   13187 INSTALL='$INSTALL'
   13188 MKDIR_P='$MKDIR_P'
   13189 AWK='$AWK'
   13190 test -n "\$AWK" || AWK=awk
   13191 _ACEOF
   13192 
   13193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13194 # The default lists apply if the user does not specify any file.
   13195 ac_need_defaults=:
   13196 while test $# != 0
   13197 do
   13198   case $1 in
   13199   --*=*)
   13200     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13201     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13202     ac_shift=:
   13203     ;;
   13204   *)
   13205     ac_option=$1
   13206     ac_optarg=$2
   13207     ac_shift=shift
   13208     ;;
   13209   esac
   13210 
   13211   case $ac_option in
   13212   # Handling of the options.
   13213   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13214     ac_cs_recheck=: ;;
   13215   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13216     $as_echo "$ac_cs_version"; exit ;;
   13217   --debug | --debu | --deb | --de | --d | -d )
   13218     debug=: ;;
   13219   --file | --fil | --fi | --f )
   13220     $ac_shift
   13221     case $ac_optarg in
   13222     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13223     esac
   13224     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   13225     ac_need_defaults=false;;
   13226   --header | --heade | --head | --hea )
   13227     $ac_shift
   13228     case $ac_optarg in
   13229     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13230     esac
   13231     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   13232     ac_need_defaults=false;;
   13233   --he | --h)
   13234     # Conflict between --help and --header
   13235     { $as_echo "$as_me: error: ambiguous option: $1
   13236 Try \`$0 --help' for more information." >&2
   13237    { (exit 1); exit 1; }; };;
   13238   --help | --hel | -h )
   13239     $as_echo "$ac_cs_usage"; exit ;;
   13240   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13241   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13242     ac_cs_silent=: ;;
   13243 
   13244   # This is an error.
   13245   -*) { $as_echo "$as_me: error: unrecognized option: $1
   13246 Try \`$0 --help' for more information." >&2
   13247    { (exit 1); exit 1; }; } ;;
   13248 
   13249   *) ac_config_targets="$ac_config_targets $1"
   13250      ac_need_defaults=false ;;
   13251 
   13252   esac
   13253   shift
   13254 done
   13255 
   13256 ac_configure_extra_args=
   13257 
   13258 if $ac_cs_silent; then
   13259   exec 6>/dev/null
   13260   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13261 fi
   13262 
   13263 _ACEOF
   13264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13265 if \$ac_cs_recheck; then
   13266   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13267   shift
   13268   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13269   CONFIG_SHELL='$SHELL'
   13270   export CONFIG_SHELL
   13271   exec "\$@"
   13272 fi
   13273 
   13274 _ACEOF
   13275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13276 exec 5>>config.log
   13277 {
   13278   echo
   13279   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13280 ## Running $as_me. ##
   13281 _ASBOX
   13282   $as_echo "$ac_log"
   13283 } >&5
   13284 
   13285 _ACEOF
   13286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13287 #
   13288 # INIT-COMMANDS
   13289 #
   13290 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13291 
   13292 
   13293 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13294 # if CDPATH is set.
   13295 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13296 
   13297 sed_quote_subst='$sed_quote_subst'
   13298 double_quote_subst='$double_quote_subst'
   13299 delay_variable_subst='$delay_variable_subst'
   13300 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
   13301 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13302 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13303 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13304 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13305 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13306 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13307 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13308 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13309 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13310 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13311 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13312 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13313 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13314 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13315 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13316 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13317 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13318 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13319 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13320 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13321 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13322 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13323 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13324 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13325 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13326 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13327 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13328 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13329 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13330 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13331 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13332 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13333 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13334 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13335 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13336 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13337 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13338 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13339 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13340 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13341 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13342 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   13343 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   13344 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   13345 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   13346 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"`'
   13347 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"`'
   13348 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   13349 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   13350 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   13351 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   13352 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13353 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   13354 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   13355 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   13356 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   13357 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   13358 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   13359 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   13360 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   13361 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13362 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   13363 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   13364 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13365 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13366 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   13367 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   13368 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13369 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13370 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   13371 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13372 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13373 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13374 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13375 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13376 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13377 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13378 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13379 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13380 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13381 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13382 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   13383 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   13384 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   13385 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   13386 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13387 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   13388 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   13389 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   13390 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   13391 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   13392 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13393 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13394 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13395 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13396 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13397 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   13398 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   13399 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   13400 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   13401 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13402 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13403 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   13404 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13405 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13406 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13407 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13408 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13409 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13410 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   13411 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   13412 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13413 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13414 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   13415 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   13416 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   13417 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   13418 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13419 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13420 
   13421 LTCC='$LTCC'
   13422 LTCFLAGS='$LTCFLAGS'
   13423 compiler='$compiler_DEFAULT'
   13424 
   13425 # Quote evaled strings.
   13426 for var in SED \
   13427 GREP \
   13428 EGREP \
   13429 FGREP \
   13430 LD \
   13431 NM \
   13432 LN_S \
   13433 lt_SP2NL \
   13434 lt_NL2SP \
   13435 reload_flag \
   13436 deplibs_check_method \
   13437 file_magic_cmd \
   13438 AR \
   13439 AR_FLAGS \
   13440 STRIP \
   13441 RANLIB \
   13442 CC \
   13443 CFLAGS \
   13444 compiler \
   13445 lt_cv_sys_global_symbol_pipe \
   13446 lt_cv_sys_global_symbol_to_cdecl \
   13447 lt_cv_sys_global_symbol_to_c_name_address \
   13448 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13449 SHELL \
   13450 ECHO \
   13451 lt_prog_compiler_no_builtin_flag \
   13452 lt_prog_compiler_wl \
   13453 lt_prog_compiler_pic \
   13454 lt_prog_compiler_static \
   13455 lt_cv_prog_compiler_c_o \
   13456 need_locks \
   13457 DSYMUTIL \
   13458 NMEDIT \
   13459 LIPO \
   13460 OTOOL \
   13461 OTOOL64 \
   13462 shrext_cmds \
   13463 export_dynamic_flag_spec \
   13464 whole_archive_flag_spec \
   13465 compiler_needs_object \
   13466 with_gnu_ld \
   13467 allow_undefined_flag \
   13468 no_undefined_flag \
   13469 hardcode_libdir_flag_spec \
   13470 hardcode_libdir_flag_spec_ld \
   13471 hardcode_libdir_separator \
   13472 fix_srcfile_path \
   13473 exclude_expsyms \
   13474 include_expsyms \
   13475 file_list_spec \
   13476 variables_saved_for_relink \
   13477 libname_spec \
   13478 library_names_spec \
   13479 soname_spec \
   13480 finish_eval \
   13481 old_striplib \
   13482 striplib; do
   13483     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13484     *[\\\\\\\`\\"\\\$]*)
   13485       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13486       ;;
   13487     *)
   13488       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13489       ;;
   13490     esac
   13491 done
   13492 
   13493 # Double-quote double-evaled strings.
   13494 for var in reload_cmds \
   13495 old_postinstall_cmds \
   13496 old_postuninstall_cmds \
   13497 old_archive_cmds \
   13498 extract_expsyms_cmds \
   13499 old_archive_from_new_cmds \
   13500 old_archive_from_expsyms_cmds \
   13501 archive_cmds \
   13502 archive_expsym_cmds \
   13503 module_cmds \
   13504 module_expsym_cmds \
   13505 export_symbols_cmds \
   13506 prelink_cmds \
   13507 postinstall_cmds \
   13508 postuninstall_cmds \
   13509 finish_cmds \
   13510 sys_lib_search_path_spec \
   13511 sys_lib_dlsearch_path_spec; do
   13512     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13513     *[\\\\\\\`\\"\\\$]*)
   13514       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13515       ;;
   13516     *)
   13517       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13518       ;;
   13519     esac
   13520 done
   13521 
   13522 # Fix-up fallback echo if it was mangled by the above quoting rules.
   13523 case \$lt_ECHO in
   13524 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   13525   ;;
   13526 esac
   13527 
   13528 ac_aux_dir='$ac_aux_dir'
   13529 xsi_shell='$xsi_shell'
   13530 lt_shell_append='$lt_shell_append'
   13531 
   13532 # See if we are running on zsh, and set the options which allow our
   13533 # commands through without removal of \ escapes INIT.
   13534 if test -n "\${ZSH_VERSION+set}" ; then
   13535    setopt NO_GLOB_SUBST
   13536 fi
   13537 
   13538 
   13539     PACKAGE='$PACKAGE'
   13540     VERSION='$VERSION'
   13541     TIMESTAMP='$TIMESTAMP'
   13542     RM='$RM'
   13543     ofile='$ofile'
   13544 
   13545 
   13546 
   13547 
   13548 _ACEOF
   13549 
   13550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13551 
   13552 # Handling of arguments.
   13553 for ac_config_target in $ac_config_targets
   13554 do
   13555   case $ac_config_target in
   13556     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13557     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13558     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13559     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13560     "xdmcp.pc") CONFIG_FILES="$CONFIG_FILES xdmcp.pc" ;;
   13561 
   13562   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   13563 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   13564    { (exit 1); exit 1; }; };;
   13565   esac
   13566 done
   13567 
   13568 
   13569 # If the user did not use the arguments to specify the items to instantiate,
   13570 # then the envvar interface is used.  Set only those that are not.
   13571 # We use the long form for the default assignment because of an extremely
   13572 # bizarre bug on SunOS 4.1.3.
   13573 if $ac_need_defaults; then
   13574   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13575   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13576   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13577 fi
   13578 
   13579 # Have a temporary directory for convenience.  Make it in the build tree
   13580 # simply because there is no reason against having it here, and in addition,
   13581 # creating and moving files from /tmp can sometimes cause problems.
   13582 # Hook for its removal unless debugging.
   13583 # Note that there is a small window in which the directory will not be cleaned:
   13584 # after its creation but before its name has been assigned to `$tmp'.
   13585 $debug ||
   13586 {
   13587   tmp=
   13588   trap 'exit_status=$?
   13589   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   13590 ' 0
   13591   trap '{ (exit 1); exit 1; }' 1 2 13 15
   13592 }
   13593 # Create a (secure) tmp directory for tmp files.
   13594 
   13595 {
   13596   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13597   test -n "$tmp" && test -d "$tmp"
   13598 }  ||
   13599 {
   13600   tmp=./conf$$-$RANDOM
   13601   (umask 077 && mkdir "$tmp")
   13602 } ||
   13603 {
   13604    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   13605    { (exit 1); exit 1; }
   13606 }
   13607 
   13608 # Set up the scripts for CONFIG_FILES section.
   13609 # No need to generate them if there are no CONFIG_FILES.
   13610 # This happens for instance with `./config.status config.h'.
   13611 if test -n "$CONFIG_FILES"; then
   13612 
   13613 
   13614 ac_cr='
'
   13616 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13617 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13618   ac_cs_awk_cr='\\r'
   13619 else
   13620   ac_cs_awk_cr=$ac_cr
   13621 fi
   13622 
   13623 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   13624 _ACEOF
   13625 
   13626 
   13627 {
   13628   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13629   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13630   echo "_ACEOF"
   13631 } >conf$$subs.sh ||
   13632   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13633 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13634    { (exit 1); exit 1; }; }
   13635 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   13636 ac_delim='%!_!# '
   13637 for ac_last_try in false false false false false :; do
   13638   . ./conf$$subs.sh ||
   13639     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13640 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13641    { (exit 1); exit 1; }; }
   13642 
   13643   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13644   if test $ac_delim_n = $ac_delim_num; then
   13645     break
   13646   elif $ac_last_try; then
   13647     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13648 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13649    { (exit 1); exit 1; }; }
   13650   else
   13651     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13652   fi
   13653 done
   13654 rm -f conf$$subs.sh
   13655 
   13656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13657 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   13658 _ACEOF
   13659 sed -n '
   13660 h
   13661 s/^/S["/; s/!.*/"]=/
   13662 p
   13663 g
   13664 s/^[^!]*!//
   13665 :repl
   13666 t repl
   13667 s/'"$ac_delim"'$//
   13668 t delim
   13669 :nl
   13670 h
   13671 s/\(.\{148\}\).*/\1/
   13672 t more1
   13673 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13674 p
   13675 n
   13676 b repl
   13677 :more1
   13678 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13679 p
   13680 g
   13681 s/.\{148\}//
   13682 t nl
   13683 :delim
   13684 h
   13685 s/\(.\{148\}\).*/\1/
   13686 t more2
   13687 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13688 p
   13689 b
   13690 :more2
   13691 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13692 p
   13693 g
   13694 s/.\{148\}//
   13695 t delim
   13696 ' <conf$$subs.awk | sed '
   13697 /^[^""]/{
   13698   N
   13699   s/\n//
   13700 }
   13701 ' >>$CONFIG_STATUS || ac_write_fail=1
   13702 rm -f conf$$subs.awk
   13703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13704 _ACAWK
   13705 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   13706   for (key in S) S_is_set[key] = 1
   13707   FS = ""
   13708 
   13709 }
   13710 {
   13711   line = $ 0
   13712   nfields = split(line, field, "@")
   13713   substed = 0
   13714   len = length(field[1])
   13715   for (i = 2; i < nfields; i++) {
   13716     key = field[i]
   13717     keylen = length(key)
   13718     if (S_is_set[key]) {
   13719       value = S[key]
   13720       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13721       len += length(value) + length(field[++i])
   13722       substed = 1
   13723     } else
   13724       len += 1 + keylen
   13725   }
   13726 
   13727   print line
   13728 }
   13729 
   13730 _ACAWK
   13731 _ACEOF
   13732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13733 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13734   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13735 else
   13736   cat
   13737 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13738   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   13739 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   13740    { (exit 1); exit 1; }; }
   13741 _ACEOF
   13742 
   13743 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13744 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13745 # trailing colons and then remove the whole line if VPATH becomes empty
   13746 # (actually we leave an empty line to preserve line numbers).
   13747 if test "x$srcdir" = x.; then
   13748   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13749 s/:*\$(srcdir):*/:/
   13750 s/:*\${srcdir}:*/:/
   13751 s/:*@srcdir@:*/:/
   13752 s/^\([^=]*=[	 ]*\):*/\1/
   13753 s/:*$//
   13754 s/^[^=]*=[	 ]*$//
   13755 }'
   13756 fi
   13757 
   13758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13759 fi # test -n "$CONFIG_FILES"
   13760 
   13761 # Set up the scripts for CONFIG_HEADERS section.
   13762 # No need to generate them if there are no CONFIG_HEADERS.
   13763 # This happens for instance with `./config.status Makefile'.
   13764 if test -n "$CONFIG_HEADERS"; then
   13765 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13766 BEGIN {
   13767 _ACEOF
   13768 
   13769 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13770 # here-document in config.status, that substitutes the proper values into
   13771 # config.h.in to produce config.h.
   13772 
   13773 # Create a delimiter string that does not exist in confdefs.h, to ease
   13774 # handling of long lines.
   13775 ac_delim='%!_!# '
   13776 for ac_last_try in false false :; do
   13777   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13778   if test -z "$ac_t"; then
   13779     break
   13780   elif $ac_last_try; then
   13781     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   13782 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   13783    { (exit 1); exit 1; }; }
   13784   else
   13785     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13786   fi
   13787 done
   13788 
   13789 # For the awk script, D is an array of macro values keyed by name,
   13790 # likewise P contains macro parameters if any.  Preserve backslash
   13791 # newline sequences.
   13792 
   13793 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13794 sed -n '
   13795 s/.\{148\}/&'"$ac_delim"'/g
   13796 t rset
   13797 :rset
   13798 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13799 t def
   13800 d
   13801 :def
   13802 s/\\$//
   13803 t bsnl
   13804 s/["\\]/\\&/g
   13805 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13806 D["\1"]=" \3"/p
   13807 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13808 d
   13809 :bsnl
   13810 s/["\\]/\\&/g
   13811 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13812 D["\1"]=" \3\\\\\\n"\\/p
   13813 t cont
   13814 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13815 t cont
   13816 d
   13817 :cont
   13818 n
   13819 s/.\{148\}/&'"$ac_delim"'/g
   13820 t clear
   13821 :clear
   13822 s/\\$//
   13823 t bsnlc
   13824 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13825 d
   13826 :bsnlc
   13827 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13828 b cont
   13829 ' <confdefs.h | sed '
   13830 s/'"$ac_delim"'/"\\\
   13831 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13832 
   13833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13834   for (key in D) D_is_set[key] = 1
   13835   FS = ""
   13836 }
   13837 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13838   line = \$ 0
   13839   split(line, arg, " ")
   13840   if (arg[1] == "#") {
   13841     defundef = arg[2]
   13842     mac1 = arg[3]
   13843   } else {
   13844     defundef = substr(arg[1], 2)
   13845     mac1 = arg[2]
   13846   }
   13847   split(mac1, mac2, "(") #)
   13848   macro = mac2[1]
   13849   prefix = substr(line, 1, index(line, defundef) - 1)
   13850   if (D_is_set[macro]) {
   13851     # Preserve the white space surrounding the "#".
   13852     print prefix "define", macro P[macro] D[macro]
   13853     next
   13854   } else {
   13855     # Replace #undef with comments.  This is necessary, for example,
   13856     # in the case of _POSIX_SOURCE, which is predefined and required
   13857     # on some systems where configure will not decide to define it.
   13858     if (defundef == "undef") {
   13859       print "/*", prefix defundef, macro, "*/"
   13860       next
   13861     }
   13862   }
   13863 }
   13864 { print }
   13865 _ACAWK
   13866 _ACEOF
   13867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13868   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   13869 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   13870    { (exit 1); exit 1; }; }
   13871 fi # test -n "$CONFIG_HEADERS"
   13872 
   13873 
   13874 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13875 shift
   13876 for ac_tag
   13877 do
   13878   case $ac_tag in
   13879   :[FHLC]) ac_mode=$ac_tag; continue;;
   13880   esac
   13881   case $ac_mode$ac_tag in
   13882   :[FHL]*:*);;
   13883   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   13884 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   13885    { (exit 1); exit 1; }; };;
   13886   :[FH]-) ac_tag=-:-;;
   13887   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13888   esac
   13889   ac_save_IFS=$IFS
   13890   IFS=:
   13891   set x $ac_tag
   13892   IFS=$ac_save_IFS
   13893   shift
   13894   ac_file=$1
   13895   shift
   13896 
   13897   case $ac_mode in
   13898   :L) ac_source=$1;;
   13899   :[FH])
   13900     ac_file_inputs=
   13901     for ac_f
   13902     do
   13903       case $ac_f in
   13904       -) ac_f="$tmp/stdin";;
   13905       *) # Look for the file first in the build tree, then in the source tree
   13906 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13907 	 # because $ac_f cannot contain `:'.
   13908 	 test -f "$ac_f" ||
   13909 	   case $ac_f in
   13910 	   [\\/$]*) false;;
   13911 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13912 	   esac ||
   13913 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   13914 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   13915    { (exit 1); exit 1; }; };;
   13916       esac
   13917       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13918       ac_file_inputs="$ac_file_inputs '$ac_f'"
   13919     done
   13920 
   13921     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13922     # use $as_me), people would be surprised to read:
   13923     #    /* config.h.  Generated by config.status.  */
   13924     configure_input='Generated from '`
   13925 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13926 	`' by configure.'
   13927     if test x"$ac_file" != x-; then
   13928       configure_input="$ac_file.  $configure_input"
   13929       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   13930 $as_echo "$as_me: creating $ac_file" >&6;}
   13931     fi
   13932     # Neutralize special characters interpreted by sed in replacement strings.
   13933     case $configure_input in #(
   13934     *\&* | *\|* | *\\* )
   13935        ac_sed_conf_input=`$as_echo "$configure_input" |
   13936        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13937     *) ac_sed_conf_input=$configure_input;;
   13938     esac
   13939 
   13940     case $ac_tag in
   13941     *:-:* | *:-) cat >"$tmp/stdin" \
   13942       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13943 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13944    { (exit 1); exit 1; }; } ;;
   13945     esac
   13946     ;;
   13947   esac
   13948 
   13949   ac_dir=`$as_dirname -- "$ac_file" ||
   13950 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13951 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13952 	 X"$ac_file" : 'X\(//\)$' \| \
   13953 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13954 $as_echo X"$ac_file" |
   13955     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13956 	    s//\1/
   13957 	    q
   13958 	  }
   13959 	  /^X\(\/\/\)[^/].*/{
   13960 	    s//\1/
   13961 	    q
   13962 	  }
   13963 	  /^X\(\/\/\)$/{
   13964 	    s//\1/
   13965 	    q
   13966 	  }
   13967 	  /^X\(\/\).*/{
   13968 	    s//\1/
   13969 	    q
   13970 	  }
   13971 	  s/.*/./; q'`
   13972   { as_dir="$ac_dir"
   13973   case $as_dir in #(
   13974   -*) as_dir=./$as_dir;;
   13975   esac
   13976   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13977     as_dirs=
   13978     while :; do
   13979       case $as_dir in #(
   13980       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13981       *) as_qdir=$as_dir;;
   13982       esac
   13983       as_dirs="'$as_qdir' $as_dirs"
   13984       as_dir=`$as_dirname -- "$as_dir" ||
   13985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13986 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13987 	 X"$as_dir" : 'X\(//\)$' \| \
   13988 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13989 $as_echo X"$as_dir" |
   13990     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13991 	    s//\1/
   13992 	    q
   13993 	  }
   13994 	  /^X\(\/\/\)[^/].*/{
   13995 	    s//\1/
   13996 	    q
   13997 	  }
   13998 	  /^X\(\/\/\)$/{
   13999 	    s//\1/
   14000 	    q
   14001 	  }
   14002 	  /^X\(\/\).*/{
   14003 	    s//\1/
   14004 	    q
   14005 	  }
   14006 	  s/.*/./; q'`
   14007       test -d "$as_dir" && break
   14008     done
   14009     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14010   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14011 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14012    { (exit 1); exit 1; }; }; }
   14013   ac_builddir=.
   14014 
   14015 case "$ac_dir" in
   14016 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14017 *)
   14018   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14019   # A ".." for each directory in $ac_dir_suffix.
   14020   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14021   case $ac_top_builddir_sub in
   14022   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14023   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14024   esac ;;
   14025 esac
   14026 ac_abs_top_builddir=$ac_pwd
   14027 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14028 # for backward compatibility:
   14029 ac_top_builddir=$ac_top_build_prefix
   14030 
   14031 case $srcdir in
   14032   .)  # We are building in place.
   14033     ac_srcdir=.
   14034     ac_top_srcdir=$ac_top_builddir_sub
   14035     ac_abs_top_srcdir=$ac_pwd ;;
   14036   [\\/]* | ?:[\\/]* )  # Absolute name.
   14037     ac_srcdir=$srcdir$ac_dir_suffix;
   14038     ac_top_srcdir=$srcdir
   14039     ac_abs_top_srcdir=$srcdir ;;
   14040   *) # Relative name.
   14041     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14042     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14043     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14044 esac
   14045 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14046 
   14047 
   14048   case $ac_mode in
   14049   :F)
   14050   #
   14051   # CONFIG_FILE
   14052   #
   14053 
   14054   case $INSTALL in
   14055   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14056   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14057   esac
   14058   ac_MKDIR_P=$MKDIR_P
   14059   case $MKDIR_P in
   14060   [\\/$]* | ?:[\\/]* ) ;;
   14061   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14062   esac
   14063 _ACEOF
   14064 
   14065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14066 # If the template does not know about datarootdir, expand it.
   14067 # FIXME: This hack should be removed a few years after 2.60.
   14068 ac_datarootdir_hack=; ac_datarootdir_seen=
   14069 
   14070 ac_sed_dataroot='
   14071 /datarootdir/ {
   14072   p
   14073   q
   14074 }
   14075 /@datadir@/p
   14076 /@docdir@/p
   14077 /@infodir@/p
   14078 /@localedir@/p
   14079 /@mandir@/p
   14080 '
   14081 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14082 *datarootdir*) ac_datarootdir_seen=yes;;
   14083 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14084   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14085 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14086 _ACEOF
   14087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14088   ac_datarootdir_hack='
   14089   s&@datadir@&$datadir&g
   14090   s&@docdir@&$docdir&g
   14091   s&@infodir@&$infodir&g
   14092   s&@localedir@&$localedir&g
   14093   s&@mandir@&$mandir&g
   14094     s&\\\${datarootdir}&$datarootdir&g' ;;
   14095 esac
   14096 _ACEOF
   14097 
   14098 # Neutralize VPATH when `$srcdir' = `.'.
   14099 # Shell code in configure.ac might set extrasub.
   14100 # FIXME: do we really want to maintain this feature?
   14101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14102 ac_sed_extra="$ac_vpsub
   14103 $extrasub
   14104 _ACEOF
   14105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14106 :t
   14107 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14108 s|@configure_input@|$ac_sed_conf_input|;t t
   14109 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14110 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14111 s&@srcdir@&$ac_srcdir&;t t
   14112 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14113 s&@top_srcdir@&$ac_top_srcdir&;t t
   14114 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14115 s&@builddir@&$ac_builddir&;t t
   14116 s&@abs_builddir@&$ac_abs_builddir&;t t
   14117 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14118 s&@INSTALL@&$ac_INSTALL&;t t
   14119 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14120 $ac_datarootdir_hack
   14121 "
   14122 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14123   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14124 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14125    { (exit 1); exit 1; }; }
   14126 
   14127 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14128   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14129   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   14130   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14131 which seems to be undefined.  Please make sure it is defined." >&5
   14132 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14133 which seems to be undefined.  Please make sure it is defined." >&2;}
   14134 
   14135   rm -f "$tmp/stdin"
   14136   case $ac_file in
   14137   -) cat "$tmp/out" && rm -f "$tmp/out";;
   14138   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   14139   esac \
   14140   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14141 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14142    { (exit 1); exit 1; }; }
   14143  ;;
   14144   :H)
   14145   #
   14146   # CONFIG_HEADER
   14147   #
   14148   if test x"$ac_file" != x-; then
   14149     {
   14150       $as_echo "/* $configure_input  */" \
   14151       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   14152     } >"$tmp/config.h" \
   14153       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14154 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14155    { (exit 1); exit 1; }; }
   14156     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   14157       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14158 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14159     else
   14160       rm -f "$ac_file"
   14161       mv "$tmp/config.h" "$ac_file" \
   14162 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14163 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14164    { (exit 1); exit 1; }; }
   14165     fi
   14166   else
   14167     $as_echo "/* $configure_input  */" \
   14168       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   14169       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   14170 $as_echo "$as_me: error: could not create -" >&2;}
   14171    { (exit 1); exit 1; }; }
   14172   fi
   14173 # Compute "$ac_file"'s index in $config_headers.
   14174 _am_arg="$ac_file"
   14175 _am_stamp_count=1
   14176 for _am_header in $config_headers :; do
   14177   case $_am_header in
   14178     $_am_arg | $_am_arg:* )
   14179       break ;;
   14180     * )
   14181       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14182   esac
   14183 done
   14184 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14185 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14186 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14187 	 X"$_am_arg" : 'X\(//\)$' \| \
   14188 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14189 $as_echo X"$_am_arg" |
   14190     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14191 	    s//\1/
   14192 	    q
   14193 	  }
   14194 	  /^X\(\/\/\)[^/].*/{
   14195 	    s//\1/
   14196 	    q
   14197 	  }
   14198 	  /^X\(\/\/\)$/{
   14199 	    s//\1/
   14200 	    q
   14201 	  }
   14202 	  /^X\(\/\).*/{
   14203 	    s//\1/
   14204 	    q
   14205 	  }
   14206 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14207  ;;
   14208 
   14209   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   14210 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14211  ;;
   14212   esac
   14213 
   14214 
   14215   case $ac_file$ac_mode in
   14216     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   14217   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14218   # are listed without --file.  Let's play safe and only enable the eval
   14219   # if we detect the quoting.
   14220   case $CONFIG_FILES in
   14221   *\'*) eval set x "$CONFIG_FILES" ;;
   14222   *)   set x $CONFIG_FILES ;;
   14223   esac
   14224   shift
   14225   for mf
   14226   do
   14227     # Strip MF so we end up with the name of the file.
   14228     mf=`echo "$mf" | sed -e 's/:.*$//'`
   14229     # Check whether this is an Automake generated Makefile or not.
   14230     # We used to match only the files named `Makefile.in', but
   14231     # some people rename them; so instead we look at the file content.
   14232     # Grep'ing the first line is not enough: some people post-process
   14233     # each Makefile.in and add a new line on top of each file to say so.
   14234     # Grep'ing the whole file is not good either: AIX grep has a line
   14235     # limit of 2048, but all sed's we know have understand at least 4000.
   14236     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14237       dirpart=`$as_dirname -- "$mf" ||
   14238 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14239 	 X"$mf" : 'X\(//\)[^/]' \| \
   14240 	 X"$mf" : 'X\(//\)$' \| \
   14241 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14242 $as_echo X"$mf" |
   14243     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14244 	    s//\1/
   14245 	    q
   14246 	  }
   14247 	  /^X\(\/\/\)[^/].*/{
   14248 	    s//\1/
   14249 	    q
   14250 	  }
   14251 	  /^X\(\/\/\)$/{
   14252 	    s//\1/
   14253 	    q
   14254 	  }
   14255 	  /^X\(\/\).*/{
   14256 	    s//\1/
   14257 	    q
   14258 	  }
   14259 	  s/.*/./; q'`
   14260     else
   14261       continue
   14262     fi
   14263     # Extract the definition of DEPDIR, am__include, and am__quote
   14264     # from the Makefile without running `make'.
   14265     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14266     test -z "$DEPDIR" && continue
   14267     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14268     test -z "am__include" && continue
   14269     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14270     # When using ansi2knr, U may be empty or an underscore; expand it
   14271     U=`sed -n 's/^U = //p' < "$mf"`
   14272     # Find all dependency output files, they are included files with
   14273     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14274     # simplest approach to changing $(DEPDIR) to its actual value in the
   14275     # expansion.
   14276     for file in `sed -n "
   14277       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14278 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14279       # Make sure the directory exists.
   14280       test -f "$dirpart/$file" && continue
   14281       fdir=`$as_dirname -- "$file" ||
   14282 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14283 	 X"$file" : 'X\(//\)[^/]' \| \
   14284 	 X"$file" : 'X\(//\)$' \| \
   14285 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14286 $as_echo X"$file" |
   14287     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14288 	    s//\1/
   14289 	    q
   14290 	  }
   14291 	  /^X\(\/\/\)[^/].*/{
   14292 	    s//\1/
   14293 	    q
   14294 	  }
   14295 	  /^X\(\/\/\)$/{
   14296 	    s//\1/
   14297 	    q
   14298 	  }
   14299 	  /^X\(\/\).*/{
   14300 	    s//\1/
   14301 	    q
   14302 	  }
   14303 	  s/.*/./; q'`
   14304       { as_dir=$dirpart/$fdir
   14305   case $as_dir in #(
   14306   -*) as_dir=./$as_dir;;
   14307   esac
   14308   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14309     as_dirs=
   14310     while :; do
   14311       case $as_dir in #(
   14312       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14313       *) as_qdir=$as_dir;;
   14314       esac
   14315       as_dirs="'$as_qdir' $as_dirs"
   14316       as_dir=`$as_dirname -- "$as_dir" ||
   14317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14318 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14319 	 X"$as_dir" : 'X\(//\)$' \| \
   14320 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14321 $as_echo X"$as_dir" |
   14322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14323 	    s//\1/
   14324 	    q
   14325 	  }
   14326 	  /^X\(\/\/\)[^/].*/{
   14327 	    s//\1/
   14328 	    q
   14329 	  }
   14330 	  /^X\(\/\/\)$/{
   14331 	    s//\1/
   14332 	    q
   14333 	  }
   14334 	  /^X\(\/\).*/{
   14335 	    s//\1/
   14336 	    q
   14337 	  }
   14338 	  s/.*/./; q'`
   14339       test -d "$as_dir" && break
   14340     done
   14341     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14342   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14343 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14344    { (exit 1); exit 1; }; }; }
   14345       # echo "creating $dirpart/$file"
   14346       echo '# dummy' > "$dirpart/$file"
   14347     done
   14348   done
   14349 }
   14350  ;;
   14351     "libtool":C)
   14352 
   14353     # See if we are running on zsh, and set the options which allow our
   14354     # commands through without removal of \ escapes.
   14355     if test -n "${ZSH_VERSION+set}" ; then
   14356       setopt NO_GLOB_SUBST
   14357     fi
   14358 
   14359     cfgfile="${ofile}T"
   14360     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14361     $RM "$cfgfile"
   14362 
   14363     cat <<_LT_EOF >> "$cfgfile"
   14364 #! $SHELL
   14365 
   14366 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14367 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14368 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14369 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14370 #
   14371 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14372 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   14373 #   Written by Gordon Matzigkeit, 1996
   14374 #
   14375 #   This file is part of GNU Libtool.
   14376 #
   14377 # GNU Libtool is free software; you can redistribute it and/or
   14378 # modify it under the terms of the GNU General Public License as
   14379 # published by the Free Software Foundation; either version 2 of
   14380 # the License, or (at your option) any later version.
   14381 #
   14382 # As a special exception to the GNU General Public License,
   14383 # if you distribute this file as part of a program or library that
   14384 # is built using GNU Libtool, you may include this file under the
   14385 # same distribution terms that you use for the rest of that program.
   14386 #
   14387 # GNU Libtool is distributed in the hope that it will be useful,
   14388 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14389 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14390 # GNU General Public License for more details.
   14391 #
   14392 # You should have received a copy of the GNU General Public License
   14393 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14394 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14395 # obtained by writing to the Free Software Foundation, Inc.,
   14396 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14397 
   14398 
   14399 # The names of the tagged configurations supported by this script.
   14400 available_tags=""
   14401 
   14402 # ### BEGIN LIBTOOL CONFIG
   14403 
   14404 # Assembler program.
   14405 AS=$AS
   14406 
   14407 # DLL creation program.
   14408 DLLTOOL=$DLLTOOL
   14409 
   14410 # Object dumper program.
   14411 OBJDUMP=$OBJDUMP
   14412 
   14413 # Which release of libtool.m4 was used?
   14414 macro_version=$macro_version
   14415 macro_revision=$macro_revision
   14416 
   14417 # Whether or not to build shared libraries.
   14418 build_libtool_libs=$enable_shared
   14419 
   14420 # Whether or not to build static libraries.
   14421 build_old_libs=$enable_static
   14422 
   14423 # What type of objects to build.
   14424 pic_mode=$pic_mode
   14425 
   14426 # Whether or not to optimize for fast installation.
   14427 fast_install=$enable_fast_install
   14428 
   14429 # The host system.
   14430 host_alias=$host_alias
   14431 host=$host
   14432 host_os=$host_os
   14433 
   14434 # The build system.
   14435 build_alias=$build_alias
   14436 build=$build
   14437 build_os=$build_os
   14438 
   14439 # A sed program that does not truncate output.
   14440 SED=$lt_SED
   14441 
   14442 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14443 Xsed="\$SED -e 1s/^X//"
   14444 
   14445 # A grep program that handles long lines.
   14446 GREP=$lt_GREP
   14447 
   14448 # An ERE matcher.
   14449 EGREP=$lt_EGREP
   14450 
   14451 # A literal string matcher.
   14452 FGREP=$lt_FGREP
   14453 
   14454 # A BSD- or MS-compatible name lister.
   14455 NM=$lt_NM
   14456 
   14457 # Whether we need soft or hard links.
   14458 LN_S=$lt_LN_S
   14459 
   14460 # What is the maximum length of a command?
   14461 max_cmd_len=$max_cmd_len
   14462 
   14463 # Object file suffix (normally "o").
   14464 objext=$ac_objext
   14465 
   14466 # Executable file suffix (normally "").
   14467 exeext=$exeext
   14468 
   14469 # whether the shell understands "unset".
   14470 lt_unset=$lt_unset
   14471 
   14472 # turn spaces into newlines.
   14473 SP2NL=$lt_lt_SP2NL
   14474 
   14475 # turn newlines into spaces.
   14476 NL2SP=$lt_lt_NL2SP
   14477 
   14478 # How to create reloadable object files.
   14479 reload_flag=$lt_reload_flag
   14480 reload_cmds=$lt_reload_cmds
   14481 
   14482 # Method to check whether dependent libraries are shared objects.
   14483 deplibs_check_method=$lt_deplibs_check_method
   14484 
   14485 # Command to use when deplibs_check_method == "file_magic".
   14486 file_magic_cmd=$lt_file_magic_cmd
   14487 
   14488 # The archiver.
   14489 AR=$lt_AR
   14490 AR_FLAGS=$lt_AR_FLAGS
   14491 
   14492 # A symbol stripping program.
   14493 STRIP=$lt_STRIP
   14494 
   14495 # Commands used to install an old-style archive.
   14496 RANLIB=$lt_RANLIB
   14497 old_postinstall_cmds=$lt_old_postinstall_cmds
   14498 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14499 
   14500 # A C compiler.
   14501 LTCC=$lt_CC
   14502 
   14503 # LTCC compiler flags.
   14504 LTCFLAGS=$lt_CFLAGS
   14505 
   14506 # Take the output of nm and produce a listing of raw symbols and C names.
   14507 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14508 
   14509 # Transform the output of nm in a proper C declaration.
   14510 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14511 
   14512 # Transform the output of nm in a C name address pair.
   14513 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14514 
   14515 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14516 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14517 
   14518 # The name of the directory that contains temporary libtool files.
   14519 objdir=$objdir
   14520 
   14521 # Shell to use when invoking shell scripts.
   14522 SHELL=$lt_SHELL
   14523 
   14524 # An echo program that does not interpret backslashes.
   14525 ECHO=$lt_ECHO
   14526 
   14527 # Used to examine libraries when file_magic_cmd begins with "file".
   14528 MAGIC_CMD=$MAGIC_CMD
   14529 
   14530 # Must we lock files when doing compilation?
   14531 need_locks=$lt_need_locks
   14532 
   14533 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14534 DSYMUTIL=$lt_DSYMUTIL
   14535 
   14536 # Tool to change global to local symbols on Mac OS X.
   14537 NMEDIT=$lt_NMEDIT
   14538 
   14539 # Tool to manipulate fat objects and archives on Mac OS X.
   14540 LIPO=$lt_LIPO
   14541 
   14542 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14543 OTOOL=$lt_OTOOL
   14544 
   14545 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14546 OTOOL64=$lt_OTOOL64
   14547 
   14548 # Old archive suffix (normally "a").
   14549 libext=$libext
   14550 
   14551 # Shared library suffix (normally ".so").
   14552 shrext_cmds=$lt_shrext_cmds
   14553 
   14554 # The commands to extract the exported symbol list from a shared archive.
   14555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14556 
   14557 # Variables whose values should be saved in libtool wrapper scripts and
   14558 # restored at link time.
   14559 variables_saved_for_relink=$lt_variables_saved_for_relink
   14560 
   14561 # Do we need the "lib" prefix for modules?
   14562 need_lib_prefix=$need_lib_prefix
   14563 
   14564 # Do we need a version for libraries?
   14565 need_version=$need_version
   14566 
   14567 # Library versioning type.
   14568 version_type=$version_type
   14569 
   14570 # Shared library runtime path variable.
   14571 runpath_var=$runpath_var
   14572 
   14573 # Shared library path variable.
   14574 shlibpath_var=$shlibpath_var
   14575 
   14576 # Is shlibpath searched before the hard-coded library search path?
   14577 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14578 
   14579 # Format of library name prefix.
   14580 libname_spec=$lt_libname_spec
   14581 
   14582 # List of archive names.  First name is the real one, the rest are links.
   14583 # The last name is the one that the linker finds with -lNAME
   14584 library_names_spec=$lt_library_names_spec
   14585 
   14586 # The coded name of the library, if different from the real name.
   14587 soname_spec=$lt_soname_spec
   14588 
   14589 # Command to use after installation of a shared archive.
   14590 postinstall_cmds=$lt_postinstall_cmds
   14591 
   14592 # Command to use after uninstallation of a shared archive.
   14593 postuninstall_cmds=$lt_postuninstall_cmds
   14594 
   14595 # Commands used to finish a libtool library installation in a directory.
   14596 finish_cmds=$lt_finish_cmds
   14597 
   14598 # As "finish_cmds", except a single script fragment to be evaled but
   14599 # not shown.
   14600 finish_eval=$lt_finish_eval
   14601 
   14602 # Whether we should hardcode library paths into libraries.
   14603 hardcode_into_libs=$hardcode_into_libs
   14604 
   14605 # Compile-time system search path for libraries.
   14606 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14607 
   14608 # Run-time system search path for libraries.
   14609 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14610 
   14611 # Whether dlopen is supported.
   14612 dlopen_support=$enable_dlopen
   14613 
   14614 # Whether dlopen of programs is supported.
   14615 dlopen_self=$enable_dlopen_self
   14616 
   14617 # Whether dlopen of statically linked programs is supported.
   14618 dlopen_self_static=$enable_dlopen_self_static
   14619 
   14620 # Commands to strip libraries.
   14621 old_striplib=$lt_old_striplib
   14622 striplib=$lt_striplib
   14623 
   14624 
   14625 # The linker used to build libraries.
   14626 LD=$lt_LD
   14627 
   14628 # Commands used to build an old-style archive.
   14629 old_archive_cmds=$lt_old_archive_cmds
   14630 
   14631 # A language specific compiler.
   14632 CC=$lt_compiler
   14633 
   14634 # Is the compiler the GNU compiler?
   14635 with_gcc=$GCC
   14636 
   14637 # Compiler flag to turn off builtin functions.
   14638 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14639 
   14640 # How to pass a linker flag through the compiler.
   14641 wl=$lt_lt_prog_compiler_wl
   14642 
   14643 # Additional compiler flags for building library objects.
   14644 pic_flag=$lt_lt_prog_compiler_pic
   14645 
   14646 # Compiler flag to prevent dynamic linking.
   14647 link_static_flag=$lt_lt_prog_compiler_static
   14648 
   14649 # Does compiler simultaneously support -c and -o options?
   14650 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14651 
   14652 # Whether or not to add -lc for building shared libraries.
   14653 build_libtool_need_lc=$archive_cmds_need_lc
   14654 
   14655 # Whether or not to disallow shared libs when runtime libs are static.
   14656 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14657 
   14658 # Compiler flag to allow reflexive dlopens.
   14659 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14660 
   14661 # Compiler flag to generate shared objects directly from archives.
   14662 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14663 
   14664 # Whether the compiler copes with passing no objects directly.
   14665 compiler_needs_object=$lt_compiler_needs_object
   14666 
   14667 # Create an old-style archive from a shared archive.
   14668 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14669 
   14670 # Create a temporary old-style archive to link instead of a shared archive.
   14671 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14672 
   14673 # Commands used to build a shared archive.
   14674 archive_cmds=$lt_archive_cmds
   14675 archive_expsym_cmds=$lt_archive_expsym_cmds
   14676 
   14677 # Commands used to build a loadable module if different from building
   14678 # a shared archive.
   14679 module_cmds=$lt_module_cmds
   14680 module_expsym_cmds=$lt_module_expsym_cmds
   14681 
   14682 # Whether we are building with GNU ld or not.
   14683 with_gnu_ld=$lt_with_gnu_ld
   14684 
   14685 # Flag that allows shared libraries with undefined symbols to be built.
   14686 allow_undefined_flag=$lt_allow_undefined_flag
   14687 
   14688 # Flag that enforces no undefined symbols.
   14689 no_undefined_flag=$lt_no_undefined_flag
   14690 
   14691 # Flag to hardcode \$libdir into a binary during linking.
   14692 # This must work even if \$libdir does not exist
   14693 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14694 
   14695 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14696 # during linking.  This must work even if \$libdir does not exist.
   14697 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14698 
   14699 # Whether we need a single "-rpath" flag with a separated argument.
   14700 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14701 
   14702 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14703 # DIR into the resulting binary.
   14704 hardcode_direct=$hardcode_direct
   14705 
   14706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14707 # DIR into the resulting binary and the resulting library dependency is
   14708 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14709 # library is relocated.
   14710 hardcode_direct_absolute=$hardcode_direct_absolute
   14711 
   14712 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14713 # into the resulting binary.
   14714 hardcode_minus_L=$hardcode_minus_L
   14715 
   14716 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14717 # into the resulting binary.
   14718 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14719 
   14720 # Set to "yes" if building a shared library automatically hardcodes DIR
   14721 # into the library and all subsequent libraries and executables linked
   14722 # against it.
   14723 hardcode_automatic=$hardcode_automatic
   14724 
   14725 # Set to yes if linker adds runtime paths of dependent libraries
   14726 # to runtime path list.
   14727 inherit_rpath=$inherit_rpath
   14728 
   14729 # Whether libtool must link a program against all its dependency libraries.
   14730 link_all_deplibs=$link_all_deplibs
   14731 
   14732 # Fix the shell variable \$srcfile for the compiler.
   14733 fix_srcfile_path=$lt_fix_srcfile_path
   14734 
   14735 # Set to "yes" if exported symbols are required.
   14736 always_export_symbols=$always_export_symbols
   14737 
   14738 # The commands to list exported symbols.
   14739 export_symbols_cmds=$lt_export_symbols_cmds
   14740 
   14741 # Symbols that should not be listed in the preloaded symbols.
   14742 exclude_expsyms=$lt_exclude_expsyms
   14743 
   14744 # Symbols that must always be exported.
   14745 include_expsyms=$lt_include_expsyms
   14746 
   14747 # Commands necessary for linking programs (against libraries) with templates.
   14748 prelink_cmds=$lt_prelink_cmds
   14749 
   14750 # Specify filename containing input files.
   14751 file_list_spec=$lt_file_list_spec
   14752 
   14753 # How to hardcode a shared library path into an executable.
   14754 hardcode_action=$hardcode_action
   14755 
   14756 # ### END LIBTOOL CONFIG
   14757 
   14758 _LT_EOF
   14759 
   14760   case $host_os in
   14761   aix3*)
   14762     cat <<\_LT_EOF >> "$cfgfile"
   14763 # AIX sometimes has problems with the GCC collect2 program.  For some
   14764 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14765 # vanish in a puff of smoke.
   14766 if test "X${COLLECT_NAMES+set}" != Xset; then
   14767   COLLECT_NAMES=
   14768   export COLLECT_NAMES
   14769 fi
   14770 _LT_EOF
   14771     ;;
   14772   esac
   14773 
   14774 
   14775 ltmain="$ac_aux_dir/ltmain.sh"
   14776 
   14777 
   14778   # We use sed instead of cat because bash on DJGPP gets confused if
   14779   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14780   # text mode, it properly converts lines to CR/LF.  This bash problem
   14781   # is reportedly fixed, but why not run on old versions too?
   14782   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14783     || (rm -f "$cfgfile"; exit 1)
   14784 
   14785   case $xsi_shell in
   14786   yes)
   14787     cat << \_LT_EOF >> "$cfgfile"
   14788 
   14789 # func_dirname file append nondir_replacement
   14790 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14791 # otherwise set result to NONDIR_REPLACEMENT.
   14792 func_dirname ()
   14793 {
   14794   case ${1} in
   14795     */*) func_dirname_result="${1%/*}${2}" ;;
   14796     *  ) func_dirname_result="${3}" ;;
   14797   esac
   14798 }
   14799 
   14800 # func_basename file
   14801 func_basename ()
   14802 {
   14803   func_basename_result="${1##*/}"
   14804 }
   14805 
   14806 # func_dirname_and_basename file append nondir_replacement
   14807 # perform func_basename and func_dirname in a single function
   14808 # call:
   14809 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14810 #             add APPEND to the result, otherwise set result
   14811 #             to NONDIR_REPLACEMENT.
   14812 #             value returned in "$func_dirname_result"
   14813 #   basename: Compute filename of FILE.
   14814 #             value retuned in "$func_basename_result"
   14815 # Implementation must be kept synchronized with func_dirname
   14816 # and func_basename. For efficiency, we do not delegate to
   14817 # those functions but instead duplicate the functionality here.
   14818 func_dirname_and_basename ()
   14819 {
   14820   case ${1} in
   14821     */*) func_dirname_result="${1%/*}${2}" ;;
   14822     *  ) func_dirname_result="${3}" ;;
   14823   esac
   14824   func_basename_result="${1##*/}"
   14825 }
   14826 
   14827 # func_stripname prefix suffix name
   14828 # strip PREFIX and SUFFIX off of NAME.
   14829 # PREFIX and SUFFIX must not contain globbing or regex special
   14830 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14831 # dot (in which case that matches only a dot).
   14832 func_stripname ()
   14833 {
   14834   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14835   # positional parameters, so assign one to ordinary parameter first.
   14836   func_stripname_result=${3}
   14837   func_stripname_result=${func_stripname_result#"${1}"}
   14838   func_stripname_result=${func_stripname_result%"${2}"}
   14839 }
   14840 
   14841 # func_opt_split
   14842 func_opt_split ()
   14843 {
   14844   func_opt_split_opt=${1%%=*}
   14845   func_opt_split_arg=${1#*=}
   14846 }
   14847 
   14848 # func_lo2o object
   14849 func_lo2o ()
   14850 {
   14851   case ${1} in
   14852     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14853     *)    func_lo2o_result=${1} ;;
   14854   esac
   14855 }
   14856 
   14857 # func_xform libobj-or-source
   14858 func_xform ()
   14859 {
   14860   func_xform_result=${1%.*}.lo
   14861 }
   14862 
   14863 # func_arith arithmetic-term...
   14864 func_arith ()
   14865 {
   14866   func_arith_result=$(( $* ))
   14867 }
   14868 
   14869 # func_len string
   14870 # STRING may not start with a hyphen.
   14871 func_len ()
   14872 {
   14873   func_len_result=${#1}
   14874 }
   14875 
   14876 _LT_EOF
   14877     ;;
   14878   *) # Bourne compatible functions.
   14879     cat << \_LT_EOF >> "$cfgfile"
   14880 
   14881 # func_dirname file append nondir_replacement
   14882 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14883 # otherwise set result to NONDIR_REPLACEMENT.
   14884 func_dirname ()
   14885 {
   14886   # Extract subdirectory from the argument.
   14887   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14888   if test "X$func_dirname_result" = "X${1}"; then
   14889     func_dirname_result="${3}"
   14890   else
   14891     func_dirname_result="$func_dirname_result${2}"
   14892   fi
   14893 }
   14894 
   14895 # func_basename file
   14896 func_basename ()
   14897 {
   14898   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14899 }
   14900 
   14901 
   14902 # func_stripname prefix suffix name
   14903 # strip PREFIX and SUFFIX off of NAME.
   14904 # PREFIX and SUFFIX must not contain globbing or regex special
   14905 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14906 # dot (in which case that matches only a dot).
   14907 # func_strip_suffix prefix name
   14908 func_stripname ()
   14909 {
   14910   case ${2} in
   14911     .*) func_stripname_result=`$ECHO "X${3}" \
   14912            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14913     *)  func_stripname_result=`$ECHO "X${3}" \
   14914            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14915   esac
   14916 }
   14917 
   14918 # sed scripts:
   14919 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14920 my_sed_long_arg='1s/^-[^=]*=//'
   14921 
   14922 # func_opt_split
   14923 func_opt_split ()
   14924 {
   14925   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14926   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14927 }
   14928 
   14929 # func_lo2o object
   14930 func_lo2o ()
   14931 {
   14932   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14933 }
   14934 
   14935 # func_xform libobj-or-source
   14936 func_xform ()
   14937 {
   14938   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14939 }
   14940 
   14941 # func_arith arithmetic-term...
   14942 func_arith ()
   14943 {
   14944   func_arith_result=`expr "$@"`
   14945 }
   14946 
   14947 # func_len string
   14948 # STRING may not start with a hyphen.
   14949 func_len ()
   14950 {
   14951   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14952 }
   14953 
   14954 _LT_EOF
   14955 esac
   14956 
   14957 case $lt_shell_append in
   14958   yes)
   14959     cat << \_LT_EOF >> "$cfgfile"
   14960 
   14961 # func_append var value
   14962 # Append VALUE to the end of shell variable VAR.
   14963 func_append ()
   14964 {
   14965   eval "$1+=\$2"
   14966 }
   14967 _LT_EOF
   14968     ;;
   14969   *)
   14970     cat << \_LT_EOF >> "$cfgfile"
   14971 
   14972 # func_append var value
   14973 # Append VALUE to the end of shell variable VAR.
   14974 func_append ()
   14975 {
   14976   eval "$1=\$$1\$2"
   14977 }
   14978 
   14979 _LT_EOF
   14980     ;;
   14981   esac
   14982 
   14983 
   14984   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14985     || (rm -f "$cfgfile"; exit 1)
   14986 
   14987   mv -f "$cfgfile" "$ofile" ||
   14988     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14989   chmod +x "$ofile"
   14990 
   14991  ;;
   14992 
   14993   esac
   14994 done # for ac_tag
   14995 
   14996 
   14997 { (exit 0); exit 0; }
   14998 _ACEOF
   14999 chmod +x $CONFIG_STATUS
   15000 ac_clean_files=$ac_clean_files_save
   15001 
   15002 test $ac_write_fail = 0 ||
   15003   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15004 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15005    { (exit 1); exit 1; }; }
   15006 
   15007 
   15008 # configure is writing to config.log, and then calls config.status.
   15009 # config.status does its own redirection, appending to config.log.
   15010 # Unfortunately, on DOS this fails, as config.log is still kept open
   15011 # by configure, so config.status won't be able to write to it; its
   15012 # output is simply discarded.  So we exec the FD to /dev/null,
   15013 # effectively closing config.log, so it can be properly (re)opened and
   15014 # appended to by config.status.  When coming back to configure, we
   15015 # need to make the FD available again.
   15016 if test "$no_create" != yes; then
   15017   ac_cs_success=:
   15018   ac_config_status_args=
   15019   test "$silent" = yes &&
   15020     ac_config_status_args="$ac_config_status_args --quiet"
   15021   exec 5>/dev/null
   15022   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15023   exec 5>>config.log
   15024   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15025   # would make configure fail if this is the last instruction.
   15026   $ac_cs_success || { (exit 1); exit 1; }
   15027 fi
   15028 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15029   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15030 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15031 fi
   15032 
   15033