Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xdm 1.1.6.
      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 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   # Zsh 3.x and 4.x performs 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 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='xdm'
    730 PACKAGE_TARNAME='xdm'
    731 PACKAGE_VERSION='1.1.6'
    732 PACKAGE_STRING='xdm 1.1.6'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 # Factoring default headers for most tests.
    736 ac_includes_default="\
    737 #include <stdio.h>
    738 #ifdef HAVE_SYS_TYPES_H
    739 # include <sys/types.h>
    740 #endif
    741 #ifdef HAVE_SYS_STAT_H
    742 # include <sys/stat.h>
    743 #endif
    744 #ifdef STDC_HEADERS
    745 # include <stdlib.h>
    746 # include <stddef.h>
    747 #else
    748 # ifdef HAVE_STDLIB_H
    749 #  include <stdlib.h>
    750 # endif
    751 #endif
    752 #ifdef HAVE_STRING_H
    753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    754 #  include <memory.h>
    755 # endif
    756 # include <string.h>
    757 #endif
    758 #ifdef HAVE_STRINGS_H
    759 # include <strings.h>
    760 #endif
    761 #ifdef HAVE_INTTYPES_H
    762 # include <inttypes.h>
    763 #endif
    764 #ifdef HAVE_STDINT_H
    765 # include <stdint.h>
    766 #endif
    767 #ifdef HAVE_UNISTD_H
    768 # include <unistd.h>
    769 #endif"
    770 
    771 ac_subst_vars='SHELL
    772 PATH_SEPARATOR
    773 PACKAGE_NAME
    774 PACKAGE_TARNAME
    775 PACKAGE_VERSION
    776 PACKAGE_STRING
    777 PACKAGE_BUGREPORT
    778 exec_prefix
    779 prefix
    780 program_transform_name
    781 bindir
    782 sbindir
    783 libexecdir
    784 datarootdir
    785 datadir
    786 sysconfdir
    787 sharedstatedir
    788 localstatedir
    789 includedir
    790 oldincludedir
    791 docdir
    792 infodir
    793 htmldir
    794 dvidir
    795 pdfdir
    796 psdir
    797 libdir
    798 localedir
    799 mandir
    800 DEFS
    801 ECHO_C
    802 ECHO_N
    803 ECHO_T
    804 LIBS
    805 build_alias
    806 host_alias
    807 target_alias
    808 INSTALL_PROGRAM
    809 INSTALL_SCRIPT
    810 INSTALL_DATA
    811 am__isrc
    812 CYGPATH_W
    813 PACKAGE
    814 VERSION
    815 ACLOCAL
    816 AUTOCONF
    817 AUTOMAKE
    818 AUTOHEADER
    819 MAKEINFO
    820 install_sh
    821 STRIP
    822 INSTALL_STRIP_PROGRAM
    823 mkdir_p
    824 AWK
    825 SET_MAKE
    826 am__leading_dot
    827 AMTAR
    828 am__tar
    829 am__untar
    830 MAINTAINER_MODE_TRUE
    831 MAINTAINER_MODE_FALSE
    832 MAINT
    833 CC
    834 CFLAGS
    835 LDFLAGS
    836 CPPFLAGS
    837 ac_ct_CC
    838 EXEEXT
    839 OBJEXT
    840 DEPDIR
    841 am__include
    842 am__quote
    843 AMDEP_TRUE
    844 AMDEP_FALSE
    845 AMDEPBACKSLASH
    846 CCDEPMODE
    847 am__fastdepCC_TRUE
    848 am__fastdepCC_FALSE
    849 build
    850 build_cpu
    851 build_vendor
    852 build_os
    853 host
    854 host_cpu
    855 host_vendor
    856 host_os
    857 GREP
    858 EGREP
    859 LN_S
    860 ECHO
    861 AR
    862 RANLIB
    863 DLLTOOL
    864 AS
    865 OBJDUMP
    866 CPP
    867 CXX
    868 CXXFLAGS
    869 ac_ct_CXX
    870 CXXDEPMODE
    871 am__fastdepCXX_TRUE
    872 am__fastdepCXX_FALSE
    873 CXXCPP
    874 F77
    875 FFLAGS
    876 ac_ct_F77
    877 LIBTOOL
    878 RAWCPP
    879 RAWCPPFLAGS
    880 MKTEMP_COMMAND
    881 HAVE_MKTEMP_COMMAND_TRUE
    882 HAVE_MKTEMP_COMMAND_FALSE
    883 HAS_SECURE_RPC_TRUE
    884 HAS_SECURE_RPC_FALSE
    885 SU
    886 HAS_ARC4_RANDOM_TRUE
    887 HAS_ARC4_RANDOM_FALSE
    888 RANDOMMANDEFS
    889 HAS_KERBEROS_FIVE_TRUE
    890 HAS_KERBEROS_FIVE_FALSE
    891 XDMLIBDIR
    892 XDMCONFIGDIR
    893 XDMSCRIPTDIR
    894 XDMLOGDIR
    895 XDMPIDDIR
    896 DEFAULTVT
    897 SERVERSTYPE
    898 SHELL_CMD
    899 PKG_CONFIG
    900 XDM_CFLAGS
    901 XDM_LIBS
    902 XINERAMA_CFLAGS
    903 XINERAMA_LIBS
    904 XFT_CFLAGS
    905 XFT_LIBS
    906 XPM_CFLAGS
    907 XPM_LIBS
    908 USE_XPM_TRUE
    909 USE_XPM_FALSE
    910 XDM_PIXMAP
    911 XDM_BWPIXMAP
    912 XDM_PIXMAPDIR
    913 TMP_XAW_CFLAGS
    914 TMP_XAW_LIBS
    915 XAW_USE_XPRINT_TRUE
    916 XAW_USE_XPRINT_FALSE
    917 DMCP_CFLAGS
    918 DMCP_LIBS
    919 XLIB_CFLAGS
    920 XLIB_LIBS
    921 AUTH_CFLAGS
    922 AUTH_LIBS
    923 XDMGREET_CFLAGS
    924 XDMGREET_LIBS
    925 DEF_GREETER_LIB
    926 DYNAMIC_GREETER_TRUE
    927 DYNAMIC_GREETER_FALSE
    928 HAS_XDM_AUTH_TRUE
    929 HAS_XDM_AUTH_FALSE
    930 XDM_LDFLAGS
    931 XT_CFLAGS
    932 XT_LIBS
    933 XDMSHELL_CFLAGS
    934 XDMSHELL_LIBS
    935 CHOOSER_CFLAGS
    936 CHOOSER_LIBS
    937 DEF_SERVER_LINE
    938 XRDB_PROGRAM
    939 DEF_SESSION
    940 DEF_USER_PATH
    941 DEF_SYSTEM_PATH
    942 DEF_SYSTEM_SHELL
    943 DEF_FAILSAFE_CLIENT
    944 DEF_XDM_CONFIG
    945 DEF_CHOOSER
    946 DEF_AUTH_DIR
    947 APPDEFS_CFLAGS
    948 APPDEFS_LIBS
    949 appdefaultdir
    950 LINT
    951 LINT_FLAGS
    952 LINT_TRUE
    953 LINT_FALSE
    954 APP_MAN_SUFFIX
    955 LIB_MAN_SUFFIX
    956 FILE_MAN_SUFFIX
    957 MISC_MAN_SUFFIX
    958 DRIVER_MAN_SUFFIX
    959 ADMIN_MAN_SUFFIX
    960 APP_MAN_DIR
    961 LIB_MAN_DIR
    962 FILE_MAN_DIR
    963 MISC_MAN_DIR
    964 DRIVER_MAN_DIR
    965 ADMIN_MAN_DIR
    966 LIBOBJS
    967 LTLIBOBJS'
    968 ac_subst_files=''
    969       ac_precious_vars='build_alias
    970 host_alias
    971 target_alias
    972 CC
    973 CFLAGS
    974 LDFLAGS
    975 LIBS
    976 CPPFLAGS
    977 CPP
    978 CXX
    979 CXXFLAGS
    980 CCC
    981 CXXCPP
    982 F77
    983 FFLAGS
    984 PKG_CONFIG
    985 XDM_CFLAGS
    986 XDM_LIBS
    987 XINERAMA_CFLAGS
    988 XINERAMA_LIBS
    989 XFT_CFLAGS
    990 XFT_LIBS
    991 XPM_CFLAGS
    992 XPM_LIBS
    993 TMP_XAW_CFLAGS
    994 TMP_XAW_LIBS
    995 DMCP_CFLAGS
    996 DMCP_LIBS
    997 XLIB_CFLAGS
    998 XLIB_LIBS
    999 AUTH_CFLAGS
   1000 AUTH_LIBS
   1001 XDMGREET_CFLAGS
   1002 XDMGREET_LIBS
   1003 XT_CFLAGS
   1004 XT_LIBS
   1005 APPDEFS_CFLAGS
   1006 APPDEFS_LIBS'
   1007 
   1008 
   1009 # Initialize some variables set by options.
   1010 ac_init_help=
   1011 ac_init_version=false
   1012 # The variables have the same names as the options, with
   1013 # dashes changed to underlines.
   1014 cache_file=/dev/null
   1015 exec_prefix=NONE
   1016 no_create=
   1017 no_recursion=
   1018 prefix=NONE
   1019 program_prefix=NONE
   1020 program_suffix=NONE
   1021 program_transform_name=s,x,x,
   1022 silent=
   1023 site=
   1024 srcdir=
   1025 verbose=
   1026 x_includes=NONE
   1027 x_libraries=NONE
   1028 
   1029 # Installation directory options.
   1030 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1031 # and all the variables that are supposed to be based on exec_prefix
   1032 # by default will actually change.
   1033 # Use braces instead of parens because sh, perl, etc. also accept them.
   1034 # (The list follows the same order as the GNU Coding Standards.)
   1035 bindir='${exec_prefix}/bin'
   1036 sbindir='${exec_prefix}/sbin'
   1037 libexecdir='${exec_prefix}/libexec'
   1038 datarootdir='${prefix}/share'
   1039 datadir='${datarootdir}'
   1040 sysconfdir='${prefix}/etc'
   1041 sharedstatedir='${prefix}/com'
   1042 localstatedir='${prefix}/var'
   1043 includedir='${prefix}/include'
   1044 oldincludedir='/usr/include'
   1045 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1046 infodir='${datarootdir}/info'
   1047 htmldir='${docdir}'
   1048 dvidir='${docdir}'
   1049 pdfdir='${docdir}'
   1050 psdir='${docdir}'
   1051 libdir='${exec_prefix}/lib'
   1052 localedir='${datarootdir}/locale'
   1053 mandir='${datarootdir}/man'
   1054 
   1055 ac_prev=
   1056 ac_dashdash=
   1057 for ac_option
   1058 do
   1059   # If the previous option needs an argument, assign it.
   1060   if test -n "$ac_prev"; then
   1061     eval $ac_prev=\$ac_option
   1062     ac_prev=
   1063     continue
   1064   fi
   1065 
   1066   case $ac_option in
   1067   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1068   *)	ac_optarg=yes ;;
   1069   esac
   1070 
   1071   # Accept the important Cygnus configure options, so we can diagnose typos.
   1072 
   1073   case $ac_dashdash$ac_option in
   1074   --)
   1075     ac_dashdash=yes ;;
   1076 
   1077   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1078     ac_prev=bindir ;;
   1079   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1080     bindir=$ac_optarg ;;
   1081 
   1082   -build | --build | --buil | --bui | --bu)
   1083     ac_prev=build_alias ;;
   1084   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1085     build_alias=$ac_optarg ;;
   1086 
   1087   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1088   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1089     ac_prev=cache_file ;;
   1090   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1091   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1092     cache_file=$ac_optarg ;;
   1093 
   1094   --config-cache | -C)
   1095     cache_file=config.cache ;;
   1096 
   1097   -datadir | --datadir | --datadi | --datad)
   1098     ac_prev=datadir ;;
   1099   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1100     datadir=$ac_optarg ;;
   1101 
   1102   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1103   | --dataroo | --dataro | --datar)
   1104     ac_prev=datarootdir ;;
   1105   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1106   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1107     datarootdir=$ac_optarg ;;
   1108 
   1109   -disable-* | --disable-*)
   1110     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1111     # Reject names that are not valid shell variable names.
   1112     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1113       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1114    { (exit 1); exit 1; }; }
   1115     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1116     eval enable_$ac_feature=no ;;
   1117 
   1118   -docdir | --docdir | --docdi | --doc | --do)
   1119     ac_prev=docdir ;;
   1120   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1121     docdir=$ac_optarg ;;
   1122 
   1123   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1124     ac_prev=dvidir ;;
   1125   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1126     dvidir=$ac_optarg ;;
   1127 
   1128   -enable-* | --enable-*)
   1129     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1132       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1133    { (exit 1); exit 1; }; }
   1134     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1135     eval enable_$ac_feature=\$ac_optarg ;;
   1136 
   1137   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1138   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1139   | --exec | --exe | --ex)
   1140     ac_prev=exec_prefix ;;
   1141   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1142   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1143   | --exec=* | --exe=* | --ex=*)
   1144     exec_prefix=$ac_optarg ;;
   1145 
   1146   -gas | --gas | --ga | --g)
   1147     # Obsolete; use --with-gas.
   1148     with_gas=yes ;;
   1149 
   1150   -help | --help | --hel | --he | -h)
   1151     ac_init_help=long ;;
   1152   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1153     ac_init_help=recursive ;;
   1154   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1155     ac_init_help=short ;;
   1156 
   1157   -host | --host | --hos | --ho)
   1158     ac_prev=host_alias ;;
   1159   -host=* | --host=* | --hos=* | --ho=*)
   1160     host_alias=$ac_optarg ;;
   1161 
   1162   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1163     ac_prev=htmldir ;;
   1164   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1165   | --ht=*)
   1166     htmldir=$ac_optarg ;;
   1167 
   1168   -includedir | --includedir | --includedi | --included | --include \
   1169   | --includ | --inclu | --incl | --inc)
   1170     ac_prev=includedir ;;
   1171   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1172   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1173     includedir=$ac_optarg ;;
   1174 
   1175   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1176     ac_prev=infodir ;;
   1177   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1178     infodir=$ac_optarg ;;
   1179 
   1180   -libdir | --libdir | --libdi | --libd)
   1181     ac_prev=libdir ;;
   1182   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1183     libdir=$ac_optarg ;;
   1184 
   1185   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1186   | --libexe | --libex | --libe)
   1187     ac_prev=libexecdir ;;
   1188   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1189   | --libexe=* | --libex=* | --libe=*)
   1190     libexecdir=$ac_optarg ;;
   1191 
   1192   -localedir | --localedir | --localedi | --localed | --locale)
   1193     ac_prev=localedir ;;
   1194   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1195     localedir=$ac_optarg ;;
   1196 
   1197   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1198   | --localstate | --localstat | --localsta | --localst | --locals)
   1199     ac_prev=localstatedir ;;
   1200   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1201   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1202     localstatedir=$ac_optarg ;;
   1203 
   1204   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1205     ac_prev=mandir ;;
   1206   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1207     mandir=$ac_optarg ;;
   1208 
   1209   -nfp | --nfp | --nf)
   1210     # Obsolete; use --without-fp.
   1211     with_fp=no ;;
   1212 
   1213   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1214   | --no-cr | --no-c | -n)
   1215     no_create=yes ;;
   1216 
   1217   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1218   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1219     no_recursion=yes ;;
   1220 
   1221   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1222   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1223   | --oldin | --oldi | --old | --ol | --o)
   1224     ac_prev=oldincludedir ;;
   1225   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1226   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1227   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1228     oldincludedir=$ac_optarg ;;
   1229 
   1230   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1231     ac_prev=prefix ;;
   1232   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1233     prefix=$ac_optarg ;;
   1234 
   1235   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1236   | --program-pre | --program-pr | --program-p)
   1237     ac_prev=program_prefix ;;
   1238   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1239   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1240     program_prefix=$ac_optarg ;;
   1241 
   1242   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1243   | --program-suf | --program-su | --program-s)
   1244     ac_prev=program_suffix ;;
   1245   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1246   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1247     program_suffix=$ac_optarg ;;
   1248 
   1249   -program-transform-name | --program-transform-name \
   1250   | --program-transform-nam | --program-transform-na \
   1251   | --program-transform-n | --program-transform- \
   1252   | --program-transform | --program-transfor \
   1253   | --program-transfo | --program-transf \
   1254   | --program-trans | --program-tran \
   1255   | --progr-tra | --program-tr | --program-t)
   1256     ac_prev=program_transform_name ;;
   1257   -program-transform-name=* | --program-transform-name=* \
   1258   | --program-transform-nam=* | --program-transform-na=* \
   1259   | --program-transform-n=* | --program-transform-=* \
   1260   | --program-transform=* | --program-transfor=* \
   1261   | --program-transfo=* | --program-transf=* \
   1262   | --program-trans=* | --program-tran=* \
   1263   | --progr-tra=* | --program-tr=* | --program-t=*)
   1264     program_transform_name=$ac_optarg ;;
   1265 
   1266   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1267     ac_prev=pdfdir ;;
   1268   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1269     pdfdir=$ac_optarg ;;
   1270 
   1271   -psdir | --psdir | --psdi | --psd | --ps)
   1272     ac_prev=psdir ;;
   1273   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1274     psdir=$ac_optarg ;;
   1275 
   1276   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1277   | -silent | --silent | --silen | --sile | --sil)
   1278     silent=yes ;;
   1279 
   1280   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1281     ac_prev=sbindir ;;
   1282   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1283   | --sbi=* | --sb=*)
   1284     sbindir=$ac_optarg ;;
   1285 
   1286   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1287   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1288   | --sharedst | --shareds | --shared | --share | --shar \
   1289   | --sha | --sh)
   1290     ac_prev=sharedstatedir ;;
   1291   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1292   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1293   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1294   | --sha=* | --sh=*)
   1295     sharedstatedir=$ac_optarg ;;
   1296 
   1297   -site | --site | --sit)
   1298     ac_prev=site ;;
   1299   -site=* | --site=* | --sit=*)
   1300     site=$ac_optarg ;;
   1301 
   1302   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1303     ac_prev=srcdir ;;
   1304   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1305     srcdir=$ac_optarg ;;
   1306 
   1307   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1308   | --syscon | --sysco | --sysc | --sys | --sy)
   1309     ac_prev=sysconfdir ;;
   1310   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1311   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1312     sysconfdir=$ac_optarg ;;
   1313 
   1314   -target | --target | --targe | --targ | --tar | --ta | --t)
   1315     ac_prev=target_alias ;;
   1316   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1317     target_alias=$ac_optarg ;;
   1318 
   1319   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1320     verbose=yes ;;
   1321 
   1322   -version | --version | --versio | --versi | --vers | -V)
   1323     ac_init_version=: ;;
   1324 
   1325   -with-* | --with-*)
   1326     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1327     # Reject names that are not valid shell variable names.
   1328     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1329       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1330    { (exit 1); exit 1; }; }
   1331     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1332     eval with_$ac_package=\$ac_optarg ;;
   1333 
   1334   -without-* | --without-*)
   1335     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1336     # Reject names that are not valid shell variable names.
   1337     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1338       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1339    { (exit 1); exit 1; }; }
   1340     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1341     eval with_$ac_package=no ;;
   1342 
   1343   --x)
   1344     # Obsolete; use --with-x.
   1345     with_x=yes ;;
   1346 
   1347   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1348   | --x-incl | --x-inc | --x-in | --x-i)
   1349     ac_prev=x_includes ;;
   1350   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1351   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1352     x_includes=$ac_optarg ;;
   1353 
   1354   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1355   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1356     ac_prev=x_libraries ;;
   1357   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1358   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1359     x_libraries=$ac_optarg ;;
   1360 
   1361   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1362 Try \`$0 --help' for more information." >&2
   1363    { (exit 1); exit 1; }; }
   1364     ;;
   1365 
   1366   *=*)
   1367     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1368     # Reject names that are not valid shell variable names.
   1369     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1370       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1371    { (exit 1); exit 1; }; }
   1372     eval $ac_envvar=\$ac_optarg
   1373     export $ac_envvar ;;
   1374 
   1375   *)
   1376     # FIXME: should be removed in autoconf 3.0.
   1377     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1378     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1379       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1380     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1381     ;;
   1382 
   1383   esac
   1384 done
   1385 
   1386 if test -n "$ac_prev"; then
   1387   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1388   { echo "$as_me: error: missing argument to $ac_option" >&2
   1389    { (exit 1); exit 1; }; }
   1390 fi
   1391 
   1392 # Be sure to have absolute directory names.
   1393 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1394 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1395 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1396 		libdir localedir mandir
   1397 do
   1398   eval ac_val=\$$ac_var
   1399   case $ac_val in
   1400     [\\/$]* | ?:[\\/]* )  continue;;
   1401     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1402   esac
   1403   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1404    { (exit 1); exit 1; }; }
   1405 done
   1406 
   1407 # There might be people who depend on the old broken behavior: `$host'
   1408 # used to hold the argument of --host etc.
   1409 # FIXME: To remove some day.
   1410 build=$build_alias
   1411 host=$host_alias
   1412 target=$target_alias
   1413 
   1414 # FIXME: To remove some day.
   1415 if test "x$host_alias" != x; then
   1416   if test "x$build_alias" = x; then
   1417     cross_compiling=maybe
   1418     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1419     If a cross compiler is detected then cross compile mode will be used." >&2
   1420   elif test "x$build_alias" != "x$host_alias"; then
   1421     cross_compiling=yes
   1422   fi
   1423 fi
   1424 
   1425 ac_tool_prefix=
   1426 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1427 
   1428 test "$silent" = yes && exec 6>/dev/null
   1429 
   1430 
   1431 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1432 ac_ls_di=`ls -di .` &&
   1433 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1434   { echo "$as_me: error: Working directory cannot be determined" >&2
   1435    { (exit 1); exit 1; }; }
   1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1437   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1438    { (exit 1); exit 1; }; }
   1439 
   1440 
   1441 # Find the source files, if location was not specified.
   1442 if test -z "$srcdir"; then
   1443   ac_srcdir_defaulted=yes
   1444   # Try the directory containing this script, then the parent directory.
   1445   ac_confdir=`$as_dirname -- "$0" ||
   1446 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1447 	 X"$0" : 'X\(//\)[^/]' \| \
   1448 	 X"$0" : 'X\(//\)$' \| \
   1449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1450 echo X"$0" |
   1451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1452 	    s//\1/
   1453 	    q
   1454 	  }
   1455 	  /^X\(\/\/\)[^/].*/{
   1456 	    s//\1/
   1457 	    q
   1458 	  }
   1459 	  /^X\(\/\/\)$/{
   1460 	    s//\1/
   1461 	    q
   1462 	  }
   1463 	  /^X\(\/\).*/{
   1464 	    s//\1/
   1465 	    q
   1466 	  }
   1467 	  s/.*/./; q'`
   1468   srcdir=$ac_confdir
   1469   if test ! -r "$srcdir/$ac_unique_file"; then
   1470     srcdir=..
   1471   fi
   1472 else
   1473   ac_srcdir_defaulted=no
   1474 fi
   1475 if test ! -r "$srcdir/$ac_unique_file"; then
   1476   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1477   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1478    { (exit 1); exit 1; }; }
   1479 fi
   1480 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1481 ac_abs_confdir=`(
   1482 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1483    { (exit 1); exit 1; }; }
   1484 	pwd)`
   1485 # When building in place, set srcdir=.
   1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1487   srcdir=.
   1488 fi
   1489 # Remove unnecessary trailing slashes from srcdir.
   1490 # Double slashes in file names in object file debugging info
   1491 # mess up M-x gdb in Emacs.
   1492 case $srcdir in
   1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1494 esac
   1495 for ac_var in $ac_precious_vars; do
   1496   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1497   eval ac_env_${ac_var}_value=\$${ac_var}
   1498   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1499   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1500 done
   1501 
   1502 #
   1503 # Report the --help message.
   1504 #
   1505 if test "$ac_init_help" = "long"; then
   1506   # Omit some internal or obsolete options to make the list less imposing.
   1507   # This message is too long to be a string in the A/UX 3.1 sh.
   1508   cat <<_ACEOF
   1509 \`configure' configures xdm 1.1.6 to adapt to many kinds of systems.
   1510 
   1511 Usage: $0 [OPTION]... [VAR=VALUE]...
   1512 
   1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1514 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1515 
   1516 Defaults for the options are specified in brackets.
   1517 
   1518 Configuration:
   1519   -h, --help              display this help and exit
   1520       --help=short        display options specific to this package
   1521       --help=recursive    display the short help of all the included packages
   1522   -V, --version           display version information and exit
   1523   -q, --quiet, --silent   do not print \`checking...' messages
   1524       --cache-file=FILE   cache test results in FILE [disabled]
   1525   -C, --config-cache      alias for \`--cache-file=config.cache'
   1526   -n, --no-create         do not create output files
   1527       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1528 
   1529 Installation directories:
   1530   --prefix=PREFIX         install architecture-independent files in PREFIX
   1531 			  [$ac_default_prefix]
   1532   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1533 			  [PREFIX]
   1534 
   1535 By default, \`make install' will install all the files in
   1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1538 for instance \`--prefix=\$HOME'.
   1539 
   1540 For better control, use the options below.
   1541 
   1542 Fine tuning of the installation directories:
   1543   --bindir=DIR           user executables [EPREFIX/bin]
   1544   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1545   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1546   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1547   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1548   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1549   --libdir=DIR           object code libraries [EPREFIX/lib]
   1550   --includedir=DIR       C header files [PREFIX/include]
   1551   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1552   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1553   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1554   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1555   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1556   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1557   --docdir=DIR           documentation root [DATAROOTDIR/doc/xdm]
   1558   --htmldir=DIR          html documentation [DOCDIR]
   1559   --dvidir=DIR           dvi documentation [DOCDIR]
   1560   --pdfdir=DIR           pdf documentation [DOCDIR]
   1561   --psdir=DIR            ps documentation [DOCDIR]
   1562 _ACEOF
   1563 
   1564   cat <<\_ACEOF
   1565 
   1566 Program names:
   1567   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1568   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1569   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1570 
   1571 System types:
   1572   --build=BUILD     configure for building on BUILD [guessed]
   1573   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1574 _ACEOF
   1575 fi
   1576 
   1577 if test -n "$ac_init_help"; then
   1578   case $ac_init_help in
   1579      short | recursive ) echo "Configuration of xdm 1.1.6:";;
   1580    esac
   1581   cat <<\_ACEOF
   1582 
   1583 Optional Features:
   1584   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1585   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1586   --enable-maintainer-mode  enable make rules and dependencies not useful
   1587 			  (and sometimes confusing) to the casual installer
   1588   --disable-dependency-tracking  speeds up one-time build
   1589   --enable-dependency-tracking   do not reject slow dependency extractors
   1590   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1591   --enable-static[=PKGS]  build static libraries [default=yes]
   1592   --enable-fast-install[=PKGS]
   1593                           optimize for fast installation [default=yes]
   1594   --disable-libtool-lock  avoid locking (might break parallel builds)
   1595   --enable-unix-transport Enable UNIX domain socket transport
   1596   --enable-tcp-transport  Enable TCP socket transport
   1597   --enable-IPv6           Enable IPv6 support
   1598   --enable-local-transport
   1599                           Enable os-specific local transport
   1600   --enable-secure-rpc     Enable Secure RPC
   1601   --enable-xpm-logos      Display xpm logos in greeter (default is YES)
   1602   --enable-xprint         Enable XPrint support
   1603   --enable-dynamic-greeter
   1604                           Build greeter as dynamically loaded shared object
   1605   --enable-xdm-auth       Support XDM-AUTHENTICATION-1 and XDM-AUTHORIZATION-1
   1606                           (default: auto)
   1607 
   1608 Optional Packages:
   1609   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1610   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1611   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1612   --with-pic              try to use only PIC/non-PIC objects [default=use
   1613                           both]
   1614   --with-tags[=TAGS]      include additional configurations [automatic]
   1615   --with-pam              Use PAM for authentication
   1616   --with-random-device\=<pathname>\
   1617                           Use <pathname> as a source of randomness
   1618   --with-xdmlibdir=<pathname>
   1619                           specify directory for xdm scripts and modules
   1620                           (default=${libdir}/X11/xdm)
   1621   --with-xdmconfigdir=<pathname>
   1622                           specify directory for xdm config files (default is
   1623                           same as xdmlibdir)
   1624   --with-xdmscriptdir=<pathname>
   1625                           specify directory for xdm scripts (default is same
   1626                           as xdmlibdir)
   1627   --with-logdir=<pathname>
   1628                           specify directory for xdm log files
   1629                           (default=/var/log)
   1630   --with-piddir=<pathname>
   1631                           specify directory for xdm pid files
   1632                           (default=/var/run)
   1633   --with-default-vt=<vtname>
   1634                           specify default vt to start xdm on (default=none)
   1635   --with-config-type={ws|fs}
   1636                           default config file type to use - workstation (ws)
   1637                           or fileserver (fs) (default=ws)
   1638   --with-xft              Use Xft to draw text (default is YES if installed)
   1639   --with-color-pixmap=<filename>
   1640                           specify xpm file to use as color logo
   1641                           (default=xorg.xpm)
   1642   --with-bw-pixmap=<filename>
   1643                           specify xpm file to use as black-and-white logo
   1644                           (default=xorg-bw.xpm)
   1645   --with-pixmapdir=<pathname>
   1646                           specify directory for xpm files
   1647                           (default=xdmlibdir/pixmaps)
   1648   --with-xrdb=path        Use path for xrdb (default: bindir/xrdb)
   1649   --with-default-session=command
   1650                           Use command for default session (default:
   1651                           bindir/xterm -ls)
   1652   --with-lint             Use a lint-style source code checker (default:
   1653                           disabled)
   1654   --with-release-version=STRING
   1655                           Use release version string in package name
   1656 
   1657 Some influential environment variables:
   1658   CC          C compiler command
   1659   CFLAGS      C compiler flags
   1660   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1661               nonstandard directory <lib dir>
   1662   LIBS        libraries to pass to the linker, e.g. -l<library>
   1663   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1664               you have headers in a nonstandard directory <include dir>
   1665   CPP         C preprocessor
   1666   CXX         C++ compiler command
   1667   CXXFLAGS    C++ compiler flags
   1668   CXXCPP      C++ preprocessor
   1669   F77         Fortran 77 compiler command
   1670   FFLAGS      Fortran 77 compiler flags
   1671   PKG_CONFIG  path to pkg-config utility
   1672   XDM_CFLAGS  C compiler flags for XDM, overriding pkg-config
   1673   XDM_LIBS    linker flags for XDM, overriding pkg-config
   1674   XINERAMA_CFLAGS
   1675               C compiler flags for XINERAMA, overriding pkg-config
   1676   XINERAMA_LIBS
   1677               linker flags for XINERAMA, overriding pkg-config
   1678   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
   1679   XFT_LIBS    linker flags for XFT, overriding pkg-config
   1680   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1681   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1682   TMP_XAW_CFLAGS
   1683               C compiler flags for TMP_XAW, overriding pkg-config
   1684   TMP_XAW_LIBS
   1685               linker flags for TMP_XAW, overriding pkg-config
   1686   DMCP_CFLAGS C compiler flags for DMCP, overriding pkg-config
   1687   DMCP_LIBS   linker flags for DMCP, overriding pkg-config
   1688   XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
   1689   XLIB_LIBS   linker flags for XLIB, overriding pkg-config
   1690   AUTH_CFLAGS C compiler flags for AUTH, overriding pkg-config
   1691   AUTH_LIBS   linker flags for AUTH, overriding pkg-config
   1692   XDMGREET_CFLAGS
   1693               C compiler flags for XDMGREET, overriding pkg-config
   1694   XDMGREET_LIBS
   1695               linker flags for XDMGREET, overriding pkg-config
   1696   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1697   XT_LIBS     linker flags for XT, overriding pkg-config
   1698   APPDEFS_CFLAGS
   1699               C compiler flags for APPDEFS, overriding pkg-config
   1700   APPDEFS_LIBS
   1701               linker flags for APPDEFS, overriding pkg-config
   1702 
   1703 Use these variables to override the choices made by `configure' or to help
   1704 it to find libraries and programs with nonstandard names/locations.
   1705 
   1706 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1707 _ACEOF
   1708 ac_status=$?
   1709 fi
   1710 
   1711 if test "$ac_init_help" = "recursive"; then
   1712   # If there are subdirs, report their specific --help.
   1713   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1714     test -d "$ac_dir" || continue
   1715     ac_builddir=.
   1716 
   1717 case "$ac_dir" in
   1718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1719 *)
   1720   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1721   # A ".." for each directory in $ac_dir_suffix.
   1722   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1723   case $ac_top_builddir_sub in
   1724   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1725   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1726   esac ;;
   1727 esac
   1728 ac_abs_top_builddir=$ac_pwd
   1729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1730 # for backward compatibility:
   1731 ac_top_builddir=$ac_top_build_prefix
   1732 
   1733 case $srcdir in
   1734   .)  # We are building in place.
   1735     ac_srcdir=.
   1736     ac_top_srcdir=$ac_top_builddir_sub
   1737     ac_abs_top_srcdir=$ac_pwd ;;
   1738   [\\/]* | ?:[\\/]* )  # Absolute name.
   1739     ac_srcdir=$srcdir$ac_dir_suffix;
   1740     ac_top_srcdir=$srcdir
   1741     ac_abs_top_srcdir=$srcdir ;;
   1742   *) # Relative name.
   1743     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1744     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1745     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1746 esac
   1747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1748 
   1749     cd "$ac_dir" || { ac_status=$?; continue; }
   1750     # Check for guested configure.
   1751     if test -f "$ac_srcdir/configure.gnu"; then
   1752       echo &&
   1753       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1754     elif test -f "$ac_srcdir/configure"; then
   1755       echo &&
   1756       $SHELL "$ac_srcdir/configure" --help=recursive
   1757     else
   1758       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1759     fi || ac_status=$?
   1760     cd "$ac_pwd" || { ac_status=$?; break; }
   1761   done
   1762 fi
   1763 
   1764 test -n "$ac_init_help" && exit $ac_status
   1765 if $ac_init_version; then
   1766   cat <<\_ACEOF
   1767 xdm configure 1.1.6
   1768 generated by GNU Autoconf 2.61
   1769 
   1770 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1771 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1772 This configure script is free software; the Free Software Foundation
   1773 gives unlimited permission to copy, distribute and modify it.
   1774 _ACEOF
   1775   exit
   1776 fi
   1777 cat >config.log <<_ACEOF
   1778 This file contains any messages produced by compilers while
   1779 running configure, to aid debugging if configure makes a mistake.
   1780 
   1781 It was created by xdm $as_me 1.1.6, which was
   1782 generated by GNU Autoconf 2.61.  Invocation command line was
   1783 
   1784   $ $0 $@
   1785 
   1786 _ACEOF
   1787 exec 5>>config.log
   1788 {
   1789 cat <<_ASUNAME
   1790 ## --------- ##
   1791 ## Platform. ##
   1792 ## --------- ##
   1793 
   1794 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1795 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1796 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1797 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1798 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1799 
   1800 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1801 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1802 
   1803 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1804 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1805 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1806 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1807 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1808 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1809 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1810 
   1811 _ASUNAME
   1812 
   1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1814 for as_dir in $PATH
   1815 do
   1816   IFS=$as_save_IFS
   1817   test -z "$as_dir" && as_dir=.
   1818   echo "PATH: $as_dir"
   1819 done
   1820 IFS=$as_save_IFS
   1821 
   1822 } >&5
   1823 
   1824 cat >&5 <<_ACEOF
   1825 
   1826 
   1827 ## ----------- ##
   1828 ## Core tests. ##
   1829 ## ----------- ##
   1830 
   1831 _ACEOF
   1832 
   1833 
   1834 # Keep a trace of the command line.
   1835 # Strip out --no-create and --no-recursion so they do not pile up.
   1836 # Strip out --silent because we don't want to record it for future runs.
   1837 # Also quote any args containing shell meta-characters.
   1838 # Make two passes to allow for proper duplicate-argument suppression.
   1839 ac_configure_args=
   1840 ac_configure_args0=
   1841 ac_configure_args1=
   1842 ac_must_keep_next=false
   1843 for ac_pass in 1 2
   1844 do
   1845   for ac_arg
   1846   do
   1847     case $ac_arg in
   1848     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1849     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1850     | -silent | --silent | --silen | --sile | --sil)
   1851       continue ;;
   1852     *\'*)
   1853       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1854     esac
   1855     case $ac_pass in
   1856     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1857     2)
   1858       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1859       if test $ac_must_keep_next = true; then
   1860 	ac_must_keep_next=false # Got value, back to normal.
   1861       else
   1862 	case $ac_arg in
   1863 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1864 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1865 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1866 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1867 	    case "$ac_configure_args0 " in
   1868 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1869 	    esac
   1870 	    ;;
   1871 	  -* ) ac_must_keep_next=true ;;
   1872 	esac
   1873       fi
   1874       ac_configure_args="$ac_configure_args '$ac_arg'"
   1875       ;;
   1876     esac
   1877   done
   1878 done
   1879 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1880 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1881 
   1882 # When interrupted or exit'd, cleanup temporary files, and complete
   1883 # config.log.  We remove comments because anyway the quotes in there
   1884 # would cause problems or look ugly.
   1885 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1886 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1887 trap 'exit_status=$?
   1888   # Save into config.log some information that might help in debugging.
   1889   {
   1890     echo
   1891 
   1892     cat <<\_ASBOX
   1893 ## ---------------- ##
   1894 ## Cache variables. ##
   1895 ## ---------------- ##
   1896 _ASBOX
   1897     echo
   1898     # The following way of writing the cache mishandles newlines in values,
   1899 (
   1900   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1901     eval ac_val=\$$ac_var
   1902     case $ac_val in #(
   1903     *${as_nl}*)
   1904       case $ac_var in #(
   1905       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1907       esac
   1908       case $ac_var in #(
   1909       _ | IFS | as_nl) ;; #(
   1910       *) $as_unset $ac_var ;;
   1911       esac ;;
   1912     esac
   1913   done
   1914   (set) 2>&1 |
   1915     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1916     *${as_nl}ac_space=\ *)
   1917       sed -n \
   1918 	"s/'\''/'\''\\\\'\'''\''/g;
   1919 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1920       ;; #(
   1921     *)
   1922       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1923       ;;
   1924     esac |
   1925     sort
   1926 )
   1927     echo
   1928 
   1929     cat <<\_ASBOX
   1930 ## ----------------- ##
   1931 ## Output variables. ##
   1932 ## ----------------- ##
   1933 _ASBOX
   1934     echo
   1935     for ac_var in $ac_subst_vars
   1936     do
   1937       eval ac_val=\$$ac_var
   1938       case $ac_val in
   1939       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1940       esac
   1941       echo "$ac_var='\''$ac_val'\''"
   1942     done | sort
   1943     echo
   1944 
   1945     if test -n "$ac_subst_files"; then
   1946       cat <<\_ASBOX
   1947 ## ------------------- ##
   1948 ## File substitutions. ##
   1949 ## ------------------- ##
   1950 _ASBOX
   1951       echo
   1952       for ac_var in $ac_subst_files
   1953       do
   1954 	eval ac_val=\$$ac_var
   1955 	case $ac_val in
   1956 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1957 	esac
   1958 	echo "$ac_var='\''$ac_val'\''"
   1959       done | sort
   1960       echo
   1961     fi
   1962 
   1963     if test -s confdefs.h; then
   1964       cat <<\_ASBOX
   1965 ## ----------- ##
   1966 ## confdefs.h. ##
   1967 ## ----------- ##
   1968 _ASBOX
   1969       echo
   1970       cat confdefs.h
   1971       echo
   1972     fi
   1973     test "$ac_signal" != 0 &&
   1974       echo "$as_me: caught signal $ac_signal"
   1975     echo "$as_me: exit $exit_status"
   1976   } >&5
   1977   rm -f core *.core core.conftest.* &&
   1978     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1979     exit $exit_status
   1980 ' 0
   1981 for ac_signal in 1 2 13 15; do
   1982   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1983 done
   1984 ac_signal=0
   1985 
   1986 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1987 rm -f -r conftest* confdefs.h
   1988 
   1989 # Predefined preprocessor variables.
   1990 
   1991 cat >>confdefs.h <<_ACEOF
   1992 #define PACKAGE_NAME "$PACKAGE_NAME"
   1993 _ACEOF
   1994 
   1995 
   1996 cat >>confdefs.h <<_ACEOF
   1997 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1998 _ACEOF
   1999 
   2000 
   2001 cat >>confdefs.h <<_ACEOF
   2002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2003 _ACEOF
   2004 
   2005 
   2006 cat >>confdefs.h <<_ACEOF
   2007 #define PACKAGE_STRING "$PACKAGE_STRING"
   2008 _ACEOF
   2009 
   2010 
   2011 cat >>confdefs.h <<_ACEOF
   2012 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2013 _ACEOF
   2014 
   2015 
   2016 # Let the site file select an alternate cache file if it wants to.
   2017 # Prefer explicitly selected file to automatically selected ones.
   2018 if test -n "$CONFIG_SITE"; then
   2019   set x "$CONFIG_SITE"
   2020 elif test "x$prefix" != xNONE; then
   2021   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   2022 else
   2023   set x "$ac_default_prefix/share/config.site" \
   2024 	"$ac_default_prefix/etc/config.site"
   2025 fi
   2026 shift
   2027 for ac_site_file
   2028 do
   2029   if test -r "$ac_site_file"; then
   2030     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   2031 echo "$as_me: loading site script $ac_site_file" >&6;}
   2032     sed 's/^/| /' "$ac_site_file" >&5
   2033     . "$ac_site_file"
   2034   fi
   2035 done
   2036 
   2037 if test -r "$cache_file"; then
   2038   # Some versions of bash will fail to source /dev/null (special
   2039   # files actually), so we avoid doing that.
   2040   if test -f "$cache_file"; then
   2041     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2042 echo "$as_me: loading cache $cache_file" >&6;}
   2043     case $cache_file in
   2044       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2045       *)                      . "./$cache_file";;
   2046     esac
   2047   fi
   2048 else
   2049   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2050 echo "$as_me: creating cache $cache_file" >&6;}
   2051   >$cache_file
   2052 fi
   2053 
   2054 # Check that the precious variables saved in the cache have kept the same
   2055 # value.
   2056 ac_cache_corrupted=false
   2057 for ac_var in $ac_precious_vars; do
   2058   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2059   eval ac_new_set=\$ac_env_${ac_var}_set
   2060   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2061   eval ac_new_val=\$ac_env_${ac_var}_value
   2062   case $ac_old_set,$ac_new_set in
   2063     set,)
   2064       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2065 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2066       ac_cache_corrupted=: ;;
   2067     ,set)
   2068       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2069 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2070       ac_cache_corrupted=: ;;
   2071     ,);;
   2072     *)
   2073       if test "x$ac_old_val" != "x$ac_new_val"; then
   2074 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2075 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2076 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   2077 echo "$as_me:   former value:  $ac_old_val" >&2;}
   2078 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   2079 echo "$as_me:   current value: $ac_new_val" >&2;}
   2080 	ac_cache_corrupted=:
   2081       fi;;
   2082   esac
   2083   # Pass precious variables to config.status.
   2084   if test "$ac_new_set" = set; then
   2085     case $ac_new_val in
   2086     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2087     *) ac_arg=$ac_var=$ac_new_val ;;
   2088     esac
   2089     case " $ac_configure_args " in
   2090       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2091       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2092     esac
   2093   fi
   2094 done
   2095 if $ac_cache_corrupted; then
   2096   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2097 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2098   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2099 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2100    { (exit 1); exit 1; }; }
   2101 fi
   2102 
   2103 
   2104 
   2105 
   2106 
   2107 
   2108 
   2109 
   2110 
   2111 
   2112 
   2113 
   2114 
   2115 
   2116 
   2117 
   2118 
   2119 
   2120 
   2121 
   2122 
   2123 
   2124 
   2125 
   2126 
   2127 ac_ext=c
   2128 ac_cpp='$CPP $CPPFLAGS'
   2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2132 
   2133 
   2134 am__api_version='1.10'
   2135 
   2136 ac_aux_dir=
   2137 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2138   if test -f "$ac_dir/install-sh"; then
   2139     ac_aux_dir=$ac_dir
   2140     ac_install_sh="$ac_aux_dir/install-sh -c"
   2141     break
   2142   elif test -f "$ac_dir/install.sh"; then
   2143     ac_aux_dir=$ac_dir
   2144     ac_install_sh="$ac_aux_dir/install.sh -c"
   2145     break
   2146   elif test -f "$ac_dir/shtool"; then
   2147     ac_aux_dir=$ac_dir
   2148     ac_install_sh="$ac_aux_dir/shtool install -c"
   2149     break
   2150   fi
   2151 done
   2152 if test -z "$ac_aux_dir"; then
   2153   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2154 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2155    { (exit 1); exit 1; }; }
   2156 fi
   2157 
   2158 # These three variables are undocumented and unsupported,
   2159 # and are intended to be withdrawn in a future Autoconf release.
   2160 # They can cause serious problems if a builder's source tree is in a directory
   2161 # whose full name contains unusual characters.
   2162 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2163 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2164 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2165 
   2166 
   2167 # Find a good install program.  We prefer a C program (faster),
   2168 # so one script is as good as another.  But avoid the broken or
   2169 # incompatible versions:
   2170 # SysV /etc/install, /usr/sbin/install
   2171 # SunOS /usr/etc/install
   2172 # IRIX /sbin/install
   2173 # AIX /bin/install
   2174 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2175 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2176 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2177 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2178 # OS/2's system install, which has a completely different semantic
   2179 # ./install, which can be erroneously created by make from ./install.sh.
   2180 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2181 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2182 if test -z "$INSTALL"; then
   2183 if test "${ac_cv_path_install+set}" = set; then
   2184   echo $ECHO_N "(cached) $ECHO_C" >&6
   2185 else
   2186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2187 for as_dir in $PATH
   2188 do
   2189   IFS=$as_save_IFS
   2190   test -z "$as_dir" && as_dir=.
   2191   # Account for people who put trailing slashes in PATH elements.
   2192 case $as_dir/ in
   2193   ./ | .// | /cC/* | \
   2194   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2195   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2196   /usr/ucb/* ) ;;
   2197   *)
   2198     # OSF1 and SCO ODT 3.0 have their own names for install.
   2199     # Don't use installbsd from OSF since it installs stuff as root
   2200     # by default.
   2201     for ac_prog in ginstall scoinst install; do
   2202       for ac_exec_ext in '' $ac_executable_extensions; do
   2203 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2204 	  if test $ac_prog = install &&
   2205 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2206 	    # AIX install.  It has an incompatible calling convention.
   2207 	    :
   2208 	  elif test $ac_prog = install &&
   2209 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2210 	    # program-specific install script used by HP pwplus--don't use.
   2211 	    :
   2212 	  else
   2213 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2214 	    break 3
   2215 	  fi
   2216 	fi
   2217       done
   2218     done
   2219     ;;
   2220 esac
   2221 done
   2222 IFS=$as_save_IFS
   2223 
   2224 
   2225 fi
   2226   if test "${ac_cv_path_install+set}" = set; then
   2227     INSTALL=$ac_cv_path_install
   2228   else
   2229     # As a last resort, use the slow shell script.  Don't cache a
   2230     # value for INSTALL within a source directory, because that will
   2231     # break other packages using the cache if that directory is
   2232     # removed, or if the value is a relative name.
   2233     INSTALL=$ac_install_sh
   2234   fi
   2235 fi
   2236 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2237 echo "${ECHO_T}$INSTALL" >&6; }
   2238 
   2239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2240 # It thinks the first close brace ends the variable substitution.
   2241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2242 
   2243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2244 
   2245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2246 
   2247 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2248 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2249 # Just in case
   2250 sleep 1
   2251 echo timestamp > conftest.file
   2252 # Do `set' in a subshell so we don't clobber the current shell's
   2253 # arguments.  Must try -L first in case configure is actually a
   2254 # symlink; some systems play weird games with the mod time of symlinks
   2255 # (eg FreeBSD returns the mod time of the symlink's containing
   2256 # directory).
   2257 if (
   2258    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2259    if test "$*" = "X"; then
   2260       # -L didn't work.
   2261       set X `ls -t $srcdir/configure conftest.file`
   2262    fi
   2263    rm -f conftest.file
   2264    if test "$*" != "X $srcdir/configure conftest.file" \
   2265       && test "$*" != "X conftest.file $srcdir/configure"; then
   2266 
   2267       # If neither matched, then we have a broken ls.  This can happen
   2268       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2269       # broken ls alias from the environment.  This has actually
   2270       # happened.  Such a system could not be considered "sane".
   2271       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2272 alias in your environment" >&5
   2273 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2274 alias in your environment" >&2;}
   2275    { (exit 1); exit 1; }; }
   2276    fi
   2277 
   2278    test "$2" = conftest.file
   2279    )
   2280 then
   2281    # Ok.
   2282    :
   2283 else
   2284    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2285 Check your system clock" >&5
   2286 echo "$as_me: error: newly created file is older than distributed files!
   2287 Check your system clock" >&2;}
   2288    { (exit 1); exit 1; }; }
   2289 fi
   2290 { echo "$as_me:$LINENO: result: yes" >&5
   2291 echo "${ECHO_T}yes" >&6; }
   2292 test "$program_prefix" != NONE &&
   2293   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2294 # Use a double $ so make ignores it.
   2295 test "$program_suffix" != NONE &&
   2296   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2297 # Double any \ or $.  echo might interpret backslashes.
   2298 # By default was `s,x,x', remove it if useless.
   2299 cat <<\_ACEOF >conftest.sed
   2300 s/[\\$]/&&/g;s/;s,x,x,$//
   2301 _ACEOF
   2302 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2303 rm -f conftest.sed
   2304 
   2305 # expand $ac_aux_dir to an absolute path
   2306 am_aux_dir=`cd $ac_aux_dir && pwd`
   2307 
   2308 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2309 # Use eval to expand $SHELL
   2310 if eval "$MISSING --run true"; then
   2311   am_missing_run="$MISSING --run "
   2312 else
   2313   am_missing_run=
   2314   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2315 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2316 fi
   2317 
   2318 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2319 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2320 if test -z "$MKDIR_P"; then
   2321   if test "${ac_cv_path_mkdir+set}" = set; then
   2322   echo $ECHO_N "(cached) $ECHO_C" >&6
   2323 else
   2324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2325 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2326 do
   2327   IFS=$as_save_IFS
   2328   test -z "$as_dir" && as_dir=.
   2329   for ac_prog in mkdir gmkdir; do
   2330 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2331 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2332 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2333 	     'mkdir (GNU coreutils) '* | \
   2334 	     'mkdir (coreutils) '* | \
   2335 	     'mkdir (fileutils) '4.1*)
   2336 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2337 	       break 3;;
   2338 	   esac
   2339 	 done
   2340        done
   2341 done
   2342 IFS=$as_save_IFS
   2343 
   2344 fi
   2345 
   2346   if test "${ac_cv_path_mkdir+set}" = set; then
   2347     MKDIR_P="$ac_cv_path_mkdir -p"
   2348   else
   2349     # As a last resort, use the slow shell script.  Don't cache a
   2350     # value for MKDIR_P within a source directory, because that will
   2351     # break other packages using the cache if that directory is
   2352     # removed, or if the value is a relative name.
   2353     test -d ./--version && rmdir ./--version
   2354     MKDIR_P="$ac_install_sh -d"
   2355   fi
   2356 fi
   2357 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2358 echo "${ECHO_T}$MKDIR_P" >&6; }
   2359 
   2360 mkdir_p="$MKDIR_P"
   2361 case $mkdir_p in
   2362   [\\/$]* | ?:[\\/]*) ;;
   2363   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2364 esac
   2365 
   2366 for ac_prog in gawk mawk nawk awk
   2367 do
   2368   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2369 set dummy $ac_prog; ac_word=$2
   2370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2372 if test "${ac_cv_prog_AWK+set}" = set; then
   2373   echo $ECHO_N "(cached) $ECHO_C" >&6
   2374 else
   2375   if test -n "$AWK"; then
   2376   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2377 else
   2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2379 for as_dir in $PATH
   2380 do
   2381   IFS=$as_save_IFS
   2382   test -z "$as_dir" && as_dir=.
   2383   for ac_exec_ext in '' $ac_executable_extensions; do
   2384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2385     ac_cv_prog_AWK="$ac_prog"
   2386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2387     break 2
   2388   fi
   2389 done
   2390 done
   2391 IFS=$as_save_IFS
   2392 
   2393 fi
   2394 fi
   2395 AWK=$ac_cv_prog_AWK
   2396 if test -n "$AWK"; then
   2397   { echo "$as_me:$LINENO: result: $AWK" >&5
   2398 echo "${ECHO_T}$AWK" >&6; }
   2399 else
   2400   { echo "$as_me:$LINENO: result: no" >&5
   2401 echo "${ECHO_T}no" >&6; }
   2402 fi
   2403 
   2404 
   2405   test -n "$AWK" && break
   2406 done
   2407 
   2408 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2409 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2410 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2411 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2412   echo $ECHO_N "(cached) $ECHO_C" >&6
   2413 else
   2414   cat >conftest.make <<\_ACEOF
   2415 SHELL = /bin/sh
   2416 all:
   2417 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2418 _ACEOF
   2419 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2420 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2421   *@@@%%%=?*=@@@%%%*)
   2422     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2423   *)
   2424     eval ac_cv_prog_make_${ac_make}_set=no;;
   2425 esac
   2426 rm -f conftest.make
   2427 fi
   2428 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2429   { echo "$as_me:$LINENO: result: yes" >&5
   2430 echo "${ECHO_T}yes" >&6; }
   2431   SET_MAKE=
   2432 else
   2433   { echo "$as_me:$LINENO: result: no" >&5
   2434 echo "${ECHO_T}no" >&6; }
   2435   SET_MAKE="MAKE=${MAKE-make}"
   2436 fi
   2437 
   2438 rm -rf .tst 2>/dev/null
   2439 mkdir .tst 2>/dev/null
   2440 if test -d .tst; then
   2441   am__leading_dot=.
   2442 else
   2443   am__leading_dot=_
   2444 fi
   2445 rmdir .tst 2>/dev/null
   2446 
   2447 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2448   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2449   # is not polluted with repeated "-I."
   2450   am__isrc=' -I$(srcdir)'
   2451   # test to see if srcdir already configured
   2452   if test -f $srcdir/config.status; then
   2453     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2454 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2455    { (exit 1); exit 1; }; }
   2456   fi
   2457 fi
   2458 
   2459 # test whether we have cygpath
   2460 if test -z "$CYGPATH_W"; then
   2461   if (cygpath --version) >/dev/null 2>/dev/null; then
   2462     CYGPATH_W='cygpath -w'
   2463   else
   2464     CYGPATH_W=echo
   2465   fi
   2466 fi
   2467 
   2468 
   2469 # Define the identity of the package.
   2470  PACKAGE='xdm'
   2471  VERSION='1.1.6'
   2472 
   2473 
   2474 cat >>confdefs.h <<_ACEOF
   2475 #define PACKAGE "$PACKAGE"
   2476 _ACEOF
   2477 
   2478 
   2479 cat >>confdefs.h <<_ACEOF
   2480 #define VERSION "$VERSION"
   2481 _ACEOF
   2482 
   2483 # Some tools Automake needs.
   2484 
   2485 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2486 
   2487 
   2488 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2489 
   2490 
   2491 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2492 
   2493 
   2494 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2495 
   2496 
   2497 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2498 
   2499 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2500 
   2501 # Installed binaries are usually stripped using `strip' when the user
   2502 # run `make install-strip'.  However `strip' might not be the right
   2503 # tool to use in cross-compilation environments, therefore Automake
   2504 # will honor the `STRIP' environment variable to overrule this program.
   2505 if test "$cross_compiling" != no; then
   2506   if test -n "$ac_tool_prefix"; then
   2507   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2511 if test "${ac_cv_prog_STRIP+set}" = set; then
   2512   echo $ECHO_N "(cached) $ECHO_C" >&6
   2513 else
   2514   if test -n "$STRIP"; then
   2515   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2516 else
   2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2518 for as_dir in $PATH
   2519 do
   2520   IFS=$as_save_IFS
   2521   test -z "$as_dir" && as_dir=.
   2522   for ac_exec_ext in '' $ac_executable_extensions; do
   2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2524     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2525     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2526     break 2
   2527   fi
   2528 done
   2529 done
   2530 IFS=$as_save_IFS
   2531 
   2532 fi
   2533 fi
   2534 STRIP=$ac_cv_prog_STRIP
   2535 if test -n "$STRIP"; then
   2536   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2537 echo "${ECHO_T}$STRIP" >&6; }
   2538 else
   2539   { echo "$as_me:$LINENO: result: no" >&5
   2540 echo "${ECHO_T}no" >&6; }
   2541 fi
   2542 
   2543 
   2544 fi
   2545 if test -z "$ac_cv_prog_STRIP"; then
   2546   ac_ct_STRIP=$STRIP
   2547   # Extract the first word of "strip", so it can be a program name with args.
   2548 set dummy strip; ac_word=$2
   2549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2551 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2552   echo $ECHO_N "(cached) $ECHO_C" >&6
   2553 else
   2554   if test -n "$ac_ct_STRIP"; then
   2555   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2556 else
   2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   test -z "$as_dir" && as_dir=.
   2562   for ac_exec_ext in '' $ac_executable_extensions; do
   2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2564     ac_cv_prog_ac_ct_STRIP="strip"
   2565     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2566     break 2
   2567   fi
   2568 done
   2569 done
   2570 IFS=$as_save_IFS
   2571 
   2572 fi
   2573 fi
   2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2575 if test -n "$ac_ct_STRIP"; then
   2576   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2577 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2578 else
   2579   { echo "$as_me:$LINENO: result: no" >&5
   2580 echo "${ECHO_T}no" >&6; }
   2581 fi
   2582 
   2583   if test "x$ac_ct_STRIP" = x; then
   2584     STRIP=":"
   2585   else
   2586     case $cross_compiling:$ac_tool_warned in
   2587 yes:)
   2588 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2589 whose name does not start with the host triplet.  If you think this
   2590 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2591 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2592 whose name does not start with the host triplet.  If you think this
   2593 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2594 ac_tool_warned=yes ;;
   2595 esac
   2596     STRIP=$ac_ct_STRIP
   2597   fi
   2598 else
   2599   STRIP="$ac_cv_prog_STRIP"
   2600 fi
   2601 
   2602 fi
   2603 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2604 
   2605 # We need awk for the "check" target.  The system "awk" is bad on
   2606 # some platforms.
   2607 # Always define AMTAR for backward compatibility.
   2608 
   2609 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2610 
   2611 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2612 
   2613 
   2614 
   2615 
   2616 
   2617 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2618 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2619     # Check whether --enable-maintainer-mode was given.
   2620 if test "${enable_maintainer_mode+set}" = set; then
   2621   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2622 else
   2623   USE_MAINTAINER_MODE=no
   2624 fi
   2625 
   2626   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2627 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2628    if test $USE_MAINTAINER_MODE = yes; then
   2629   MAINTAINER_MODE_TRUE=
   2630   MAINTAINER_MODE_FALSE='#'
   2631 else
   2632   MAINTAINER_MODE_TRUE='#'
   2633   MAINTAINER_MODE_FALSE=
   2634 fi
   2635 
   2636   MAINT=$MAINTAINER_MODE_TRUE
   2637 
   2638 
   2639 
   2640 ac_config_headers="$ac_config_headers config.h"
   2641 
   2642 
   2643 ac_ext=c
   2644 ac_cpp='$CPP $CPPFLAGS'
   2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2648 if test -n "$ac_tool_prefix"; then
   2649   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2653 if test "${ac_cv_prog_CC+set}" = set; then
   2654   echo $ECHO_N "(cached) $ECHO_C" >&6
   2655 else
   2656   if test -n "$CC"; then
   2657   ac_cv_prog_CC="$CC" # Let the user override the test.
   2658 else
   2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2660 for as_dir in $PATH
   2661 do
   2662   IFS=$as_save_IFS
   2663   test -z "$as_dir" && as_dir=.
   2664   for ac_exec_ext in '' $ac_executable_extensions; do
   2665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2666     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2667     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2668     break 2
   2669   fi
   2670 done
   2671 done
   2672 IFS=$as_save_IFS
   2673 
   2674 fi
   2675 fi
   2676 CC=$ac_cv_prog_CC
   2677 if test -n "$CC"; then
   2678   { echo "$as_me:$LINENO: result: $CC" >&5
   2679 echo "${ECHO_T}$CC" >&6; }
   2680 else
   2681   { echo "$as_me:$LINENO: result: no" >&5
   2682 echo "${ECHO_T}no" >&6; }
   2683 fi
   2684 
   2685 
   2686 fi
   2687 if test -z "$ac_cv_prog_CC"; then
   2688   ac_ct_CC=$CC
   2689   # Extract the first word of "gcc", so it can be a program name with args.
   2690 set dummy gcc; ac_word=$2
   2691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2694   echo $ECHO_N "(cached) $ECHO_C" >&6
   2695 else
   2696   if test -n "$ac_ct_CC"; then
   2697   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2698 else
   2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2700 for as_dir in $PATH
   2701 do
   2702   IFS=$as_save_IFS
   2703   test -z "$as_dir" && as_dir=.
   2704   for ac_exec_ext in '' $ac_executable_extensions; do
   2705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2706     ac_cv_prog_ac_ct_CC="gcc"
   2707     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2708     break 2
   2709   fi
   2710 done
   2711 done
   2712 IFS=$as_save_IFS
   2713 
   2714 fi
   2715 fi
   2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2717 if test -n "$ac_ct_CC"; then
   2718   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2719 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2720 else
   2721   { echo "$as_me:$LINENO: result: no" >&5
   2722 echo "${ECHO_T}no" >&6; }
   2723 fi
   2724 
   2725   if test "x$ac_ct_CC" = x; then
   2726     CC=""
   2727   else
   2728     case $cross_compiling:$ac_tool_warned in
   2729 yes:)
   2730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2731 whose name does not start with the host triplet.  If you think this
   2732 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2734 whose name does not start with the host triplet.  If you think this
   2735 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2736 ac_tool_warned=yes ;;
   2737 esac
   2738     CC=$ac_ct_CC
   2739   fi
   2740 else
   2741   CC="$ac_cv_prog_CC"
   2742 fi
   2743 
   2744 if test -z "$CC"; then
   2745           if test -n "$ac_tool_prefix"; then
   2746     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2747 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2750 if test "${ac_cv_prog_CC+set}" = set; then
   2751   echo $ECHO_N "(cached) $ECHO_C" >&6
   2752 else
   2753   if test -n "$CC"; then
   2754   ac_cv_prog_CC="$CC" # Let the user override the test.
   2755 else
   2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2757 for as_dir in $PATH
   2758 do
   2759   IFS=$as_save_IFS
   2760   test -z "$as_dir" && as_dir=.
   2761   for ac_exec_ext in '' $ac_executable_extensions; do
   2762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2763     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2764     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2765     break 2
   2766   fi
   2767 done
   2768 done
   2769 IFS=$as_save_IFS
   2770 
   2771 fi
   2772 fi
   2773 CC=$ac_cv_prog_CC
   2774 if test -n "$CC"; then
   2775   { echo "$as_me:$LINENO: result: $CC" >&5
   2776 echo "${ECHO_T}$CC" >&6; }
   2777 else
   2778   { echo "$as_me:$LINENO: result: no" >&5
   2779 echo "${ECHO_T}no" >&6; }
   2780 fi
   2781 
   2782 
   2783   fi
   2784 fi
   2785 if test -z "$CC"; then
   2786   # Extract the first word of "cc", so it can be a program name with args.
   2787 set dummy cc; ac_word=$2
   2788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2790 if test "${ac_cv_prog_CC+set}" = set; then
   2791   echo $ECHO_N "(cached) $ECHO_C" >&6
   2792 else
   2793   if test -n "$CC"; then
   2794   ac_cv_prog_CC="$CC" # Let the user override the test.
   2795 else
   2796   ac_prog_rejected=no
   2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2798 for as_dir in $PATH
   2799 do
   2800   IFS=$as_save_IFS
   2801   test -z "$as_dir" && as_dir=.
   2802   for ac_exec_ext in '' $ac_executable_extensions; do
   2803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2804     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2805        ac_prog_rejected=yes
   2806        continue
   2807      fi
   2808     ac_cv_prog_CC="cc"
   2809     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2810     break 2
   2811   fi
   2812 done
   2813 done
   2814 IFS=$as_save_IFS
   2815 
   2816 if test $ac_prog_rejected = yes; then
   2817   # We found a bogon in the path, so make sure we never use it.
   2818   set dummy $ac_cv_prog_CC
   2819   shift
   2820   if test $# != 0; then
   2821     # We chose a different compiler from the bogus one.
   2822     # However, it has the same basename, so the bogon will be chosen
   2823     # first if we set CC to just the basename; use the full file name.
   2824     shift
   2825     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2826   fi
   2827 fi
   2828 fi
   2829 fi
   2830 CC=$ac_cv_prog_CC
   2831 if test -n "$CC"; then
   2832   { echo "$as_me:$LINENO: result: $CC" >&5
   2833 echo "${ECHO_T}$CC" >&6; }
   2834 else
   2835   { echo "$as_me:$LINENO: result: no" >&5
   2836 echo "${ECHO_T}no" >&6; }
   2837 fi
   2838 
   2839 
   2840 fi
   2841 if test -z "$CC"; then
   2842   if test -n "$ac_tool_prefix"; then
   2843   for ac_prog in cl.exe
   2844   do
   2845     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2846 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2849 if test "${ac_cv_prog_CC+set}" = set; then
   2850   echo $ECHO_N "(cached) $ECHO_C" >&6
   2851 else
   2852   if test -n "$CC"; then
   2853   ac_cv_prog_CC="$CC" # Let the user override the test.
   2854 else
   2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2856 for as_dir in $PATH
   2857 do
   2858   IFS=$as_save_IFS
   2859   test -z "$as_dir" && as_dir=.
   2860   for ac_exec_ext in '' $ac_executable_extensions; do
   2861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2862     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2864     break 2
   2865   fi
   2866 done
   2867 done
   2868 IFS=$as_save_IFS
   2869 
   2870 fi
   2871 fi
   2872 CC=$ac_cv_prog_CC
   2873 if test -n "$CC"; then
   2874   { echo "$as_me:$LINENO: result: $CC" >&5
   2875 echo "${ECHO_T}$CC" >&6; }
   2876 else
   2877   { echo "$as_me:$LINENO: result: no" >&5
   2878 echo "${ECHO_T}no" >&6; }
   2879 fi
   2880 
   2881 
   2882     test -n "$CC" && break
   2883   done
   2884 fi
   2885 if test -z "$CC"; then
   2886   ac_ct_CC=$CC
   2887   for ac_prog in cl.exe
   2888 do
   2889   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2890 set dummy $ac_prog; ac_word=$2
   2891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2894   echo $ECHO_N "(cached) $ECHO_C" >&6
   2895 else
   2896   if test -n "$ac_ct_CC"; then
   2897   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2898 else
   2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2900 for as_dir in $PATH
   2901 do
   2902   IFS=$as_save_IFS
   2903   test -z "$as_dir" && as_dir=.
   2904   for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2906     ac_cv_prog_ac_ct_CC="$ac_prog"
   2907     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911 done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi
   2915 fi
   2916 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2917 if test -n "$ac_ct_CC"; then
   2918   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2919 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2920 else
   2921   { echo "$as_me:$LINENO: result: no" >&5
   2922 echo "${ECHO_T}no" >&6; }
   2923 fi
   2924 
   2925 
   2926   test -n "$ac_ct_CC" && break
   2927 done
   2928 
   2929   if test "x$ac_ct_CC" = x; then
   2930     CC=""
   2931   else
   2932     case $cross_compiling:$ac_tool_warned in
   2933 yes:)
   2934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2935 whose name does not start with the host triplet.  If you think this
   2936 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2938 whose name does not start with the host triplet.  If you think this
   2939 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2940 ac_tool_warned=yes ;;
   2941 esac
   2942     CC=$ac_ct_CC
   2943   fi
   2944 fi
   2945 
   2946 fi
   2947 
   2948 
   2949 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2950 See \`config.log' for more details." >&5
   2951 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2952 See \`config.log' for more details." >&2;}
   2953    { (exit 1); exit 1; }; }
   2954 
   2955 # Provide some information about the compiler.
   2956 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2957 ac_compiler=`set X $ac_compile; echo $2`
   2958 { (ac_try="$ac_compiler --version >&5"
   2959 case "(($ac_try" in
   2960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2961   *) ac_try_echo=$ac_try;;
   2962 esac
   2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2964   (eval "$ac_compiler --version >&5") 2>&5
   2965   ac_status=$?
   2966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2967   (exit $ac_status); }
   2968 { (ac_try="$ac_compiler -v >&5"
   2969 case "(($ac_try" in
   2970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2971   *) ac_try_echo=$ac_try;;
   2972 esac
   2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2974   (eval "$ac_compiler -v >&5") 2>&5
   2975   ac_status=$?
   2976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2977   (exit $ac_status); }
   2978 { (ac_try="$ac_compiler -V >&5"
   2979 case "(($ac_try" in
   2980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2981   *) ac_try_echo=$ac_try;;
   2982 esac
   2983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2984   (eval "$ac_compiler -V >&5") 2>&5
   2985   ac_status=$?
   2986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2987   (exit $ac_status); }
   2988 
   2989 cat >conftest.$ac_ext <<_ACEOF
   2990 /* confdefs.h.  */
   2991 _ACEOF
   2992 cat confdefs.h >>conftest.$ac_ext
   2993 cat >>conftest.$ac_ext <<_ACEOF
   2994 /* end confdefs.h.  */
   2995 
   2996 int
   2997 main ()
   2998 {
   2999 
   3000   ;
   3001   return 0;
   3002 }
   3003 _ACEOF
   3004 ac_clean_files_save=$ac_clean_files
   3005 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3006 # Try to create an executable without -o first, disregard a.out.
   3007 # It will help us diagnose broken compilers, and finding out an intuition
   3008 # of exeext.
   3009 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3010 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3011 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3012 #
   3013 # List of possible output files, starting from the most likely.
   3014 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3015 # only as a last resort.  b.out is created by i960 compilers.
   3016 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3017 #
   3018 # The IRIX 6 linker writes into existing files which may not be
   3019 # executable, retaining their permissions.  Remove them first so a
   3020 # subsequent execution test works.
   3021 ac_rmfiles=
   3022 for ac_file in $ac_files
   3023 do
   3024   case $ac_file in
   3025     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3026     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3027   esac
   3028 done
   3029 rm -f $ac_rmfiles
   3030 
   3031 if { (ac_try="$ac_link_default"
   3032 case "(($ac_try" in
   3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3034   *) ac_try_echo=$ac_try;;
   3035 esac
   3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3037   (eval "$ac_link_default") 2>&5
   3038   ac_status=$?
   3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3040   (exit $ac_status); }; then
   3041   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3043 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3044 # so that the user can short-circuit this test for compilers unknown to
   3045 # Autoconf.
   3046 for ac_file in $ac_files ''
   3047 do
   3048   test -f "$ac_file" || continue
   3049   case $ac_file in
   3050     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3051 	;;
   3052     [ab].out )
   3053 	# We found the default executable, but exeext='' is most
   3054 	# certainly right.
   3055 	break;;
   3056     *.* )
   3057         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3058 	then :; else
   3059 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3060 	fi
   3061 	# We set ac_cv_exeext here because the later test for it is not
   3062 	# safe: cross compilers may not add the suffix if given an `-o'
   3063 	# argument, so we may need to know it at that point already.
   3064 	# Even if this section looks crufty: it has the advantage of
   3065 	# actually working.
   3066 	break;;
   3067     * )
   3068 	break;;
   3069   esac
   3070 done
   3071 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3072 
   3073 else
   3074   ac_file=''
   3075 fi
   3076 
   3077 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3078 echo "${ECHO_T}$ac_file" >&6; }
   3079 if test -z "$ac_file"; then
   3080   echo "$as_me: failed program was:" >&5
   3081 sed 's/^/| /' conftest.$ac_ext >&5
   3082 
   3083 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3084 See \`config.log' for more details." >&5
   3085 echo "$as_me: error: C compiler cannot create executables
   3086 See \`config.log' for more details." >&2;}
   3087    { (exit 77); exit 77; }; }
   3088 fi
   3089 
   3090 ac_exeext=$ac_cv_exeext
   3091 
   3092 # Check that the compiler produces executables we can run.  If not, either
   3093 # the compiler is broken, or we cross compile.
   3094 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3095 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3096 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3097 # If not cross compiling, check that we can run a simple program.
   3098 if test "$cross_compiling" != yes; then
   3099   if { ac_try='./$ac_file'
   3100   { (case "(($ac_try" in
   3101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3102   *) ac_try_echo=$ac_try;;
   3103 esac
   3104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3105   (eval "$ac_try") 2>&5
   3106   ac_status=$?
   3107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3108   (exit $ac_status); }; }; then
   3109     cross_compiling=no
   3110   else
   3111     if test "$cross_compiling" = maybe; then
   3112 	cross_compiling=yes
   3113     else
   3114 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3115 If you meant to cross compile, use \`--host'.
   3116 See \`config.log' for more details." >&5
   3117 echo "$as_me: error: cannot run C compiled programs.
   3118 If you meant to cross compile, use \`--host'.
   3119 See \`config.log' for more details." >&2;}
   3120    { (exit 1); exit 1; }; }
   3121     fi
   3122   fi
   3123 fi
   3124 { echo "$as_me:$LINENO: result: yes" >&5
   3125 echo "${ECHO_T}yes" >&6; }
   3126 
   3127 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3128 ac_clean_files=$ac_clean_files_save
   3129 # Check that the compiler produces executables we can run.  If not, either
   3130 # the compiler is broken, or we cross compile.
   3131 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3132 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3133 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3134 echo "${ECHO_T}$cross_compiling" >&6; }
   3135 
   3136 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3137 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3138 if { (ac_try="$ac_link"
   3139 case "(($ac_try" in
   3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3141   *) ac_try_echo=$ac_try;;
   3142 esac
   3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3144   (eval "$ac_link") 2>&5
   3145   ac_status=$?
   3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3147   (exit $ac_status); }; then
   3148   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3149 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3150 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3151 # `rm'.
   3152 for ac_file in conftest.exe conftest conftest.*; do
   3153   test -f "$ac_file" || continue
   3154   case $ac_file in
   3155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3156     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3157 	  break;;
   3158     * ) break;;
   3159   esac
   3160 done
   3161 else
   3162   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3163 See \`config.log' for more details." >&5
   3164 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3165 See \`config.log' for more details." >&2;}
   3166    { (exit 1); exit 1; }; }
   3167 fi
   3168 
   3169 rm -f conftest$ac_cv_exeext
   3170 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3171 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3172 
   3173 rm -f conftest.$ac_ext
   3174 EXEEXT=$ac_cv_exeext
   3175 ac_exeext=$EXEEXT
   3176 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3177 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3178 if test "${ac_cv_objext+set}" = set; then
   3179   echo $ECHO_N "(cached) $ECHO_C" >&6
   3180 else
   3181   cat >conftest.$ac_ext <<_ACEOF
   3182 /* confdefs.h.  */
   3183 _ACEOF
   3184 cat confdefs.h >>conftest.$ac_ext
   3185 cat >>conftest.$ac_ext <<_ACEOF
   3186 /* end confdefs.h.  */
   3187 
   3188 int
   3189 main ()
   3190 {
   3191 
   3192   ;
   3193   return 0;
   3194 }
   3195 _ACEOF
   3196 rm -f conftest.o conftest.obj
   3197 if { (ac_try="$ac_compile"
   3198 case "(($ac_try" in
   3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3200   *) ac_try_echo=$ac_try;;
   3201 esac
   3202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3203   (eval "$ac_compile") 2>&5
   3204   ac_status=$?
   3205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3206   (exit $ac_status); }; then
   3207   for ac_file in conftest.o conftest.obj conftest.*; do
   3208   test -f "$ac_file" || continue;
   3209   case $ac_file in
   3210     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3211     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3212        break;;
   3213   esac
   3214 done
   3215 else
   3216   echo "$as_me: failed program was:" >&5
   3217 sed 's/^/| /' conftest.$ac_ext >&5
   3218 
   3219 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3220 See \`config.log' for more details." >&5
   3221 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3222 See \`config.log' for more details." >&2;}
   3223    { (exit 1); exit 1; }; }
   3224 fi
   3225 
   3226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3227 fi
   3228 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3229 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3230 OBJEXT=$ac_cv_objext
   3231 ac_objext=$OBJEXT
   3232 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3233 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3234 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3235   echo $ECHO_N "(cached) $ECHO_C" >&6
   3236 else
   3237   cat >conftest.$ac_ext <<_ACEOF
   3238 /* confdefs.h.  */
   3239 _ACEOF
   3240 cat confdefs.h >>conftest.$ac_ext
   3241 cat >>conftest.$ac_ext <<_ACEOF
   3242 /* end confdefs.h.  */
   3243 
   3244 int
   3245 main ()
   3246 {
   3247 #ifndef __GNUC__
   3248        choke me
   3249 #endif
   3250 
   3251   ;
   3252   return 0;
   3253 }
   3254 _ACEOF
   3255 rm -f conftest.$ac_objext
   3256 if { (ac_try="$ac_compile"
   3257 case "(($ac_try" in
   3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3259   *) ac_try_echo=$ac_try;;
   3260 esac
   3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3262   (eval "$ac_compile") 2>conftest.er1
   3263   ac_status=$?
   3264   grep -v '^ *+' conftest.er1 >conftest.err
   3265   rm -f conftest.er1
   3266   cat conftest.err >&5
   3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3268   (exit $ac_status); } && {
   3269 	 test -z "$ac_c_werror_flag" ||
   3270 	 test ! -s conftest.err
   3271        } && test -s conftest.$ac_objext; then
   3272   ac_compiler_gnu=yes
   3273 else
   3274   echo "$as_me: failed program was:" >&5
   3275 sed 's/^/| /' conftest.$ac_ext >&5
   3276 
   3277 	ac_compiler_gnu=no
   3278 fi
   3279 
   3280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3282 
   3283 fi
   3284 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3285 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3286 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3287 ac_test_CFLAGS=${CFLAGS+set}
   3288 ac_save_CFLAGS=$CFLAGS
   3289 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3290 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3291 if test "${ac_cv_prog_cc_g+set}" = set; then
   3292   echo $ECHO_N "(cached) $ECHO_C" >&6
   3293 else
   3294   ac_save_c_werror_flag=$ac_c_werror_flag
   3295    ac_c_werror_flag=yes
   3296    ac_cv_prog_cc_g=no
   3297    CFLAGS="-g"
   3298    cat >conftest.$ac_ext <<_ACEOF
   3299 /* confdefs.h.  */
   3300 _ACEOF
   3301 cat confdefs.h >>conftest.$ac_ext
   3302 cat >>conftest.$ac_ext <<_ACEOF
   3303 /* end confdefs.h.  */
   3304 
   3305 int
   3306 main ()
   3307 {
   3308 
   3309   ;
   3310   return 0;
   3311 }
   3312 _ACEOF
   3313 rm -f conftest.$ac_objext
   3314 if { (ac_try="$ac_compile"
   3315 case "(($ac_try" in
   3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3317   *) ac_try_echo=$ac_try;;
   3318 esac
   3319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3320   (eval "$ac_compile") 2>conftest.er1
   3321   ac_status=$?
   3322   grep -v '^ *+' conftest.er1 >conftest.err
   3323   rm -f conftest.er1
   3324   cat conftest.err >&5
   3325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3326   (exit $ac_status); } && {
   3327 	 test -z "$ac_c_werror_flag" ||
   3328 	 test ! -s conftest.err
   3329        } && test -s conftest.$ac_objext; then
   3330   ac_cv_prog_cc_g=yes
   3331 else
   3332   echo "$as_me: failed program was:" >&5
   3333 sed 's/^/| /' conftest.$ac_ext >&5
   3334 
   3335 	CFLAGS=""
   3336       cat >conftest.$ac_ext <<_ACEOF
   3337 /* confdefs.h.  */
   3338 _ACEOF
   3339 cat confdefs.h >>conftest.$ac_ext
   3340 cat >>conftest.$ac_ext <<_ACEOF
   3341 /* end confdefs.h.  */
   3342 
   3343 int
   3344 main ()
   3345 {
   3346 
   3347   ;
   3348   return 0;
   3349 }
   3350 _ACEOF
   3351 rm -f conftest.$ac_objext
   3352 if { (ac_try="$ac_compile"
   3353 case "(($ac_try" in
   3354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3355   *) ac_try_echo=$ac_try;;
   3356 esac
   3357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3358   (eval "$ac_compile") 2>conftest.er1
   3359   ac_status=$?
   3360   grep -v '^ *+' conftest.er1 >conftest.err
   3361   rm -f conftest.er1
   3362   cat conftest.err >&5
   3363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3364   (exit $ac_status); } && {
   3365 	 test -z "$ac_c_werror_flag" ||
   3366 	 test ! -s conftest.err
   3367        } && test -s conftest.$ac_objext; then
   3368   :
   3369 else
   3370   echo "$as_me: failed program was:" >&5
   3371 sed 's/^/| /' conftest.$ac_ext >&5
   3372 
   3373 	ac_c_werror_flag=$ac_save_c_werror_flag
   3374 	 CFLAGS="-g"
   3375 	 cat >conftest.$ac_ext <<_ACEOF
   3376 /* confdefs.h.  */
   3377 _ACEOF
   3378 cat confdefs.h >>conftest.$ac_ext
   3379 cat >>conftest.$ac_ext <<_ACEOF
   3380 /* end confdefs.h.  */
   3381 
   3382 int
   3383 main ()
   3384 {
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 rm -f conftest.$ac_objext
   3391 if { (ac_try="$ac_compile"
   3392 case "(($ac_try" in
   3393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3394   *) ac_try_echo=$ac_try;;
   3395 esac
   3396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3397   (eval "$ac_compile") 2>conftest.er1
   3398   ac_status=$?
   3399   grep -v '^ *+' conftest.er1 >conftest.err
   3400   rm -f conftest.er1
   3401   cat conftest.err >&5
   3402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3403   (exit $ac_status); } && {
   3404 	 test -z "$ac_c_werror_flag" ||
   3405 	 test ! -s conftest.err
   3406        } && test -s conftest.$ac_objext; then
   3407   ac_cv_prog_cc_g=yes
   3408 else
   3409   echo "$as_me: failed program was:" >&5
   3410 sed 's/^/| /' conftest.$ac_ext >&5
   3411 
   3412 
   3413 fi
   3414 
   3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3416 fi
   3417 
   3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3419 fi
   3420 
   3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3422    ac_c_werror_flag=$ac_save_c_werror_flag
   3423 fi
   3424 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3426 if test "$ac_test_CFLAGS" = set; then
   3427   CFLAGS=$ac_save_CFLAGS
   3428 elif test $ac_cv_prog_cc_g = yes; then
   3429   if test "$GCC" = yes; then
   3430     CFLAGS="-g -O2"
   3431   else
   3432     CFLAGS="-g"
   3433   fi
   3434 else
   3435   if test "$GCC" = yes; then
   3436     CFLAGS="-O2"
   3437   else
   3438     CFLAGS=
   3439   fi
   3440 fi
   3441 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3442 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3443 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3444   echo $ECHO_N "(cached) $ECHO_C" >&6
   3445 else
   3446   ac_cv_prog_cc_c89=no
   3447 ac_save_CC=$CC
   3448 cat >conftest.$ac_ext <<_ACEOF
   3449 /* confdefs.h.  */
   3450 _ACEOF
   3451 cat confdefs.h >>conftest.$ac_ext
   3452 cat >>conftest.$ac_ext <<_ACEOF
   3453 /* end confdefs.h.  */
   3454 #include <stdarg.h>
   3455 #include <stdio.h>
   3456 #include <sys/types.h>
   3457 #include <sys/stat.h>
   3458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3459 struct buf { int x; };
   3460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3461 static char *e (p, i)
   3462      char **p;
   3463      int i;
   3464 {
   3465   return p[i];
   3466 }
   3467 static char *f (char * (*g) (char **, int), char **p, ...)
   3468 {
   3469   char *s;
   3470   va_list v;
   3471   va_start (v,p);
   3472   s = g (p, va_arg (v,int));
   3473   va_end (v);
   3474   return s;
   3475 }
   3476 
   3477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3478    function prototypes and stuff, but not '\xHH' hex character constants.
   3479    These don't provoke an error unfortunately, instead are silently treated
   3480    as 'x'.  The following induces an error, until -std is added to get
   3481    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3482    array size at least.  It's necessary to write '\x00'==0 to get something
   3483    that's true only with -std.  */
   3484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3485 
   3486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3487    inside strings and character constants.  */
   3488 #define FOO(x) 'x'
   3489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3490 
   3491 int test (int i, double x);
   3492 struct s1 {int (*f) (int a);};
   3493 struct s2 {int (*f) (double a);};
   3494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3495 int argc;
   3496 char **argv;
   3497 int
   3498 main ()
   3499 {
   3500 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3506 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3507 do
   3508   CC="$ac_save_CC $ac_arg"
   3509   rm -f conftest.$ac_objext
   3510 if { (ac_try="$ac_compile"
   3511 case "(($ac_try" in
   3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3513   *) ac_try_echo=$ac_try;;
   3514 esac
   3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3516   (eval "$ac_compile") 2>conftest.er1
   3517   ac_status=$?
   3518   grep -v '^ *+' conftest.er1 >conftest.err
   3519   rm -f conftest.er1
   3520   cat conftest.err >&5
   3521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3522   (exit $ac_status); } && {
   3523 	 test -z "$ac_c_werror_flag" ||
   3524 	 test ! -s conftest.err
   3525        } && test -s conftest.$ac_objext; then
   3526   ac_cv_prog_cc_c89=$ac_arg
   3527 else
   3528   echo "$as_me: failed program was:" >&5
   3529 sed 's/^/| /' conftest.$ac_ext >&5
   3530 
   3531 
   3532 fi
   3533 
   3534 rm -f core conftest.err conftest.$ac_objext
   3535   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3536 done
   3537 rm -f conftest.$ac_ext
   3538 CC=$ac_save_CC
   3539 
   3540 fi
   3541 # AC_CACHE_VAL
   3542 case "x$ac_cv_prog_cc_c89" in
   3543   x)
   3544     { echo "$as_me:$LINENO: result: none needed" >&5
   3545 echo "${ECHO_T}none needed" >&6; } ;;
   3546   xno)
   3547     { echo "$as_me:$LINENO: result: unsupported" >&5
   3548 echo "${ECHO_T}unsupported" >&6; } ;;
   3549   *)
   3550     CC="$CC $ac_cv_prog_cc_c89"
   3551     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3552 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3553 esac
   3554 
   3555 
   3556 ac_ext=c
   3557 ac_cpp='$CPP $CPPFLAGS'
   3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3561 DEPDIR="${am__leading_dot}deps"
   3562 
   3563 ac_config_commands="$ac_config_commands depfiles"
   3564 
   3565 
   3566 am_make=${MAKE-make}
   3567 cat > confinc << 'END'
   3568 am__doit:
   3569 	@echo done
   3570 .PHONY: am__doit
   3571 END
   3572 # If we don't find an include directive, just comment out the code.
   3573 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3574 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3575 am__include="#"
   3576 am__quote=
   3577 _am_result=none
   3578 # First try GNU make style include.
   3579 echo "include confinc" > confmf
   3580 # We grep out `Entering directory' and `Leaving directory'
   3581 # messages which can occur if `w' ends up in MAKEFLAGS.
   3582 # In particular we don't look at `^make:' because GNU make might
   3583 # be invoked under some other name (usually "gmake"), in which
   3584 # case it prints its new name instead of `make'.
   3585 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3586    am__include=include
   3587    am__quote=
   3588    _am_result=GNU
   3589 fi
   3590 # Now try BSD make style include.
   3591 if test "$am__include" = "#"; then
   3592    echo '.include "confinc"' > confmf
   3593    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3594       am__include=.include
   3595       am__quote="\""
   3596       _am_result=BSD
   3597    fi
   3598 fi
   3599 
   3600 
   3601 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3602 echo "${ECHO_T}$_am_result" >&6; }
   3603 rm -f confinc confmf
   3604 
   3605 # Check whether --enable-dependency-tracking was given.
   3606 if test "${enable_dependency_tracking+set}" = set; then
   3607   enableval=$enable_dependency_tracking;
   3608 fi
   3609 
   3610 if test "x$enable_dependency_tracking" != xno; then
   3611   am_depcomp="$ac_aux_dir/depcomp"
   3612   AMDEPBACKSLASH='\'
   3613 fi
   3614  if test "x$enable_dependency_tracking" != xno; then
   3615   AMDEP_TRUE=
   3616   AMDEP_FALSE='#'
   3617 else
   3618   AMDEP_TRUE='#'
   3619   AMDEP_FALSE=
   3620 fi
   3621 
   3622 
   3623 
   3624 depcc="$CC"   am_compiler_list=
   3625 
   3626 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3627 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3628 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3629   echo $ECHO_N "(cached) $ECHO_C" >&6
   3630 else
   3631   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3632   # We make a subdir and do the tests there.  Otherwise we can end up
   3633   # making bogus files that we don't know about and never remove.  For
   3634   # instance it was reported that on HP-UX the gcc test will end up
   3635   # making a dummy file named `D' -- because `-MD' means `put the output
   3636   # in D'.
   3637   mkdir conftest.dir
   3638   # Copy depcomp to subdir because otherwise we won't find it if we're
   3639   # using a relative directory.
   3640   cp "$am_depcomp" conftest.dir
   3641   cd conftest.dir
   3642   # We will build objects and dependencies in a subdirectory because
   3643   # it helps to detect inapplicable dependency modes.  For instance
   3644   # both Tru64's cc and ICC support -MD to output dependencies as a
   3645   # side effect of compilation, but ICC will put the dependencies in
   3646   # the current directory while Tru64 will put them in the object
   3647   # directory.
   3648   mkdir sub
   3649 
   3650   am_cv_CC_dependencies_compiler_type=none
   3651   if test "$am_compiler_list" = ""; then
   3652      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3653   fi
   3654   for depmode in $am_compiler_list; do
   3655     # Setup a source with many dependencies, because some compilers
   3656     # like to wrap large dependency lists on column 80 (with \), and
   3657     # we should not choose a depcomp mode which is confused by this.
   3658     #
   3659     # We need to recreate these files for each test, as the compiler may
   3660     # overwrite some of them when testing with obscure command lines.
   3661     # This happens at least with the AIX C compiler.
   3662     : > sub/conftest.c
   3663     for i in 1 2 3 4 5 6; do
   3664       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3665       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3666       # Solaris 8's {/usr,}/bin/sh.
   3667       touch sub/conftst$i.h
   3668     done
   3669     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3670 
   3671     case $depmode in
   3672     nosideeffect)
   3673       # after this tag, mechanisms are not by side-effect, so they'll
   3674       # only be used when explicitly requested
   3675       if test "x$enable_dependency_tracking" = xyes; then
   3676 	continue
   3677       else
   3678 	break
   3679       fi
   3680       ;;
   3681     none) break ;;
   3682     esac
   3683     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3684     # mode.  It turns out that the SunPro C++ compiler does not properly
   3685     # handle `-M -o', and we need to detect this.
   3686     if depmode=$depmode \
   3687        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3688        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3689        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3690          >/dev/null 2>conftest.err &&
   3691        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3692        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3693        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3694        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3695       # icc doesn't choke on unknown options, it will just issue warnings
   3696       # or remarks (even with -Werror).  So we grep stderr for any message
   3697       # that says an option was ignored or not supported.
   3698       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3699       #   icc: Command line warning: ignoring option '-M'; no argument required
   3700       # The diagnosis changed in icc 8.0:
   3701       #   icc: Command line remark: option '-MP' not supported
   3702       if (grep 'ignoring option' conftest.err ||
   3703           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3704         am_cv_CC_dependencies_compiler_type=$depmode
   3705         break
   3706       fi
   3707     fi
   3708   done
   3709 
   3710   cd ..
   3711   rm -rf conftest.dir
   3712 else
   3713   am_cv_CC_dependencies_compiler_type=none
   3714 fi
   3715 
   3716 fi
   3717 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3718 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3719 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3720 
   3721  if
   3722   test "x$enable_dependency_tracking" != xno \
   3723   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3724   am__fastdepCC_TRUE=
   3725   am__fastdepCC_FALSE='#'
   3726 else
   3727   am__fastdepCC_TRUE='#'
   3728   am__fastdepCC_FALSE=
   3729 fi
   3730 
   3731 
   3732 if test "x$CC" != xcc; then
   3733   { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
   3734 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
   3735 else
   3736   { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
   3737 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
   3738 fi
   3739 set dummy $CC; ac_cc=`echo $2 |
   3740 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   3741 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
   3742   echo $ECHO_N "(cached) $ECHO_C" >&6
   3743 else
   3744   cat >conftest.$ac_ext <<_ACEOF
   3745 /* confdefs.h.  */
   3746 _ACEOF
   3747 cat confdefs.h >>conftest.$ac_ext
   3748 cat >>conftest.$ac_ext <<_ACEOF
   3749 /* end confdefs.h.  */
   3750 
   3751 int
   3752 main ()
   3753 {
   3754 
   3755   ;
   3756   return 0;
   3757 }
   3758 _ACEOF
   3759 # Make sure it works both with $CC and with simple cc.
   3760 # We do the test twice because some compilers refuse to overwrite an
   3761 # existing .o file with -o, though they will create one.
   3762 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   3763 rm -f conftest2.*
   3764 if { (case "(($ac_try" in
   3765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3766   *) ac_try_echo=$ac_try;;
   3767 esac
   3768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3769   (eval "$ac_try") 2>&5
   3770   ac_status=$?
   3771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3772   (exit $ac_status); } &&
   3773    test -f conftest2.$ac_objext && { (case "(($ac_try" in
   3774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3775   *) ac_try_echo=$ac_try;;
   3776 esac
   3777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3778   (eval "$ac_try") 2>&5
   3779   ac_status=$?
   3780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3781   (exit $ac_status); };
   3782 then
   3783   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   3784   if test "x$CC" != xcc; then
   3785     # Test first that cc exists at all.
   3786     if { ac_try='cc -c conftest.$ac_ext >&5'
   3787   { (case "(($ac_try" in
   3788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3789   *) ac_try_echo=$ac_try;;
   3790 esac
   3791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3792   (eval "$ac_try") 2>&5
   3793   ac_status=$?
   3794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3795   (exit $ac_status); }; }; then
   3796       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   3797       rm -f conftest2.*
   3798       if { (case "(($ac_try" in
   3799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3800   *) ac_try_echo=$ac_try;;
   3801 esac
   3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3803   (eval "$ac_try") 2>&5
   3804   ac_status=$?
   3805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3806   (exit $ac_status); } &&
   3807 	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
   3808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3809   *) ac_try_echo=$ac_try;;
   3810 esac
   3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3812   (eval "$ac_try") 2>&5
   3813   ac_status=$?
   3814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3815   (exit $ac_status); };
   3816       then
   3817 	# cc works too.
   3818 	:
   3819       else
   3820 	# cc exists but doesn't like -o.
   3821 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   3822       fi
   3823     fi
   3824   fi
   3825 else
   3826   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   3827 fi
   3828 rm -f core conftest*
   3829 
   3830 fi
   3831 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   3832   { echo "$as_me:$LINENO: result: yes" >&5
   3833 echo "${ECHO_T}yes" >&6; }
   3834 else
   3835   { echo "$as_me:$LINENO: result: no" >&5
   3836 echo "${ECHO_T}no" >&6; }
   3837 
   3838 cat >>confdefs.h <<\_ACEOF
   3839 #define NO_MINUS_C_MINUS_O 1
   3840 _ACEOF
   3841 
   3842 fi
   3843 
   3844 # FIXME: we rely on the cache variable name because
   3845 # there is no other way.
   3846 set dummy $CC
   3847 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   3848 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
   3849    # Losing compiler, so override with the script.
   3850    # FIXME: It is wrong to rewrite CC.
   3851    # But if we don't then we get into trouble of one sort or another.
   3852    # A longer-term fix would be to have automake use am__CC in this case,
   3853    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3854    CC="$am_aux_dir/compile $CC"
   3855 fi
   3856 
   3857 
   3858 
   3859 { echo "$as_me:$LINENO: checking for inline" >&5
   3860 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
   3861 if test "${ac_cv_c_inline+set}" = set; then
   3862   echo $ECHO_N "(cached) $ECHO_C" >&6
   3863 else
   3864   ac_cv_c_inline=no
   3865 for ac_kw in inline __inline__ __inline; do
   3866   cat >conftest.$ac_ext <<_ACEOF
   3867 /* confdefs.h.  */
   3868 _ACEOF
   3869 cat confdefs.h >>conftest.$ac_ext
   3870 cat >>conftest.$ac_ext <<_ACEOF
   3871 /* end confdefs.h.  */
   3872 #ifndef __cplusplus
   3873 typedef int foo_t;
   3874 static $ac_kw foo_t static_foo () {return 0; }
   3875 $ac_kw foo_t foo () {return 0; }
   3876 #endif
   3877 
   3878 _ACEOF
   3879 rm -f conftest.$ac_objext
   3880 if { (ac_try="$ac_compile"
   3881 case "(($ac_try" in
   3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3883   *) ac_try_echo=$ac_try;;
   3884 esac
   3885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3886   (eval "$ac_compile") 2>conftest.er1
   3887   ac_status=$?
   3888   grep -v '^ *+' conftest.er1 >conftest.err
   3889   rm -f conftest.er1
   3890   cat conftest.err >&5
   3891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3892   (exit $ac_status); } && {
   3893 	 test -z "$ac_c_werror_flag" ||
   3894 	 test ! -s conftest.err
   3895        } && test -s conftest.$ac_objext; then
   3896   ac_cv_c_inline=$ac_kw
   3897 else
   3898   echo "$as_me: failed program was:" >&5
   3899 sed 's/^/| /' conftest.$ac_ext >&5
   3900 
   3901 
   3902 fi
   3903 
   3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3905   test "$ac_cv_c_inline" != no && break
   3906 done
   3907 
   3908 fi
   3909 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   3910 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
   3911 
   3912 
   3913 case $ac_cv_c_inline in
   3914   inline | yes) ;;
   3915   *)
   3916     case $ac_cv_c_inline in
   3917       no) ac_val=;;
   3918       *) ac_val=$ac_cv_c_inline;;
   3919     esac
   3920     cat >>confdefs.h <<_ACEOF
   3921 #ifndef __cplusplus
   3922 #define inline $ac_val
   3923 #endif
   3924 _ACEOF
   3925     ;;
   3926 esac
   3927 
   3928 
   3929 
   3930 # Check whether --enable-shared was given.
   3931 if test "${enable_shared+set}" = set; then
   3932   enableval=$enable_shared; p=${PACKAGE-default}
   3933     case $enableval in
   3934     yes) enable_shared=yes ;;
   3935     no) enable_shared=no ;;
   3936     *)
   3937       enable_shared=no
   3938       # Look at the argument we got.  We use all the common list separators.
   3939       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3940       for pkg in $enableval; do
   3941 	IFS="$lt_save_ifs"
   3942 	if test "X$pkg" = "X$p"; then
   3943 	  enable_shared=yes
   3944 	fi
   3945       done
   3946       IFS="$lt_save_ifs"
   3947       ;;
   3948     esac
   3949 else
   3950   enable_shared=yes
   3951 fi
   3952 
   3953 
   3954 # Check whether --enable-static was given.
   3955 if test "${enable_static+set}" = set; then
   3956   enableval=$enable_static; p=${PACKAGE-default}
   3957     case $enableval in
   3958     yes) enable_static=yes ;;
   3959     no) enable_static=no ;;
   3960     *)
   3961      enable_static=no
   3962       # Look at the argument we got.  We use all the common list separators.
   3963       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3964       for pkg in $enableval; do
   3965 	IFS="$lt_save_ifs"
   3966 	if test "X$pkg" = "X$p"; then
   3967 	  enable_static=yes
   3968 	fi
   3969       done
   3970       IFS="$lt_save_ifs"
   3971       ;;
   3972     esac
   3973 else
   3974   enable_static=yes
   3975 fi
   3976 
   3977 
   3978 # Check whether --enable-fast-install was given.
   3979 if test "${enable_fast_install+set}" = set; then
   3980   enableval=$enable_fast_install; p=${PACKAGE-default}
   3981     case $enableval in
   3982     yes) enable_fast_install=yes ;;
   3983     no) enable_fast_install=no ;;
   3984     *)
   3985       enable_fast_install=no
   3986       # Look at the argument we got.  We use all the common list separators.
   3987       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3988       for pkg in $enableval; do
   3989 	IFS="$lt_save_ifs"
   3990 	if test "X$pkg" = "X$p"; then
   3991 	  enable_fast_install=yes
   3992 	fi
   3993       done
   3994       IFS="$lt_save_ifs"
   3995       ;;
   3996     esac
   3997 else
   3998   enable_fast_install=yes
   3999 fi
   4000 
   4001 
   4002 # Make sure we can run config.sub.
   4003 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4004   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4005 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4006    { (exit 1); exit 1; }; }
   4007 
   4008 { echo "$as_me:$LINENO: checking build system type" >&5
   4009 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   4010 if test "${ac_cv_build+set}" = set; then
   4011   echo $ECHO_N "(cached) $ECHO_C" >&6
   4012 else
   4013   ac_build_alias=$build_alias
   4014 test "x$ac_build_alias" = x &&
   4015   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4016 test "x$ac_build_alias" = x &&
   4017   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4018 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4019    { (exit 1); exit 1; }; }
   4020 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4021   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4022 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4023    { (exit 1); exit 1; }; }
   4024 
   4025 fi
   4026 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4027 echo "${ECHO_T}$ac_cv_build" >&6; }
   4028 case $ac_cv_build in
   4029 *-*-*) ;;
   4030 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4031 echo "$as_me: error: invalid value of canonical build" >&2;}
   4032    { (exit 1); exit 1; }; };;
   4033 esac
   4034 build=$ac_cv_build
   4035 ac_save_IFS=$IFS; IFS='-'
   4036 set x $ac_cv_build
   4037 shift
   4038 build_cpu=$1
   4039 build_vendor=$2
   4040 shift; shift
   4041 # Remember, the first character of IFS is used to create $*,
   4042 # except with old shells:
   4043 build_os=$*
   4044 IFS=$ac_save_IFS
   4045 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4046 
   4047 
   4048 { echo "$as_me:$LINENO: checking host system type" >&5
   4049 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   4050 if test "${ac_cv_host+set}" = set; then
   4051   echo $ECHO_N "(cached) $ECHO_C" >&6
   4052 else
   4053   if test "x$host_alias" = x; then
   4054   ac_cv_host=$ac_cv_build
   4055 else
   4056   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4057     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4058 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4059    { (exit 1); exit 1; }; }
   4060 fi
   4061 
   4062 fi
   4063 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4064 echo "${ECHO_T}$ac_cv_host" >&6; }
   4065 case $ac_cv_host in
   4066 *-*-*) ;;
   4067 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4068 echo "$as_me: error: invalid value of canonical host" >&2;}
   4069    { (exit 1); exit 1; }; };;
   4070 esac
   4071 host=$ac_cv_host
   4072 ac_save_IFS=$IFS; IFS='-'
   4073 set x $ac_cv_host
   4074 shift
   4075 host_cpu=$1
   4076 host_vendor=$2
   4077 shift; shift
   4078 # Remember, the first character of IFS is used to create $*,
   4079 # except with old shells:
   4080 host_os=$*
   4081 IFS=$ac_save_IFS
   4082 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4083 
   4084 
   4085 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4086 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   4087 if test "${lt_cv_path_SED+set}" = set; then
   4088   echo $ECHO_N "(cached) $ECHO_C" >&6
   4089 else
   4090   # Loop through the user's path and test for sed and gsed.
   4091 # Then use that list of sed's as ones to test for truncation.
   4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4093 for as_dir in $PATH
   4094 do
   4095   IFS=$as_save_IFS
   4096   test -z "$as_dir" && as_dir=.
   4097   for lt_ac_prog in sed gsed; do
   4098     for ac_exec_ext in '' $ac_executable_extensions; do
   4099       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   4100         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4101       fi
   4102     done
   4103   done
   4104 done
   4105 lt_ac_max=0
   4106 lt_ac_count=0
   4107 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4108 # along with /bin/sed that truncates output.
   4109 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4110   test ! -f $lt_ac_sed && continue
   4111   cat /dev/null > conftest.in
   4112   lt_ac_count=0
   4113   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4114   # Check for GNU sed and select it if it is found.
   4115   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4116     lt_cv_path_SED=$lt_ac_sed
   4117     break
   4118   fi
   4119   while true; do
   4120     cat conftest.in conftest.in >conftest.tmp
   4121     mv conftest.tmp conftest.in
   4122     cp conftest.in conftest.nl
   4123     echo >>conftest.nl
   4124     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4125     cmp -s conftest.out conftest.nl || break
   4126     # 10000 chars as input seems more than enough
   4127     test $lt_ac_count -gt 10 && break
   4128     lt_ac_count=`expr $lt_ac_count + 1`
   4129     if test $lt_ac_count -gt $lt_ac_max; then
   4130       lt_ac_max=$lt_ac_count
   4131       lt_cv_path_SED=$lt_ac_sed
   4132     fi
   4133   done
   4134 done
   4135 
   4136 fi
   4137 
   4138 SED=$lt_cv_path_SED
   4139 { echo "$as_me:$LINENO: result: $SED" >&5
   4140 echo "${ECHO_T}$SED" >&6; }
   4141 
   4142 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4143 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   4144 if test "${ac_cv_path_GREP+set}" = set; then
   4145   echo $ECHO_N "(cached) $ECHO_C" >&6
   4146 else
   4147   # Extract the first word of "grep ggrep" to use in msg output
   4148 if test -z "$GREP"; then
   4149 set dummy grep ggrep; ac_prog_name=$2
   4150 if test "${ac_cv_path_GREP+set}" = set; then
   4151   echo $ECHO_N "(cached) $ECHO_C" >&6
   4152 else
   4153   ac_path_GREP_found=false
   4154 # Loop through the user's path and test for each of PROGNAME-LIST
   4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4157 do
   4158   IFS=$as_save_IFS
   4159   test -z "$as_dir" && as_dir=.
   4160   for ac_prog in grep ggrep; do
   4161   for ac_exec_ext in '' $ac_executable_extensions; do
   4162     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4163     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4164     # Check for GNU ac_path_GREP and select it if it is found.
   4165   # Check for GNU $ac_path_GREP
   4166 case `"$ac_path_GREP" --version 2>&1` in
   4167 *GNU*)
   4168   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4169 *)
   4170   ac_count=0
   4171   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4172   while :
   4173   do
   4174     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4175     mv "conftest.tmp" "conftest.in"
   4176     cp "conftest.in" "conftest.nl"
   4177     echo 'GREP' >> "conftest.nl"
   4178     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4179     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4180     ac_count=`expr $ac_count + 1`
   4181     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4182       # Best one so far, save it but keep looking for a better one
   4183       ac_cv_path_GREP="$ac_path_GREP"
   4184       ac_path_GREP_max=$ac_count
   4185     fi
   4186     # 10*(2^10) chars as input seems more than enough
   4187     test $ac_count -gt 10 && break
   4188   done
   4189   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4190 esac
   4191 
   4192 
   4193     $ac_path_GREP_found && break 3
   4194   done
   4195 done
   4196 
   4197 done
   4198 IFS=$as_save_IFS
   4199 
   4200 
   4201 fi
   4202 
   4203 GREP="$ac_cv_path_GREP"
   4204 if test -z "$GREP"; then
   4205   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4206 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4207    { (exit 1); exit 1; }; }
   4208 fi
   4209 
   4210 else
   4211   ac_cv_path_GREP=$GREP
   4212 fi
   4213 
   4214 
   4215 fi
   4216 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4217 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   4218  GREP="$ac_cv_path_GREP"
   4219 
   4220 
   4221 { echo "$as_me:$LINENO: checking for egrep" >&5
   4222 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   4223 if test "${ac_cv_path_EGREP+set}" = set; then
   4224   echo $ECHO_N "(cached) $ECHO_C" >&6
   4225 else
   4226   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4227    then ac_cv_path_EGREP="$GREP -E"
   4228    else
   4229      # Extract the first word of "egrep" to use in msg output
   4230 if test -z "$EGREP"; then
   4231 set dummy egrep; ac_prog_name=$2
   4232 if test "${ac_cv_path_EGREP+set}" = set; then
   4233   echo $ECHO_N "(cached) $ECHO_C" >&6
   4234 else
   4235   ac_path_EGREP_found=false
   4236 # Loop through the user's path and test for each of PROGNAME-LIST
   4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4238 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4239 do
   4240   IFS=$as_save_IFS
   4241   test -z "$as_dir" && as_dir=.
   4242   for ac_prog in egrep; do
   4243   for ac_exec_ext in '' $ac_executable_extensions; do
   4244     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4245     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4246     # Check for GNU ac_path_EGREP and select it if it is found.
   4247   # Check for GNU $ac_path_EGREP
   4248 case `"$ac_path_EGREP" --version 2>&1` in
   4249 *GNU*)
   4250   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4251 *)
   4252   ac_count=0
   4253   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4254   while :
   4255   do
   4256     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4257     mv "conftest.tmp" "conftest.in"
   4258     cp "conftest.in" "conftest.nl"
   4259     echo 'EGREP' >> "conftest.nl"
   4260     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4261     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4262     ac_count=`expr $ac_count + 1`
   4263     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4264       # Best one so far, save it but keep looking for a better one
   4265       ac_cv_path_EGREP="$ac_path_EGREP"
   4266       ac_path_EGREP_max=$ac_count
   4267     fi
   4268     # 10*(2^10) chars as input seems more than enough
   4269     test $ac_count -gt 10 && break
   4270   done
   4271   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4272 esac
   4273 
   4274 
   4275     $ac_path_EGREP_found && break 3
   4276   done
   4277 done
   4278 
   4279 done
   4280 IFS=$as_save_IFS
   4281 
   4282 
   4283 fi
   4284 
   4285 EGREP="$ac_cv_path_EGREP"
   4286 if test -z "$EGREP"; then
   4287   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4288 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4289    { (exit 1); exit 1; }; }
   4290 fi
   4291 
   4292 else
   4293   ac_cv_path_EGREP=$EGREP
   4294 fi
   4295 
   4296 
   4297    fi
   4298 fi
   4299 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4300 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4301  EGREP="$ac_cv_path_EGREP"
   4302 
   4303 
   4304 
   4305 # Check whether --with-gnu-ld was given.
   4306 if test "${with_gnu_ld+set}" = set; then
   4307   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4308 else
   4309   with_gnu_ld=no
   4310 fi
   4311 
   4312 ac_prog=ld
   4313 if test "$GCC" = yes; then
   4314   # Check if gcc -print-prog-name=ld gives a path.
   4315   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4316 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4317   case $host in
   4318   *-*-mingw*)
   4319     # gcc leaves a trailing carriage return which upsets mingw
   4320     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4321   *)
   4322     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4323   esac
   4324   case $ac_prog in
   4325     # Accept absolute paths.
   4326     [\\/]* | ?:[\\/]*)
   4327       re_direlt='/[^/][^/]*/\.\./'
   4328       # Canonicalize the pathname of ld
   4329       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4330       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4331 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4332       done
   4333       test -z "$LD" && LD="$ac_prog"
   4334       ;;
   4335   "")
   4336     # If it fails, then pretend we aren't using GCC.
   4337     ac_prog=ld
   4338     ;;
   4339   *)
   4340     # If it is relative, then search for the first ld in PATH.
   4341     with_gnu_ld=unknown
   4342     ;;
   4343   esac
   4344 elif test "$with_gnu_ld" = yes; then
   4345   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4346 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4347 else
   4348   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4349 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4350 fi
   4351 if test "${lt_cv_path_LD+set}" = set; then
   4352   echo $ECHO_N "(cached) $ECHO_C" >&6
   4353 else
   4354   if test -z "$LD"; then
   4355   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4356   for ac_dir in $PATH; do
   4357     IFS="$lt_save_ifs"
   4358     test -z "$ac_dir" && ac_dir=.
   4359     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4360       lt_cv_path_LD="$ac_dir/$ac_prog"
   4361       # Check to see if the program is GNU ld.  I'd rather use --version,
   4362       # but apparently some variants of GNU ld only accept -v.
   4363       # Break only if it was the GNU/non-GNU ld that we prefer.
   4364       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4365       *GNU* | *'with BFD'*)
   4366 	test "$with_gnu_ld" != no && break
   4367 	;;
   4368       *)
   4369 	test "$with_gnu_ld" != yes && break
   4370 	;;
   4371       esac
   4372     fi
   4373   done
   4374   IFS="$lt_save_ifs"
   4375 else
   4376   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4377 fi
   4378 fi
   4379 
   4380 LD="$lt_cv_path_LD"
   4381 if test -n "$LD"; then
   4382   { echo "$as_me:$LINENO: result: $LD" >&5
   4383 echo "${ECHO_T}$LD" >&6; }
   4384 else
   4385   { echo "$as_me:$LINENO: result: no" >&5
   4386 echo "${ECHO_T}no" >&6; }
   4387 fi
   4388 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4389 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4390    { (exit 1); exit 1; }; }
   4391 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4392 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4393 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4394   echo $ECHO_N "(cached) $ECHO_C" >&6
   4395 else
   4396   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4397 case `$LD -v 2>&1 </dev/null` in
   4398 *GNU* | *'with BFD'*)
   4399   lt_cv_prog_gnu_ld=yes
   4400   ;;
   4401 *)
   4402   lt_cv_prog_gnu_ld=no
   4403   ;;
   4404 esac
   4405 fi
   4406 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4407 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4408 with_gnu_ld=$lt_cv_prog_gnu_ld
   4409 
   4410 
   4411 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4412 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4413 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4414   echo $ECHO_N "(cached) $ECHO_C" >&6
   4415 else
   4416   lt_cv_ld_reload_flag='-r'
   4417 fi
   4418 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4419 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4420 reload_flag=$lt_cv_ld_reload_flag
   4421 case $reload_flag in
   4422 "" | " "*) ;;
   4423 *) reload_flag=" $reload_flag" ;;
   4424 esac
   4425 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4426 case $host_os in
   4427   darwin*)
   4428     if test "$GCC" = yes; then
   4429       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4430     else
   4431       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4432     fi
   4433     ;;
   4434 esac
   4435 
   4436 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4437 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4438 if test "${lt_cv_path_NM+set}" = set; then
   4439   echo $ECHO_N "(cached) $ECHO_C" >&6
   4440 else
   4441   if test -n "$NM"; then
   4442   # Let the user override the test.
   4443   lt_cv_path_NM="$NM"
   4444 else
   4445   lt_nm_to_check="${ac_tool_prefix}nm"
   4446   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4447     lt_nm_to_check="$lt_nm_to_check nm"
   4448   fi
   4449   for lt_tmp_nm in $lt_nm_to_check; do
   4450     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4451     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4452       IFS="$lt_save_ifs"
   4453       test -z "$ac_dir" && ac_dir=.
   4454       tmp_nm="$ac_dir/$lt_tmp_nm"
   4455       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4456 	# Check to see if the nm accepts a BSD-compat flag.
   4457 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4458 	#   nm: unknown option "B" ignored
   4459 	# Tru64's nm complains that /dev/null is an invalid object file
   4460 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4461 	*/dev/null* | *'Invalid file or object type'*)
   4462 	  lt_cv_path_NM="$tmp_nm -B"
   4463 	  break
   4464 	  ;;
   4465 	*)
   4466 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4467 	  */dev/null*)
   4468 	    lt_cv_path_NM="$tmp_nm -p"
   4469 	    break
   4470 	    ;;
   4471 	  *)
   4472 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4473 	    continue # so that we can try to find one that supports BSD flags
   4474 	    ;;
   4475 	  esac
   4476 	  ;;
   4477 	esac
   4478       fi
   4479     done
   4480     IFS="$lt_save_ifs"
   4481   done
   4482   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4483 fi
   4484 fi
   4485 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4486 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4487 NM="$lt_cv_path_NM"
   4488 
   4489 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4490 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4491 LN_S=$as_ln_s
   4492 if test "$LN_S" = "ln -s"; then
   4493   { echo "$as_me:$LINENO: result: yes" >&5
   4494 echo "${ECHO_T}yes" >&6; }
   4495 else
   4496   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4497 echo "${ECHO_T}no, using $LN_S" >&6; }
   4498 fi
   4499 
   4500 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4501 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4502 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4503   echo $ECHO_N "(cached) $ECHO_C" >&6
   4504 else
   4505   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4506 lt_cv_file_magic_test_file=
   4507 lt_cv_deplibs_check_method='unknown'
   4508 # Need to set the preceding variable on all platforms that support
   4509 # interlibrary dependencies.
   4510 # 'none' -- dependencies not supported.
   4511 # `unknown' -- same as none, but documents that we really don't know.
   4512 # 'pass_all' -- all dependencies passed with no checks.
   4513 # 'test_compile' -- check by making test program.
   4514 # 'file_magic [[regex]]' -- check by looking for files in library path
   4515 # which responds to the $file_magic_cmd with a given extended regex.
   4516 # If you have `file' or equivalent on your system and you're not sure
   4517 # whether `pass_all' will *always* work, you probably want this one.
   4518 
   4519 case $host_os in
   4520 aix4* | aix5*)
   4521   lt_cv_deplibs_check_method=pass_all
   4522   ;;
   4523 
   4524 beos*)
   4525   lt_cv_deplibs_check_method=pass_all
   4526   ;;
   4527 
   4528 bsdi[45]*)
   4529   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4530   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4531   lt_cv_file_magic_test_file=/shlib/libc.so
   4532   ;;
   4533 
   4534 cygwin*)
   4535   # func_win32_libid is a shell function defined in ltmain.sh
   4536   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4537   lt_cv_file_magic_cmd='func_win32_libid'
   4538   ;;
   4539 
   4540 mingw* | pw32*)
   4541   # Base MSYS/MinGW do not provide the 'file' command needed by
   4542   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4543   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4544   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4545   ;;
   4546 
   4547 darwin* | rhapsody*)
   4548   lt_cv_deplibs_check_method=pass_all
   4549   ;;
   4550 
   4551 freebsd* | kfreebsd*-gnu | dragonfly*)
   4552   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4553     case $host_cpu in
   4554     i*86 )
   4555       # Not sure whether the presence of OpenBSD here was a mistake.
   4556       # Let's accept both of them until this is cleared up.
   4557       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4558       lt_cv_file_magic_cmd=/usr/bin/file
   4559       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4560       ;;
   4561     esac
   4562   else
   4563     lt_cv_deplibs_check_method=pass_all
   4564   fi
   4565   ;;
   4566 
   4567 gnu*)
   4568   lt_cv_deplibs_check_method=pass_all
   4569   ;;
   4570 
   4571 hpux10.20* | hpux11*)
   4572   lt_cv_file_magic_cmd=/usr/bin/file
   4573   case $host_cpu in
   4574   ia64*)
   4575     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4576     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4577     ;;
   4578   hppa*64*)
   4579     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]'
   4580     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4581     ;;
   4582   *)
   4583     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4584     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4585     ;;
   4586   esac
   4587   ;;
   4588 
   4589 interix3*)
   4590   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4591   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4592   ;;
   4593 
   4594 irix5* | irix6* | nonstopux*)
   4595   case $LD in
   4596   *-32|*"-32 ") libmagic=32-bit;;
   4597   *-n32|*"-n32 ") libmagic=N32;;
   4598   *-64|*"-64 ") libmagic=64-bit;;
   4599   *) libmagic=never-match;;
   4600   esac
   4601   lt_cv_deplibs_check_method=pass_all
   4602   ;;
   4603 
   4604 # This must be Linux ELF.
   4605 linux*)
   4606   lt_cv_deplibs_check_method=pass_all
   4607   ;;
   4608 
   4609 netbsd*)
   4610   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4611     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4612   else
   4613     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4614   fi
   4615   ;;
   4616 
   4617 newos6*)
   4618   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4619   lt_cv_file_magic_cmd=/usr/bin/file
   4620   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4621   ;;
   4622 
   4623 nto-qnx*)
   4624   lt_cv_deplibs_check_method=unknown
   4625   ;;
   4626 
   4627 openbsd*)
   4628   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4629     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4630   else
   4631     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4632   fi
   4633   ;;
   4634 
   4635 osf3* | osf4* | osf5*)
   4636   lt_cv_deplibs_check_method=pass_all
   4637   ;;
   4638 
   4639 solaris*)
   4640   lt_cv_deplibs_check_method=pass_all
   4641   ;;
   4642 
   4643 sysv4 | sysv4.3*)
   4644   case $host_vendor in
   4645   motorola)
   4646     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]'
   4647     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4648     ;;
   4649   ncr)
   4650     lt_cv_deplibs_check_method=pass_all
   4651     ;;
   4652   sequent)
   4653     lt_cv_file_magic_cmd='/bin/file'
   4654     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4655     ;;
   4656   sni)
   4657     lt_cv_file_magic_cmd='/bin/file'
   4658     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4659     lt_cv_file_magic_test_file=/lib/libc.so
   4660     ;;
   4661   siemens)
   4662     lt_cv_deplibs_check_method=pass_all
   4663     ;;
   4664   pc)
   4665     lt_cv_deplibs_check_method=pass_all
   4666     ;;
   4667   esac
   4668   ;;
   4669 
   4670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4671   lt_cv_deplibs_check_method=pass_all
   4672   ;;
   4673 esac
   4674 
   4675 fi
   4676 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4677 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4678 file_magic_cmd=$lt_cv_file_magic_cmd
   4679 deplibs_check_method=$lt_cv_deplibs_check_method
   4680 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4681 
   4682 
   4683 
   4684 
   4685 # If no C compiler was specified, use CC.
   4686 LTCC=${LTCC-"$CC"}
   4687 
   4688 # If no C compiler flags were specified, use CFLAGS.
   4689 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4690 
   4691 # Allow CC to be a program name with arguments.
   4692 compiler=$CC
   4693 
   4694 # Check whether --enable-libtool-lock was given.
   4695 if test "${enable_libtool_lock+set}" = set; then
   4696   enableval=$enable_libtool_lock;
   4697 fi
   4698 
   4699 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4700 
   4701 # Some flags need to be propagated to the compiler or linker for good
   4702 # libtool support.
   4703 case $host in
   4704 ia64-*-hpux*)
   4705   # Find out which ABI we are using.
   4706   echo 'int i;' > conftest.$ac_ext
   4707   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4708   (eval $ac_compile) 2>&5
   4709   ac_status=$?
   4710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4711   (exit $ac_status); }; then
   4712     case `/usr/bin/file conftest.$ac_objext` in
   4713     *ELF-32*)
   4714       HPUX_IA64_MODE="32"
   4715       ;;
   4716     *ELF-64*)
   4717       HPUX_IA64_MODE="64"
   4718       ;;
   4719     esac
   4720   fi
   4721   rm -rf conftest*
   4722   ;;
   4723 *-*-irix6*)
   4724   # Find out which ABI we are using.
   4725   echo '#line 4725 "configure"' > conftest.$ac_ext
   4726   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4727   (eval $ac_compile) 2>&5
   4728   ac_status=$?
   4729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4730   (exit $ac_status); }; then
   4731    if test "$lt_cv_prog_gnu_ld" = yes; then
   4732     case `/usr/bin/file conftest.$ac_objext` in
   4733     *32-bit*)
   4734       LD="${LD-ld} -melf32bsmip"
   4735       ;;
   4736     *N32*)
   4737       LD="${LD-ld} -melf32bmipn32"
   4738       ;;
   4739     *64-bit*)
   4740       LD="${LD-ld} -melf64bmip"
   4741       ;;
   4742     esac
   4743    else
   4744     case `/usr/bin/file conftest.$ac_objext` in
   4745     *32-bit*)
   4746       LD="${LD-ld} -32"
   4747       ;;
   4748     *N32*)
   4749       LD="${LD-ld} -n32"
   4750       ;;
   4751     *64-bit*)
   4752       LD="${LD-ld} -64"
   4753       ;;
   4754     esac
   4755    fi
   4756   fi
   4757   rm -rf conftest*
   4758   ;;
   4759 
   4760 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4761   # Find out which ABI we are using.
   4762   echo 'int i;' > conftest.$ac_ext
   4763   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4764   (eval $ac_compile) 2>&5
   4765   ac_status=$?
   4766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4767   (exit $ac_status); }; then
   4768     case `/usr/bin/file conftest.o` in
   4769     *32-bit*)
   4770       case $host in
   4771         x86_64-*linux*)
   4772           LD="${LD-ld} -m elf_i386"
   4773           ;;
   4774         ppc64-*linux*|powerpc64-*linux*)
   4775           LD="${LD-ld} -m elf32ppclinux"
   4776           ;;
   4777         s390x-*linux*)
   4778           LD="${LD-ld} -m elf_s390"
   4779           ;;
   4780         sparc64-*linux*)
   4781           LD="${LD-ld} -m elf32_sparc"
   4782           ;;
   4783       esac
   4784       ;;
   4785     *64-bit*)
   4786       case $host in
   4787         x86_64-*linux*)
   4788           LD="${LD-ld} -m elf_x86_64"
   4789           ;;
   4790         ppc*-*linux*|powerpc*-*linux*)
   4791           LD="${LD-ld} -m elf64ppc"
   4792           ;;
   4793         s390*-*linux*)
   4794           LD="${LD-ld} -m elf64_s390"
   4795           ;;
   4796         sparc*-*linux*)
   4797           LD="${LD-ld} -m elf64_sparc"
   4798           ;;
   4799       esac
   4800       ;;
   4801     esac
   4802   fi
   4803   rm -rf conftest*
   4804   ;;
   4805 
   4806 *-*-sco3.2v5*)
   4807   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4808   SAVE_CFLAGS="$CFLAGS"
   4809   CFLAGS="$CFLAGS -belf"
   4810   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4811 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4812 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4813   echo $ECHO_N "(cached) $ECHO_C" >&6
   4814 else
   4815   ac_ext=c
   4816 ac_cpp='$CPP $CPPFLAGS'
   4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4820 
   4821      cat >conftest.$ac_ext <<_ACEOF
   4822 /* confdefs.h.  */
   4823 _ACEOF
   4824 cat confdefs.h >>conftest.$ac_ext
   4825 cat >>conftest.$ac_ext <<_ACEOF
   4826 /* end confdefs.h.  */
   4827 
   4828 int
   4829 main ()
   4830 {
   4831 
   4832   ;
   4833   return 0;
   4834 }
   4835 _ACEOF
   4836 rm -f conftest.$ac_objext conftest$ac_exeext
   4837 if { (ac_try="$ac_link"
   4838 case "(($ac_try" in
   4839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4840   *) ac_try_echo=$ac_try;;
   4841 esac
   4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4843   (eval "$ac_link") 2>conftest.er1
   4844   ac_status=$?
   4845   grep -v '^ *+' conftest.er1 >conftest.err
   4846   rm -f conftest.er1
   4847   cat conftest.err >&5
   4848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4849   (exit $ac_status); } && {
   4850 	 test -z "$ac_c_werror_flag" ||
   4851 	 test ! -s conftest.err
   4852        } && test -s conftest$ac_exeext &&
   4853        $as_test_x conftest$ac_exeext; then
   4854   lt_cv_cc_needs_belf=yes
   4855 else
   4856   echo "$as_me: failed program was:" >&5
   4857 sed 's/^/| /' conftest.$ac_ext >&5
   4858 
   4859 	lt_cv_cc_needs_belf=no
   4860 fi
   4861 
   4862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4863       conftest$ac_exeext conftest.$ac_ext
   4864      ac_ext=c
   4865 ac_cpp='$CPP $CPPFLAGS'
   4866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4869 
   4870 fi
   4871 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4872 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4873   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4874     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4875     CFLAGS="$SAVE_CFLAGS"
   4876   fi
   4877   ;;
   4878 sparc*-*solaris*)
   4879   # Find out which ABI we are using.
   4880   echo 'int i;' > conftest.$ac_ext
   4881   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4882   (eval $ac_compile) 2>&5
   4883   ac_status=$?
   4884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4885   (exit $ac_status); }; then
   4886     case `/usr/bin/file conftest.o` in
   4887     *64-bit*)
   4888       case $lt_cv_prog_gnu_ld in
   4889       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4890       *)    LD="${LD-ld} -64" ;;
   4891       esac
   4892       ;;
   4893     esac
   4894   fi
   4895   rm -rf conftest*
   4896   ;;
   4897 
   4898 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
   4899   if test -n "$ac_tool_prefix"; then
   4900   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4901 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4904 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
   4905   echo $ECHO_N "(cached) $ECHO_C" >&6
   4906 else
   4907   if test -n "$DLLTOOL"; then
   4908   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4909 else
   4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4911 for as_dir in $PATH
   4912 do
   4913   IFS=$as_save_IFS
   4914   test -z "$as_dir" && as_dir=.
   4915   for ac_exec_ext in '' $ac_executable_extensions; do
   4916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4917     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4918     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4919     break 2
   4920   fi
   4921 done
   4922 done
   4923 IFS=$as_save_IFS
   4924 
   4925 fi
   4926 fi
   4927 DLLTOOL=$ac_cv_prog_DLLTOOL
   4928 if test -n "$DLLTOOL"; then
   4929   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
   4930 echo "${ECHO_T}$DLLTOOL" >&6; }
   4931 else
   4932   { echo "$as_me:$LINENO: result: no" >&5
   4933 echo "${ECHO_T}no" >&6; }
   4934 fi
   4935 
   4936 
   4937 fi
   4938 if test -z "$ac_cv_prog_DLLTOOL"; then
   4939   ac_ct_DLLTOOL=$DLLTOOL
   4940   # Extract the first word of "dlltool", so it can be a program name with args.
   4941 set dummy dlltool; ac_word=$2
   4942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4944 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
   4945   echo $ECHO_N "(cached) $ECHO_C" >&6
   4946 else
   4947   if test -n "$ac_ct_DLLTOOL"; then
   4948   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4949 else
   4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4951 for as_dir in $PATH
   4952 do
   4953   IFS=$as_save_IFS
   4954   test -z "$as_dir" && as_dir=.
   4955   for ac_exec_ext in '' $ac_executable_extensions; do
   4956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4957     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4959     break 2
   4960   fi
   4961 done
   4962 done
   4963 IFS=$as_save_IFS
   4964 
   4965 fi
   4966 fi
   4967 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4968 if test -n "$ac_ct_DLLTOOL"; then
   4969   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
   4970 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
   4971 else
   4972   { echo "$as_me:$LINENO: result: no" >&5
   4973 echo "${ECHO_T}no" >&6; }
   4974 fi
   4975 
   4976   if test "x$ac_ct_DLLTOOL" = x; then
   4977     DLLTOOL="false"
   4978   else
   4979     case $cross_compiling:$ac_tool_warned in
   4980 yes:)
   4981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   4982 whose name does not start with the host triplet.  If you think this
   4983 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   4984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   4985 whose name does not start with the host triplet.  If you think this
   4986 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   4987 ac_tool_warned=yes ;;
   4988 esac
   4989     DLLTOOL=$ac_ct_DLLTOOL
   4990   fi
   4991 else
   4992   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4993 fi
   4994 
   4995   if test -n "$ac_tool_prefix"; then
   4996   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4997 set dummy ${ac_tool_prefix}as; ac_word=$2
   4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5000 if test "${ac_cv_prog_AS+set}" = set; then
   5001   echo $ECHO_N "(cached) $ECHO_C" >&6
   5002 else
   5003   if test -n "$AS"; then
   5004   ac_cv_prog_AS="$AS" # Let the user override the test.
   5005 else
   5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5007 for as_dir in $PATH
   5008 do
   5009   IFS=$as_save_IFS
   5010   test -z "$as_dir" && as_dir=.
   5011   for ac_exec_ext in '' $ac_executable_extensions; do
   5012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5013     ac_cv_prog_AS="${ac_tool_prefix}as"
   5014     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5015     break 2
   5016   fi
   5017 done
   5018 done
   5019 IFS=$as_save_IFS
   5020 
   5021 fi
   5022 fi
   5023 AS=$ac_cv_prog_AS
   5024 if test -n "$AS"; then
   5025   { echo "$as_me:$LINENO: result: $AS" >&5
   5026 echo "${ECHO_T}$AS" >&6; }
   5027 else
   5028   { echo "$as_me:$LINENO: result: no" >&5
   5029 echo "${ECHO_T}no" >&6; }
   5030 fi
   5031 
   5032 
   5033 fi
   5034 if test -z "$ac_cv_prog_AS"; then
   5035   ac_ct_AS=$AS
   5036   # Extract the first word of "as", so it can be a program name with args.
   5037 set dummy as; ac_word=$2
   5038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5040 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
   5041   echo $ECHO_N "(cached) $ECHO_C" >&6
   5042 else
   5043   if test -n "$ac_ct_AS"; then
   5044   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   5045 else
   5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5047 for as_dir in $PATH
   5048 do
   5049   IFS=$as_save_IFS
   5050   test -z "$as_dir" && as_dir=.
   5051   for ac_exec_ext in '' $ac_executable_extensions; do
   5052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5053     ac_cv_prog_ac_ct_AS="as"
   5054     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5055     break 2
   5056   fi
   5057 done
   5058 done
   5059 IFS=$as_save_IFS
   5060 
   5061 fi
   5062 fi
   5063 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   5064 if test -n "$ac_ct_AS"; then
   5065   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
   5066 echo "${ECHO_T}$ac_ct_AS" >&6; }
   5067 else
   5068   { echo "$as_me:$LINENO: result: no" >&5
   5069 echo "${ECHO_T}no" >&6; }
   5070 fi
   5071 
   5072   if test "x$ac_ct_AS" = x; then
   5073     AS="false"
   5074   else
   5075     case $cross_compiling:$ac_tool_warned in
   5076 yes:)
   5077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5078 whose name does not start with the host triplet.  If you think this
   5079 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5081 whose name does not start with the host triplet.  If you think this
   5082 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5083 ac_tool_warned=yes ;;
   5084 esac
   5085     AS=$ac_ct_AS
   5086   fi
   5087 else
   5088   AS="$ac_cv_prog_AS"
   5089 fi
   5090 
   5091   if test -n "$ac_tool_prefix"; then
   5092   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5093 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5096 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   5097   echo $ECHO_N "(cached) $ECHO_C" >&6
   5098 else
   5099   if test -n "$OBJDUMP"; then
   5100   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5101 else
   5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5103 for as_dir in $PATH
   5104 do
   5105   IFS=$as_save_IFS
   5106   test -z "$as_dir" && as_dir=.
   5107   for ac_exec_ext in '' $ac_executable_extensions; do
   5108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5109     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5110     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5111     break 2
   5112   fi
   5113 done
   5114 done
   5115 IFS=$as_save_IFS
   5116 
   5117 fi
   5118 fi
   5119 OBJDUMP=$ac_cv_prog_OBJDUMP
   5120 if test -n "$OBJDUMP"; then
   5121   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   5122 echo "${ECHO_T}$OBJDUMP" >&6; }
   5123 else
   5124   { echo "$as_me:$LINENO: result: no" >&5
   5125 echo "${ECHO_T}no" >&6; }
   5126 fi
   5127 
   5128 
   5129 fi
   5130 if test -z "$ac_cv_prog_OBJDUMP"; then
   5131   ac_ct_OBJDUMP=$OBJDUMP
   5132   # Extract the first word of "objdump", so it can be a program name with args.
   5133 set dummy objdump; ac_word=$2
   5134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5136 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   5137   echo $ECHO_N "(cached) $ECHO_C" >&6
   5138 else
   5139   if test -n "$ac_ct_OBJDUMP"; then
   5140   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5141 else
   5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5143 for as_dir in $PATH
   5144 do
   5145   IFS=$as_save_IFS
   5146   test -z "$as_dir" && as_dir=.
   5147   for ac_exec_ext in '' $ac_executable_extensions; do
   5148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5149     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5150     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5151     break 2
   5152   fi
   5153 done
   5154 done
   5155 IFS=$as_save_IFS
   5156 
   5157 fi
   5158 fi
   5159 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5160 if test -n "$ac_ct_OBJDUMP"; then
   5161   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   5162 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
   5163 else
   5164   { echo "$as_me:$LINENO: result: no" >&5
   5165 echo "${ECHO_T}no" >&6; }
   5166 fi
   5167 
   5168   if test "x$ac_ct_OBJDUMP" = x; then
   5169     OBJDUMP="false"
   5170   else
   5171     case $cross_compiling:$ac_tool_warned in
   5172 yes:)
   5173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5174 whose name does not start with the host triplet.  If you think this
   5175 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5177 whose name does not start with the host triplet.  If you think this
   5178 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5179 ac_tool_warned=yes ;;
   5180 esac
   5181     OBJDUMP=$ac_ct_OBJDUMP
   5182   fi
   5183 else
   5184   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5185 fi
   5186 
   5187   ;;
   5188 
   5189 esac
   5190 
   5191 need_locks="$enable_libtool_lock"
   5192 
   5193 
   5194 ac_ext=c
   5195 ac_cpp='$CPP $CPPFLAGS'
   5196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5199 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   5200 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   5201 # On Suns, sometimes $CPP names a directory.
   5202 if test -n "$CPP" && test -d "$CPP"; then
   5203   CPP=
   5204 fi
   5205 if test -z "$CPP"; then
   5206   if test "${ac_cv_prog_CPP+set}" = set; then
   5207   echo $ECHO_N "(cached) $ECHO_C" >&6
   5208 else
   5209       # Double quotes because CPP needs to be expanded
   5210     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5211     do
   5212       ac_preproc_ok=false
   5213 for ac_c_preproc_warn_flag in '' yes
   5214 do
   5215   # Use a header file that comes with gcc, so configuring glibc
   5216   # with a fresh cross-compiler works.
   5217   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5218   # <limits.h> exists even on freestanding compilers.
   5219   # On the NeXT, cc -E runs the code through the compiler's parser,
   5220   # not just through cpp. "Syntax error" is here to catch this case.
   5221   cat >conftest.$ac_ext <<_ACEOF
   5222 /* confdefs.h.  */
   5223 _ACEOF
   5224 cat confdefs.h >>conftest.$ac_ext
   5225 cat >>conftest.$ac_ext <<_ACEOF
   5226 /* end confdefs.h.  */
   5227 #ifdef __STDC__
   5228 # include <limits.h>
   5229 #else
   5230 # include <assert.h>
   5231 #endif
   5232 		     Syntax error
   5233 _ACEOF
   5234 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5235 case "(($ac_try" in
   5236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5237   *) ac_try_echo=$ac_try;;
   5238 esac
   5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5240   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5241   ac_status=$?
   5242   grep -v '^ *+' conftest.er1 >conftest.err
   5243   rm -f conftest.er1
   5244   cat conftest.err >&5
   5245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5246   (exit $ac_status); } >/dev/null && {
   5247 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5248 	 test ! -s conftest.err
   5249        }; then
   5250   :
   5251 else
   5252   echo "$as_me: failed program was:" >&5
   5253 sed 's/^/| /' conftest.$ac_ext >&5
   5254 
   5255   # Broken: fails on valid input.
   5256 continue
   5257 fi
   5258 
   5259 rm -f conftest.err conftest.$ac_ext
   5260 
   5261   # OK, works on sane cases.  Now check whether nonexistent headers
   5262   # can be detected and how.
   5263   cat >conftest.$ac_ext <<_ACEOF
   5264 /* confdefs.h.  */
   5265 _ACEOF
   5266 cat confdefs.h >>conftest.$ac_ext
   5267 cat >>conftest.$ac_ext <<_ACEOF
   5268 /* end confdefs.h.  */
   5269 #include <ac_nonexistent.h>
   5270 _ACEOF
   5271 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5272 case "(($ac_try" in
   5273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5274   *) ac_try_echo=$ac_try;;
   5275 esac
   5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5277   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5278   ac_status=$?
   5279   grep -v '^ *+' conftest.er1 >conftest.err
   5280   rm -f conftest.er1
   5281   cat conftest.err >&5
   5282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5283   (exit $ac_status); } >/dev/null && {
   5284 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5285 	 test ! -s conftest.err
   5286        }; then
   5287   # Broken: success on invalid input.
   5288 continue
   5289 else
   5290   echo "$as_me: failed program was:" >&5
   5291 sed 's/^/| /' conftest.$ac_ext >&5
   5292 
   5293   # Passes both tests.
   5294 ac_preproc_ok=:
   5295 break
   5296 fi
   5297 
   5298 rm -f conftest.err conftest.$ac_ext
   5299 
   5300 done
   5301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5302 rm -f conftest.err conftest.$ac_ext
   5303 if $ac_preproc_ok; then
   5304   break
   5305 fi
   5306 
   5307     done
   5308     ac_cv_prog_CPP=$CPP
   5309 
   5310 fi
   5311   CPP=$ac_cv_prog_CPP
   5312 else
   5313   ac_cv_prog_CPP=$CPP
   5314 fi
   5315 { echo "$as_me:$LINENO: result: $CPP" >&5
   5316 echo "${ECHO_T}$CPP" >&6; }
   5317 ac_preproc_ok=false
   5318 for ac_c_preproc_warn_flag in '' yes
   5319 do
   5320   # Use a header file that comes with gcc, so configuring glibc
   5321   # with a fresh cross-compiler works.
   5322   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5323   # <limits.h> exists even on freestanding compilers.
   5324   # On the NeXT, cc -E runs the code through the compiler's parser,
   5325   # not just through cpp. "Syntax error" is here to catch this case.
   5326   cat >conftest.$ac_ext <<_ACEOF
   5327 /* confdefs.h.  */
   5328 _ACEOF
   5329 cat confdefs.h >>conftest.$ac_ext
   5330 cat >>conftest.$ac_ext <<_ACEOF
   5331 /* end confdefs.h.  */
   5332 #ifdef __STDC__
   5333 # include <limits.h>
   5334 #else
   5335 # include <assert.h>
   5336 #endif
   5337 		     Syntax error
   5338 _ACEOF
   5339 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5340 case "(($ac_try" in
   5341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5342   *) ac_try_echo=$ac_try;;
   5343 esac
   5344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5345   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5346   ac_status=$?
   5347   grep -v '^ *+' conftest.er1 >conftest.err
   5348   rm -f conftest.er1
   5349   cat conftest.err >&5
   5350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5351   (exit $ac_status); } >/dev/null && {
   5352 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5353 	 test ! -s conftest.err
   5354        }; then
   5355   :
   5356 else
   5357   echo "$as_me: failed program was:" >&5
   5358 sed 's/^/| /' conftest.$ac_ext >&5
   5359 
   5360   # Broken: fails on valid input.
   5361 continue
   5362 fi
   5363 
   5364 rm -f conftest.err conftest.$ac_ext
   5365 
   5366   # OK, works on sane cases.  Now check whether nonexistent headers
   5367   # can be detected and how.
   5368   cat >conftest.$ac_ext <<_ACEOF
   5369 /* confdefs.h.  */
   5370 _ACEOF
   5371 cat confdefs.h >>conftest.$ac_ext
   5372 cat >>conftest.$ac_ext <<_ACEOF
   5373 /* end confdefs.h.  */
   5374 #include <ac_nonexistent.h>
   5375 _ACEOF
   5376 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5377 case "(($ac_try" in
   5378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5379   *) ac_try_echo=$ac_try;;
   5380 esac
   5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5382   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5383   ac_status=$?
   5384   grep -v '^ *+' conftest.er1 >conftest.err
   5385   rm -f conftest.er1
   5386   cat conftest.err >&5
   5387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5388   (exit $ac_status); } >/dev/null && {
   5389 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5390 	 test ! -s conftest.err
   5391        }; then
   5392   # Broken: success on invalid input.
   5393 continue
   5394 else
   5395   echo "$as_me: failed program was:" >&5
   5396 sed 's/^/| /' conftest.$ac_ext >&5
   5397 
   5398   # Passes both tests.
   5399 ac_preproc_ok=:
   5400 break
   5401 fi
   5402 
   5403 rm -f conftest.err conftest.$ac_ext
   5404 
   5405 done
   5406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5407 rm -f conftest.err conftest.$ac_ext
   5408 if $ac_preproc_ok; then
   5409   :
   5410 else
   5411   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5412 See \`config.log' for more details." >&5
   5413 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5414 See \`config.log' for more details." >&2;}
   5415    { (exit 1); exit 1; }; }
   5416 fi
   5417 
   5418 ac_ext=c
   5419 ac_cpp='$CPP $CPPFLAGS'
   5420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5423 
   5424 
   5425 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5426 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   5427 if test "${ac_cv_header_stdc+set}" = set; then
   5428   echo $ECHO_N "(cached) $ECHO_C" >&6
   5429 else
   5430   cat >conftest.$ac_ext <<_ACEOF
   5431 /* confdefs.h.  */
   5432 _ACEOF
   5433 cat confdefs.h >>conftest.$ac_ext
   5434 cat >>conftest.$ac_ext <<_ACEOF
   5435 /* end confdefs.h.  */
   5436 #include <stdlib.h>
   5437 #include <stdarg.h>
   5438 #include <string.h>
   5439 #include <float.h>
   5440 
   5441 int
   5442 main ()
   5443 {
   5444 
   5445   ;
   5446   return 0;
   5447 }
   5448 _ACEOF
   5449 rm -f conftest.$ac_objext
   5450 if { (ac_try="$ac_compile"
   5451 case "(($ac_try" in
   5452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5453   *) ac_try_echo=$ac_try;;
   5454 esac
   5455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5456   (eval "$ac_compile") 2>conftest.er1
   5457   ac_status=$?
   5458   grep -v '^ *+' conftest.er1 >conftest.err
   5459   rm -f conftest.er1
   5460   cat conftest.err >&5
   5461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5462   (exit $ac_status); } && {
   5463 	 test -z "$ac_c_werror_flag" ||
   5464 	 test ! -s conftest.err
   5465        } && test -s conftest.$ac_objext; then
   5466   ac_cv_header_stdc=yes
   5467 else
   5468   echo "$as_me: failed program was:" >&5
   5469 sed 's/^/| /' conftest.$ac_ext >&5
   5470 
   5471 	ac_cv_header_stdc=no
   5472 fi
   5473 
   5474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5475 
   5476 if test $ac_cv_header_stdc = yes; then
   5477   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5478   cat >conftest.$ac_ext <<_ACEOF
   5479 /* confdefs.h.  */
   5480 _ACEOF
   5481 cat confdefs.h >>conftest.$ac_ext
   5482 cat >>conftest.$ac_ext <<_ACEOF
   5483 /* end confdefs.h.  */
   5484 #include <string.h>
   5485 
   5486 _ACEOF
   5487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5488   $EGREP "memchr" >/dev/null 2>&1; then
   5489   :
   5490 else
   5491   ac_cv_header_stdc=no
   5492 fi
   5493 rm -f conftest*
   5494 
   5495 fi
   5496 
   5497 if test $ac_cv_header_stdc = yes; then
   5498   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5499   cat >conftest.$ac_ext <<_ACEOF
   5500 /* confdefs.h.  */
   5501 _ACEOF
   5502 cat confdefs.h >>conftest.$ac_ext
   5503 cat >>conftest.$ac_ext <<_ACEOF
   5504 /* end confdefs.h.  */
   5505 #include <stdlib.h>
   5506 
   5507 _ACEOF
   5508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5509   $EGREP "free" >/dev/null 2>&1; then
   5510   :
   5511 else
   5512   ac_cv_header_stdc=no
   5513 fi
   5514 rm -f conftest*
   5515 
   5516 fi
   5517 
   5518 if test $ac_cv_header_stdc = yes; then
   5519   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5520   if test "$cross_compiling" = yes; then
   5521   :
   5522 else
   5523   cat >conftest.$ac_ext <<_ACEOF
   5524 /* confdefs.h.  */
   5525 _ACEOF
   5526 cat confdefs.h >>conftest.$ac_ext
   5527 cat >>conftest.$ac_ext <<_ACEOF
   5528 /* end confdefs.h.  */
   5529 #include <ctype.h>
   5530 #include <stdlib.h>
   5531 #if ((' ' & 0x0FF) == 0x020)
   5532 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5533 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5534 #else
   5535 # define ISLOWER(c) \
   5536 		   (('a' <= (c) && (c) <= 'i') \
   5537 		     || ('j' <= (c) && (c) <= 'r') \
   5538 		     || ('s' <= (c) && (c) <= 'z'))
   5539 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5540 #endif
   5541 
   5542 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5543 int
   5544 main ()
   5545 {
   5546   int i;
   5547   for (i = 0; i < 256; i++)
   5548     if (XOR (islower (i), ISLOWER (i))
   5549 	|| toupper (i) != TOUPPER (i))
   5550       return 2;
   5551   return 0;
   5552 }
   5553 _ACEOF
   5554 rm -f conftest$ac_exeext
   5555 if { (ac_try="$ac_link"
   5556 case "(($ac_try" in
   5557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5558   *) ac_try_echo=$ac_try;;
   5559 esac
   5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5561   (eval "$ac_link") 2>&5
   5562   ac_status=$?
   5563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5564   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5565   { (case "(($ac_try" in
   5566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5567   *) ac_try_echo=$ac_try;;
   5568 esac
   5569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5570   (eval "$ac_try") 2>&5
   5571   ac_status=$?
   5572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5573   (exit $ac_status); }; }; then
   5574   :
   5575 else
   5576   echo "$as_me: program exited with status $ac_status" >&5
   5577 echo "$as_me: failed program was:" >&5
   5578 sed 's/^/| /' conftest.$ac_ext >&5
   5579 
   5580 ( exit $ac_status )
   5581 ac_cv_header_stdc=no
   5582 fi
   5583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5584 fi
   5585 
   5586 
   5587 fi
   5588 fi
   5589 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5590 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5591 if test $ac_cv_header_stdc = yes; then
   5592 
   5593 cat >>confdefs.h <<\_ACEOF
   5594 #define STDC_HEADERS 1
   5595 _ACEOF
   5596 
   5597 fi
   5598 
   5599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5610 		  inttypes.h stdint.h unistd.h
   5611 do
   5612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5616   echo $ECHO_N "(cached) $ECHO_C" >&6
   5617 else
   5618   cat >conftest.$ac_ext <<_ACEOF
   5619 /* confdefs.h.  */
   5620 _ACEOF
   5621 cat confdefs.h >>conftest.$ac_ext
   5622 cat >>conftest.$ac_ext <<_ACEOF
   5623 /* end confdefs.h.  */
   5624 $ac_includes_default
   5625 
   5626 #include <$ac_header>
   5627 _ACEOF
   5628 rm -f conftest.$ac_objext
   5629 if { (ac_try="$ac_compile"
   5630 case "(($ac_try" in
   5631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5632   *) ac_try_echo=$ac_try;;
   5633 esac
   5634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5635   (eval "$ac_compile") 2>conftest.er1
   5636   ac_status=$?
   5637   grep -v '^ *+' conftest.er1 >conftest.err
   5638   rm -f conftest.er1
   5639   cat conftest.err >&5
   5640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5641   (exit $ac_status); } && {
   5642 	 test -z "$ac_c_werror_flag" ||
   5643 	 test ! -s conftest.err
   5644        } && test -s conftest.$ac_objext; then
   5645   eval "$as_ac_Header=yes"
   5646 else
   5647   echo "$as_me: failed program was:" >&5
   5648 sed 's/^/| /' conftest.$ac_ext >&5
   5649 
   5650 	eval "$as_ac_Header=no"
   5651 fi
   5652 
   5653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5654 fi
   5655 ac_res=`eval echo '${'$as_ac_Header'}'`
   5656 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5657 echo "${ECHO_T}$ac_res" >&6; }
   5658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5659   cat >>confdefs.h <<_ACEOF
   5660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5661 _ACEOF
   5662 
   5663 fi
   5664 
   5665 done
   5666 
   5667 
   5668 
   5669 for ac_header in dlfcn.h
   5670 do
   5671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5673   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5676   echo $ECHO_N "(cached) $ECHO_C" >&6
   5677 fi
   5678 ac_res=`eval echo '${'$as_ac_Header'}'`
   5679 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5680 echo "${ECHO_T}$ac_res" >&6; }
   5681 else
   5682   # Is the header compilable?
   5683 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5685 cat >conftest.$ac_ext <<_ACEOF
   5686 /* confdefs.h.  */
   5687 _ACEOF
   5688 cat confdefs.h >>conftest.$ac_ext
   5689 cat >>conftest.$ac_ext <<_ACEOF
   5690 /* end confdefs.h.  */
   5691 $ac_includes_default
   5692 #include <$ac_header>
   5693 _ACEOF
   5694 rm -f conftest.$ac_objext
   5695 if { (ac_try="$ac_compile"
   5696 case "(($ac_try" in
   5697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5698   *) ac_try_echo=$ac_try;;
   5699 esac
   5700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5701   (eval "$ac_compile") 2>conftest.er1
   5702   ac_status=$?
   5703   grep -v '^ *+' conftest.er1 >conftest.err
   5704   rm -f conftest.er1
   5705   cat conftest.err >&5
   5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5707   (exit $ac_status); } && {
   5708 	 test -z "$ac_c_werror_flag" ||
   5709 	 test ! -s conftest.err
   5710        } && test -s conftest.$ac_objext; then
   5711   ac_header_compiler=yes
   5712 else
   5713   echo "$as_me: failed program was:" >&5
   5714 sed 's/^/| /' conftest.$ac_ext >&5
   5715 
   5716 	ac_header_compiler=no
   5717 fi
   5718 
   5719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5721 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5722 
   5723 # Is the header present?
   5724 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5726 cat >conftest.$ac_ext <<_ACEOF
   5727 /* confdefs.h.  */
   5728 _ACEOF
   5729 cat confdefs.h >>conftest.$ac_ext
   5730 cat >>conftest.$ac_ext <<_ACEOF
   5731 /* end confdefs.h.  */
   5732 #include <$ac_header>
   5733 _ACEOF
   5734 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5735 case "(($ac_try" in
   5736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5737   *) ac_try_echo=$ac_try;;
   5738 esac
   5739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5741   ac_status=$?
   5742   grep -v '^ *+' conftest.er1 >conftest.err
   5743   rm -f conftest.er1
   5744   cat conftest.err >&5
   5745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5746   (exit $ac_status); } >/dev/null && {
   5747 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5748 	 test ! -s conftest.err
   5749        }; then
   5750   ac_header_preproc=yes
   5751 else
   5752   echo "$as_me: failed program was:" >&5
   5753 sed 's/^/| /' conftest.$ac_ext >&5
   5754 
   5755   ac_header_preproc=no
   5756 fi
   5757 
   5758 rm -f conftest.err conftest.$ac_ext
   5759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5760 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5761 
   5762 # So?  What about this header?
   5763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5764   yes:no: )
   5765     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5769     ac_header_preproc=yes
   5770     ;;
   5771   no:yes:* )
   5772     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5774     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5775 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5776     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5778     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5779 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5780     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5782     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5784     ( cat <<\_ASBOX
   5785 ## ---------------------------------------------------------------------- ##
   5786 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5787 ## ---------------------------------------------------------------------- ##
   5788 _ASBOX
   5789      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5790     ;;
   5791 esac
   5792 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5795   echo $ECHO_N "(cached) $ECHO_C" >&6
   5796 else
   5797   eval "$as_ac_Header=\$ac_header_preproc"
   5798 fi
   5799 ac_res=`eval echo '${'$as_ac_Header'}'`
   5800 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5801 echo "${ECHO_T}$ac_res" >&6; }
   5802 
   5803 fi
   5804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5805   cat >>confdefs.h <<_ACEOF
   5806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5807 _ACEOF
   5808 
   5809 fi
   5810 
   5811 done
   5812 
   5813 ac_ext=cpp
   5814 ac_cpp='$CXXCPP $CPPFLAGS'
   5815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5818 if test -z "$CXX"; then
   5819   if test -n "$CCC"; then
   5820     CXX=$CCC
   5821   else
   5822     if test -n "$ac_tool_prefix"; then
   5823   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5824   do
   5825     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5829 if test "${ac_cv_prog_CXX+set}" = set; then
   5830   echo $ECHO_N "(cached) $ECHO_C" >&6
   5831 else
   5832   if test -n "$CXX"; then
   5833   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5834 else
   5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5836 for as_dir in $PATH
   5837 do
   5838   IFS=$as_save_IFS
   5839   test -z "$as_dir" && as_dir=.
   5840   for ac_exec_ext in '' $ac_executable_extensions; do
   5841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5842     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5844     break 2
   5845   fi
   5846 done
   5847 done
   5848 IFS=$as_save_IFS
   5849 
   5850 fi
   5851 fi
   5852 CXX=$ac_cv_prog_CXX
   5853 if test -n "$CXX"; then
   5854   { echo "$as_me:$LINENO: result: $CXX" >&5
   5855 echo "${ECHO_T}$CXX" >&6; }
   5856 else
   5857   { echo "$as_me:$LINENO: result: no" >&5
   5858 echo "${ECHO_T}no" >&6; }
   5859 fi
   5860 
   5861 
   5862     test -n "$CXX" && break
   5863   done
   5864 fi
   5865 if test -z "$CXX"; then
   5866   ac_ct_CXX=$CXX
   5867   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5868 do
   5869   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5870 set dummy $ac_prog; ac_word=$2
   5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5873 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5874   echo $ECHO_N "(cached) $ECHO_C" >&6
   5875 else
   5876   if test -n "$ac_ct_CXX"; then
   5877   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5878 else
   5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5880 for as_dir in $PATH
   5881 do
   5882   IFS=$as_save_IFS
   5883   test -z "$as_dir" && as_dir=.
   5884   for ac_exec_ext in '' $ac_executable_extensions; do
   5885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5886     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5888     break 2
   5889   fi
   5890 done
   5891 done
   5892 IFS=$as_save_IFS
   5893 
   5894 fi
   5895 fi
   5896 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5897 if test -n "$ac_ct_CXX"; then
   5898   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5899 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5900 else
   5901   { echo "$as_me:$LINENO: result: no" >&5
   5902 echo "${ECHO_T}no" >&6; }
   5903 fi
   5904 
   5905 
   5906   test -n "$ac_ct_CXX" && break
   5907 done
   5908 
   5909   if test "x$ac_ct_CXX" = x; then
   5910     CXX="g++"
   5911   else
   5912     case $cross_compiling:$ac_tool_warned in
   5913 yes:)
   5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5915 whose name does not start with the host triplet.  If you think this
   5916 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5918 whose name does not start with the host triplet.  If you think this
   5919 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5920 ac_tool_warned=yes ;;
   5921 esac
   5922     CXX=$ac_ct_CXX
   5923   fi
   5924 fi
   5925 
   5926   fi
   5927 fi
   5928 # Provide some information about the compiler.
   5929 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5930 ac_compiler=`set X $ac_compile; echo $2`
   5931 { (ac_try="$ac_compiler --version >&5"
   5932 case "(($ac_try" in
   5933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5934   *) ac_try_echo=$ac_try;;
   5935 esac
   5936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5937   (eval "$ac_compiler --version >&5") 2>&5
   5938   ac_status=$?
   5939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5940   (exit $ac_status); }
   5941 { (ac_try="$ac_compiler -v >&5"
   5942 case "(($ac_try" in
   5943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5944   *) ac_try_echo=$ac_try;;
   5945 esac
   5946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5947   (eval "$ac_compiler -v >&5") 2>&5
   5948   ac_status=$?
   5949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5950   (exit $ac_status); }
   5951 { (ac_try="$ac_compiler -V >&5"
   5952 case "(($ac_try" in
   5953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5954   *) ac_try_echo=$ac_try;;
   5955 esac
   5956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5957   (eval "$ac_compiler -V >&5") 2>&5
   5958   ac_status=$?
   5959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5960   (exit $ac_status); }
   5961 
   5962 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5963 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5964 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5965   echo $ECHO_N "(cached) $ECHO_C" >&6
   5966 else
   5967   cat >conftest.$ac_ext <<_ACEOF
   5968 /* confdefs.h.  */
   5969 _ACEOF
   5970 cat confdefs.h >>conftest.$ac_ext
   5971 cat >>conftest.$ac_ext <<_ACEOF
   5972 /* end confdefs.h.  */
   5973 
   5974 int
   5975 main ()
   5976 {
   5977 #ifndef __GNUC__
   5978        choke me
   5979 #endif
   5980 
   5981   ;
   5982   return 0;
   5983 }
   5984 _ACEOF
   5985 rm -f conftest.$ac_objext
   5986 if { (ac_try="$ac_compile"
   5987 case "(($ac_try" in
   5988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5989   *) ac_try_echo=$ac_try;;
   5990 esac
   5991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5992   (eval "$ac_compile") 2>conftest.er1
   5993   ac_status=$?
   5994   grep -v '^ *+' conftest.er1 >conftest.err
   5995   rm -f conftest.er1
   5996   cat conftest.err >&5
   5997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5998   (exit $ac_status); } && {
   5999 	 test -z "$ac_cxx_werror_flag" ||
   6000 	 test ! -s conftest.err
   6001        } && test -s conftest.$ac_objext; then
   6002   ac_compiler_gnu=yes
   6003 else
   6004   echo "$as_me: failed program was:" >&5
   6005 sed 's/^/| /' conftest.$ac_ext >&5
   6006 
   6007 	ac_compiler_gnu=no
   6008 fi
   6009 
   6010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6011 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   6012 
   6013 fi
   6014 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   6015 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   6016 GXX=`test $ac_compiler_gnu = yes && echo yes`
   6017 ac_test_CXXFLAGS=${CXXFLAGS+set}
   6018 ac_save_CXXFLAGS=$CXXFLAGS
   6019 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   6020 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   6021 if test "${ac_cv_prog_cxx_g+set}" = set; then
   6022   echo $ECHO_N "(cached) $ECHO_C" >&6
   6023 else
   6024   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   6025    ac_cxx_werror_flag=yes
   6026    ac_cv_prog_cxx_g=no
   6027    CXXFLAGS="-g"
   6028    cat >conftest.$ac_ext <<_ACEOF
   6029 /* confdefs.h.  */
   6030 _ACEOF
   6031 cat confdefs.h >>conftest.$ac_ext
   6032 cat >>conftest.$ac_ext <<_ACEOF
   6033 /* end confdefs.h.  */
   6034 
   6035 int
   6036 main ()
   6037 {
   6038 
   6039   ;
   6040   return 0;
   6041 }
   6042 _ACEOF
   6043 rm -f conftest.$ac_objext
   6044 if { (ac_try="$ac_compile"
   6045 case "(($ac_try" in
   6046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6047   *) ac_try_echo=$ac_try;;
   6048 esac
   6049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6050   (eval "$ac_compile") 2>conftest.er1
   6051   ac_status=$?
   6052   grep -v '^ *+' conftest.er1 >conftest.err
   6053   rm -f conftest.er1
   6054   cat conftest.err >&5
   6055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6056   (exit $ac_status); } && {
   6057 	 test -z "$ac_cxx_werror_flag" ||
   6058 	 test ! -s conftest.err
   6059        } && test -s conftest.$ac_objext; then
   6060   ac_cv_prog_cxx_g=yes
   6061 else
   6062   echo "$as_me: failed program was:" >&5
   6063 sed 's/^/| /' conftest.$ac_ext >&5
   6064 
   6065 	CXXFLAGS=""
   6066       cat >conftest.$ac_ext <<_ACEOF
   6067 /* confdefs.h.  */
   6068 _ACEOF
   6069 cat confdefs.h >>conftest.$ac_ext
   6070 cat >>conftest.$ac_ext <<_ACEOF
   6071 /* end confdefs.h.  */
   6072 
   6073 int
   6074 main ()
   6075 {
   6076 
   6077   ;
   6078   return 0;
   6079 }
   6080 _ACEOF
   6081 rm -f conftest.$ac_objext
   6082 if { (ac_try="$ac_compile"
   6083 case "(($ac_try" in
   6084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6085   *) ac_try_echo=$ac_try;;
   6086 esac
   6087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6088   (eval "$ac_compile") 2>conftest.er1
   6089   ac_status=$?
   6090   grep -v '^ *+' conftest.er1 >conftest.err
   6091   rm -f conftest.er1
   6092   cat conftest.err >&5
   6093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6094   (exit $ac_status); } && {
   6095 	 test -z "$ac_cxx_werror_flag" ||
   6096 	 test ! -s conftest.err
   6097        } && test -s conftest.$ac_objext; then
   6098   :
   6099 else
   6100   echo "$as_me: failed program was:" >&5
   6101 sed 's/^/| /' conftest.$ac_ext >&5
   6102 
   6103 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   6104 	 CXXFLAGS="-g"
   6105 	 cat >conftest.$ac_ext <<_ACEOF
   6106 /* confdefs.h.  */
   6107 _ACEOF
   6108 cat confdefs.h >>conftest.$ac_ext
   6109 cat >>conftest.$ac_ext <<_ACEOF
   6110 /* end confdefs.h.  */
   6111 
   6112 int
   6113 main ()
   6114 {
   6115 
   6116   ;
   6117   return 0;
   6118 }
   6119 _ACEOF
   6120 rm -f conftest.$ac_objext
   6121 if { (ac_try="$ac_compile"
   6122 case "(($ac_try" in
   6123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6124   *) ac_try_echo=$ac_try;;
   6125 esac
   6126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6127   (eval "$ac_compile") 2>conftest.er1
   6128   ac_status=$?
   6129   grep -v '^ *+' conftest.er1 >conftest.err
   6130   rm -f conftest.er1
   6131   cat conftest.err >&5
   6132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6133   (exit $ac_status); } && {
   6134 	 test -z "$ac_cxx_werror_flag" ||
   6135 	 test ! -s conftest.err
   6136        } && test -s conftest.$ac_objext; then
   6137   ac_cv_prog_cxx_g=yes
   6138 else
   6139   echo "$as_me: failed program was:" >&5
   6140 sed 's/^/| /' conftest.$ac_ext >&5
   6141 
   6142 
   6143 fi
   6144 
   6145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6146 fi
   6147 
   6148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6149 fi
   6150 
   6151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6152    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   6153 fi
   6154 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   6155 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   6156 if test "$ac_test_CXXFLAGS" = set; then
   6157   CXXFLAGS=$ac_save_CXXFLAGS
   6158 elif test $ac_cv_prog_cxx_g = yes; then
   6159   if test "$GXX" = yes; then
   6160     CXXFLAGS="-g -O2"
   6161   else
   6162     CXXFLAGS="-g"
   6163   fi
   6164 else
   6165   if test "$GXX" = yes; then
   6166     CXXFLAGS="-O2"
   6167   else
   6168     CXXFLAGS=
   6169   fi
   6170 fi
   6171 ac_ext=cpp
   6172 ac_cpp='$CXXCPP $CPPFLAGS'
   6173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6176 
   6177 depcc="$CXX"  am_compiler_list=
   6178 
   6179 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   6180 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   6181 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   6182   echo $ECHO_N "(cached) $ECHO_C" >&6
   6183 else
   6184   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6185   # We make a subdir and do the tests there.  Otherwise we can end up
   6186   # making bogus files that we don't know about and never remove.  For
   6187   # instance it was reported that on HP-UX the gcc test will end up
   6188   # making a dummy file named `D' -- because `-MD' means `put the output
   6189   # in D'.
   6190   mkdir conftest.dir
   6191   # Copy depcomp to subdir because otherwise we won't find it if we're
   6192   # using a relative directory.
   6193   cp "$am_depcomp" conftest.dir
   6194   cd conftest.dir
   6195   # We will build objects and dependencies in a subdirectory because
   6196   # it helps to detect inapplicable dependency modes.  For instance
   6197   # both Tru64's cc and ICC support -MD to output dependencies as a
   6198   # side effect of compilation, but ICC will put the dependencies in
   6199   # the current directory while Tru64 will put them in the object
   6200   # directory.
   6201   mkdir sub
   6202 
   6203   am_cv_CXX_dependencies_compiler_type=none
   6204   if test "$am_compiler_list" = ""; then
   6205      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6206   fi
   6207   for depmode in $am_compiler_list; do
   6208     # Setup a source with many dependencies, because some compilers
   6209     # like to wrap large dependency lists on column 80 (with \), and
   6210     # we should not choose a depcomp mode which is confused by this.
   6211     #
   6212     # We need to recreate these files for each test, as the compiler may
   6213     # overwrite some of them when testing with obscure command lines.
   6214     # This happens at least with the AIX C compiler.
   6215     : > sub/conftest.c
   6216     for i in 1 2 3 4 5 6; do
   6217       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6218       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   6219       # Solaris 8's {/usr,}/bin/sh.
   6220       touch sub/conftst$i.h
   6221     done
   6222     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6223 
   6224     case $depmode in
   6225     nosideeffect)
   6226       # after this tag, mechanisms are not by side-effect, so they'll
   6227       # only be used when explicitly requested
   6228       if test "x$enable_dependency_tracking" = xyes; then
   6229 	continue
   6230       else
   6231 	break
   6232       fi
   6233       ;;
   6234     none) break ;;
   6235     esac
   6236     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   6237     # mode.  It turns out that the SunPro C++ compiler does not properly
   6238     # handle `-M -o', and we need to detect this.
   6239     if depmode=$depmode \
   6240        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   6241        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6242        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   6243          >/dev/null 2>conftest.err &&
   6244        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6245        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6246        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   6247        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6248       # icc doesn't choke on unknown options, it will just issue warnings
   6249       # or remarks (even with -Werror).  So we grep stderr for any message
   6250       # that says an option was ignored or not supported.
   6251       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6252       #   icc: Command line warning: ignoring option '-M'; no argument required
   6253       # The diagnosis changed in icc 8.0:
   6254       #   icc: Command line remark: option '-MP' not supported
   6255       if (grep 'ignoring option' conftest.err ||
   6256           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6257         am_cv_CXX_dependencies_compiler_type=$depmode
   6258         break
   6259       fi
   6260     fi
   6261   done
   6262 
   6263   cd ..
   6264   rm -rf conftest.dir
   6265 else
   6266   am_cv_CXX_dependencies_compiler_type=none
   6267 fi
   6268 
   6269 fi
   6270 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   6271 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   6272 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   6273 
   6274  if
   6275   test "x$enable_dependency_tracking" != xno \
   6276   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   6277   am__fastdepCXX_TRUE=
   6278   am__fastdepCXX_FALSE='#'
   6279 else
   6280   am__fastdepCXX_TRUE='#'
   6281   am__fastdepCXX_FALSE=
   6282 fi
   6283 
   6284 
   6285 
   6286 
   6287 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   6288     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   6289     (test "X$CXX" != "Xg++"))) ; then
   6290   ac_ext=cpp
   6291 ac_cpp='$CXXCPP $CPPFLAGS'
   6292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6295 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   6296 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   6297 if test -z "$CXXCPP"; then
   6298   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   6299   echo $ECHO_N "(cached) $ECHO_C" >&6
   6300 else
   6301       # Double quotes because CXXCPP needs to be expanded
   6302     for CXXCPP in "$CXX -E" "/lib/cpp"
   6303     do
   6304       ac_preproc_ok=false
   6305 for ac_cxx_preproc_warn_flag in '' yes
   6306 do
   6307   # Use a header file that comes with gcc, so configuring glibc
   6308   # with a fresh cross-compiler works.
   6309   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6310   # <limits.h> exists even on freestanding compilers.
   6311   # On the NeXT, cc -E runs the code through the compiler's parser,
   6312   # not just through cpp. "Syntax error" is here to catch this case.
   6313   cat >conftest.$ac_ext <<_ACEOF
   6314 /* confdefs.h.  */
   6315 _ACEOF
   6316 cat confdefs.h >>conftest.$ac_ext
   6317 cat >>conftest.$ac_ext <<_ACEOF
   6318 /* end confdefs.h.  */
   6319 #ifdef __STDC__
   6320 # include <limits.h>
   6321 #else
   6322 # include <assert.h>
   6323 #endif
   6324 		     Syntax error
   6325 _ACEOF
   6326 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6327 case "(($ac_try" in
   6328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6329   *) ac_try_echo=$ac_try;;
   6330 esac
   6331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6332   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6333   ac_status=$?
   6334   grep -v '^ *+' conftest.er1 >conftest.err
   6335   rm -f conftest.er1
   6336   cat conftest.err >&5
   6337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6338   (exit $ac_status); } >/dev/null && {
   6339 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6340 	 test ! -s conftest.err
   6341        }; then
   6342   :
   6343 else
   6344   echo "$as_me: failed program was:" >&5
   6345 sed 's/^/| /' conftest.$ac_ext >&5
   6346 
   6347   # Broken: fails on valid input.
   6348 continue
   6349 fi
   6350 
   6351 rm -f conftest.err conftest.$ac_ext
   6352 
   6353   # OK, works on sane cases.  Now check whether nonexistent headers
   6354   # can be detected and how.
   6355   cat >conftest.$ac_ext <<_ACEOF
   6356 /* confdefs.h.  */
   6357 _ACEOF
   6358 cat confdefs.h >>conftest.$ac_ext
   6359 cat >>conftest.$ac_ext <<_ACEOF
   6360 /* end confdefs.h.  */
   6361 #include <ac_nonexistent.h>
   6362 _ACEOF
   6363 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6364 case "(($ac_try" in
   6365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6366   *) ac_try_echo=$ac_try;;
   6367 esac
   6368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6369   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6370   ac_status=$?
   6371   grep -v '^ *+' conftest.er1 >conftest.err
   6372   rm -f conftest.er1
   6373   cat conftest.err >&5
   6374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6375   (exit $ac_status); } >/dev/null && {
   6376 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6377 	 test ! -s conftest.err
   6378        }; then
   6379   # Broken: success on invalid input.
   6380 continue
   6381 else
   6382   echo "$as_me: failed program was:" >&5
   6383 sed 's/^/| /' conftest.$ac_ext >&5
   6384 
   6385   # Passes both tests.
   6386 ac_preproc_ok=:
   6387 break
   6388 fi
   6389 
   6390 rm -f conftest.err conftest.$ac_ext
   6391 
   6392 done
   6393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6394 rm -f conftest.err conftest.$ac_ext
   6395 if $ac_preproc_ok; then
   6396   break
   6397 fi
   6398 
   6399     done
   6400     ac_cv_prog_CXXCPP=$CXXCPP
   6401 
   6402 fi
   6403   CXXCPP=$ac_cv_prog_CXXCPP
   6404 else
   6405   ac_cv_prog_CXXCPP=$CXXCPP
   6406 fi
   6407 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6408 echo "${ECHO_T}$CXXCPP" >&6; }
   6409 ac_preproc_ok=false
   6410 for ac_cxx_preproc_warn_flag in '' yes
   6411 do
   6412   # Use a header file that comes with gcc, so configuring glibc
   6413   # with a fresh cross-compiler works.
   6414   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6415   # <limits.h> exists even on freestanding compilers.
   6416   # On the NeXT, cc -E runs the code through the compiler's parser,
   6417   # not just through cpp. "Syntax error" is here to catch this case.
   6418   cat >conftest.$ac_ext <<_ACEOF
   6419 /* confdefs.h.  */
   6420 _ACEOF
   6421 cat confdefs.h >>conftest.$ac_ext
   6422 cat >>conftest.$ac_ext <<_ACEOF
   6423 /* end confdefs.h.  */
   6424 #ifdef __STDC__
   6425 # include <limits.h>
   6426 #else
   6427 # include <assert.h>
   6428 #endif
   6429 		     Syntax error
   6430 _ACEOF
   6431 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6432 case "(($ac_try" in
   6433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6434   *) ac_try_echo=$ac_try;;
   6435 esac
   6436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6437   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6438   ac_status=$?
   6439   grep -v '^ *+' conftest.er1 >conftest.err
   6440   rm -f conftest.er1
   6441   cat conftest.err >&5
   6442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6443   (exit $ac_status); } >/dev/null && {
   6444 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6445 	 test ! -s conftest.err
   6446        }; then
   6447   :
   6448 else
   6449   echo "$as_me: failed program was:" >&5
   6450 sed 's/^/| /' conftest.$ac_ext >&5
   6451 
   6452   # Broken: fails on valid input.
   6453 continue
   6454 fi
   6455 
   6456 rm -f conftest.err conftest.$ac_ext
   6457 
   6458   # OK, works on sane cases.  Now check whether nonexistent headers
   6459   # can be detected and how.
   6460   cat >conftest.$ac_ext <<_ACEOF
   6461 /* confdefs.h.  */
   6462 _ACEOF
   6463 cat confdefs.h >>conftest.$ac_ext
   6464 cat >>conftest.$ac_ext <<_ACEOF
   6465 /* end confdefs.h.  */
   6466 #include <ac_nonexistent.h>
   6467 _ACEOF
   6468 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6469 case "(($ac_try" in
   6470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6471   *) ac_try_echo=$ac_try;;
   6472 esac
   6473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6474   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6475   ac_status=$?
   6476   grep -v '^ *+' conftest.er1 >conftest.err
   6477   rm -f conftest.er1
   6478   cat conftest.err >&5
   6479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6480   (exit $ac_status); } >/dev/null && {
   6481 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6482 	 test ! -s conftest.err
   6483        }; then
   6484   # Broken: success on invalid input.
   6485 continue
   6486 else
   6487   echo "$as_me: failed program was:" >&5
   6488 sed 's/^/| /' conftest.$ac_ext >&5
   6489 
   6490   # Passes both tests.
   6491 ac_preproc_ok=:
   6492 break
   6493 fi
   6494 
   6495 rm -f conftest.err conftest.$ac_ext
   6496 
   6497 done
   6498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6499 rm -f conftest.err conftest.$ac_ext
   6500 if $ac_preproc_ok; then
   6501   :
   6502 else
   6503   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6504 See \`config.log' for more details." >&5
   6505 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6506 See \`config.log' for more details." >&2;}
   6507    { (exit 1); exit 1; }; }
   6508 fi
   6509 
   6510 ac_ext=cpp
   6511 ac_cpp='$CXXCPP $CPPFLAGS'
   6512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6515 
   6516 fi
   6517 
   6518 
   6519 ac_ext=f
   6520 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6521 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6522 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6523 if test -n "$ac_tool_prefix"; then
   6524   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6525   do
   6526     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6527 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6530 if test "${ac_cv_prog_F77+set}" = set; then
   6531   echo $ECHO_N "(cached) $ECHO_C" >&6
   6532 else
   6533   if test -n "$F77"; then
   6534   ac_cv_prog_F77="$F77" # Let the user override the test.
   6535 else
   6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6537 for as_dir in $PATH
   6538 do
   6539   IFS=$as_save_IFS
   6540   test -z "$as_dir" && as_dir=.
   6541   for ac_exec_ext in '' $ac_executable_extensions; do
   6542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6543     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6544     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6545     break 2
   6546   fi
   6547 done
   6548 done
   6549 IFS=$as_save_IFS
   6550 
   6551 fi
   6552 fi
   6553 F77=$ac_cv_prog_F77
   6554 if test -n "$F77"; then
   6555   { echo "$as_me:$LINENO: result: $F77" >&5
   6556 echo "${ECHO_T}$F77" >&6; }
   6557 else
   6558   { echo "$as_me:$LINENO: result: no" >&5
   6559 echo "${ECHO_T}no" >&6; }
   6560 fi
   6561 
   6562 
   6563     test -n "$F77" && break
   6564   done
   6565 fi
   6566 if test -z "$F77"; then
   6567   ac_ct_F77=$F77
   6568   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6569 do
   6570   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6571 set dummy $ac_prog; ac_word=$2
   6572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6574 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6575   echo $ECHO_N "(cached) $ECHO_C" >&6
   6576 else
   6577   if test -n "$ac_ct_F77"; then
   6578   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6579 else
   6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6581 for as_dir in $PATH
   6582 do
   6583   IFS=$as_save_IFS
   6584   test -z "$as_dir" && as_dir=.
   6585   for ac_exec_ext in '' $ac_executable_extensions; do
   6586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6587     ac_cv_prog_ac_ct_F77="$ac_prog"
   6588     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6589     break 2
   6590   fi
   6591 done
   6592 done
   6593 IFS=$as_save_IFS
   6594 
   6595 fi
   6596 fi
   6597 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6598 if test -n "$ac_ct_F77"; then
   6599   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6600 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6601 else
   6602   { echo "$as_me:$LINENO: result: no" >&5
   6603 echo "${ECHO_T}no" >&6; }
   6604 fi
   6605 
   6606 
   6607   test -n "$ac_ct_F77" && break
   6608 done
   6609 
   6610   if test "x$ac_ct_F77" = x; then
   6611     F77=""
   6612   else
   6613     case $cross_compiling:$ac_tool_warned in
   6614 yes:)
   6615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6616 whose name does not start with the host triplet.  If you think this
   6617 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6619 whose name does not start with the host triplet.  If you think this
   6620 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6621 ac_tool_warned=yes ;;
   6622 esac
   6623     F77=$ac_ct_F77
   6624   fi
   6625 fi
   6626 
   6627 
   6628 # Provide some information about the compiler.
   6629 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6630 ac_compiler=`set X $ac_compile; echo $2`
   6631 { (ac_try="$ac_compiler --version >&5"
   6632 case "(($ac_try" in
   6633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6634   *) ac_try_echo=$ac_try;;
   6635 esac
   6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6637   (eval "$ac_compiler --version >&5") 2>&5
   6638   ac_status=$?
   6639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6640   (exit $ac_status); }
   6641 { (ac_try="$ac_compiler -v >&5"
   6642 case "(($ac_try" in
   6643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6644   *) ac_try_echo=$ac_try;;
   6645 esac
   6646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6647   (eval "$ac_compiler -v >&5") 2>&5
   6648   ac_status=$?
   6649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6650   (exit $ac_status); }
   6651 { (ac_try="$ac_compiler -V >&5"
   6652 case "(($ac_try" in
   6653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6654   *) ac_try_echo=$ac_try;;
   6655 esac
   6656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6657   (eval "$ac_compiler -V >&5") 2>&5
   6658   ac_status=$?
   6659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6660   (exit $ac_status); }
   6661 rm -f a.out
   6662 
   6663 # If we don't use `.F' as extension, the preprocessor is not run on the
   6664 # input file.  (Note that this only needs to work for GNU compilers.)
   6665 ac_save_ext=$ac_ext
   6666 ac_ext=F
   6667 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6668 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6669 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6670   echo $ECHO_N "(cached) $ECHO_C" >&6
   6671 else
   6672   cat >conftest.$ac_ext <<_ACEOF
   6673       program main
   6674 #ifndef __GNUC__
   6675        choke me
   6676 #endif
   6677 
   6678       end
   6679 _ACEOF
   6680 rm -f conftest.$ac_objext
   6681 if { (ac_try="$ac_compile"
   6682 case "(($ac_try" in
   6683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6684   *) ac_try_echo=$ac_try;;
   6685 esac
   6686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6687   (eval "$ac_compile") 2>conftest.er1
   6688   ac_status=$?
   6689   grep -v '^ *+' conftest.er1 >conftest.err
   6690   rm -f conftest.er1
   6691   cat conftest.err >&5
   6692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6693   (exit $ac_status); } && {
   6694 	 test -z "$ac_f77_werror_flag" ||
   6695 	 test ! -s conftest.err
   6696        } && test -s conftest.$ac_objext; then
   6697   ac_compiler_gnu=yes
   6698 else
   6699   echo "$as_me: failed program was:" >&5
   6700 sed 's/^/| /' conftest.$ac_ext >&5
   6701 
   6702 	ac_compiler_gnu=no
   6703 fi
   6704 
   6705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6706 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6707 
   6708 fi
   6709 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6710 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6711 ac_ext=$ac_save_ext
   6712 ac_test_FFLAGS=${FFLAGS+set}
   6713 ac_save_FFLAGS=$FFLAGS
   6714 FFLAGS=
   6715 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6716 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6717 if test "${ac_cv_prog_f77_g+set}" = set; then
   6718   echo $ECHO_N "(cached) $ECHO_C" >&6
   6719 else
   6720   FFLAGS=-g
   6721 cat >conftest.$ac_ext <<_ACEOF
   6722       program main
   6723 
   6724       end
   6725 _ACEOF
   6726 rm -f conftest.$ac_objext
   6727 if { (ac_try="$ac_compile"
   6728 case "(($ac_try" in
   6729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6730   *) ac_try_echo=$ac_try;;
   6731 esac
   6732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6733   (eval "$ac_compile") 2>conftest.er1
   6734   ac_status=$?
   6735   grep -v '^ *+' conftest.er1 >conftest.err
   6736   rm -f conftest.er1
   6737   cat conftest.err >&5
   6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6739   (exit $ac_status); } && {
   6740 	 test -z "$ac_f77_werror_flag" ||
   6741 	 test ! -s conftest.err
   6742        } && test -s conftest.$ac_objext; then
   6743   ac_cv_prog_f77_g=yes
   6744 else
   6745   echo "$as_me: failed program was:" >&5
   6746 sed 's/^/| /' conftest.$ac_ext >&5
   6747 
   6748 	ac_cv_prog_f77_g=no
   6749 fi
   6750 
   6751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6752 
   6753 fi
   6754 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6755 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6756 if test "$ac_test_FFLAGS" = set; then
   6757   FFLAGS=$ac_save_FFLAGS
   6758 elif test $ac_cv_prog_f77_g = yes; then
   6759   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6760     FFLAGS="-g -O2"
   6761   else
   6762     FFLAGS="-g"
   6763   fi
   6764 else
   6765   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6766     FFLAGS="-O2"
   6767   else
   6768     FFLAGS=
   6769   fi
   6770 fi
   6771 
   6772 G77=`test $ac_compiler_gnu = yes && echo yes`
   6773 ac_ext=c
   6774 ac_cpp='$CPP $CPPFLAGS'
   6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6778 
   6779 
   6780 
   6781 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6782 
   6783 # find the maximum length of command line arguments
   6784 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6785 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6786 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6787   echo $ECHO_N "(cached) $ECHO_C" >&6
   6788 else
   6789     i=0
   6790   teststring="ABCD"
   6791 
   6792   case $build_os in
   6793   msdosdjgpp*)
   6794     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6795     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6796     # during glob expansion).  Even if it were fixed, the result of this
   6797     # check would be larger than it should be.
   6798     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6799     ;;
   6800 
   6801   gnu*)
   6802     # Under GNU Hurd, this test is not required because there is
   6803     # no limit to the length of command line arguments.
   6804     # Libtool will interpret -1 as no limit whatsoever
   6805     lt_cv_sys_max_cmd_len=-1;
   6806     ;;
   6807 
   6808   cygwin* | mingw*)
   6809     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6810     # about 5 minutes as the teststring grows exponentially.
   6811     # Worse, since 9x/ME are not pre-emptively multitasking,
   6812     # you end up with a "frozen" computer, even though with patience
   6813     # the test eventually succeeds (with a max line length of 256k).
   6814     # Instead, let's just punt: use the minimum linelength reported by
   6815     # all of the supported platforms: 8192 (on NT/2K/XP).
   6816     lt_cv_sys_max_cmd_len=8192;
   6817     ;;
   6818 
   6819   amigaos*)
   6820     # On AmigaOS with pdksh, this test takes hours, literally.
   6821     # So we just punt and use a minimum line length of 8192.
   6822     lt_cv_sys_max_cmd_len=8192;
   6823     ;;
   6824 
   6825   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6826     # This has been around since 386BSD, at least.  Likely further.
   6827     if test -x /sbin/sysctl; then
   6828       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6829     elif test -x /usr/sbin/sysctl; then
   6830       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6831     else
   6832       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6833     fi
   6834     # And add a safety zone
   6835     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6836     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6837     ;;
   6838 
   6839   interix*)
   6840     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6841     lt_cv_sys_max_cmd_len=196608
   6842     ;;
   6843 
   6844   osf*)
   6845     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6846     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6847     # nice to cause kernel panics so lets avoid the loop below.
   6848     # First set a reasonable default.
   6849     lt_cv_sys_max_cmd_len=16384
   6850     #
   6851     if test -x /sbin/sysconfig; then
   6852       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6853         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6854       esac
   6855     fi
   6856     ;;
   6857   sco3.2v5*)
   6858     lt_cv_sys_max_cmd_len=102400
   6859     ;;
   6860   sysv5* | sco5v6* | sysv4.2uw2*)
   6861     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6862     if test -n "$kargmax"; then
   6863       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6864     else
   6865       lt_cv_sys_max_cmd_len=32768
   6866     fi
   6867     ;;
   6868   *)
   6869     # If test is not a shell built-in, we'll probably end up computing a
   6870     # maximum length that is only half of the actual maximum length, but
   6871     # we can't tell.
   6872     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6873     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6874 	       = "XX$teststring") >/dev/null 2>&1 &&
   6875 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6876 	    lt_cv_sys_max_cmd_len=$new_result &&
   6877 	    test $i != 17 # 1/2 MB should be enough
   6878     do
   6879       i=`expr $i + 1`
   6880       teststring=$teststring$teststring
   6881     done
   6882     teststring=
   6883     # Add a significant safety factor because C++ compilers can tack on massive
   6884     # amounts of additional arguments before passing them to the linker.
   6885     # It appears as though 1/2 is a usable value.
   6886     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6887     ;;
   6888   esac
   6889 
   6890 fi
   6891 
   6892 if test -n $lt_cv_sys_max_cmd_len ; then
   6893   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6894 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6895 else
   6896   { echo "$as_me:$LINENO: result: none" >&5
   6897 echo "${ECHO_T}none" >&6; }
   6898 fi
   6899 
   6900 
   6901 
   6902 
   6903 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6904 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6905 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6906 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6907   echo $ECHO_N "(cached) $ECHO_C" >&6
   6908 else
   6909 
   6910 # These are sane defaults that work on at least a few old systems.
   6911 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6912 
   6913 # Character class describing NM global symbol codes.
   6914 symcode='[BCDEGRST]'
   6915 
   6916 # Regexp to match symbols that can be accessed directly from C.
   6917 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6918 
   6919 # Transform an extracted symbol line into a proper C declaration
   6920 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6921 
   6922 # Transform an extracted symbol line into symbol name and symbol address
   6923 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6924 
   6925 # Define system-specific variables.
   6926 case $host_os in
   6927 aix*)
   6928   symcode='[BCDT]'
   6929   ;;
   6930 cygwin* | mingw* | pw32*)
   6931   symcode='[ABCDGISTW]'
   6932   ;;
   6933 hpux*) # Its linker distinguishes data from code symbols
   6934   if test "$host_cpu" = ia64; then
   6935     symcode='[ABCDEGRST]'
   6936   fi
   6937   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6938   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6939   ;;
   6940 linux*)
   6941   if test "$host_cpu" = ia64; then
   6942     symcode='[ABCDGIRSTW]'
   6943     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6944     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6945   fi
   6946   ;;
   6947 irix* | nonstopux*)
   6948   symcode='[BCDEGRST]'
   6949   ;;
   6950 osf*)
   6951   symcode='[BCDEGQRST]'
   6952   ;;
   6953 solaris*)
   6954   symcode='[BDRT]'
   6955   ;;
   6956 sco3.2v5*)
   6957   symcode='[DT]'
   6958   ;;
   6959 sysv4.2uw2*)
   6960   symcode='[DT]'
   6961   ;;
   6962 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6963   symcode='[ABDT]'
   6964   ;;
   6965 sysv4)
   6966   symcode='[DFNSTU]'
   6967   ;;
   6968 esac
   6969 
   6970 # Handle CRLF in mingw tool chain
   6971 opt_cr=
   6972 case $build_os in
   6973 mingw*)
   6974   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6975   ;;
   6976 esac
   6977 
   6978 # If we're using GNU nm, then use its standard symbol codes.
   6979 case `$NM -V 2>&1` in
   6980 *GNU* | *'with BFD'*)
   6981   symcode='[ABCDGIRSTW]' ;;
   6982 esac
   6983 
   6984 # Try without a prefix undercore, then with it.
   6985 for ac_symprfx in "" "_"; do
   6986 
   6987   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6988   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6989 
   6990   # Write the raw and C identifiers.
   6991   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6992 
   6993   # Check to see that the pipe works correctly.
   6994   pipe_works=no
   6995 
   6996   rm -f conftest*
   6997   cat > conftest.$ac_ext <<EOF
   6998 #ifdef __cplusplus
   6999 extern "C" {
   7000 #endif
   7001 char nm_test_var;
   7002 void nm_test_func(){}
   7003 #ifdef __cplusplus
   7004 }
   7005 #endif
   7006 int main(){nm_test_var='a';nm_test_func();return(0);}
   7007 EOF
   7008 
   7009   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7010   (eval $ac_compile) 2>&5
   7011   ac_status=$?
   7012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7013   (exit $ac_status); }; then
   7014     # Now try to grab the symbols.
   7015     nlist=conftest.nm
   7016     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   7017   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   7018   ac_status=$?
   7019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7020   (exit $ac_status); } && test -s "$nlist"; then
   7021       # Try sorting and uniquifying the output.
   7022       if sort "$nlist" | uniq > "$nlist"T; then
   7023 	mv -f "$nlist"T "$nlist"
   7024       else
   7025 	rm -f "$nlist"T
   7026       fi
   7027 
   7028       # Make sure that we snagged all the symbols we need.
   7029       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   7030 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   7031 	  cat <<EOF > conftest.$ac_ext
   7032 #ifdef __cplusplus
   7033 extern "C" {
   7034 #endif
   7035 
   7036 EOF
   7037 	  # Now generate the symbol file.
   7038 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   7039 
   7040 	  cat <<EOF >> conftest.$ac_ext
   7041 #if defined (__STDC__) && __STDC__
   7042 # define lt_ptr_t void *
   7043 #else
   7044 # define lt_ptr_t char *
   7045 # define const
   7046 #endif
   7047 
   7048 /* The mapping between symbol names and symbols. */
   7049 const struct {
   7050   const char *name;
   7051   lt_ptr_t address;
   7052 }
   7053 lt_preloaded_symbols[] =
   7054 {
   7055 EOF
   7056 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   7057 	  cat <<\EOF >> conftest.$ac_ext
   7058   {0, (lt_ptr_t) 0}
   7059 };
   7060 
   7061 #ifdef __cplusplus
   7062 }
   7063 #endif
   7064 EOF
   7065 	  # Now try linking the two files.
   7066 	  mv conftest.$ac_objext conftstm.$ac_objext
   7067 	  lt_save_LIBS="$LIBS"
   7068 	  lt_save_CFLAGS="$CFLAGS"
   7069 	  LIBS="conftstm.$ac_objext"
   7070 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7071 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7072   (eval $ac_link) 2>&5
   7073   ac_status=$?
   7074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7075   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   7076 	    pipe_works=yes
   7077 	  fi
   7078 	  LIBS="$lt_save_LIBS"
   7079 	  CFLAGS="$lt_save_CFLAGS"
   7080 	else
   7081 	  echo "cannot find nm_test_func in $nlist" >&5
   7082 	fi
   7083       else
   7084 	echo "cannot find nm_test_var in $nlist" >&5
   7085       fi
   7086     else
   7087       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7088     fi
   7089   else
   7090     echo "$progname: failed program was:" >&5
   7091     cat conftest.$ac_ext >&5
   7092   fi
   7093   rm -f conftest* conftst*
   7094 
   7095   # Do not use the global_symbol_pipe unless it works.
   7096   if test "$pipe_works" = yes; then
   7097     break
   7098   else
   7099     lt_cv_sys_global_symbol_pipe=
   7100   fi
   7101 done
   7102 
   7103 fi
   7104 
   7105 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7106   lt_cv_sys_global_symbol_to_cdecl=
   7107 fi
   7108 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7109   { echo "$as_me:$LINENO: result: failed" >&5
   7110 echo "${ECHO_T}failed" >&6; }
   7111 else
   7112   { echo "$as_me:$LINENO: result: ok" >&5
   7113 echo "${ECHO_T}ok" >&6; }
   7114 fi
   7115 
   7116 { echo "$as_me:$LINENO: checking for objdir" >&5
   7117 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   7118 if test "${lt_cv_objdir+set}" = set; then
   7119   echo $ECHO_N "(cached) $ECHO_C" >&6
   7120 else
   7121   rm -f .libs 2>/dev/null
   7122 mkdir .libs 2>/dev/null
   7123 if test -d .libs; then
   7124   lt_cv_objdir=.libs
   7125 else
   7126   # MS-DOS does not allow filenames that begin with a dot.
   7127   lt_cv_objdir=_libs
   7128 fi
   7129 rmdir .libs 2>/dev/null
   7130 fi
   7131 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7132 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   7133 objdir=$lt_cv_objdir
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 case $host_os in
   7140 aix3*)
   7141   # AIX sometimes has problems with the GCC collect2 program.  For some
   7142   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7143   # vanish in a puff of smoke.
   7144   if test "X${COLLECT_NAMES+set}" != Xset; then
   7145     COLLECT_NAMES=
   7146     export COLLECT_NAMES
   7147   fi
   7148   ;;
   7149 esac
   7150 
   7151 # Sed substitution that helps us do robust quoting.  It backslashifies
   7152 # metacharacters that are still active within double-quoted strings.
   7153 Xsed='sed -e 1s/^X//'
   7154 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   7155 
   7156 # Same as above, but do not quote variable references.
   7157 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   7158 
   7159 # Sed substitution to delay expansion of an escaped shell variable in a
   7160 # double_quote_subst'ed string.
   7161 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7162 
   7163 # Sed substitution to avoid accidental globbing in evaled expressions
   7164 no_glob_subst='s/\*/\\\*/g'
   7165 
   7166 # Constants:
   7167 rm="rm -f"
   7168 
   7169 # Global variables:
   7170 default_ofile=libtool
   7171 can_build_shared=yes
   7172 
   7173 # All known linkers require a `.a' archive for static linking (except MSVC,
   7174 # which needs '.lib').
   7175 libext=a
   7176 ltmain="$ac_aux_dir/ltmain.sh"
   7177 ofile="$default_ofile"
   7178 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7179 
   7180 if test -n "$ac_tool_prefix"; then
   7181   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7182 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7185 if test "${ac_cv_prog_AR+set}" = set; then
   7186   echo $ECHO_N "(cached) $ECHO_C" >&6
   7187 else
   7188   if test -n "$AR"; then
   7189   ac_cv_prog_AR="$AR" # Let the user override the test.
   7190 else
   7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7192 for as_dir in $PATH
   7193 do
   7194   IFS=$as_save_IFS
   7195   test -z "$as_dir" && as_dir=.
   7196   for ac_exec_ext in '' $ac_executable_extensions; do
   7197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7198     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7199     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7200     break 2
   7201   fi
   7202 done
   7203 done
   7204 IFS=$as_save_IFS
   7205 
   7206 fi
   7207 fi
   7208 AR=$ac_cv_prog_AR
   7209 if test -n "$AR"; then
   7210   { echo "$as_me:$LINENO: result: $AR" >&5
   7211 echo "${ECHO_T}$AR" >&6; }
   7212 else
   7213   { echo "$as_me:$LINENO: result: no" >&5
   7214 echo "${ECHO_T}no" >&6; }
   7215 fi
   7216 
   7217 
   7218 fi
   7219 if test -z "$ac_cv_prog_AR"; then
   7220   ac_ct_AR=$AR
   7221   # Extract the first word of "ar", so it can be a program name with args.
   7222 set dummy ar; ac_word=$2
   7223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7225 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   7226   echo $ECHO_N "(cached) $ECHO_C" >&6
   7227 else
   7228   if test -n "$ac_ct_AR"; then
   7229   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7230 else
   7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7232 for as_dir in $PATH
   7233 do
   7234   IFS=$as_save_IFS
   7235   test -z "$as_dir" && as_dir=.
   7236   for ac_exec_ext in '' $ac_executable_extensions; do
   7237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7238     ac_cv_prog_ac_ct_AR="ar"
   7239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7240     break 2
   7241   fi
   7242 done
   7243 done
   7244 IFS=$as_save_IFS
   7245 
   7246 fi
   7247 fi
   7248 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7249 if test -n "$ac_ct_AR"; then
   7250   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   7251 echo "${ECHO_T}$ac_ct_AR" >&6; }
   7252 else
   7253   { echo "$as_me:$LINENO: result: no" >&5
   7254 echo "${ECHO_T}no" >&6; }
   7255 fi
   7256 
   7257   if test "x$ac_ct_AR" = x; then
   7258     AR="false"
   7259   else
   7260     case $cross_compiling:$ac_tool_warned in
   7261 yes:)
   7262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7263 whose name does not start with the host triplet.  If you think this
   7264 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7266 whose name does not start with the host triplet.  If you think this
   7267 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7268 ac_tool_warned=yes ;;
   7269 esac
   7270     AR=$ac_ct_AR
   7271   fi
   7272 else
   7273   AR="$ac_cv_prog_AR"
   7274 fi
   7275 
   7276 if test -n "$ac_tool_prefix"; then
   7277   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7278 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7281 if test "${ac_cv_prog_RANLIB+set}" = set; then
   7282   echo $ECHO_N "(cached) $ECHO_C" >&6
   7283 else
   7284   if test -n "$RANLIB"; then
   7285   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7286 else
   7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7288 for as_dir in $PATH
   7289 do
   7290   IFS=$as_save_IFS
   7291   test -z "$as_dir" && as_dir=.
   7292   for ac_exec_ext in '' $ac_executable_extensions; do
   7293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7294     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7295     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7296     break 2
   7297   fi
   7298 done
   7299 done
   7300 IFS=$as_save_IFS
   7301 
   7302 fi
   7303 fi
   7304 RANLIB=$ac_cv_prog_RANLIB
   7305 if test -n "$RANLIB"; then
   7306   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   7307 echo "${ECHO_T}$RANLIB" >&6; }
   7308 else
   7309   { echo "$as_me:$LINENO: result: no" >&5
   7310 echo "${ECHO_T}no" >&6; }
   7311 fi
   7312 
   7313 
   7314 fi
   7315 if test -z "$ac_cv_prog_RANLIB"; then
   7316   ac_ct_RANLIB=$RANLIB
   7317   # Extract the first word of "ranlib", so it can be a program name with args.
   7318 set dummy ranlib; ac_word=$2
   7319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7321 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7322   echo $ECHO_N "(cached) $ECHO_C" >&6
   7323 else
   7324   if test -n "$ac_ct_RANLIB"; then
   7325   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7326 else
   7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7328 for as_dir in $PATH
   7329 do
   7330   IFS=$as_save_IFS
   7331   test -z "$as_dir" && as_dir=.
   7332   for ac_exec_ext in '' $ac_executable_extensions; do
   7333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7334     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7335     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7336     break 2
   7337   fi
   7338 done
   7339 done
   7340 IFS=$as_save_IFS
   7341 
   7342 fi
   7343 fi
   7344 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7345 if test -n "$ac_ct_RANLIB"; then
   7346   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7347 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   7348 else
   7349   { echo "$as_me:$LINENO: result: no" >&5
   7350 echo "${ECHO_T}no" >&6; }
   7351 fi
   7352 
   7353   if test "x$ac_ct_RANLIB" = x; then
   7354     RANLIB=":"
   7355   else
   7356     case $cross_compiling:$ac_tool_warned in
   7357 yes:)
   7358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7359 whose name does not start with the host triplet.  If you think this
   7360 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7362 whose name does not start with the host triplet.  If you think this
   7363 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7364 ac_tool_warned=yes ;;
   7365 esac
   7366     RANLIB=$ac_ct_RANLIB
   7367   fi
   7368 else
   7369   RANLIB="$ac_cv_prog_RANLIB"
   7370 fi
   7371 
   7372 if test -n "$ac_tool_prefix"; then
   7373   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7374 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7377 if test "${ac_cv_prog_STRIP+set}" = set; then
   7378   echo $ECHO_N "(cached) $ECHO_C" >&6
   7379 else
   7380   if test -n "$STRIP"; then
   7381   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7382 else
   7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7384 for as_dir in $PATH
   7385 do
   7386   IFS=$as_save_IFS
   7387   test -z "$as_dir" && as_dir=.
   7388   for ac_exec_ext in '' $ac_executable_extensions; do
   7389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7390     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7391     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7392     break 2
   7393   fi
   7394 done
   7395 done
   7396 IFS=$as_save_IFS
   7397 
   7398 fi
   7399 fi
   7400 STRIP=$ac_cv_prog_STRIP
   7401 if test -n "$STRIP"; then
   7402   { echo "$as_me:$LINENO: result: $STRIP" >&5
   7403 echo "${ECHO_T}$STRIP" >&6; }
   7404 else
   7405   { echo "$as_me:$LINENO: result: no" >&5
   7406 echo "${ECHO_T}no" >&6; }
   7407 fi
   7408 
   7409 
   7410 fi
   7411 if test -z "$ac_cv_prog_STRIP"; then
   7412   ac_ct_STRIP=$STRIP
   7413   # Extract the first word of "strip", so it can be a program name with args.
   7414 set dummy strip; ac_word=$2
   7415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7417 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7418   echo $ECHO_N "(cached) $ECHO_C" >&6
   7419 else
   7420   if test -n "$ac_ct_STRIP"; then
   7421   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7422 else
   7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7424 for as_dir in $PATH
   7425 do
   7426   IFS=$as_save_IFS
   7427   test -z "$as_dir" && as_dir=.
   7428   for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7430     ac_cv_prog_ac_ct_STRIP="strip"
   7431     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435 done
   7436 IFS=$as_save_IFS
   7437 
   7438 fi
   7439 fi
   7440 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7441 if test -n "$ac_ct_STRIP"; then
   7442   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7443 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   7444 else
   7445   { echo "$as_me:$LINENO: result: no" >&5
   7446 echo "${ECHO_T}no" >&6; }
   7447 fi
   7448 
   7449   if test "x$ac_ct_STRIP" = x; then
   7450     STRIP=":"
   7451   else
   7452     case $cross_compiling:$ac_tool_warned in
   7453 yes:)
   7454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7455 whose name does not start with the host triplet.  If you think this
   7456 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7458 whose name does not start with the host triplet.  If you think this
   7459 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7460 ac_tool_warned=yes ;;
   7461 esac
   7462     STRIP=$ac_ct_STRIP
   7463   fi
   7464 else
   7465   STRIP="$ac_cv_prog_STRIP"
   7466 fi
   7467 
   7468 
   7469 old_CC="$CC"
   7470 old_CFLAGS="$CFLAGS"
   7471 
   7472 # Set sane defaults for various variables
   7473 test -z "$AR" && AR=ar
   7474 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7475 test -z "$AS" && AS=as
   7476 test -z "$CC" && CC=cc
   7477 test -z "$LTCC" && LTCC=$CC
   7478 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7479 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7480 test -z "$LD" && LD=ld
   7481 test -z "$LN_S" && LN_S="ln -s"
   7482 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7483 test -z "$NM" && NM=nm
   7484 test -z "$SED" && SED=sed
   7485 test -z "$OBJDUMP" && OBJDUMP=objdump
   7486 test -z "$RANLIB" && RANLIB=:
   7487 test -z "$STRIP" && STRIP=:
   7488 test -z "$ac_objext" && ac_objext=o
   7489 
   7490 # Determine commands to create old-style static archives.
   7491 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   7492 old_postinstall_cmds='chmod 644 $oldlib'
   7493 old_postuninstall_cmds=
   7494 
   7495 if test -n "$RANLIB"; then
   7496   case $host_os in
   7497   openbsd*)
   7498     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7499     ;;
   7500   *)
   7501     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7502     ;;
   7503   esac
   7504   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7505 fi
   7506 
   7507 for cc_temp in $compiler""; do
   7508   case $cc_temp in
   7509     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7510     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7511     \-*) ;;
   7512     *) break;;
   7513   esac
   7514 done
   7515 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7516 
   7517 
   7518 # Only perform the check for file, if the check method requires it
   7519 case $deplibs_check_method in
   7520 file_magic*)
   7521   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7522     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7523 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   7524 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7525   echo $ECHO_N "(cached) $ECHO_C" >&6
   7526 else
   7527   case $MAGIC_CMD in
   7528 [\\/*] |  ?:[\\/]*)
   7529   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7530   ;;
   7531 *)
   7532   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7533   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7534   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7535   for ac_dir in $ac_dummy; do
   7536     IFS="$lt_save_ifs"
   7537     test -z "$ac_dir" && ac_dir=.
   7538     if test -f $ac_dir/${ac_tool_prefix}file; then
   7539       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7540       if test -n "$file_magic_test_file"; then
   7541 	case $deplibs_check_method in
   7542 	"file_magic "*)
   7543 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7544 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7545 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7546 	    $EGREP "$file_magic_regex" > /dev/null; then
   7547 	    :
   7548 	  else
   7549 	    cat <<EOF 1>&2
   7550 
   7551 *** Warning: the command libtool uses to detect shared libraries,
   7552 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7553 *** The result is that libtool may fail to recognize shared libraries
   7554 *** as such.  This will affect the creation of libtool libraries that
   7555 *** depend on shared libraries, but programs linked with such libtool
   7556 *** libraries will work regardless of this problem.  Nevertheless, you
   7557 *** may want to report the problem to your system manager and/or to
   7558 *** bug-libtool@gnu.org
   7559 
   7560 EOF
   7561 	  fi ;;
   7562 	esac
   7563       fi
   7564       break
   7565     fi
   7566   done
   7567   IFS="$lt_save_ifs"
   7568   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7569   ;;
   7570 esac
   7571 fi
   7572 
   7573 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7574 if test -n "$MAGIC_CMD"; then
   7575   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7576 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7577 else
   7578   { echo "$as_me:$LINENO: result: no" >&5
   7579 echo "${ECHO_T}no" >&6; }
   7580 fi
   7581 
   7582 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7583   if test -n "$ac_tool_prefix"; then
   7584     { echo "$as_me:$LINENO: checking for file" >&5
   7585 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7586 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7587   echo $ECHO_N "(cached) $ECHO_C" >&6
   7588 else
   7589   case $MAGIC_CMD in
   7590 [\\/*] |  ?:[\\/]*)
   7591   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7592   ;;
   7593 *)
   7594   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7595   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7596   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7597   for ac_dir in $ac_dummy; do
   7598     IFS="$lt_save_ifs"
   7599     test -z "$ac_dir" && ac_dir=.
   7600     if test -f $ac_dir/file; then
   7601       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7602       if test -n "$file_magic_test_file"; then
   7603 	case $deplibs_check_method in
   7604 	"file_magic "*)
   7605 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7606 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7607 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7608 	    $EGREP "$file_magic_regex" > /dev/null; then
   7609 	    :
   7610 	  else
   7611 	    cat <<EOF 1>&2
   7612 
   7613 *** Warning: the command libtool uses to detect shared libraries,
   7614 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7615 *** The result is that libtool may fail to recognize shared libraries
   7616 *** as such.  This will affect the creation of libtool libraries that
   7617 *** depend on shared libraries, but programs linked with such libtool
   7618 *** libraries will work regardless of this problem.  Nevertheless, you
   7619 *** may want to report the problem to your system manager and/or to
   7620 *** bug-libtool@gnu.org
   7621 
   7622 EOF
   7623 	  fi ;;
   7624 	esac
   7625       fi
   7626       break
   7627     fi
   7628   done
   7629   IFS="$lt_save_ifs"
   7630   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7631   ;;
   7632 esac
   7633 fi
   7634 
   7635 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7636 if test -n "$MAGIC_CMD"; then
   7637   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7638 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7639 else
   7640   { echo "$as_me:$LINENO: result: no" >&5
   7641 echo "${ECHO_T}no" >&6; }
   7642 fi
   7643 
   7644   else
   7645     MAGIC_CMD=:
   7646   fi
   7647 fi
   7648 
   7649   fi
   7650   ;;
   7651 esac
   7652 
   7653 enable_dlopen=no
   7654 enable_win32_dll=yes
   7655 
   7656 # Check whether --enable-libtool-lock was given.
   7657 if test "${enable_libtool_lock+set}" = set; then
   7658   enableval=$enable_libtool_lock;
   7659 fi
   7660 
   7661 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7662 
   7663 
   7664 # Check whether --with-pic was given.
   7665 if test "${with_pic+set}" = set; then
   7666   withval=$with_pic; pic_mode="$withval"
   7667 else
   7668   pic_mode=default
   7669 fi
   7670 
   7671 test -z "$pic_mode" && pic_mode=default
   7672 
   7673 # Use C for the default configuration in the libtool script
   7674 tagname=
   7675 lt_save_CC="$CC"
   7676 ac_ext=c
   7677 ac_cpp='$CPP $CPPFLAGS'
   7678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7681 
   7682 
   7683 # Source file extension for C test sources.
   7684 ac_ext=c
   7685 
   7686 # Object file extension for compiled C test sources.
   7687 objext=o
   7688 objext=$objext
   7689 
   7690 # Code to be used in simple compile tests
   7691 lt_simple_compile_test_code="int some_variable = 0;\n"
   7692 
   7693 # Code to be used in simple link tests
   7694 lt_simple_link_test_code='int main(){return(0);}\n'
   7695 
   7696 
   7697 # If no C compiler was specified, use CC.
   7698 LTCC=${LTCC-"$CC"}
   7699 
   7700 # If no C compiler flags were specified, use CFLAGS.
   7701 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7702 
   7703 # Allow CC to be a program name with arguments.
   7704 compiler=$CC
   7705 
   7706 
   7707 # save warnings/boilerplate of simple test code
   7708 ac_outfile=conftest.$ac_objext
   7709 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7710 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7711 _lt_compiler_boilerplate=`cat conftest.err`
   7712 $rm conftest*
   7713 
   7714 ac_outfile=conftest.$ac_objext
   7715 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7716 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7717 _lt_linker_boilerplate=`cat conftest.err`
   7718 $rm conftest*
   7719 
   7720 
   7721 
   7722 lt_prog_compiler_no_builtin_flag=
   7723 
   7724 if test "$GCC" = yes; then
   7725   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7726 
   7727 
   7728 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7729 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7730 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7731   echo $ECHO_N "(cached) $ECHO_C" >&6
   7732 else
   7733   lt_cv_prog_compiler_rtti_exceptions=no
   7734   ac_outfile=conftest.$ac_objext
   7735    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7736    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7737    # Insert the option either (1) after the last *FLAGS variable, or
   7738    # (2) before a word containing "conftest.", or (3) at the end.
   7739    # Note that $ac_compile itself does not contain backslashes and begins
   7740    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7741    # The option is referenced via a variable to avoid confusing sed.
   7742    lt_compile=`echo "$ac_compile" | $SED \
   7743    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7744    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7745    -e 's:$: $lt_compiler_flag:'`
   7746    (eval echo "\"\$as_me:7746: $lt_compile\"" >&5)
   7747    (eval "$lt_compile" 2>conftest.err)
   7748    ac_status=$?
   7749    cat conftest.err >&5
   7750    echo "$as_me:7750: \$? = $ac_status" >&5
   7751    if (exit $ac_status) && test -s "$ac_outfile"; then
   7752      # The compiler can only warn and ignore the option if not recognized
   7753      # So say no if there are warnings other than the usual output.
   7754      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7755      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7756      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7757        lt_cv_prog_compiler_rtti_exceptions=yes
   7758      fi
   7759    fi
   7760    $rm conftest*
   7761 
   7762 fi
   7763 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7764 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7765 
   7766 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7767     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7768 else
   7769     :
   7770 fi
   7771 
   7772 fi
   7773 
   7774 lt_prog_compiler_wl=
   7775 lt_prog_compiler_pic=
   7776 lt_prog_compiler_static=
   7777 
   7778 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7779 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7780 
   7781   if test "$GCC" = yes; then
   7782     lt_prog_compiler_wl='-Wl,'
   7783     lt_prog_compiler_static='-static'
   7784 
   7785     case $host_os in
   7786       aix*)
   7787       # All AIX code is PIC.
   7788       if test "$host_cpu" = ia64; then
   7789 	# AIX 5 now supports IA64 processor
   7790 	lt_prog_compiler_static='-Bstatic'
   7791       fi
   7792       ;;
   7793 
   7794     amigaos*)
   7795       # FIXME: we need at least 68020 code to build shared libraries, but
   7796       # adding the `-m68020' flag to GCC prevents building anything better,
   7797       # like `-m68040'.
   7798       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7799       ;;
   7800 
   7801     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7802       # PIC is the default for these OSes.
   7803       ;;
   7804 
   7805     mingw* | pw32* | os2*)
   7806       # This hack is so that the source file can tell whether it is being
   7807       # built for inclusion in a dll (and should export symbols for example).
   7808       lt_prog_compiler_pic='-DDLL_EXPORT'
   7809       ;;
   7810 
   7811     darwin* | rhapsody*)
   7812       # PIC is the default on this platform
   7813       # Common symbols not allowed in MH_DYLIB files
   7814       lt_prog_compiler_pic='-fno-common'
   7815       ;;
   7816 
   7817     interix3*)
   7818       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7819       # Instead, we relocate shared libraries at runtime.
   7820       ;;
   7821 
   7822     msdosdjgpp*)
   7823       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7824       # on systems that don't support them.
   7825       lt_prog_compiler_can_build_shared=no
   7826       enable_shared=no
   7827       ;;
   7828 
   7829     sysv4*MP*)
   7830       if test -d /usr/nec; then
   7831 	lt_prog_compiler_pic=-Kconform_pic
   7832       fi
   7833       ;;
   7834 
   7835     hpux*)
   7836       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7837       # not for PA HP-UX.
   7838       case $host_cpu in
   7839       hppa*64*|ia64*)
   7840 	# +Z the default
   7841 	;;
   7842       *)
   7843 	lt_prog_compiler_pic='-fPIC'
   7844 	;;
   7845       esac
   7846       ;;
   7847 
   7848     *)
   7849       lt_prog_compiler_pic='-fPIC'
   7850       ;;
   7851     esac
   7852   else
   7853     # PORTME Check for flag to pass linker flags through the system compiler.
   7854     case $host_os in
   7855     aix*)
   7856       lt_prog_compiler_wl='-Wl,'
   7857       if test "$host_cpu" = ia64; then
   7858 	# AIX 5 now supports IA64 processor
   7859 	lt_prog_compiler_static='-Bstatic'
   7860       else
   7861 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7862       fi
   7863       ;;
   7864       darwin*)
   7865         # PIC is the default on this platform
   7866         # Common symbols not allowed in MH_DYLIB files
   7867        case $cc_basename in
   7868          xlc*)
   7869          lt_prog_compiler_pic='-qnocommon'
   7870          lt_prog_compiler_wl='-Wl,'
   7871          ;;
   7872        esac
   7873        ;;
   7874 
   7875     mingw* | pw32* | os2*)
   7876       # This hack is so that the source file can tell whether it is being
   7877       # built for inclusion in a dll (and should export symbols for example).
   7878       lt_prog_compiler_pic='-DDLL_EXPORT'
   7879       ;;
   7880 
   7881     hpux9* | hpux10* | hpux11*)
   7882       lt_prog_compiler_wl='-Wl,'
   7883       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7884       # not for PA HP-UX.
   7885       case $host_cpu in
   7886       hppa*64*|ia64*)
   7887 	# +Z the default
   7888 	;;
   7889       *)
   7890 	lt_prog_compiler_pic='+Z'
   7891 	;;
   7892       esac
   7893       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7894       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7895       ;;
   7896 
   7897     irix5* | irix6* | nonstopux*)
   7898       lt_prog_compiler_wl='-Wl,'
   7899       # PIC (with -KPIC) is the default.
   7900       lt_prog_compiler_static='-non_shared'
   7901       ;;
   7902 
   7903     newsos6)
   7904       lt_prog_compiler_pic='-KPIC'
   7905       lt_prog_compiler_static='-Bstatic'
   7906       ;;
   7907 
   7908     linux*)
   7909       case $cc_basename in
   7910       icc* | ecc*)
   7911 	lt_prog_compiler_wl='-Wl,'
   7912 	lt_prog_compiler_pic='-KPIC'
   7913 	lt_prog_compiler_static='-static'
   7914         ;;
   7915       pgcc* | pgf77* | pgf90* | pgf95*)
   7916         # Portland Group compilers (*not* the Pentium gcc compiler,
   7917 	# which looks to be a dead project)
   7918 	lt_prog_compiler_wl='-Wl,'
   7919 	lt_prog_compiler_pic='-fpic'
   7920 	lt_prog_compiler_static='-Bstatic'
   7921         ;;
   7922       ccc*)
   7923         lt_prog_compiler_wl='-Wl,'
   7924         # All Alpha code is PIC.
   7925         lt_prog_compiler_static='-non_shared'
   7926         ;;
   7927       esac
   7928       ;;
   7929 
   7930     osf3* | osf4* | osf5*)
   7931       lt_prog_compiler_wl='-Wl,'
   7932       # All OSF/1 code is PIC.
   7933       lt_prog_compiler_static='-non_shared'
   7934       ;;
   7935 
   7936     solaris*)
   7937       lt_prog_compiler_pic='-KPIC'
   7938       lt_prog_compiler_static='-Bstatic'
   7939       case $cc_basename in
   7940       f77* | f90* | f95*)
   7941 	lt_prog_compiler_wl='-Qoption ld ';;
   7942       *)
   7943 	lt_prog_compiler_wl='-Wl,';;
   7944       esac
   7945       ;;
   7946 
   7947     sunos4*)
   7948       lt_prog_compiler_wl='-Qoption ld '
   7949       lt_prog_compiler_pic='-PIC'
   7950       lt_prog_compiler_static='-Bstatic'
   7951       ;;
   7952 
   7953     sysv4 | sysv4.2uw2* | sysv4.3*)
   7954       lt_prog_compiler_wl='-Wl,'
   7955       lt_prog_compiler_pic='-KPIC'
   7956       lt_prog_compiler_static='-Bstatic'
   7957       ;;
   7958 
   7959     sysv4*MP*)
   7960       if test -d /usr/nec ;then
   7961 	lt_prog_compiler_pic='-Kconform_pic'
   7962 	lt_prog_compiler_static='-Bstatic'
   7963       fi
   7964       ;;
   7965 
   7966     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7967       lt_prog_compiler_wl='-Wl,'
   7968       lt_prog_compiler_pic='-KPIC'
   7969       lt_prog_compiler_static='-Bstatic'
   7970       ;;
   7971 
   7972     unicos*)
   7973       lt_prog_compiler_wl='-Wl,'
   7974       lt_prog_compiler_can_build_shared=no
   7975       ;;
   7976 
   7977     uts4*)
   7978       lt_prog_compiler_pic='-pic'
   7979       lt_prog_compiler_static='-Bstatic'
   7980       ;;
   7981 
   7982     *)
   7983       lt_prog_compiler_can_build_shared=no
   7984       ;;
   7985     esac
   7986   fi
   7987 
   7988 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7989 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7990 
   7991 #
   7992 # Check to make sure the PIC flag actually works.
   7993 #
   7994 if test -n "$lt_prog_compiler_pic"; then
   7995 
   7996 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7997 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7998 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7999   echo $ECHO_N "(cached) $ECHO_C" >&6
   8000 else
   8001   lt_prog_compiler_pic_works=no
   8002   ac_outfile=conftest.$ac_objext
   8003    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8004    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8005    # Insert the option either (1) after the last *FLAGS variable, or
   8006    # (2) before a word containing "conftest.", or (3) at the end.
   8007    # Note that $ac_compile itself does not contain backslashes and begins
   8008    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8009    # The option is referenced via a variable to avoid confusing sed.
   8010    lt_compile=`echo "$ac_compile" | $SED \
   8011    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8012    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8013    -e 's:$: $lt_compiler_flag:'`
   8014    (eval echo "\"\$as_me:8014: $lt_compile\"" >&5)
   8015    (eval "$lt_compile" 2>conftest.err)
   8016    ac_status=$?
   8017    cat conftest.err >&5
   8018    echo "$as_me:8018: \$? = $ac_status" >&5
   8019    if (exit $ac_status) && test -s "$ac_outfile"; then
   8020      # The compiler can only warn and ignore the option if not recognized
   8021      # So say no if there are warnings other than the usual output.
   8022      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8023      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8024      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8025        lt_prog_compiler_pic_works=yes
   8026      fi
   8027    fi
   8028    $rm conftest*
   8029 
   8030 fi
   8031 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   8032 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   8033 
   8034 if test x"$lt_prog_compiler_pic_works" = xyes; then
   8035     case $lt_prog_compiler_pic in
   8036      "" | " "*) ;;
   8037      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8038      esac
   8039 else
   8040     lt_prog_compiler_pic=
   8041      lt_prog_compiler_can_build_shared=no
   8042 fi
   8043 
   8044 fi
   8045 case $host_os in
   8046   # For platforms which do not support PIC, -DPIC is meaningless:
   8047   *djgpp*)
   8048     lt_prog_compiler_pic=
   8049     ;;
   8050   *)
   8051     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8052     ;;
   8053 esac
   8054 
   8055 #
   8056 # Check to make sure the static flag actually works.
   8057 #
   8058 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8059 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8060 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   8061 if test "${lt_prog_compiler_static_works+set}" = set; then
   8062   echo $ECHO_N "(cached) $ECHO_C" >&6
   8063 else
   8064   lt_prog_compiler_static_works=no
   8065    save_LDFLAGS="$LDFLAGS"
   8066    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8067    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   8068    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8069      # The linker can only warn and ignore the option if not recognized
   8070      # So say no if there are warnings
   8071      if test -s conftest.err; then
   8072        # Append any errors to the config.log.
   8073        cat conftest.err 1>&5
   8074        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8075        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8076        if diff conftest.exp conftest.er2 >/dev/null; then
   8077          lt_prog_compiler_static_works=yes
   8078        fi
   8079      else
   8080        lt_prog_compiler_static_works=yes
   8081      fi
   8082    fi
   8083    $rm conftest*
   8084    LDFLAGS="$save_LDFLAGS"
   8085 
   8086 fi
   8087 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   8088 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   8089 
   8090 if test x"$lt_prog_compiler_static_works" = xyes; then
   8091     :
   8092 else
   8093     lt_prog_compiler_static=
   8094 fi
   8095 
   8096 
   8097 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8098 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   8099 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8100   echo $ECHO_N "(cached) $ECHO_C" >&6
   8101 else
   8102   lt_cv_prog_compiler_c_o=no
   8103    $rm -r conftest 2>/dev/null
   8104    mkdir conftest
   8105    cd conftest
   8106    mkdir out
   8107    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8108 
   8109    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8110    # Insert the option either (1) after the last *FLAGS variable, or
   8111    # (2) before a word containing "conftest.", or (3) at the end.
   8112    # Note that $ac_compile itself does not contain backslashes and begins
   8113    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8114    lt_compile=`echo "$ac_compile" | $SED \
   8115    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8116    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8117    -e 's:$: $lt_compiler_flag:'`
   8118    (eval echo "\"\$as_me:8118: $lt_compile\"" >&5)
   8119    (eval "$lt_compile" 2>out/conftest.err)
   8120    ac_status=$?
   8121    cat out/conftest.err >&5
   8122    echo "$as_me:8122: \$? = $ac_status" >&5
   8123    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8124    then
   8125      # The compiler can only warn and ignore the option if not recognized
   8126      # So say no if there are warnings
   8127      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8128      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8129      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8130        lt_cv_prog_compiler_c_o=yes
   8131      fi
   8132    fi
   8133    chmod u+w . 2>&5
   8134    $rm conftest*
   8135    # SGI C++ compiler will create directory out/ii_files/ for
   8136    # template instantiation
   8137    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8138    $rm out/* && rmdir out
   8139    cd ..
   8140    rmdir conftest
   8141    $rm conftest*
   8142 
   8143 fi
   8144 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8145 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   8146 
   8147 
   8148 hard_links="nottested"
   8149 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8150   # do not overwrite the value of need_locks provided by the user
   8151   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8152 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   8153   hard_links=yes
   8154   $rm conftest*
   8155   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8156   touch conftest.a
   8157   ln conftest.a conftest.b 2>&5 || hard_links=no
   8158   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8159   { echo "$as_me:$LINENO: result: $hard_links" >&5
   8160 echo "${ECHO_T}$hard_links" >&6; }
   8161   if test "$hard_links" = no; then
   8162     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8163 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8164     need_locks=warn
   8165   fi
   8166 else
   8167   need_locks=no
   8168 fi
   8169 
   8170 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8171 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   8172 
   8173   runpath_var=
   8174   allow_undefined_flag=
   8175   enable_shared_with_static_runtimes=no
   8176   archive_cmds=
   8177   archive_expsym_cmds=
   8178   old_archive_From_new_cmds=
   8179   old_archive_from_expsyms_cmds=
   8180   export_dynamic_flag_spec=
   8181   whole_archive_flag_spec=
   8182   thread_safe_flag_spec=
   8183   hardcode_libdir_flag_spec=
   8184   hardcode_libdir_flag_spec_ld=
   8185   hardcode_libdir_separator=
   8186   hardcode_direct=no
   8187   hardcode_minus_L=no
   8188   hardcode_shlibpath_var=unsupported
   8189   link_all_deplibs=unknown
   8190   hardcode_automatic=no
   8191   module_cmds=
   8192   module_expsym_cmds=
   8193   always_export_symbols=no
   8194   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8195   # include_expsyms should be a list of space-separated symbols to be *always*
   8196   # included in the symbol list
   8197   include_expsyms=
   8198   # exclude_expsyms can be an extended regexp of symbols to exclude
   8199   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8200   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8201   # as well as any symbol that contains `d'.
   8202   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   8203   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8204   # platforms (ab)use it in PIC code, but their linkers get confused if
   8205   # the symbol is explicitly referenced.  Since portable code cannot
   8206   # rely on this symbol name, it's probably fine to never include it in
   8207   # preloaded symbol tables.
   8208   extract_expsyms_cmds=
   8209   # Just being paranoid about ensuring that cc_basename is set.
   8210   for cc_temp in $compiler""; do
   8211   case $cc_temp in
   8212     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8213     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8214     \-*) ;;
   8215     *) break;;
   8216   esac
   8217 done
   8218 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8219 
   8220   case $host_os in
   8221   cygwin* | mingw* | pw32*)
   8222     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8223     # When not using gcc, we currently assume that we are using
   8224     # Microsoft Visual C++.
   8225     if test "$GCC" != yes; then
   8226       with_gnu_ld=no
   8227     fi
   8228     ;;
   8229   interix*)
   8230     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8231     with_gnu_ld=yes
   8232     ;;
   8233   openbsd*)
   8234     with_gnu_ld=no
   8235     ;;
   8236   esac
   8237 
   8238   ld_shlibs=yes
   8239   if test "$with_gnu_ld" = yes; then
   8240     # If archive_cmds runs LD, not CC, wlarc should be empty
   8241     wlarc='${wl}'
   8242 
   8243     # Set some defaults for GNU ld with shared library support. These
   8244     # are reset later if shared libraries are not supported. Putting them
   8245     # here allows them to be overridden if necessary.
   8246     runpath_var=LD_RUN_PATH
   8247     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8248     export_dynamic_flag_spec='${wl}--export-dynamic'
   8249     # ancient GNU ld didn't support --whole-archive et. al.
   8250     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8251 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8252       else
   8253   	whole_archive_flag_spec=
   8254     fi
   8255     supports_anon_versioning=no
   8256     case `$LD -v 2>/dev/null` in
   8257       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8258       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8259       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8260       *\ 2.11.*) ;; # other 2.11 versions
   8261       *) supports_anon_versioning=yes ;;
   8262     esac
   8263 
   8264     # See if GNU ld supports shared libraries.
   8265     case $host_os in
   8266     aix3* | aix4* | aix5*)
   8267       # On AIX/PPC, the GNU linker is very broken
   8268       if test "$host_cpu" != ia64; then
   8269 	ld_shlibs=no
   8270 	cat <<EOF 1>&2
   8271 
   8272 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8273 *** to be unable to reliably create shared libraries on AIX.
   8274 *** Therefore, libtool is disabling shared libraries support.  If you
   8275 *** really care for shared libraries, you may want to modify your PATH
   8276 *** so that a non-GNU linker is found, and then restart.
   8277 
   8278 EOF
   8279       fi
   8280       ;;
   8281 
   8282     amigaos*)
   8283       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)'
   8284       hardcode_libdir_flag_spec='-L$libdir'
   8285       hardcode_minus_L=yes
   8286 
   8287       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8288       # that the semantics of dynamic libraries on AmigaOS, at least up
   8289       # to version 4, is to share data among multiple programs linked
   8290       # with the same dynamic library.  Since this doesn't match the
   8291       # behavior of shared libraries on other platforms, we can't use
   8292       # them.
   8293       ld_shlibs=no
   8294       ;;
   8295 
   8296     beos*)
   8297       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8298 	allow_undefined_flag=unsupported
   8299 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8300 	# support --undefined.  This deserves some investigation.  FIXME
   8301 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8302       else
   8303 	ld_shlibs=no
   8304       fi
   8305       ;;
   8306 
   8307     cygwin* | mingw* | pw32*)
   8308       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8309       # as there is no search path for DLLs.
   8310       hardcode_libdir_flag_spec='-L$libdir'
   8311       allow_undefined_flag=unsupported
   8312       always_export_symbols=no
   8313       enable_shared_with_static_runtimes=yes
   8314       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   8315 
   8316       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8317         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8318 	# If the export-symbols file already is a .def file (1st line
   8319 	# is EXPORTS), use it as is; otherwise, prepend...
   8320 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8321 	  cp $export_symbols $output_objdir/$soname.def;
   8322 	else
   8323 	  echo EXPORTS > $output_objdir/$soname.def;
   8324 	  cat $export_symbols >> $output_objdir/$soname.def;
   8325 	fi~
   8326 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8327       else
   8328 	ld_shlibs=no
   8329       fi
   8330       ;;
   8331 
   8332     interix3*)
   8333       hardcode_direct=no
   8334       hardcode_shlibpath_var=no
   8335       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8336       export_dynamic_flag_spec='${wl}-E'
   8337       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8338       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8339       # default) and relocated if they conflict, which is a slow very memory
   8340       # consuming and fragmenting process.  To avoid this, we pick a random,
   8341       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8342       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8343       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8344       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'
   8345       ;;
   8346 
   8347     linux*)
   8348       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8349 	tmp_addflag=
   8350 	case $cc_basename,$host_cpu in
   8351 	pgcc*)				# Portland Group C compiler
   8352 	  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'
   8353 	  tmp_addflag=' $pic_flag'
   8354 	  ;;
   8355 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8356 	  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'
   8357 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8358 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8359 	  tmp_addflag=' -i_dynamic' ;;
   8360 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8361 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8362 	ifc* | ifort*)			# Intel Fortran compiler
   8363 	  tmp_addflag=' -nofor_main' ;;
   8364 	esac
   8365 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8366 
   8367 	if test $supports_anon_versioning = yes; then
   8368 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8369   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8370   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8371 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8372 	fi
   8373       else
   8374 	ld_shlibs=no
   8375       fi
   8376       ;;
   8377 
   8378     netbsd*)
   8379       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8380 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8381 	wlarc=
   8382       else
   8383 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8384 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8385       fi
   8386       ;;
   8387 
   8388     solaris*)
   8389       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8390 	ld_shlibs=no
   8391 	cat <<EOF 1>&2
   8392 
   8393 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8394 *** create shared libraries on Solaris systems.  Therefore, libtool
   8395 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8396 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8397 *** your PATH or compiler configuration so that the native linker is
   8398 *** used, and then restart.
   8399 
   8400 EOF
   8401       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8402 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8403 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8404       else
   8405 	ld_shlibs=no
   8406       fi
   8407       ;;
   8408 
   8409     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8410       case `$LD -v 2>&1` in
   8411         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8412 	ld_shlibs=no
   8413 	cat <<_LT_EOF 1>&2
   8414 
   8415 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8416 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8417 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8418 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8419 *** your PATH or compiler configuration so that the native linker is
   8420 *** used, and then restart.
   8421 
   8422 _LT_EOF
   8423 	;;
   8424 	*)
   8425 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8426 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8427 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8428 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8429 	  else
   8430 	    ld_shlibs=no
   8431 	  fi
   8432 	;;
   8433       esac
   8434       ;;
   8435 
   8436     sunos4*)
   8437       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8438       wlarc=
   8439       hardcode_direct=yes
   8440       hardcode_shlibpath_var=no
   8441       ;;
   8442 
   8443     *)
   8444       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8445 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8446 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8447       else
   8448 	ld_shlibs=no
   8449       fi
   8450       ;;
   8451     esac
   8452 
   8453     if test "$ld_shlibs" = no; then
   8454       runpath_var=
   8455       hardcode_libdir_flag_spec=
   8456       export_dynamic_flag_spec=
   8457       whole_archive_flag_spec=
   8458     fi
   8459   else
   8460     # PORTME fill in a description of your system's linker (not GNU ld)
   8461     case $host_os in
   8462     aix3*)
   8463       allow_undefined_flag=unsupported
   8464       always_export_symbols=yes
   8465       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'
   8466       # Note: this linker hardcodes the directories in LIBPATH if there
   8467       # are no directories specified by -L.
   8468       hardcode_minus_L=yes
   8469       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8470 	# Neither direct hardcoding nor static linking is supported with a
   8471 	# broken collect2.
   8472 	hardcode_direct=unsupported
   8473       fi
   8474       ;;
   8475 
   8476     aix4* | aix5*)
   8477       if test "$host_cpu" = ia64; then
   8478 	# On IA64, the linker does run time linking by default, so we don't
   8479 	# have to do anything special.
   8480 	aix_use_runtimelinking=no
   8481 	exp_sym_flag='-Bexport'
   8482 	no_entry_flag=""
   8483       else
   8484 	# If we're using GNU nm, then we don't want the "-C" option.
   8485 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8486 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8487 	  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'
   8488 	else
   8489 	  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'
   8490 	fi
   8491 	aix_use_runtimelinking=no
   8492 
   8493 	# Test if we are trying to use run time linking or normal
   8494 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8495 	# need to do runtime linking.
   8496 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   8497 	  for ld_flag in $LDFLAGS; do
   8498   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8499   	    aix_use_runtimelinking=yes
   8500   	    break
   8501   	  fi
   8502 	  done
   8503 	  ;;
   8504 	esac
   8505 
   8506 	exp_sym_flag='-bexport'
   8507 	no_entry_flag='-bnoentry'
   8508       fi
   8509 
   8510       # When large executables or shared objects are built, AIX ld can
   8511       # have problems creating the table of contents.  If linking a library
   8512       # or program results in "error TOC overflow" add -mminimal-toc to
   8513       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8514       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8515 
   8516       archive_cmds=''
   8517       hardcode_direct=yes
   8518       hardcode_libdir_separator=':'
   8519       link_all_deplibs=yes
   8520 
   8521       if test "$GCC" = yes; then
   8522 	case $host_os in aix4.[012]|aix4.[012].*)
   8523 	# We only want to do this on AIX 4.2 and lower, the check
   8524 	# below for broken collect2 doesn't work under 4.3+
   8525 	  collect2name=`${CC} -print-prog-name=collect2`
   8526 	  if test -f "$collect2name" && \
   8527   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8528 	  then
   8529   	  # We have reworked collect2
   8530   	  hardcode_direct=yes
   8531 	  else
   8532   	  # We have old collect2
   8533   	  hardcode_direct=unsupported
   8534   	  # It fails to find uninstalled libraries when the uninstalled
   8535   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8536   	  # to unsupported forces relinking
   8537   	  hardcode_minus_L=yes
   8538   	  hardcode_libdir_flag_spec='-L$libdir'
   8539   	  hardcode_libdir_separator=
   8540 	  fi
   8541 	  ;;
   8542 	esac
   8543 	shared_flag='-shared'
   8544 	if test "$aix_use_runtimelinking" = yes; then
   8545 	  shared_flag="$shared_flag "'${wl}-G'
   8546 	fi
   8547       else
   8548 	# not using gcc
   8549 	if test "$host_cpu" = ia64; then
   8550   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8551   	# chokes on -Wl,-G. The following line is correct:
   8552 	  shared_flag='-G'
   8553 	else
   8554 	  if test "$aix_use_runtimelinking" = yes; then
   8555 	    shared_flag='${wl}-G'
   8556 	  else
   8557 	    shared_flag='${wl}-bM:SRE'
   8558 	  fi
   8559 	fi
   8560       fi
   8561 
   8562       # It seems that -bexpall does not export symbols beginning with
   8563       # underscore (_), so it is better to generate a list of symbols to export.
   8564       always_export_symbols=yes
   8565       if test "$aix_use_runtimelinking" = yes; then
   8566 	# Warning - without using the other runtime loading flags (-brtl),
   8567 	# -berok will link without error, but may produce a broken library.
   8568 	allow_undefined_flag='-berok'
   8569        # Determine the default libpath from the value encoded in an empty executable.
   8570        cat >conftest.$ac_ext <<_ACEOF
   8571 /* confdefs.h.  */
   8572 _ACEOF
   8573 cat confdefs.h >>conftest.$ac_ext
   8574 cat >>conftest.$ac_ext <<_ACEOF
   8575 /* end confdefs.h.  */
   8576 
   8577 int
   8578 main ()
   8579 {
   8580 
   8581   ;
   8582   return 0;
   8583 }
   8584 _ACEOF
   8585 rm -f conftest.$ac_objext conftest$ac_exeext
   8586 if { (ac_try="$ac_link"
   8587 case "(($ac_try" in
   8588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8589   *) ac_try_echo=$ac_try;;
   8590 esac
   8591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8592   (eval "$ac_link") 2>conftest.er1
   8593   ac_status=$?
   8594   grep -v '^ *+' conftest.er1 >conftest.err
   8595   rm -f conftest.er1
   8596   cat conftest.err >&5
   8597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8598   (exit $ac_status); } && {
   8599 	 test -z "$ac_c_werror_flag" ||
   8600 	 test ! -s conftest.err
   8601        } && test -s conftest$ac_exeext &&
   8602        $as_test_x conftest$ac_exeext; then
   8603 
   8604 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8605 }'`
   8606 # Check for a 64-bit object if we didn't find anything.
   8607 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8608 }'`; fi
   8609 else
   8610   echo "$as_me: failed program was:" >&5
   8611 sed 's/^/| /' conftest.$ac_ext >&5
   8612 
   8613 
   8614 fi
   8615 
   8616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8617       conftest$ac_exeext conftest.$ac_ext
   8618 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8619 
   8620        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8621 	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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8622        else
   8623 	if test "$host_cpu" = ia64; then
   8624 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8625 	  allow_undefined_flag="-z nodefs"
   8626 	  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"
   8627 	else
   8628 	 # Determine the default libpath from the value encoded in an empty executable.
   8629 	 cat >conftest.$ac_ext <<_ACEOF
   8630 /* confdefs.h.  */
   8631 _ACEOF
   8632 cat confdefs.h >>conftest.$ac_ext
   8633 cat >>conftest.$ac_ext <<_ACEOF
   8634 /* end confdefs.h.  */
   8635 
   8636 int
   8637 main ()
   8638 {
   8639 
   8640   ;
   8641   return 0;
   8642 }
   8643 _ACEOF
   8644 rm -f conftest.$ac_objext conftest$ac_exeext
   8645 if { (ac_try="$ac_link"
   8646 case "(($ac_try" in
   8647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8648   *) ac_try_echo=$ac_try;;
   8649 esac
   8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8651   (eval "$ac_link") 2>conftest.er1
   8652   ac_status=$?
   8653   grep -v '^ *+' conftest.er1 >conftest.err
   8654   rm -f conftest.er1
   8655   cat conftest.err >&5
   8656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8657   (exit $ac_status); } && {
   8658 	 test -z "$ac_c_werror_flag" ||
   8659 	 test ! -s conftest.err
   8660        } && test -s conftest$ac_exeext &&
   8661        $as_test_x conftest$ac_exeext; then
   8662 
   8663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8664 }'`
   8665 # Check for a 64-bit object if we didn't find anything.
   8666 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8667 }'`; fi
   8668 else
   8669   echo "$as_me: failed program was:" >&5
   8670 sed 's/^/| /' conftest.$ac_ext >&5
   8671 
   8672 
   8673 fi
   8674 
   8675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8676       conftest$ac_exeext conftest.$ac_ext
   8677 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8678 
   8679 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8680 	  # Warning - without using the other run time loading flags,
   8681 	  # -berok will link without error, but may produce a broken library.
   8682 	  no_undefined_flag=' ${wl}-bernotok'
   8683 	  allow_undefined_flag=' ${wl}-berok'
   8684 	  # Exported symbols can be pulled into shared objects from archives
   8685 	  whole_archive_flag_spec='$convenience'
   8686 	  archive_cmds_need_lc=yes
   8687 	  # This is similar to how AIX traditionally builds its shared libraries.
   8688 	  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'
   8689 	fi
   8690       fi
   8691       ;;
   8692 
   8693     amigaos*)
   8694       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)'
   8695       hardcode_libdir_flag_spec='-L$libdir'
   8696       hardcode_minus_L=yes
   8697       # see comment about different semantics on the GNU ld section
   8698       ld_shlibs=no
   8699       ;;
   8700 
   8701     bsdi[45]*)
   8702       export_dynamic_flag_spec=-rdynamic
   8703       ;;
   8704 
   8705     cygwin* | mingw* | pw32*)
   8706       # When not using gcc, we currently assume that we are using
   8707       # Microsoft Visual C++.
   8708       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8709       # no search path for DLLs.
   8710       hardcode_libdir_flag_spec=' '
   8711       allow_undefined_flag=unsupported
   8712       # Tell ltmain to make .lib files, not .a files.
   8713       libext=lib
   8714       # Tell ltmain to make .dll files, not .so files.
   8715       shrext_cmds=".dll"
   8716       # FIXME: Setting linknames here is a bad hack.
   8717       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8718       # The linker will automatically build a .lib file if we build a DLL.
   8719       old_archive_From_new_cmds='true'
   8720       # FIXME: Should let the user specify the lib program.
   8721       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8722       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8723       enable_shared_with_static_runtimes=yes
   8724       ;;
   8725 
   8726     darwin* | rhapsody*)
   8727       case $host_os in
   8728         rhapsody* | darwin1.[012])
   8729          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8730          ;;
   8731        *) # Darwin 1.3 on
   8732          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8733            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8734          else
   8735            case ${MACOSX_DEPLOYMENT_TARGET} in
   8736              10.[012])
   8737                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8738                ;;
   8739              10.*)
   8740                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8741                ;;
   8742            esac
   8743          fi
   8744          ;;
   8745       esac
   8746       archive_cmds_need_lc=no
   8747       hardcode_direct=no
   8748       hardcode_automatic=yes
   8749       hardcode_shlibpath_var=unsupported
   8750       whole_archive_flag_spec=''
   8751       link_all_deplibs=yes
   8752     if test "$GCC" = yes ; then
   8753     	output_verbose_link_cmd='echo'
   8754         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8755       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8756       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8757       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8758       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8759     else
   8760       case $cc_basename in
   8761         xlc*)
   8762          output_verbose_link_cmd='echo'
   8763          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8764          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8765           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8766          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8767           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8768           ;;
   8769        *)
   8770          ld_shlibs=no
   8771           ;;
   8772       esac
   8773     fi
   8774       ;;
   8775 
   8776     dgux*)
   8777       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8778       hardcode_libdir_flag_spec='-L$libdir'
   8779       hardcode_shlibpath_var=no
   8780       ;;
   8781 
   8782     freebsd1*)
   8783       ld_shlibs=no
   8784       ;;
   8785 
   8786     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8787     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8788     # does not break anything, and helps significantly (at the cost of a little
   8789     # extra space).
   8790     freebsd2.2*)
   8791       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8792       hardcode_libdir_flag_spec='-R$libdir'
   8793       hardcode_direct=yes
   8794       hardcode_shlibpath_var=no
   8795       ;;
   8796 
   8797     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8798     freebsd2*)
   8799       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8800       hardcode_direct=yes
   8801       hardcode_minus_L=yes
   8802       hardcode_shlibpath_var=no
   8803       ;;
   8804 
   8805     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8806     freebsd* | kfreebsd*-gnu | dragonfly*)
   8807       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8808       hardcode_libdir_flag_spec='-R$libdir'
   8809       hardcode_direct=yes
   8810       hardcode_shlibpath_var=no
   8811       ;;
   8812 
   8813     hpux9*)
   8814       if test "$GCC" = yes; then
   8815 	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'
   8816       else
   8817 	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'
   8818       fi
   8819       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8820       hardcode_libdir_separator=:
   8821       hardcode_direct=yes
   8822 
   8823       # hardcode_minus_L: Not really in the search PATH,
   8824       # but as the default location of the library.
   8825       hardcode_minus_L=yes
   8826       export_dynamic_flag_spec='${wl}-E'
   8827       ;;
   8828 
   8829     hpux10*)
   8830       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8831 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8832       else
   8833 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8834       fi
   8835       if test "$with_gnu_ld" = no; then
   8836 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8837 	hardcode_libdir_separator=:
   8838 
   8839 	hardcode_direct=yes
   8840 	export_dynamic_flag_spec='${wl}-E'
   8841 
   8842 	# hardcode_minus_L: Not really in the search PATH,
   8843 	# but as the default location of the library.
   8844 	hardcode_minus_L=yes
   8845       fi
   8846       ;;
   8847 
   8848     hpux11*)
   8849       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8850 	case $host_cpu in
   8851 	hppa*64*)
   8852 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8853 	  ;;
   8854 	ia64*)
   8855 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8856 	  ;;
   8857 	*)
   8858 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8859 	  ;;
   8860 	esac
   8861       else
   8862 	case $host_cpu in
   8863 	hppa*64*)
   8864 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8865 	  ;;
   8866 	ia64*)
   8867 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8868 	  ;;
   8869 	*)
   8870 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8871 	  ;;
   8872 	esac
   8873       fi
   8874       if test "$with_gnu_ld" = no; then
   8875 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8876 	hardcode_libdir_separator=:
   8877 
   8878 	case $host_cpu in
   8879 	hppa*64*|ia64*)
   8880 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8881 	  hardcode_direct=no
   8882 	  hardcode_shlibpath_var=no
   8883 	  ;;
   8884 	*)
   8885 	  hardcode_direct=yes
   8886 	  export_dynamic_flag_spec='${wl}-E'
   8887 
   8888 	  # hardcode_minus_L: Not really in the search PATH,
   8889 	  # but as the default location of the library.
   8890 	  hardcode_minus_L=yes
   8891 	  ;;
   8892 	esac
   8893       fi
   8894       ;;
   8895 
   8896     irix5* | irix6* | nonstopux*)
   8897       if test "$GCC" = yes; then
   8898 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8899       else
   8900 	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   8901 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8902       fi
   8903       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8904       hardcode_libdir_separator=:
   8905       link_all_deplibs=yes
   8906       ;;
   8907 
   8908     netbsd*)
   8909       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8910 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8911       else
   8912 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8913       fi
   8914       hardcode_libdir_flag_spec='-R$libdir'
   8915       hardcode_direct=yes
   8916       hardcode_shlibpath_var=no
   8917       ;;
   8918 
   8919     newsos6)
   8920       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8921       hardcode_direct=yes
   8922       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8923       hardcode_libdir_separator=:
   8924       hardcode_shlibpath_var=no
   8925       ;;
   8926 
   8927     openbsd*)
   8928       hardcode_direct=yes
   8929       hardcode_shlibpath_var=no
   8930       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8931 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8932 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8933 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8934 	export_dynamic_flag_spec='${wl}-E'
   8935       else
   8936        case $host_os in
   8937 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8938 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8939 	   hardcode_libdir_flag_spec='-R$libdir'
   8940 	   ;;
   8941 	 *)
   8942 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8943 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8944 	   ;;
   8945        esac
   8946       fi
   8947       ;;
   8948 
   8949     os2*)
   8950       hardcode_libdir_flag_spec='-L$libdir'
   8951       hardcode_minus_L=yes
   8952       allow_undefined_flag=unsupported
   8953       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'
   8954       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8955       ;;
   8956 
   8957     osf3*)
   8958       if test "$GCC" = yes; then
   8959 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8960 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8961       else
   8962 	allow_undefined_flag=' -expect_unresolved \*'
   8963 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   8964       fi
   8965       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8966       hardcode_libdir_separator=:
   8967       ;;
   8968 
   8969     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8970       if test "$GCC" = yes; then
   8971 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8972 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8973 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8974       else
   8975 	allow_undefined_flag=' -expect_unresolved \*'
   8976 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   8977 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8978 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   8979 
   8980 	# Both c and cxx compiler support -rpath directly
   8981 	hardcode_libdir_flag_spec='-rpath $libdir'
   8982       fi
   8983       hardcode_libdir_separator=:
   8984       ;;
   8985 
   8986     solaris*)
   8987       no_undefined_flag=' -z text'
   8988       if test "$GCC" = yes; then
   8989 	wlarc='${wl}'
   8990 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8991 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8992 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8993       else
   8994 	wlarc=''
   8995 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8996 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8997   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8998       fi
   8999       hardcode_libdir_flag_spec='-R$libdir'
   9000       hardcode_shlibpath_var=no
   9001       case $host_os in
   9002       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9003       *)
   9004  	# The compiler driver will combine linker options so we
   9005  	# cannot just pass the convience library names through
   9006  	# without $wl, iff we do not link with $LD.
   9007  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   9008  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9009  	case $wlarc in
   9010  	'')
   9011  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   9012  	*)
   9013  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   9014  	esac ;;
   9015       esac
   9016       link_all_deplibs=yes
   9017       ;;
   9018 
   9019     sunos4*)
   9020       if test "x$host_vendor" = xsequent; then
   9021 	# Use $CC to link under sequent, because it throws in some extra .o
   9022 	# files that make .init and .fini sections work.
   9023 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9024       else
   9025 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9026       fi
   9027       hardcode_libdir_flag_spec='-L$libdir'
   9028       hardcode_direct=yes
   9029       hardcode_minus_L=yes
   9030       hardcode_shlibpath_var=no
   9031       ;;
   9032 
   9033     sysv4)
   9034       case $host_vendor in
   9035 	sni)
   9036 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9037 	  hardcode_direct=yes # is this really true???
   9038 	;;
   9039 	siemens)
   9040 	  ## LD is ld it makes a PLAMLIB
   9041 	  ## CC just makes a GrossModule.
   9042 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9043 	  reload_cmds='$CC -r -o $output$reload_objs'
   9044 	  hardcode_direct=no
   9045         ;;
   9046 	motorola)
   9047 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9048 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9049 	;;
   9050       esac
   9051       runpath_var='LD_RUN_PATH'
   9052       hardcode_shlibpath_var=no
   9053       ;;
   9054 
   9055     sysv4.3*)
   9056       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9057       hardcode_shlibpath_var=no
   9058       export_dynamic_flag_spec='-Bexport'
   9059       ;;
   9060 
   9061     sysv4*MP*)
   9062       if test -d /usr/nec; then
   9063 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9064 	hardcode_shlibpath_var=no
   9065 	runpath_var=LD_RUN_PATH
   9066 	hardcode_runpath_var=yes
   9067 	ld_shlibs=yes
   9068       fi
   9069       ;;
   9070 
   9071     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   9072       no_undefined_flag='${wl}-z,text'
   9073       archive_cmds_need_lc=no
   9074       hardcode_shlibpath_var=no
   9075       runpath_var='LD_RUN_PATH'
   9076 
   9077       if test "$GCC" = yes; then
   9078 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9079 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9080       else
   9081 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9082 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9083       fi
   9084       ;;
   9085 
   9086     sysv5* | sco3.2v5* | sco5v6*)
   9087       # Note: We can NOT use -z defs as we might desire, because we do not
   9088       # link with -lc, and that would cause any symbols used from libc to
   9089       # always be unresolved, which means just about no library would
   9090       # ever link correctly.  If we're not using GNU ld we use -z text
   9091       # though, which does catch some bad symbols but isn't as heavy-handed
   9092       # as -z defs.
   9093       no_undefined_flag='${wl}-z,text'
   9094       allow_undefined_flag='${wl}-z,nodefs'
   9095       archive_cmds_need_lc=no
   9096       hardcode_shlibpath_var=no
   9097       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9098       hardcode_libdir_separator=':'
   9099       link_all_deplibs=yes
   9100       export_dynamic_flag_spec='${wl}-Bexport'
   9101       runpath_var='LD_RUN_PATH'
   9102 
   9103       if test "$GCC" = yes; then
   9104 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9105 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9106       else
   9107 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9108 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9109       fi
   9110       ;;
   9111 
   9112     uts4*)
   9113       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9114       hardcode_libdir_flag_spec='-L$libdir'
   9115       hardcode_shlibpath_var=no
   9116       ;;
   9117 
   9118     *)
   9119       ld_shlibs=no
   9120       ;;
   9121     esac
   9122   fi
   9123 
   9124 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9125 echo "${ECHO_T}$ld_shlibs" >&6; }
   9126 test "$ld_shlibs" = no && can_build_shared=no
   9127 
   9128 #
   9129 # Do we need to explicitly link libc?
   9130 #
   9131 case "x$archive_cmds_need_lc" in
   9132 x|xyes)
   9133   # Assume -lc should be added
   9134   archive_cmds_need_lc=yes
   9135 
   9136   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9137     case $archive_cmds in
   9138     *'~'*)
   9139       # FIXME: we may have to deal with multi-command sequences.
   9140       ;;
   9141     '$CC '*)
   9142       # Test whether the compiler implicitly links with -lc since on some
   9143       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9144       # to ld, don't add -lc before -lgcc.
   9145       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9146 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   9147       $rm conftest*
   9148       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   9149 
   9150       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9151   (eval $ac_compile) 2>&5
   9152   ac_status=$?
   9153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9154   (exit $ac_status); } 2>conftest.err; then
   9155         soname=conftest
   9156         lib=conftest
   9157         libobjs=conftest.$ac_objext
   9158         deplibs=
   9159         wl=$lt_prog_compiler_wl
   9160 	pic_flag=$lt_prog_compiler_pic
   9161         compiler_flags=-v
   9162         linker_flags=-v
   9163         verstring=
   9164         output_objdir=.
   9165         libname=conftest
   9166         lt_save_allow_undefined_flag=$allow_undefined_flag
   9167         allow_undefined_flag=
   9168         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9169   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9170   ac_status=$?
   9171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9172   (exit $ac_status); }
   9173         then
   9174 	  archive_cmds_need_lc=no
   9175         else
   9176 	  archive_cmds_need_lc=yes
   9177         fi
   9178         allow_undefined_flag=$lt_save_allow_undefined_flag
   9179       else
   9180         cat conftest.err 1>&5
   9181       fi
   9182       $rm conftest*
   9183       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9184 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   9185       ;;
   9186     esac
   9187   fi
   9188   ;;
   9189 esac
   9190 
   9191 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9192 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   9193 library_names_spec=
   9194 libname_spec='lib$name'
   9195 soname_spec=
   9196 shrext_cmds=".so"
   9197 postinstall_cmds=
   9198 postuninstall_cmds=
   9199 finish_cmds=
   9200 finish_eval=
   9201 shlibpath_var=
   9202 shlibpath_overrides_runpath=unknown
   9203 version_type=none
   9204 dynamic_linker="$host_os ld.so"
   9205 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9206 if test "$GCC" = yes; then
   9207   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9208   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   9209     # if the path contains ";" then we assume it to be the separator
   9210     # otherwise default to the standard path separator (i.e. ":") - it is
   9211     # assumed that no part of a normal pathname contains ";" but that should
   9212     # okay in the real world where ";" in dirpaths is itself problematic.
   9213     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9214   else
   9215     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9216   fi
   9217 else
   9218   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9219 fi
   9220 need_lib_prefix=unknown
   9221 hardcode_into_libs=no
   9222 
   9223 # when you set need_version to no, make sure it does not cause -set_version
   9224 # flags to be left without arguments
   9225 need_version=unknown
   9226 
   9227 case $host_os in
   9228 aix3*)
   9229   version_type=linux
   9230   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9231   shlibpath_var=LIBPATH
   9232 
   9233   # AIX 3 has no versioning support, so we append a major version to the name.
   9234   soname_spec='${libname}${release}${shared_ext}$major'
   9235   ;;
   9236 
   9237 aix4* | aix5*)
   9238   version_type=linux
   9239   need_lib_prefix=no
   9240   need_version=no
   9241   hardcode_into_libs=yes
   9242   if test "$host_cpu" = ia64; then
   9243     # AIX 5 supports IA64
   9244     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9245     shlibpath_var=LD_LIBRARY_PATH
   9246   else
   9247     # With GCC up to 2.95.x, collect2 would create an import file
   9248     # for dependence libraries.  The import file would start with
   9249     # the line `#! .'.  This would cause the generated library to
   9250     # depend on `.', always an invalid library.  This was fixed in
   9251     # development snapshots of GCC prior to 3.0.
   9252     case $host_os in
   9253       aix4 | aix4.[01] | aix4.[01].*)
   9254       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9255 	   echo ' yes '
   9256 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9257 	:
   9258       else
   9259 	can_build_shared=no
   9260       fi
   9261       ;;
   9262     esac
   9263     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9264     # soname into executable. Probably we can add versioning support to
   9265     # collect2, so additional links can be useful in future.
   9266     if test "$aix_use_runtimelinking" = yes; then
   9267       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9268       # instead of lib<name>.a to let people know that these are not
   9269       # typical AIX shared libraries.
   9270       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9271     else
   9272       # We preserve .a as extension for shared libraries through AIX4.2
   9273       # and later when we are not doing run time linking.
   9274       library_names_spec='${libname}${release}.a $libname.a'
   9275       soname_spec='${libname}${release}${shared_ext}$major'
   9276     fi
   9277     shlibpath_var=LIBPATH
   9278   fi
   9279   ;;
   9280 
   9281 amigaos*)
   9282   library_names_spec='$libname.ixlibrary $libname.a'
   9283   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9284   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'
   9285   ;;
   9286 
   9287 beos*)
   9288   library_names_spec='${libname}${shared_ext}'
   9289   dynamic_linker="$host_os ld.so"
   9290   shlibpath_var=LIBRARY_PATH
   9291   ;;
   9292 
   9293 bsdi[45]*)
   9294   version_type=linux
   9295   need_version=no
   9296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9297   soname_spec='${libname}${release}${shared_ext}$major'
   9298   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9299   shlibpath_var=LD_LIBRARY_PATH
   9300   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9301   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9302   # the default ld.so.conf also contains /usr/contrib/lib and
   9303   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9304   # libtool to hard-code these into programs
   9305   ;;
   9306 
   9307 cygwin* | mingw* | pw32*)
   9308   version_type=windows
   9309   shrext_cmds=".dll"
   9310   need_version=no
   9311   need_lib_prefix=no
   9312 
   9313   case $GCC,$host_os in
   9314   yes,cygwin* | yes,mingw* | yes,pw32*)
   9315     library_names_spec='$libname.dll.a'
   9316     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9317     postinstall_cmds='base_file=`basename \${file}`~
   9318       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9319       dldir=$destdir/`dirname \$dlpath`~
   9320       test -d \$dldir || mkdir -p \$dldir~
   9321       $install_prog $dir/$dlname \$dldir/$dlname~
   9322       chmod a+x \$dldir/$dlname'
   9323     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9324       dlpath=$dir/\$dldll~
   9325        $rm \$dlpath'
   9326     shlibpath_overrides_runpath=yes
   9327 
   9328     case $host_os in
   9329     cygwin*)
   9330       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9331       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9332       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9333       ;;
   9334     mingw*)
   9335       # MinGW DLLs use traditional 'lib' prefix
   9336       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9337       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9338       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9339         # It is most probably a Windows format PATH printed by
   9340         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9341         # path with ; separators, and with drive letters. We can handle the
   9342         # drive letters (cygwin fileutils understands them), so leave them,
   9343         # especially as we might pass files found there to a mingw objdump,
   9344         # which wouldn't understand a cygwinified path. Ahh.
   9345         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9346       else
   9347         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9348       fi
   9349       ;;
   9350     pw32*)
   9351       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9352       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9353       ;;
   9354     esac
   9355     ;;
   9356 
   9357   *)
   9358     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9359     ;;
   9360   esac
   9361   dynamic_linker='Win32 ld.exe'
   9362   # FIXME: first we should search . and the directory the executable is in
   9363   shlibpath_var=PATH
   9364   ;;
   9365 
   9366 darwin* | rhapsody*)
   9367   dynamic_linker="$host_os dyld"
   9368   version_type=darwin
   9369   need_lib_prefix=no
   9370   need_version=no
   9371   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9372   soname_spec='${libname}${release}${major}$shared_ext'
   9373   shlibpath_overrides_runpath=yes
   9374   shlibpath_var=DYLD_LIBRARY_PATH
   9375   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9376   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   9377   if test "$GCC" = yes; then
   9378     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   9379   else
   9380     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   9381   fi
   9382   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9383   ;;
   9384 
   9385 dgux*)
   9386   version_type=linux
   9387   need_lib_prefix=no
   9388   need_version=no
   9389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9390   soname_spec='${libname}${release}${shared_ext}$major'
   9391   shlibpath_var=LD_LIBRARY_PATH
   9392   ;;
   9393 
   9394 freebsd1*)
   9395   dynamic_linker=no
   9396   ;;
   9397 
   9398 kfreebsd*-gnu)
   9399   version_type=linux
   9400   need_lib_prefix=no
   9401   need_version=no
   9402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9403   soname_spec='${libname}${release}${shared_ext}$major'
   9404   shlibpath_var=LD_LIBRARY_PATH
   9405   shlibpath_overrides_runpath=no
   9406   hardcode_into_libs=yes
   9407   dynamic_linker='GNU ld.so'
   9408   ;;
   9409 
   9410 freebsd* | dragonfly*)
   9411   # DragonFly does not have aout.  When/if they implement a new
   9412   # versioning mechanism, adjust this.
   9413   if test -x /usr/bin/objformat; then
   9414     objformat=`/usr/bin/objformat`
   9415   else
   9416     case $host_os in
   9417     freebsd[123]*) objformat=aout ;;
   9418     *) objformat=elf ;;
   9419     esac
   9420   fi
   9421   version_type=freebsd-$objformat
   9422   case $version_type in
   9423     freebsd-elf*)
   9424       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9425       need_version=no
   9426       need_lib_prefix=no
   9427       ;;
   9428     freebsd-*)
   9429       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9430       need_version=yes
   9431       ;;
   9432   esac
   9433   shlibpath_var=LD_LIBRARY_PATH
   9434   case $host_os in
   9435   freebsd2*)
   9436     shlibpath_overrides_runpath=yes
   9437     ;;
   9438   freebsd3.[01]* | freebsdelf3.[01]*)
   9439     shlibpath_overrides_runpath=yes
   9440     hardcode_into_libs=yes
   9441     ;;
   9442   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9443   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9444     shlibpath_overrides_runpath=no
   9445     hardcode_into_libs=yes
   9446     ;;
   9447   freebsd*) # from 4.6 on
   9448     shlibpath_overrides_runpath=yes
   9449     hardcode_into_libs=yes
   9450     ;;
   9451   esac
   9452   ;;
   9453 
   9454 gnu*)
   9455   version_type=linux
   9456   need_lib_prefix=no
   9457   need_version=no
   9458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9459   soname_spec='${libname}${release}${shared_ext}$major'
   9460   shlibpath_var=LD_LIBRARY_PATH
   9461   hardcode_into_libs=yes
   9462   ;;
   9463 
   9464 hpux9* | hpux10* | hpux11*)
   9465   # Give a soname corresponding to the major version so that dld.sl refuses to
   9466   # link against other versions.
   9467   version_type=sunos
   9468   need_lib_prefix=no
   9469   need_version=no
   9470   case $host_cpu in
   9471   ia64*)
   9472     shrext_cmds='.so'
   9473     hardcode_into_libs=yes
   9474     dynamic_linker="$host_os dld.so"
   9475     shlibpath_var=LD_LIBRARY_PATH
   9476     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9477     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9478     soname_spec='${libname}${release}${shared_ext}$major'
   9479     if test "X$HPUX_IA64_MODE" = X32; then
   9480       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9481     else
   9482       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9483     fi
   9484     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9485     ;;
   9486    hppa*64*)
   9487      shrext_cmds='.sl'
   9488      hardcode_into_libs=yes
   9489      dynamic_linker="$host_os dld.sl"
   9490      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9491      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9492      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9493      soname_spec='${libname}${release}${shared_ext}$major'
   9494      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9495      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9496      ;;
   9497    *)
   9498     shrext_cmds='.sl'
   9499     dynamic_linker="$host_os dld.sl"
   9500     shlibpath_var=SHLIB_PATH
   9501     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9503     soname_spec='${libname}${release}${shared_ext}$major'
   9504     ;;
   9505   esac
   9506   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9507   postinstall_cmds='chmod 555 $lib'
   9508   ;;
   9509 
   9510 interix3*)
   9511   version_type=linux
   9512   need_lib_prefix=no
   9513   need_version=no
   9514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9515   soname_spec='${libname}${release}${shared_ext}$major'
   9516   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9517   shlibpath_var=LD_LIBRARY_PATH
   9518   shlibpath_overrides_runpath=no
   9519   hardcode_into_libs=yes
   9520   ;;
   9521 
   9522 irix5* | irix6* | nonstopux*)
   9523   case $host_os in
   9524     nonstopux*) version_type=nonstopux ;;
   9525     *)
   9526 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9527 		version_type=linux
   9528 	else
   9529 		version_type=irix
   9530 	fi ;;
   9531   esac
   9532   need_lib_prefix=no
   9533   need_version=no
   9534   soname_spec='${libname}${release}${shared_ext}$major'
   9535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9536   case $host_os in
   9537   irix5* | nonstopux*)
   9538     libsuff= shlibsuff=
   9539     ;;
   9540   *)
   9541     case $LD in # libtool.m4 will add one of these switches to LD
   9542     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9543       libsuff= shlibsuff= libmagic=32-bit;;
   9544     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9545       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9546     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9547       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9548     *) libsuff= shlibsuff= libmagic=never-match;;
   9549     esac
   9550     ;;
   9551   esac
   9552   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9553   shlibpath_overrides_runpath=no
   9554   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9555   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9556   hardcode_into_libs=yes
   9557   ;;
   9558 
   9559 # No shared lib support for Linux oldld, aout, or coff.
   9560 linux*oldld* | linux*aout* | linux*coff*)
   9561   dynamic_linker=no
   9562   ;;
   9563 
   9564 # This must be Linux ELF.
   9565 linux*)
   9566   version_type=linux
   9567   need_lib_prefix=no
   9568   need_version=no
   9569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9570   soname_spec='${libname}${release}${shared_ext}$major'
   9571   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9572   shlibpath_var=LD_LIBRARY_PATH
   9573   shlibpath_overrides_runpath=no
   9574   # This implies no fast_install, which is unacceptable.
   9575   # Some rework will be needed to allow for fast_install
   9576   # before this can be enabled.
   9577   hardcode_into_libs=yes
   9578 
   9579   # Append ld.so.conf contents to the search path
   9580   if test -f /etc/ld.so.conf; then
   9581     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9582     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9583   fi
   9584 
   9585   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9586   # powerpc, because MkLinux only supported shared libraries with the
   9587   # GNU dynamic linker.  Since this was broken with cross compilers,
   9588   # most powerpc-linux boxes support dynamic linking these days and
   9589   # people can always --disable-shared, the test was removed, and we
   9590   # assume the GNU/Linux dynamic linker is in use.
   9591   dynamic_linker='GNU/Linux ld.so'
   9592   ;;
   9593 
   9594 knetbsd*-gnu)
   9595   version_type=linux
   9596   need_lib_prefix=no
   9597   need_version=no
   9598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9599   soname_spec='${libname}${release}${shared_ext}$major'
   9600   shlibpath_var=LD_LIBRARY_PATH
   9601   shlibpath_overrides_runpath=no
   9602   hardcode_into_libs=yes
   9603   dynamic_linker='GNU ld.so'
   9604   ;;
   9605 
   9606 netbsd*)
   9607   version_type=sunos
   9608   need_lib_prefix=no
   9609   need_version=no
   9610   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9611     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9612     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9613     dynamic_linker='NetBSD (a.out) ld.so'
   9614   else
   9615     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9616     soname_spec='${libname}${release}${shared_ext}$major'
   9617     dynamic_linker='NetBSD ld.elf_so'
   9618   fi
   9619   shlibpath_var=LD_LIBRARY_PATH
   9620   shlibpath_overrides_runpath=yes
   9621   hardcode_into_libs=yes
   9622   ;;
   9623 
   9624 newsos6)
   9625   version_type=linux
   9626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9627   shlibpath_var=LD_LIBRARY_PATH
   9628   shlibpath_overrides_runpath=yes
   9629   ;;
   9630 
   9631 nto-qnx*)
   9632   version_type=linux
   9633   need_lib_prefix=no
   9634   need_version=no
   9635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9636   soname_spec='${libname}${release}${shared_ext}$major'
   9637   shlibpath_var=LD_LIBRARY_PATH
   9638   shlibpath_overrides_runpath=yes
   9639   ;;
   9640 
   9641 openbsd*)
   9642   version_type=sunos
   9643   sys_lib_dlsearch_path_spec="/usr/lib"
   9644   need_lib_prefix=no
   9645   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9646   case $host_os in
   9647     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9648     *)                         need_version=no  ;;
   9649   esac
   9650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9651   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9652   shlibpath_var=LD_LIBRARY_PATH
   9653   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9654     case $host_os in
   9655       openbsd2.[89] | openbsd2.[89].*)
   9656 	shlibpath_overrides_runpath=no
   9657 	;;
   9658       *)
   9659 	shlibpath_overrides_runpath=yes
   9660 	;;
   9661       esac
   9662   else
   9663     shlibpath_overrides_runpath=yes
   9664   fi
   9665   ;;
   9666 
   9667 os2*)
   9668   libname_spec='$name'
   9669   shrext_cmds=".dll"
   9670   need_lib_prefix=no
   9671   library_names_spec='$libname${shared_ext} $libname.a'
   9672   dynamic_linker='OS/2 ld.exe'
   9673   shlibpath_var=LIBPATH
   9674   ;;
   9675 
   9676 osf3* | osf4* | osf5*)
   9677   version_type=osf
   9678   need_lib_prefix=no
   9679   need_version=no
   9680   soname_spec='${libname}${release}${shared_ext}$major'
   9681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9682   shlibpath_var=LD_LIBRARY_PATH
   9683   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9684   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9685   ;;
   9686 
   9687 solaris*)
   9688   version_type=linux
   9689   need_lib_prefix=no
   9690   need_version=no
   9691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9692   soname_spec='${libname}${release}${shared_ext}$major'
   9693   shlibpath_var=LD_LIBRARY_PATH
   9694   shlibpath_overrides_runpath=yes
   9695   hardcode_into_libs=yes
   9696   # ldd complains unless libraries are executable
   9697   postinstall_cmds='chmod +x $lib'
   9698   ;;
   9699 
   9700 sunos4*)
   9701   version_type=sunos
   9702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9703   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9704   shlibpath_var=LD_LIBRARY_PATH
   9705   shlibpath_overrides_runpath=yes
   9706   if test "$with_gnu_ld" = yes; then
   9707     need_lib_prefix=no
   9708   fi
   9709   need_version=yes
   9710   ;;
   9711 
   9712 sysv4 | sysv4.3*)
   9713   version_type=linux
   9714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9715   soname_spec='${libname}${release}${shared_ext}$major'
   9716   shlibpath_var=LD_LIBRARY_PATH
   9717   case $host_vendor in
   9718     sni)
   9719       shlibpath_overrides_runpath=no
   9720       need_lib_prefix=no
   9721       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9722       runpath_var=LD_RUN_PATH
   9723       ;;
   9724     siemens)
   9725       need_lib_prefix=no
   9726       ;;
   9727     motorola)
   9728       need_lib_prefix=no
   9729       need_version=no
   9730       shlibpath_overrides_runpath=no
   9731       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9732       ;;
   9733   esac
   9734   ;;
   9735 
   9736 sysv4*MP*)
   9737   if test -d /usr/nec ;then
   9738     version_type=linux
   9739     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9740     soname_spec='$libname${shared_ext}.$major'
   9741     shlibpath_var=LD_LIBRARY_PATH
   9742   fi
   9743   ;;
   9744 
   9745 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9746   version_type=freebsd-elf
   9747   need_lib_prefix=no
   9748   need_version=no
   9749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9750   soname_spec='${libname}${release}${shared_ext}$major'
   9751   shlibpath_var=LD_LIBRARY_PATH
   9752   hardcode_into_libs=yes
   9753   if test "$with_gnu_ld" = yes; then
   9754     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9755     shlibpath_overrides_runpath=no
   9756   else
   9757     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9758     shlibpath_overrides_runpath=yes
   9759     case $host_os in
   9760       sco3.2v5*)
   9761         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9762 	;;
   9763     esac
   9764   fi
   9765   sys_lib_dlsearch_path_spec='/usr/lib'
   9766   ;;
   9767 
   9768 uts4*)
   9769   version_type=linux
   9770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9771   soname_spec='${libname}${release}${shared_ext}$major'
   9772   shlibpath_var=LD_LIBRARY_PATH
   9773   ;;
   9774 
   9775 *)
   9776   dynamic_linker=no
   9777   ;;
   9778 esac
   9779 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9780 echo "${ECHO_T}$dynamic_linker" >&6; }
   9781 test "$dynamic_linker" = no && can_build_shared=no
   9782 
   9783 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9784 if test "$GCC" = yes; then
   9785   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9786 fi
   9787 
   9788 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9789 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9790 hardcode_action=
   9791 if test -n "$hardcode_libdir_flag_spec" || \
   9792    test -n "$runpath_var" || \
   9793    test "X$hardcode_automatic" = "Xyes" ; then
   9794 
   9795   # We can hardcode non-existant directories.
   9796   if test "$hardcode_direct" != no &&
   9797      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9798      # have to relink, otherwise we might link with an installed library
   9799      # when we should be linking with a yet-to-be-installed one
   9800      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9801      test "$hardcode_minus_L" != no; then
   9802     # Linking always hardcodes the temporary library directory.
   9803     hardcode_action=relink
   9804   else
   9805     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9806     hardcode_action=immediate
   9807   fi
   9808 else
   9809   # We cannot hardcode anything, or else we can only hardcode existing
   9810   # directories.
   9811   hardcode_action=unsupported
   9812 fi
   9813 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9814 echo "${ECHO_T}$hardcode_action" >&6; }
   9815 
   9816 if test "$hardcode_action" = relink; then
   9817   # Fast installation is not supported
   9818   enable_fast_install=no
   9819 elif test "$shlibpath_overrides_runpath" = yes ||
   9820      test "$enable_shared" = no; then
   9821   # Fast installation is not necessary
   9822   enable_fast_install=needless
   9823 fi
   9824 
   9825 striplib=
   9826 old_striplib=
   9827 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9828 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9829 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9830   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9831   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9832   { echo "$as_me:$LINENO: result: yes" >&5
   9833 echo "${ECHO_T}yes" >&6; }
   9834 else
   9835 # FIXME - insert some real tests, host_os isn't really good enough
   9836   case $host_os in
   9837    darwin*)
   9838        if test -n "$STRIP" ; then
   9839          striplib="$STRIP -x"
   9840          { echo "$as_me:$LINENO: result: yes" >&5
   9841 echo "${ECHO_T}yes" >&6; }
   9842        else
   9843   { echo "$as_me:$LINENO: result: no" >&5
   9844 echo "${ECHO_T}no" >&6; }
   9845 fi
   9846        ;;
   9847    *)
   9848   { echo "$as_me:$LINENO: result: no" >&5
   9849 echo "${ECHO_T}no" >&6; }
   9850     ;;
   9851   esac
   9852 fi
   9853 
   9854 if test "x$enable_dlopen" != xyes; then
   9855   enable_dlopen=unknown
   9856   enable_dlopen_self=unknown
   9857   enable_dlopen_self_static=unknown
   9858 else
   9859   lt_cv_dlopen=no
   9860   lt_cv_dlopen_libs=
   9861 
   9862   case $host_os in
   9863   beos*)
   9864     lt_cv_dlopen="load_add_on"
   9865     lt_cv_dlopen_libs=
   9866     lt_cv_dlopen_self=yes
   9867     ;;
   9868 
   9869   mingw* | pw32*)
   9870     lt_cv_dlopen="LoadLibrary"
   9871     lt_cv_dlopen_libs=
   9872    ;;
   9873 
   9874   cygwin*)
   9875     lt_cv_dlopen="dlopen"
   9876     lt_cv_dlopen_libs=
   9877    ;;
   9878 
   9879   darwin*)
   9880   # if libdl is installed we need to link against it
   9881     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9882 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9884   echo $ECHO_N "(cached) $ECHO_C" >&6
   9885 else
   9886   ac_check_lib_save_LIBS=$LIBS
   9887 LIBS="-ldl  $LIBS"
   9888 cat >conftest.$ac_ext <<_ACEOF
   9889 /* confdefs.h.  */
   9890 _ACEOF
   9891 cat confdefs.h >>conftest.$ac_ext
   9892 cat >>conftest.$ac_ext <<_ACEOF
   9893 /* end confdefs.h.  */
   9894 
   9895 /* Override any GCC internal prototype to avoid an error.
   9896    Use char because int might match the return type of a GCC
   9897    builtin and then its argument prototype would still apply.  */
   9898 #ifdef __cplusplus
   9899 extern "C"
   9900 #endif
   9901 char dlopen ();
   9902 int
   9903 main ()
   9904 {
   9905 return dlopen ();
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 rm -f conftest.$ac_objext conftest$ac_exeext
   9911 if { (ac_try="$ac_link"
   9912 case "(($ac_try" in
   9913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9914   *) ac_try_echo=$ac_try;;
   9915 esac
   9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9917   (eval "$ac_link") 2>conftest.er1
   9918   ac_status=$?
   9919   grep -v '^ *+' conftest.er1 >conftest.err
   9920   rm -f conftest.er1
   9921   cat conftest.err >&5
   9922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9923   (exit $ac_status); } && {
   9924 	 test -z "$ac_c_werror_flag" ||
   9925 	 test ! -s conftest.err
   9926        } && test -s conftest$ac_exeext &&
   9927        $as_test_x conftest$ac_exeext; then
   9928   ac_cv_lib_dl_dlopen=yes
   9929 else
   9930   echo "$as_me: failed program was:" >&5
   9931 sed 's/^/| /' conftest.$ac_ext >&5
   9932 
   9933 	ac_cv_lib_dl_dlopen=no
   9934 fi
   9935 
   9936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9937       conftest$ac_exeext conftest.$ac_ext
   9938 LIBS=$ac_check_lib_save_LIBS
   9939 fi
   9940 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9941 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9942 if test $ac_cv_lib_dl_dlopen = yes; then
   9943   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9944 else
   9945 
   9946     lt_cv_dlopen="dyld"
   9947     lt_cv_dlopen_libs=
   9948     lt_cv_dlopen_self=yes
   9949 
   9950 fi
   9951 
   9952    ;;
   9953 
   9954   *)
   9955     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9956 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9957 if test "${ac_cv_func_shl_load+set}" = set; then
   9958   echo $ECHO_N "(cached) $ECHO_C" >&6
   9959 else
   9960   cat >conftest.$ac_ext <<_ACEOF
   9961 /* confdefs.h.  */
   9962 _ACEOF
   9963 cat confdefs.h >>conftest.$ac_ext
   9964 cat >>conftest.$ac_ext <<_ACEOF
   9965 /* end confdefs.h.  */
   9966 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9968 #define shl_load innocuous_shl_load
   9969 
   9970 /* System header to define __stub macros and hopefully few prototypes,
   9971     which can conflict with char shl_load (); below.
   9972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9973     <limits.h> exists even on freestanding compilers.  */
   9974 
   9975 #ifdef __STDC__
   9976 # include <limits.h>
   9977 #else
   9978 # include <assert.h>
   9979 #endif
   9980 
   9981 #undef shl_load
   9982 
   9983 /* Override any GCC internal prototype to avoid an error.
   9984    Use char because int might match the return type of a GCC
   9985    builtin and then its argument prototype would still apply.  */
   9986 #ifdef __cplusplus
   9987 extern "C"
   9988 #endif
   9989 char shl_load ();
   9990 /* The GNU C library defines this for functions which it implements
   9991     to always fail with ENOSYS.  Some functions are actually named
   9992     something starting with __ and the normal name is an alias.  */
   9993 #if defined __stub_shl_load || defined __stub___shl_load
   9994 choke me
   9995 #endif
   9996 
   9997 int
   9998 main ()
   9999 {
   10000 return shl_load ();
   10001   ;
   10002   return 0;
   10003 }
   10004 _ACEOF
   10005 rm -f conftest.$ac_objext conftest$ac_exeext
   10006 if { (ac_try="$ac_link"
   10007 case "(($ac_try" in
   10008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10009   *) ac_try_echo=$ac_try;;
   10010 esac
   10011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10012   (eval "$ac_link") 2>conftest.er1
   10013   ac_status=$?
   10014   grep -v '^ *+' conftest.er1 >conftest.err
   10015   rm -f conftest.er1
   10016   cat conftest.err >&5
   10017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10018   (exit $ac_status); } && {
   10019 	 test -z "$ac_c_werror_flag" ||
   10020 	 test ! -s conftest.err
   10021        } && test -s conftest$ac_exeext &&
   10022        $as_test_x conftest$ac_exeext; then
   10023   ac_cv_func_shl_load=yes
   10024 else
   10025   echo "$as_me: failed program was:" >&5
   10026 sed 's/^/| /' conftest.$ac_ext >&5
   10027 
   10028 	ac_cv_func_shl_load=no
   10029 fi
   10030 
   10031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10032       conftest$ac_exeext conftest.$ac_ext
   10033 fi
   10034 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10035 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   10036 if test $ac_cv_func_shl_load = yes; then
   10037   lt_cv_dlopen="shl_load"
   10038 else
   10039   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10040 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   10041 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10042   echo $ECHO_N "(cached) $ECHO_C" >&6
   10043 else
   10044   ac_check_lib_save_LIBS=$LIBS
   10045 LIBS="-ldld  $LIBS"
   10046 cat >conftest.$ac_ext <<_ACEOF
   10047 /* confdefs.h.  */
   10048 _ACEOF
   10049 cat confdefs.h >>conftest.$ac_ext
   10050 cat >>conftest.$ac_ext <<_ACEOF
   10051 /* end confdefs.h.  */
   10052 
   10053 /* Override any GCC internal prototype to avoid an error.
   10054    Use char because int might match the return type of a GCC
   10055    builtin and then its argument prototype would still apply.  */
   10056 #ifdef __cplusplus
   10057 extern "C"
   10058 #endif
   10059 char shl_load ();
   10060 int
   10061 main ()
   10062 {
   10063 return shl_load ();
   10064   ;
   10065   return 0;
   10066 }
   10067 _ACEOF
   10068 rm -f conftest.$ac_objext conftest$ac_exeext
   10069 if { (ac_try="$ac_link"
   10070 case "(($ac_try" in
   10071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10072   *) ac_try_echo=$ac_try;;
   10073 esac
   10074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10075   (eval "$ac_link") 2>conftest.er1
   10076   ac_status=$?
   10077   grep -v '^ *+' conftest.er1 >conftest.err
   10078   rm -f conftest.er1
   10079   cat conftest.err >&5
   10080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10081   (exit $ac_status); } && {
   10082 	 test -z "$ac_c_werror_flag" ||
   10083 	 test ! -s conftest.err
   10084        } && test -s conftest$ac_exeext &&
   10085        $as_test_x conftest$ac_exeext; then
   10086   ac_cv_lib_dld_shl_load=yes
   10087 else
   10088   echo "$as_me: failed program was:" >&5
   10089 sed 's/^/| /' conftest.$ac_ext >&5
   10090 
   10091 	ac_cv_lib_dld_shl_load=no
   10092 fi
   10093 
   10094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10095       conftest$ac_exeext conftest.$ac_ext
   10096 LIBS=$ac_check_lib_save_LIBS
   10097 fi
   10098 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10099 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   10100 if test $ac_cv_lib_dld_shl_load = yes; then
   10101   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   10102 else
   10103   { echo "$as_me:$LINENO: checking for dlopen" >&5
   10104 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   10105 if test "${ac_cv_func_dlopen+set}" = set; then
   10106   echo $ECHO_N "(cached) $ECHO_C" >&6
   10107 else
   10108   cat >conftest.$ac_ext <<_ACEOF
   10109 /* confdefs.h.  */
   10110 _ACEOF
   10111 cat confdefs.h >>conftest.$ac_ext
   10112 cat >>conftest.$ac_ext <<_ACEOF
   10113 /* end confdefs.h.  */
   10114 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10116 #define dlopen innocuous_dlopen
   10117 
   10118 /* System header to define __stub macros and hopefully few prototypes,
   10119     which can conflict with char dlopen (); below.
   10120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10121     <limits.h> exists even on freestanding compilers.  */
   10122 
   10123 #ifdef __STDC__
   10124 # include <limits.h>
   10125 #else
   10126 # include <assert.h>
   10127 #endif
   10128 
   10129 #undef dlopen
   10130 
   10131 /* Override any GCC internal prototype to avoid an error.
   10132    Use char because int might match the return type of a GCC
   10133    builtin and then its argument prototype would still apply.  */
   10134 #ifdef __cplusplus
   10135 extern "C"
   10136 #endif
   10137 char dlopen ();
   10138 /* The GNU C library defines this for functions which it implements
   10139     to always fail with ENOSYS.  Some functions are actually named
   10140     something starting with __ and the normal name is an alias.  */
   10141 #if defined __stub_dlopen || defined __stub___dlopen
   10142 choke me
   10143 #endif
   10144 
   10145 int
   10146 main ()
   10147 {
   10148 return dlopen ();
   10149   ;
   10150   return 0;
   10151 }
   10152 _ACEOF
   10153 rm -f conftest.$ac_objext conftest$ac_exeext
   10154 if { (ac_try="$ac_link"
   10155 case "(($ac_try" in
   10156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10157   *) ac_try_echo=$ac_try;;
   10158 esac
   10159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10160   (eval "$ac_link") 2>conftest.er1
   10161   ac_status=$?
   10162   grep -v '^ *+' conftest.er1 >conftest.err
   10163   rm -f conftest.er1
   10164   cat conftest.err >&5
   10165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10166   (exit $ac_status); } && {
   10167 	 test -z "$ac_c_werror_flag" ||
   10168 	 test ! -s conftest.err
   10169        } && test -s conftest$ac_exeext &&
   10170        $as_test_x conftest$ac_exeext; then
   10171   ac_cv_func_dlopen=yes
   10172 else
   10173   echo "$as_me: failed program was:" >&5
   10174 sed 's/^/| /' conftest.$ac_ext >&5
   10175 
   10176 	ac_cv_func_dlopen=no
   10177 fi
   10178 
   10179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10180       conftest$ac_exeext conftest.$ac_ext
   10181 fi
   10182 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10183 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   10184 if test $ac_cv_func_dlopen = yes; then
   10185   lt_cv_dlopen="dlopen"
   10186 else
   10187   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10188 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10189 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10190   echo $ECHO_N "(cached) $ECHO_C" >&6
   10191 else
   10192   ac_check_lib_save_LIBS=$LIBS
   10193 LIBS="-ldl  $LIBS"
   10194 cat >conftest.$ac_ext <<_ACEOF
   10195 /* confdefs.h.  */
   10196 _ACEOF
   10197 cat confdefs.h >>conftest.$ac_ext
   10198 cat >>conftest.$ac_ext <<_ACEOF
   10199 /* end confdefs.h.  */
   10200 
   10201 /* Override any GCC internal prototype to avoid an error.
   10202    Use char because int might match the return type of a GCC
   10203    builtin and then its argument prototype would still apply.  */
   10204 #ifdef __cplusplus
   10205 extern "C"
   10206 #endif
   10207 char dlopen ();
   10208 int
   10209 main ()
   10210 {
   10211 return dlopen ();
   10212   ;
   10213   return 0;
   10214 }
   10215 _ACEOF
   10216 rm -f conftest.$ac_objext conftest$ac_exeext
   10217 if { (ac_try="$ac_link"
   10218 case "(($ac_try" in
   10219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10220   *) ac_try_echo=$ac_try;;
   10221 esac
   10222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10223   (eval "$ac_link") 2>conftest.er1
   10224   ac_status=$?
   10225   grep -v '^ *+' conftest.er1 >conftest.err
   10226   rm -f conftest.er1
   10227   cat conftest.err >&5
   10228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10229   (exit $ac_status); } && {
   10230 	 test -z "$ac_c_werror_flag" ||
   10231 	 test ! -s conftest.err
   10232        } && test -s conftest$ac_exeext &&
   10233        $as_test_x conftest$ac_exeext; then
   10234   ac_cv_lib_dl_dlopen=yes
   10235 else
   10236   echo "$as_me: failed program was:" >&5
   10237 sed 's/^/| /' conftest.$ac_ext >&5
   10238 
   10239 	ac_cv_lib_dl_dlopen=no
   10240 fi
   10241 
   10242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10243       conftest$ac_exeext conftest.$ac_ext
   10244 LIBS=$ac_check_lib_save_LIBS
   10245 fi
   10246 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10247 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10248 if test $ac_cv_lib_dl_dlopen = yes; then
   10249   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10250 else
   10251   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10252 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10253 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10254   echo $ECHO_N "(cached) $ECHO_C" >&6
   10255 else
   10256   ac_check_lib_save_LIBS=$LIBS
   10257 LIBS="-lsvld  $LIBS"
   10258 cat >conftest.$ac_ext <<_ACEOF
   10259 /* confdefs.h.  */
   10260 _ACEOF
   10261 cat confdefs.h >>conftest.$ac_ext
   10262 cat >>conftest.$ac_ext <<_ACEOF
   10263 /* end confdefs.h.  */
   10264 
   10265 /* Override any GCC internal prototype to avoid an error.
   10266    Use char because int might match the return type of a GCC
   10267    builtin and then its argument prototype would still apply.  */
   10268 #ifdef __cplusplus
   10269 extern "C"
   10270 #endif
   10271 char dlopen ();
   10272 int
   10273 main ()
   10274 {
   10275 return dlopen ();
   10276   ;
   10277   return 0;
   10278 }
   10279 _ACEOF
   10280 rm -f conftest.$ac_objext conftest$ac_exeext
   10281 if { (ac_try="$ac_link"
   10282 case "(($ac_try" in
   10283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10284   *) ac_try_echo=$ac_try;;
   10285 esac
   10286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10287   (eval "$ac_link") 2>conftest.er1
   10288   ac_status=$?
   10289   grep -v '^ *+' conftest.er1 >conftest.err
   10290   rm -f conftest.er1
   10291   cat conftest.err >&5
   10292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10293   (exit $ac_status); } && {
   10294 	 test -z "$ac_c_werror_flag" ||
   10295 	 test ! -s conftest.err
   10296        } && test -s conftest$ac_exeext &&
   10297        $as_test_x conftest$ac_exeext; then
   10298   ac_cv_lib_svld_dlopen=yes
   10299 else
   10300   echo "$as_me: failed program was:" >&5
   10301 sed 's/^/| /' conftest.$ac_ext >&5
   10302 
   10303 	ac_cv_lib_svld_dlopen=no
   10304 fi
   10305 
   10306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10307       conftest$ac_exeext conftest.$ac_ext
   10308 LIBS=$ac_check_lib_save_LIBS
   10309 fi
   10310 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10311 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10312 if test $ac_cv_lib_svld_dlopen = yes; then
   10313   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10314 else
   10315   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10316 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10317 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10318   echo $ECHO_N "(cached) $ECHO_C" >&6
   10319 else
   10320   ac_check_lib_save_LIBS=$LIBS
   10321 LIBS="-ldld  $LIBS"
   10322 cat >conftest.$ac_ext <<_ACEOF
   10323 /* confdefs.h.  */
   10324 _ACEOF
   10325 cat confdefs.h >>conftest.$ac_ext
   10326 cat >>conftest.$ac_ext <<_ACEOF
   10327 /* end confdefs.h.  */
   10328 
   10329 /* Override any GCC internal prototype to avoid an error.
   10330    Use char because int might match the return type of a GCC
   10331    builtin and then its argument prototype would still apply.  */
   10332 #ifdef __cplusplus
   10333 extern "C"
   10334 #endif
   10335 char dld_link ();
   10336 int
   10337 main ()
   10338 {
   10339 return dld_link ();
   10340   ;
   10341   return 0;
   10342 }
   10343 _ACEOF
   10344 rm -f conftest.$ac_objext conftest$ac_exeext
   10345 if { (ac_try="$ac_link"
   10346 case "(($ac_try" in
   10347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10348   *) ac_try_echo=$ac_try;;
   10349 esac
   10350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10351   (eval "$ac_link") 2>conftest.er1
   10352   ac_status=$?
   10353   grep -v '^ *+' conftest.er1 >conftest.err
   10354   rm -f conftest.er1
   10355   cat conftest.err >&5
   10356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10357   (exit $ac_status); } && {
   10358 	 test -z "$ac_c_werror_flag" ||
   10359 	 test ! -s conftest.err
   10360        } && test -s conftest$ac_exeext &&
   10361        $as_test_x conftest$ac_exeext; then
   10362   ac_cv_lib_dld_dld_link=yes
   10363 else
   10364   echo "$as_me: failed program was:" >&5
   10365 sed 's/^/| /' conftest.$ac_ext >&5
   10366 
   10367 	ac_cv_lib_dld_dld_link=no
   10368 fi
   10369 
   10370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10371       conftest$ac_exeext conftest.$ac_ext
   10372 LIBS=$ac_check_lib_save_LIBS
   10373 fi
   10374 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10375 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10376 if test $ac_cv_lib_dld_dld_link = yes; then
   10377   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10378 fi
   10379 
   10380 
   10381 fi
   10382 
   10383 
   10384 fi
   10385 
   10386 
   10387 fi
   10388 
   10389 
   10390 fi
   10391 
   10392 
   10393 fi
   10394 
   10395     ;;
   10396   esac
   10397 
   10398   if test "x$lt_cv_dlopen" != xno; then
   10399     enable_dlopen=yes
   10400   else
   10401     enable_dlopen=no
   10402   fi
   10403 
   10404   case $lt_cv_dlopen in
   10405   dlopen)
   10406     save_CPPFLAGS="$CPPFLAGS"
   10407     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10408 
   10409     save_LDFLAGS="$LDFLAGS"
   10410     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10411 
   10412     save_LIBS="$LIBS"
   10413     LIBS="$lt_cv_dlopen_libs $LIBS"
   10414 
   10415     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10416 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10417 if test "${lt_cv_dlopen_self+set}" = set; then
   10418   echo $ECHO_N "(cached) $ECHO_C" >&6
   10419 else
   10420   	  if test "$cross_compiling" = yes; then :
   10421   lt_cv_dlopen_self=cross
   10422 else
   10423   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10424   lt_status=$lt_dlunknown
   10425   cat > conftest.$ac_ext <<EOF
   10426 #line 10426 "configure"
   10427 #include "confdefs.h"
   10428 
   10429 #if HAVE_DLFCN_H
   10430 #include <dlfcn.h>
   10431 #endif
   10432 
   10433 #include <stdio.h>
   10434 
   10435 #ifdef RTLD_GLOBAL
   10436 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10437 #else
   10438 #  ifdef DL_GLOBAL
   10439 #    define LT_DLGLOBAL		DL_GLOBAL
   10440 #  else
   10441 #    define LT_DLGLOBAL		0
   10442 #  endif
   10443 #endif
   10444 
   10445 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10446    find out it does not work in some platform. */
   10447 #ifndef LT_DLLAZY_OR_NOW
   10448 #  ifdef RTLD_LAZY
   10449 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10450 #  else
   10451 #    ifdef DL_LAZY
   10452 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10453 #    else
   10454 #      ifdef RTLD_NOW
   10455 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10456 #      else
   10457 #        ifdef DL_NOW
   10458 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10459 #        else
   10460 #          define LT_DLLAZY_OR_NOW	0
   10461 #        endif
   10462 #      endif
   10463 #    endif
   10464 #  endif
   10465 #endif
   10466 
   10467 #ifdef __cplusplus
   10468 extern "C" void exit (int);
   10469 #endif
   10470 
   10471 void fnord() { int i=42;}
   10472 int main ()
   10473 {
   10474   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10475   int status = $lt_dlunknown;
   10476 
   10477   if (self)
   10478     {
   10479       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10480       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10481       /* dlclose (self); */
   10482     }
   10483   else
   10484     puts (dlerror ());
   10485 
   10486     exit (status);
   10487 }
   10488 EOF
   10489   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10490   (eval $ac_link) 2>&5
   10491   ac_status=$?
   10492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10493   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10494     (./conftest; exit; ) >&5 2>/dev/null
   10495     lt_status=$?
   10496     case x$lt_status in
   10497       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10498       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10499       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10500     esac
   10501   else :
   10502     # compilation failed
   10503     lt_cv_dlopen_self=no
   10504   fi
   10505 fi
   10506 rm -fr conftest*
   10507 
   10508 
   10509 fi
   10510 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10511 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10512 
   10513     if test "x$lt_cv_dlopen_self" = xyes; then
   10514       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10515       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10516 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10517 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10518   echo $ECHO_N "(cached) $ECHO_C" >&6
   10519 else
   10520   	  if test "$cross_compiling" = yes; then :
   10521   lt_cv_dlopen_self_static=cross
   10522 else
   10523   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10524   lt_status=$lt_dlunknown
   10525   cat > conftest.$ac_ext <<EOF
   10526 #line 10526 "configure"
   10527 #include "confdefs.h"
   10528 
   10529 #if HAVE_DLFCN_H
   10530 #include <dlfcn.h>
   10531 #endif
   10532 
   10533 #include <stdio.h>
   10534 
   10535 #ifdef RTLD_GLOBAL
   10536 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10537 #else
   10538 #  ifdef DL_GLOBAL
   10539 #    define LT_DLGLOBAL		DL_GLOBAL
   10540 #  else
   10541 #    define LT_DLGLOBAL		0
   10542 #  endif
   10543 #endif
   10544 
   10545 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10546    find out it does not work in some platform. */
   10547 #ifndef LT_DLLAZY_OR_NOW
   10548 #  ifdef RTLD_LAZY
   10549 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10550 #  else
   10551 #    ifdef DL_LAZY
   10552 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10553 #    else
   10554 #      ifdef RTLD_NOW
   10555 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10556 #      else
   10557 #        ifdef DL_NOW
   10558 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10559 #        else
   10560 #          define LT_DLLAZY_OR_NOW	0
   10561 #        endif
   10562 #      endif
   10563 #    endif
   10564 #  endif
   10565 #endif
   10566 
   10567 #ifdef __cplusplus
   10568 extern "C" void exit (int);
   10569 #endif
   10570 
   10571 void fnord() { int i=42;}
   10572 int main ()
   10573 {
   10574   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10575   int status = $lt_dlunknown;
   10576 
   10577   if (self)
   10578     {
   10579       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10580       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10581       /* dlclose (self); */
   10582     }
   10583   else
   10584     puts (dlerror ());
   10585 
   10586     exit (status);
   10587 }
   10588 EOF
   10589   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10590   (eval $ac_link) 2>&5
   10591   ac_status=$?
   10592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10593   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10594     (./conftest; exit; ) >&5 2>/dev/null
   10595     lt_status=$?
   10596     case x$lt_status in
   10597       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10598       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10599       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10600     esac
   10601   else :
   10602     # compilation failed
   10603     lt_cv_dlopen_self_static=no
   10604   fi
   10605 fi
   10606 rm -fr conftest*
   10607 
   10608 
   10609 fi
   10610 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10611 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10612     fi
   10613 
   10614     CPPFLAGS="$save_CPPFLAGS"
   10615     LDFLAGS="$save_LDFLAGS"
   10616     LIBS="$save_LIBS"
   10617     ;;
   10618   esac
   10619 
   10620   case $lt_cv_dlopen_self in
   10621   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10622   *) enable_dlopen_self=unknown ;;
   10623   esac
   10624 
   10625   case $lt_cv_dlopen_self_static in
   10626   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10627   *) enable_dlopen_self_static=unknown ;;
   10628   esac
   10629 fi
   10630 
   10631 
   10632 # Report which library types will actually be built
   10633 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10634 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10635 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10636 echo "${ECHO_T}$can_build_shared" >&6; }
   10637 
   10638 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10639 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10640 test "$can_build_shared" = "no" && enable_shared=no
   10641 
   10642 # On AIX, shared libraries and static libraries use the same namespace, and
   10643 # are all built from PIC.
   10644 case $host_os in
   10645 aix3*)
   10646   test "$enable_shared" = yes && enable_static=no
   10647   if test -n "$RANLIB"; then
   10648     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10649     postinstall_cmds='$RANLIB $lib'
   10650   fi
   10651   ;;
   10652 
   10653 aix4* | aix5*)
   10654   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10655     test "$enable_shared" = yes && enable_static=no
   10656   fi
   10657     ;;
   10658 esac
   10659 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10660 echo "${ECHO_T}$enable_shared" >&6; }
   10661 
   10662 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10663 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10664 # Make sure either enable_shared or enable_static is yes.
   10665 test "$enable_shared" = yes || enable_static=yes
   10666 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10667 echo "${ECHO_T}$enable_static" >&6; }
   10668 
   10669 # The else clause should only fire when bootstrapping the
   10670 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10671 # with your package, and you will get complaints that there are
   10672 # no rules to generate ltmain.sh.
   10673 if test -f "$ltmain"; then
   10674   # See if we are running on zsh, and set the options which allow our commands through
   10675   # without removal of \ escapes.
   10676   if test -n "${ZSH_VERSION+set}" ; then
   10677     setopt NO_GLOB_SUBST
   10678   fi
   10679   # Now quote all the things that may contain metacharacters while being
   10680   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10681   # variables and quote the copies for generation of the libtool script.
   10682   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10683     SED SHELL STRIP \
   10684     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10685     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10686     deplibs_check_method reload_flag reload_cmds need_locks \
   10687     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10688     lt_cv_sys_global_symbol_to_c_name_address \
   10689     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10690     old_postinstall_cmds old_postuninstall_cmds \
   10691     compiler \
   10692     CC \
   10693     LD \
   10694     lt_prog_compiler_wl \
   10695     lt_prog_compiler_pic \
   10696     lt_prog_compiler_static \
   10697     lt_prog_compiler_no_builtin_flag \
   10698     export_dynamic_flag_spec \
   10699     thread_safe_flag_spec \
   10700     whole_archive_flag_spec \
   10701     enable_shared_with_static_runtimes \
   10702     old_archive_cmds \
   10703     old_archive_from_new_cmds \
   10704     predep_objects \
   10705     postdep_objects \
   10706     predeps \
   10707     postdeps \
   10708     compiler_lib_search_path \
   10709     archive_cmds \
   10710     archive_expsym_cmds \
   10711     postinstall_cmds \
   10712     postuninstall_cmds \
   10713     old_archive_from_expsyms_cmds \
   10714     allow_undefined_flag \
   10715     no_undefined_flag \
   10716     export_symbols_cmds \
   10717     hardcode_libdir_flag_spec \
   10718     hardcode_libdir_flag_spec_ld \
   10719     hardcode_libdir_separator \
   10720     hardcode_automatic \
   10721     module_cmds \
   10722     module_expsym_cmds \
   10723     lt_cv_prog_compiler_c_o \
   10724     exclude_expsyms \
   10725     include_expsyms; do
   10726 
   10727     case $var in
   10728     old_archive_cmds | \
   10729     old_archive_from_new_cmds | \
   10730     archive_cmds | \
   10731     archive_expsym_cmds | \
   10732     module_cmds | \
   10733     module_expsym_cmds | \
   10734     old_archive_from_expsyms_cmds | \
   10735     export_symbols_cmds | \
   10736     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10737     postinstall_cmds | postuninstall_cmds | \
   10738     old_postinstall_cmds | old_postuninstall_cmds | \
   10739     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10740       # Double-quote double-evaled strings.
   10741       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10742       ;;
   10743     *)
   10744       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10745       ;;
   10746     esac
   10747   done
   10748 
   10749   case $lt_echo in
   10750   *'\$0 --fallback-echo"')
   10751     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10752     ;;
   10753   esac
   10754 
   10755 cfgfile="${ofile}T"
   10756   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10757   $rm -f "$cfgfile"
   10758   { echo "$as_me:$LINENO: creating $ofile" >&5
   10759 echo "$as_me: creating $ofile" >&6;}
   10760 
   10761   cat <<__EOF__ >> "$cfgfile"
   10762 #! $SHELL
   10763 
   10764 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10765 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10766 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10767 #
   10768 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10769 # Free Software Foundation, Inc.
   10770 #
   10771 # This file is part of GNU Libtool:
   10772 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10773 #
   10774 # This program is free software; you can redistribute it and/or modify
   10775 # it under the terms of the GNU General Public License as published by
   10776 # the Free Software Foundation; either version 2 of the License, or
   10777 # (at your option) any later version.
   10778 #
   10779 # This program is distributed in the hope that it will be useful, but
   10780 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10781 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10782 # General Public License for more details.
   10783 #
   10784 # You should have received a copy of the GNU General Public License
   10785 # along with this program; if not, write to the Free Software
   10786 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10787 #
   10788 # As a special exception to the GNU General Public License, if you
   10789 # distribute this file as part of a program that contains a
   10790 # configuration script generated by Autoconf, you may include it under
   10791 # the same distribution terms that you use for the rest of that program.
   10792 
   10793 # A sed program that does not truncate output.
   10794 SED=$lt_SED
   10795 
   10796 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10797 Xsed="$SED -e 1s/^X//"
   10798 
   10799 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10800 # if CDPATH is set.
   10801 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10802 
   10803 # The names of the tagged configurations supported by this script.
   10804 available_tags=
   10805 
   10806 # ### BEGIN LIBTOOL CONFIG
   10807 
   10808 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10809 
   10810 # Shell to use when invoking shell scripts.
   10811 SHELL=$lt_SHELL
   10812 
   10813 # Whether or not to build shared libraries.
   10814 build_libtool_libs=$enable_shared
   10815 
   10816 # Whether or not to build static libraries.
   10817 build_old_libs=$enable_static
   10818 
   10819 # Whether or not to add -lc for building shared libraries.
   10820 build_libtool_need_lc=$archive_cmds_need_lc
   10821 
   10822 # Whether or not to disallow shared libs when runtime libs are static
   10823 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10824 
   10825 # Whether or not to optimize for fast installation.
   10826 fast_install=$enable_fast_install
   10827 
   10828 # The host system.
   10829 host_alias=$host_alias
   10830 host=$host
   10831 host_os=$host_os
   10832 
   10833 # The build system.
   10834 build_alias=$build_alias
   10835 build=$build
   10836 build_os=$build_os
   10837 
   10838 # An echo program that does not interpret backslashes.
   10839 echo=$lt_echo
   10840 
   10841 # The archiver.
   10842 AR=$lt_AR
   10843 AR_FLAGS=$lt_AR_FLAGS
   10844 
   10845 # A C compiler.
   10846 LTCC=$lt_LTCC
   10847 
   10848 # LTCC compiler flags.
   10849 LTCFLAGS=$lt_LTCFLAGS
   10850 
   10851 # A language-specific compiler.
   10852 CC=$lt_compiler
   10853 
   10854 # Is the compiler the GNU C compiler?
   10855 with_gcc=$GCC
   10856 
   10857 # An ERE matcher.
   10858 EGREP=$lt_EGREP
   10859 
   10860 # The linker used to build libraries.
   10861 LD=$lt_LD
   10862 
   10863 # Whether we need hard or soft links.
   10864 LN_S=$lt_LN_S
   10865 
   10866 # A BSD-compatible nm program.
   10867 NM=$lt_NM
   10868 
   10869 # A symbol stripping program
   10870 STRIP=$lt_STRIP
   10871 
   10872 # Used to examine libraries when file_magic_cmd begins "file"
   10873 MAGIC_CMD=$MAGIC_CMD
   10874 
   10875 # Used on cygwin: DLL creation program.
   10876 DLLTOOL="$DLLTOOL"
   10877 
   10878 # Used on cygwin: object dumper.
   10879 OBJDUMP="$OBJDUMP"
   10880 
   10881 # Used on cygwin: assembler.
   10882 AS="$AS"
   10883 
   10884 # The name of the directory that contains temporary libtool files.
   10885 objdir=$objdir
   10886 
   10887 # How to create reloadable object files.
   10888 reload_flag=$lt_reload_flag
   10889 reload_cmds=$lt_reload_cmds
   10890 
   10891 # How to pass a linker flag through the compiler.
   10892 wl=$lt_lt_prog_compiler_wl
   10893 
   10894 # Object file suffix (normally "o").
   10895 objext="$ac_objext"
   10896 
   10897 # Old archive suffix (normally "a").
   10898 libext="$libext"
   10899 
   10900 # Shared library suffix (normally ".so").
   10901 shrext_cmds='$shrext_cmds'
   10902 
   10903 # Executable file suffix (normally "").
   10904 exeext="$exeext"
   10905 
   10906 # Additional compiler flags for building library objects.
   10907 pic_flag=$lt_lt_prog_compiler_pic
   10908 pic_mode=$pic_mode
   10909 
   10910 # What is the maximum length of a command?
   10911 max_cmd_len=$lt_cv_sys_max_cmd_len
   10912 
   10913 # Does compiler simultaneously support -c and -o options?
   10914 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10915 
   10916 # Must we lock files when doing compilation?
   10917 need_locks=$lt_need_locks
   10918 
   10919 # Do we need the lib prefix for modules?
   10920 need_lib_prefix=$need_lib_prefix
   10921 
   10922 # Do we need a version for libraries?
   10923 need_version=$need_version
   10924 
   10925 # Whether dlopen is supported.
   10926 dlopen_support=$enable_dlopen
   10927 
   10928 # Whether dlopen of programs is supported.
   10929 dlopen_self=$enable_dlopen_self
   10930 
   10931 # Whether dlopen of statically linked programs is supported.
   10932 dlopen_self_static=$enable_dlopen_self_static
   10933 
   10934 # Compiler flag to prevent dynamic linking.
   10935 link_static_flag=$lt_lt_prog_compiler_static
   10936 
   10937 # Compiler flag to turn off builtin functions.
   10938 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10939 
   10940 # Compiler flag to allow reflexive dlopens.
   10941 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10942 
   10943 # Compiler flag to generate shared objects directly from archives.
   10944 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10945 
   10946 # Compiler flag to generate thread-safe objects.
   10947 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10948 
   10949 # Library versioning type.
   10950 version_type=$version_type
   10951 
   10952 # Format of library name prefix.
   10953 libname_spec=$lt_libname_spec
   10954 
   10955 # List of archive names.  First name is the real one, the rest are links.
   10956 # The last name is the one that the linker finds with -lNAME.
   10957 library_names_spec=$lt_library_names_spec
   10958 
   10959 # The coded name of the library, if different from the real name.
   10960 soname_spec=$lt_soname_spec
   10961 
   10962 # Commands used to build and install an old-style archive.
   10963 RANLIB=$lt_RANLIB
   10964 old_archive_cmds=$lt_old_archive_cmds
   10965 old_postinstall_cmds=$lt_old_postinstall_cmds
   10966 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10967 
   10968 # Create an old-style archive from a shared archive.
   10969 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10970 
   10971 # Create a temporary old-style archive to link instead of a shared archive.
   10972 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10973 
   10974 # Commands used to build and install a shared archive.
   10975 archive_cmds=$lt_archive_cmds
   10976 archive_expsym_cmds=$lt_archive_expsym_cmds
   10977 postinstall_cmds=$lt_postinstall_cmds
   10978 postuninstall_cmds=$lt_postuninstall_cmds
   10979 
   10980 # Commands used to build a loadable module (assumed same as above if empty)
   10981 module_cmds=$lt_module_cmds
   10982 module_expsym_cmds=$lt_module_expsym_cmds
   10983 
   10984 # Commands to strip libraries.
   10985 old_striplib=$lt_old_striplib
   10986 striplib=$lt_striplib
   10987 
   10988 # Dependencies to place before the objects being linked to create a
   10989 # shared library.
   10990 predep_objects=$lt_predep_objects
   10991 
   10992 # Dependencies to place after the objects being linked to create a
   10993 # shared library.
   10994 postdep_objects=$lt_postdep_objects
   10995 
   10996 # Dependencies to place before the objects being linked to create a
   10997 # shared library.
   10998 predeps=$lt_predeps
   10999 
   11000 # Dependencies to place after the objects being linked to create a
   11001 # shared library.
   11002 postdeps=$lt_postdeps
   11003 
   11004 # The library search path used internally by the compiler when linking
   11005 # a shared library.
   11006 compiler_lib_search_path=$lt_compiler_lib_search_path
   11007 
   11008 # Method to check whether dependent libraries are shared objects.
   11009 deplibs_check_method=$lt_deplibs_check_method
   11010 
   11011 # Command to use when deplibs_check_method == file_magic.
   11012 file_magic_cmd=$lt_file_magic_cmd
   11013 
   11014 # Flag that allows shared libraries with undefined symbols to be built.
   11015 allow_undefined_flag=$lt_allow_undefined_flag
   11016 
   11017 # Flag that forces no undefined symbols.
   11018 no_undefined_flag=$lt_no_undefined_flag
   11019 
   11020 # Commands used to finish a libtool library installation in a directory.
   11021 finish_cmds=$lt_finish_cmds
   11022 
   11023 # Same as above, but a single script fragment to be evaled but not shown.
   11024 finish_eval=$lt_finish_eval
   11025 
   11026 # Take the output of nm and produce a listing of raw symbols and C names.
   11027 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11028 
   11029 # Transform the output of nm in a proper C declaration
   11030 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11031 
   11032 # Transform the output of nm in a C name address pair
   11033 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11034 
   11035 # This is the shared library runtime path variable.
   11036 runpath_var=$runpath_var
   11037 
   11038 # This is the shared library path variable.
   11039 shlibpath_var=$shlibpath_var
   11040 
   11041 # Is shlibpath searched before the hard-coded library search path?
   11042 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11043 
   11044 # How to hardcode a shared library path into an executable.
   11045 hardcode_action=$hardcode_action
   11046 
   11047 # Whether we should hardcode library paths into libraries.
   11048 hardcode_into_libs=$hardcode_into_libs
   11049 
   11050 # Flag to hardcode \$libdir into a binary during linking.
   11051 # This must work even if \$libdir does not exist.
   11052 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11053 
   11054 # If ld is used when linking, flag to hardcode \$libdir into
   11055 # a binary during linking. This must work even if \$libdir does
   11056 # not exist.
   11057 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11058 
   11059 # Whether we need a single -rpath flag with a separated argument.
   11060 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11061 
   11062 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11063 # resulting binary.
   11064 hardcode_direct=$hardcode_direct
   11065 
   11066 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11067 # resulting binary.
   11068 hardcode_minus_L=$hardcode_minus_L
   11069 
   11070 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11071 # the resulting binary.
   11072 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11073 
   11074 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11075 # and all subsequent libraries and executables linked against it.
   11076 hardcode_automatic=$hardcode_automatic
   11077 
   11078 # Variables whose values should be saved in libtool wrapper scripts and
   11079 # restored at relink time.
   11080 variables_saved_for_relink="$variables_saved_for_relink"
   11081 
   11082 # Whether libtool must link a program against all its dependency libraries.
   11083 link_all_deplibs=$link_all_deplibs
   11084 
   11085 # Compile-time system search path for libraries
   11086 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11087 
   11088 # Run-time system search path for libraries
   11089 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11090 
   11091 # Fix the shell variable \$srcfile for the compiler.
   11092 fix_srcfile_path="$fix_srcfile_path"
   11093 
   11094 # Set to yes if exported symbols are required.
   11095 always_export_symbols=$always_export_symbols
   11096 
   11097 # The commands to list exported symbols.
   11098 export_symbols_cmds=$lt_export_symbols_cmds
   11099 
   11100 # The commands to extract the exported symbol list from a shared archive.
   11101 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11102 
   11103 # Symbols that should not be listed in the preloaded symbols.
   11104 exclude_expsyms=$lt_exclude_expsyms
   11105 
   11106 # Symbols that must always be exported.
   11107 include_expsyms=$lt_include_expsyms
   11108 
   11109 # ### END LIBTOOL CONFIG
   11110 
   11111 __EOF__
   11112 
   11113 
   11114   case $host_os in
   11115   aix3*)
   11116     cat <<\EOF >> "$cfgfile"
   11117 
   11118 # AIX sometimes has problems with the GCC collect2 program.  For some
   11119 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11120 # vanish in a puff of smoke.
   11121 if test "X${COLLECT_NAMES+set}" != Xset; then
   11122   COLLECT_NAMES=
   11123   export COLLECT_NAMES
   11124 fi
   11125 EOF
   11126     ;;
   11127   esac
   11128 
   11129   # We use sed instead of cat because bash on DJGPP gets confused if
   11130   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11131   # text mode, it properly converts lines to CR/LF.  This bash problem
   11132   # is reportedly fixed, but why not run on old versions too?
   11133   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11134 
   11135   mv -f "$cfgfile" "$ofile" || \
   11136     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11137   chmod +x "$ofile"
   11138 
   11139 else
   11140   # If there is no Makefile yet, we rely on a make rule to execute
   11141   # `config.status --recheck' to rerun these tests and create the
   11142   # libtool script then.
   11143   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11144   if test -f "$ltmain_in"; then
   11145     test -f Makefile && make "$ltmain"
   11146   fi
   11147 fi
   11148 
   11149 
   11150 ac_ext=c
   11151 ac_cpp='$CPP $CPPFLAGS'
   11152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11155 
   11156 CC="$lt_save_CC"
   11157 
   11158 
   11159 # Check whether --with-tags was given.
   11160 if test "${with_tags+set}" = set; then
   11161   withval=$with_tags; tagnames="$withval"
   11162 fi
   11163 
   11164 
   11165 if test -f "$ltmain" && test -n "$tagnames"; then
   11166   if test ! -f "${ofile}"; then
   11167     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11168 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11169   fi
   11170 
   11171   if test -z "$LTCC"; then
   11172     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11173     if test -z "$LTCC"; then
   11174       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11175 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11176     else
   11177       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11178 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11179     fi
   11180   fi
   11181   if test -z "$LTCFLAGS"; then
   11182     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11183   fi
   11184 
   11185   # Extract list of available tagged configurations in $ofile.
   11186   # Note that this assumes the entire list is on one line.
   11187   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11188 
   11189   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11190   for tagname in $tagnames; do
   11191     IFS="$lt_save_ifs"
   11192     # Check whether tagname contains only valid characters
   11193     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11194     "") ;;
   11195     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11196 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11197    { (exit 1); exit 1; }; }
   11198 	;;
   11199     esac
   11200 
   11201     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11202     then
   11203       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11204 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11205    { (exit 1); exit 1; }; }
   11206     fi
   11207 
   11208     # Update the list of available tags.
   11209     if test -n "$tagname"; then
   11210       echo appending configuration tag \"$tagname\" to $ofile
   11211 
   11212       case $tagname in
   11213       CXX)
   11214 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11215 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11216 	    (test "X$CXX" != "Xg++"))) ; then
   11217 	  ac_ext=cpp
   11218 ac_cpp='$CXXCPP $CPPFLAGS'
   11219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11222 
   11223 
   11224 
   11225 
   11226 archive_cmds_need_lc_CXX=no
   11227 allow_undefined_flag_CXX=
   11228 always_export_symbols_CXX=no
   11229 archive_expsym_cmds_CXX=
   11230 export_dynamic_flag_spec_CXX=
   11231 hardcode_direct_CXX=no
   11232 hardcode_libdir_flag_spec_CXX=
   11233 hardcode_libdir_flag_spec_ld_CXX=
   11234 hardcode_libdir_separator_CXX=
   11235 hardcode_minus_L_CXX=no
   11236 hardcode_shlibpath_var_CXX=unsupported
   11237 hardcode_automatic_CXX=no
   11238 module_cmds_CXX=
   11239 module_expsym_cmds_CXX=
   11240 link_all_deplibs_CXX=unknown
   11241 old_archive_cmds_CXX=$old_archive_cmds
   11242 no_undefined_flag_CXX=
   11243 whole_archive_flag_spec_CXX=
   11244 enable_shared_with_static_runtimes_CXX=no
   11245 
   11246 # Dependencies to place before and after the object being linked:
   11247 predep_objects_CXX=
   11248 postdep_objects_CXX=
   11249 predeps_CXX=
   11250 postdeps_CXX=
   11251 compiler_lib_search_path_CXX=
   11252 
   11253 # Source file extension for C++ test sources.
   11254 ac_ext=cpp
   11255 
   11256 # Object file extension for compiled C++ test sources.
   11257 objext=o
   11258 objext_CXX=$objext
   11259 
   11260 # Code to be used in simple compile tests
   11261 lt_simple_compile_test_code="int some_variable = 0;\n"
   11262 
   11263 # Code to be used in simple link tests
   11264 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   11265 
   11266 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11267 
   11268 # If no C compiler was specified, use CC.
   11269 LTCC=${LTCC-"$CC"}
   11270 
   11271 # If no C compiler flags were specified, use CFLAGS.
   11272 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11273 
   11274 # Allow CC to be a program name with arguments.
   11275 compiler=$CC
   11276 
   11277 
   11278 # save warnings/boilerplate of simple test code
   11279 ac_outfile=conftest.$ac_objext
   11280 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   11281 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11282 _lt_compiler_boilerplate=`cat conftest.err`
   11283 $rm conftest*
   11284 
   11285 ac_outfile=conftest.$ac_objext
   11286 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   11287 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11288 _lt_linker_boilerplate=`cat conftest.err`
   11289 $rm conftest*
   11290 
   11291 
   11292 # Allow CC to be a program name with arguments.
   11293 lt_save_CC=$CC
   11294 lt_save_LD=$LD
   11295 lt_save_GCC=$GCC
   11296 GCC=$GXX
   11297 lt_save_with_gnu_ld=$with_gnu_ld
   11298 lt_save_path_LD=$lt_cv_path_LD
   11299 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11300   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11301 else
   11302   $as_unset lt_cv_prog_gnu_ld
   11303 fi
   11304 if test -n "${lt_cv_path_LDCXX+set}"; then
   11305   lt_cv_path_LD=$lt_cv_path_LDCXX
   11306 else
   11307   $as_unset lt_cv_path_LD
   11308 fi
   11309 test -z "${LDCXX+set}" || LD=$LDCXX
   11310 CC=${CXX-"c++"}
   11311 compiler=$CC
   11312 compiler_CXX=$CC
   11313 for cc_temp in $compiler""; do
   11314   case $cc_temp in
   11315     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11316     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11317     \-*) ;;
   11318     *) break;;
   11319   esac
   11320 done
   11321 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11322 
   11323 
   11324 # We don't want -fno-exception wen compiling C++ code, so set the
   11325 # no_builtin_flag separately
   11326 if test "$GXX" = yes; then
   11327   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11328 else
   11329   lt_prog_compiler_no_builtin_flag_CXX=
   11330 fi
   11331 
   11332 if test "$GXX" = yes; then
   11333   # Set up default GNU C++ configuration
   11334 
   11335 
   11336 # Check whether --with-gnu-ld was given.
   11337 if test "${with_gnu_ld+set}" = set; then
   11338   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11339 else
   11340   with_gnu_ld=no
   11341 fi
   11342 
   11343 ac_prog=ld
   11344 if test "$GCC" = yes; then
   11345   # Check if gcc -print-prog-name=ld gives a path.
   11346   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11347 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11348   case $host in
   11349   *-*-mingw*)
   11350     # gcc leaves a trailing carriage return which upsets mingw
   11351     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11352   *)
   11353     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11354   esac
   11355   case $ac_prog in
   11356     # Accept absolute paths.
   11357     [\\/]* | ?:[\\/]*)
   11358       re_direlt='/[^/][^/]*/\.\./'
   11359       # Canonicalize the pathname of ld
   11360       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11361       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11362 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11363       done
   11364       test -z "$LD" && LD="$ac_prog"
   11365       ;;
   11366   "")
   11367     # If it fails, then pretend we aren't using GCC.
   11368     ac_prog=ld
   11369     ;;
   11370   *)
   11371     # If it is relative, then search for the first ld in PATH.
   11372     with_gnu_ld=unknown
   11373     ;;
   11374   esac
   11375 elif test "$with_gnu_ld" = yes; then
   11376   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11377 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11378 else
   11379   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11380 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11381 fi
   11382 if test "${lt_cv_path_LD+set}" = set; then
   11383   echo $ECHO_N "(cached) $ECHO_C" >&6
   11384 else
   11385   if test -z "$LD"; then
   11386   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11387   for ac_dir in $PATH; do
   11388     IFS="$lt_save_ifs"
   11389     test -z "$ac_dir" && ac_dir=.
   11390     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11391       lt_cv_path_LD="$ac_dir/$ac_prog"
   11392       # Check to see if the program is GNU ld.  I'd rather use --version,
   11393       # but apparently some variants of GNU ld only accept -v.
   11394       # Break only if it was the GNU/non-GNU ld that we prefer.
   11395       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11396       *GNU* | *'with BFD'*)
   11397 	test "$with_gnu_ld" != no && break
   11398 	;;
   11399       *)
   11400 	test "$with_gnu_ld" != yes && break
   11401 	;;
   11402       esac
   11403     fi
   11404   done
   11405   IFS="$lt_save_ifs"
   11406 else
   11407   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11408 fi
   11409 fi
   11410 
   11411 LD="$lt_cv_path_LD"
   11412 if test -n "$LD"; then
   11413   { echo "$as_me:$LINENO: result: $LD" >&5
   11414 echo "${ECHO_T}$LD" >&6; }
   11415 else
   11416   { echo "$as_me:$LINENO: result: no" >&5
   11417 echo "${ECHO_T}no" >&6; }
   11418 fi
   11419 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11420 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11421    { (exit 1); exit 1; }; }
   11422 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11423 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11424 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11425   echo $ECHO_N "(cached) $ECHO_C" >&6
   11426 else
   11427   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11428 case `$LD -v 2>&1 </dev/null` in
   11429 *GNU* | *'with BFD'*)
   11430   lt_cv_prog_gnu_ld=yes
   11431   ;;
   11432 *)
   11433   lt_cv_prog_gnu_ld=no
   11434   ;;
   11435 esac
   11436 fi
   11437 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11438 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11439 with_gnu_ld=$lt_cv_prog_gnu_ld
   11440 
   11441 
   11442 
   11443   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11444   # archiving commands below assume that GNU ld is being used.
   11445   if test "$with_gnu_ld" = yes; then
   11446     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11447     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11448 
   11449     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11450     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11451 
   11452     # If archive_cmds runs LD, not CC, wlarc should be empty
   11453     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11454     #     investigate it a little bit more. (MM)
   11455     wlarc='${wl}'
   11456 
   11457     # ancient GNU ld didn't support --whole-archive et. al.
   11458     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11459 	grep 'no-whole-archive' > /dev/null; then
   11460       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11461     else
   11462       whole_archive_flag_spec_CXX=
   11463     fi
   11464   else
   11465     with_gnu_ld=no
   11466     wlarc=
   11467 
   11468     # A generic and very simple default shared library creation
   11469     # command for GNU C++ for the case where it uses the native
   11470     # linker, instead of GNU ld.  If possible, this setting should
   11471     # overridden to take advantage of the native linker features on
   11472     # the platform it is being used on.
   11473     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11474   fi
   11475 
   11476   # Commands to make compiler produce verbose output that lists
   11477   # what "hidden" libraries, object files and flags are used when
   11478   # linking a shared library.
   11479   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11480 
   11481 else
   11482   GXX=no
   11483   with_gnu_ld=no
   11484   wlarc=
   11485 fi
   11486 
   11487 # PORTME: fill in a description of your system's C++ link characteristics
   11488 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11489 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11490 ld_shlibs_CXX=yes
   11491 case $host_os in
   11492   aix3*)
   11493     # FIXME: insert proper C++ library support
   11494     ld_shlibs_CXX=no
   11495     ;;
   11496   aix4* | aix5*)
   11497     if test "$host_cpu" = ia64; then
   11498       # On IA64, the linker does run time linking by default, so we don't
   11499       # have to do anything special.
   11500       aix_use_runtimelinking=no
   11501       exp_sym_flag='-Bexport'
   11502       no_entry_flag=""
   11503     else
   11504       aix_use_runtimelinking=no
   11505 
   11506       # Test if we are trying to use run time linking or normal
   11507       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11508       # need to do runtime linking.
   11509       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11510 	for ld_flag in $LDFLAGS; do
   11511 	  case $ld_flag in
   11512 	  *-brtl*)
   11513 	    aix_use_runtimelinking=yes
   11514 	    break
   11515 	    ;;
   11516 	  esac
   11517 	done
   11518 	;;
   11519       esac
   11520 
   11521       exp_sym_flag='-bexport'
   11522       no_entry_flag='-bnoentry'
   11523     fi
   11524 
   11525     # When large executables or shared objects are built, AIX ld can
   11526     # have problems creating the table of contents.  If linking a library
   11527     # or program results in "error TOC overflow" add -mminimal-toc to
   11528     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11529     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11530 
   11531     archive_cmds_CXX=''
   11532     hardcode_direct_CXX=yes
   11533     hardcode_libdir_separator_CXX=':'
   11534     link_all_deplibs_CXX=yes
   11535 
   11536     if test "$GXX" = yes; then
   11537       case $host_os in aix4.[012]|aix4.[012].*)
   11538       # We only want to do this on AIX 4.2 and lower, the check
   11539       # below for broken collect2 doesn't work under 4.3+
   11540 	collect2name=`${CC} -print-prog-name=collect2`
   11541 	if test -f "$collect2name" && \
   11542 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11543 	then
   11544 	  # We have reworked collect2
   11545 	  hardcode_direct_CXX=yes
   11546 	else
   11547 	  # We have old collect2
   11548 	  hardcode_direct_CXX=unsupported
   11549 	  # It fails to find uninstalled libraries when the uninstalled
   11550 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11551 	  # to unsupported forces relinking
   11552 	  hardcode_minus_L_CXX=yes
   11553 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11554 	  hardcode_libdir_separator_CXX=
   11555 	fi
   11556 	;;
   11557       esac
   11558       shared_flag='-shared'
   11559       if test "$aix_use_runtimelinking" = yes; then
   11560 	shared_flag="$shared_flag "'${wl}-G'
   11561       fi
   11562     else
   11563       # not using gcc
   11564       if test "$host_cpu" = ia64; then
   11565 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11566 	# chokes on -Wl,-G. The following line is correct:
   11567 	shared_flag='-G'
   11568       else
   11569 	if test "$aix_use_runtimelinking" = yes; then
   11570 	  shared_flag='${wl}-G'
   11571 	else
   11572 	  shared_flag='${wl}-bM:SRE'
   11573 	fi
   11574       fi
   11575     fi
   11576 
   11577     # It seems that -bexpall does not export symbols beginning with
   11578     # underscore (_), so it is better to generate a list of symbols to export.
   11579     always_export_symbols_CXX=yes
   11580     if test "$aix_use_runtimelinking" = yes; then
   11581       # Warning - without using the other runtime loading flags (-brtl),
   11582       # -berok will link without error, but may produce a broken library.
   11583       allow_undefined_flag_CXX='-berok'
   11584       # Determine the default libpath from the value encoded in an empty executable.
   11585       cat >conftest.$ac_ext <<_ACEOF
   11586 /* confdefs.h.  */
   11587 _ACEOF
   11588 cat confdefs.h >>conftest.$ac_ext
   11589 cat >>conftest.$ac_ext <<_ACEOF
   11590 /* end confdefs.h.  */
   11591 
   11592 int
   11593 main ()
   11594 {
   11595 
   11596   ;
   11597   return 0;
   11598 }
   11599 _ACEOF
   11600 rm -f conftest.$ac_objext conftest$ac_exeext
   11601 if { (ac_try="$ac_link"
   11602 case "(($ac_try" in
   11603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11604   *) ac_try_echo=$ac_try;;
   11605 esac
   11606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11607   (eval "$ac_link") 2>conftest.er1
   11608   ac_status=$?
   11609   grep -v '^ *+' conftest.er1 >conftest.err
   11610   rm -f conftest.er1
   11611   cat conftest.err >&5
   11612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11613   (exit $ac_status); } && {
   11614 	 test -z "$ac_cxx_werror_flag" ||
   11615 	 test ! -s conftest.err
   11616        } && test -s conftest$ac_exeext &&
   11617        $as_test_x conftest$ac_exeext; then
   11618 
   11619 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11620 }'`
   11621 # Check for a 64-bit object if we didn't find anything.
   11622 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11623 }'`; fi
   11624 else
   11625   echo "$as_me: failed program was:" >&5
   11626 sed 's/^/| /' conftest.$ac_ext >&5
   11627 
   11628 
   11629 fi
   11630 
   11631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11632       conftest$ac_exeext conftest.$ac_ext
   11633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11634 
   11635       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11636 
   11637       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   11638      else
   11639       if test "$host_cpu" = ia64; then
   11640 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11641 	allow_undefined_flag_CXX="-z nodefs"
   11642 	archive_expsym_cmds_CXX="\$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"
   11643       else
   11644 	# Determine the default libpath from the value encoded in an empty executable.
   11645 	cat >conftest.$ac_ext <<_ACEOF
   11646 /* confdefs.h.  */
   11647 _ACEOF
   11648 cat confdefs.h >>conftest.$ac_ext
   11649 cat >>conftest.$ac_ext <<_ACEOF
   11650 /* end confdefs.h.  */
   11651 
   11652 int
   11653 main ()
   11654 {
   11655 
   11656   ;
   11657   return 0;
   11658 }
   11659 _ACEOF
   11660 rm -f conftest.$ac_objext conftest$ac_exeext
   11661 if { (ac_try="$ac_link"
   11662 case "(($ac_try" in
   11663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11664   *) ac_try_echo=$ac_try;;
   11665 esac
   11666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11667   (eval "$ac_link") 2>conftest.er1
   11668   ac_status=$?
   11669   grep -v '^ *+' conftest.er1 >conftest.err
   11670   rm -f conftest.er1
   11671   cat conftest.err >&5
   11672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11673   (exit $ac_status); } && {
   11674 	 test -z "$ac_cxx_werror_flag" ||
   11675 	 test ! -s conftest.err
   11676        } && test -s conftest$ac_exeext &&
   11677        $as_test_x conftest$ac_exeext; then
   11678 
   11679 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11680 }'`
   11681 # Check for a 64-bit object if we didn't find anything.
   11682 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11683 }'`; fi
   11684 else
   11685   echo "$as_me: failed program was:" >&5
   11686 sed 's/^/| /' conftest.$ac_ext >&5
   11687 
   11688 
   11689 fi
   11690 
   11691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11692       conftest$ac_exeext conftest.$ac_ext
   11693 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11694 
   11695 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11696 	# Warning - without using the other run time loading flags,
   11697 	# -berok will link without error, but may produce a broken library.
   11698 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11699 	allow_undefined_flag_CXX=' ${wl}-berok'
   11700 	# Exported symbols can be pulled into shared objects from archives
   11701 	whole_archive_flag_spec_CXX='$convenience'
   11702 	archive_cmds_need_lc_CXX=yes
   11703 	# This is similar to how AIX traditionally builds its shared libraries.
   11704 	archive_expsym_cmds_CXX="\$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'
   11705       fi
   11706     fi
   11707     ;;
   11708 
   11709   beos*)
   11710     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11711       allow_undefined_flag_CXX=unsupported
   11712       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11713       # support --undefined.  This deserves some investigation.  FIXME
   11714       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11715     else
   11716       ld_shlibs_CXX=no
   11717     fi
   11718     ;;
   11719 
   11720   chorus*)
   11721     case $cc_basename in
   11722       *)
   11723 	# FIXME: insert proper C++ library support
   11724 	ld_shlibs_CXX=no
   11725 	;;
   11726     esac
   11727     ;;
   11728 
   11729   cygwin* | mingw* | pw32*)
   11730     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11731     # as there is no search path for DLLs.
   11732     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11733     allow_undefined_flag_CXX=unsupported
   11734     always_export_symbols_CXX=no
   11735     enable_shared_with_static_runtimes_CXX=yes
   11736 
   11737     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11738       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11739       # If the export-symbols file already is a .def file (1st line
   11740       # is EXPORTS), use it as is; otherwise, prepend...
   11741       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11742 	cp $export_symbols $output_objdir/$soname.def;
   11743       else
   11744 	echo EXPORTS > $output_objdir/$soname.def;
   11745 	cat $export_symbols >> $output_objdir/$soname.def;
   11746       fi~
   11747       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11748     else
   11749       ld_shlibs_CXX=no
   11750     fi
   11751   ;;
   11752       darwin* | rhapsody*)
   11753         case $host_os in
   11754         rhapsody* | darwin1.[012])
   11755          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11756          ;;
   11757        *) # Darwin 1.3 on
   11758          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11759            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11760          else
   11761            case ${MACOSX_DEPLOYMENT_TARGET} in
   11762              10.[012])
   11763                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11764                ;;
   11765              10.*)
   11766                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11767                ;;
   11768            esac
   11769          fi
   11770          ;;
   11771         esac
   11772       archive_cmds_need_lc_CXX=no
   11773       hardcode_direct_CXX=no
   11774       hardcode_automatic_CXX=yes
   11775       hardcode_shlibpath_var_CXX=unsupported
   11776       whole_archive_flag_spec_CXX=''
   11777       link_all_deplibs_CXX=yes
   11778 
   11779     if test "$GXX" = yes ; then
   11780       lt_int_apple_cc_single_mod=no
   11781       output_verbose_link_cmd='echo'
   11782       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11783        lt_int_apple_cc_single_mod=yes
   11784       fi
   11785       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11786        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11787       else
   11788           archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11789         fi
   11790         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11791         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11792           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11793             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11794           else
   11795             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11796           fi
   11797             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11798       else
   11799       case $cc_basename in
   11800         xlc*)
   11801          output_verbose_link_cmd='echo'
   11802           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   11803           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11804           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11805           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11806           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11807           ;;
   11808        *)
   11809          ld_shlibs_CXX=no
   11810           ;;
   11811       esac
   11812       fi
   11813         ;;
   11814 
   11815   dgux*)
   11816     case $cc_basename in
   11817       ec++*)
   11818 	# FIXME: insert proper C++ library support
   11819 	ld_shlibs_CXX=no
   11820 	;;
   11821       ghcx*)
   11822 	# Green Hills C++ Compiler
   11823 	# FIXME: insert proper C++ library support
   11824 	ld_shlibs_CXX=no
   11825 	;;
   11826       *)
   11827 	# FIXME: insert proper C++ library support
   11828 	ld_shlibs_CXX=no
   11829 	;;
   11830     esac
   11831     ;;
   11832   freebsd[12]*)
   11833     # C++ shared libraries reported to be fairly broken before switch to ELF
   11834     ld_shlibs_CXX=no
   11835     ;;
   11836   freebsd-elf*)
   11837     archive_cmds_need_lc_CXX=no
   11838     ;;
   11839   freebsd* | kfreebsd*-gnu | dragonfly*)
   11840     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11841     # conventions
   11842     ld_shlibs_CXX=yes
   11843     ;;
   11844   gnu*)
   11845     ;;
   11846   hpux9*)
   11847     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11848     hardcode_libdir_separator_CXX=:
   11849     export_dynamic_flag_spec_CXX='${wl}-E'
   11850     hardcode_direct_CXX=yes
   11851     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11852 				# but as the default
   11853 				# location of the library.
   11854 
   11855     case $cc_basename in
   11856     CC*)
   11857       # FIXME: insert proper C++ library support
   11858       ld_shlibs_CXX=no
   11859       ;;
   11860     aCC*)
   11861       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11862       # Commands to make compiler produce verbose output that lists
   11863       # what "hidden" libraries, object files and flags are used when
   11864       # linking a shared library.
   11865       #
   11866       # There doesn't appear to be a way to prevent this compiler from
   11867       # explicitly linking system object files so we need to strip them
   11868       # from the output so that they don't get included in the library
   11869       # dependencies.
   11870       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11871       ;;
   11872     *)
   11873       if test "$GXX" = yes; then
   11874         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11875       else
   11876         # FIXME: insert proper C++ library support
   11877         ld_shlibs_CXX=no
   11878       fi
   11879       ;;
   11880     esac
   11881     ;;
   11882   hpux10*|hpux11*)
   11883     if test $with_gnu_ld = no; then
   11884       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11885       hardcode_libdir_separator_CXX=:
   11886 
   11887       case $host_cpu in
   11888       hppa*64*|ia64*)
   11889 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11890         ;;
   11891       *)
   11892 	export_dynamic_flag_spec_CXX='${wl}-E'
   11893         ;;
   11894       esac
   11895     fi
   11896     case $host_cpu in
   11897     hppa*64*|ia64*)
   11898       hardcode_direct_CXX=no
   11899       hardcode_shlibpath_var_CXX=no
   11900       ;;
   11901     *)
   11902       hardcode_direct_CXX=yes
   11903       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11904 					      # but as the default
   11905 					      # location of the library.
   11906       ;;
   11907     esac
   11908 
   11909     case $cc_basename in
   11910       CC*)
   11911 	# FIXME: insert proper C++ library support
   11912 	ld_shlibs_CXX=no
   11913 	;;
   11914       aCC*)
   11915 	case $host_cpu in
   11916 	hppa*64*)
   11917 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11918 	  ;;
   11919 	ia64*)
   11920 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11921 	  ;;
   11922 	*)
   11923 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11924 	  ;;
   11925 	esac
   11926 	# Commands to make compiler produce verbose output that lists
   11927 	# what "hidden" libraries, object files and flags are used when
   11928 	# linking a shared library.
   11929 	#
   11930 	# There doesn't appear to be a way to prevent this compiler from
   11931 	# explicitly linking system object files so we need to strip them
   11932 	# from the output so that they don't get included in the library
   11933 	# dependencies.
   11934 	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11935 	;;
   11936       *)
   11937 	if test "$GXX" = yes; then
   11938 	  if test $with_gnu_ld = no; then
   11939 	    case $host_cpu in
   11940 	    hppa*64*)
   11941 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11942 	      ;;
   11943 	    ia64*)
   11944 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11945 	      ;;
   11946 	    *)
   11947 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11948 	      ;;
   11949 	    esac
   11950 	  fi
   11951 	else
   11952 	  # FIXME: insert proper C++ library support
   11953 	  ld_shlibs_CXX=no
   11954 	fi
   11955 	;;
   11956     esac
   11957     ;;
   11958   interix3*)
   11959     hardcode_direct_CXX=no
   11960     hardcode_shlibpath_var_CXX=no
   11961     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11962     export_dynamic_flag_spec_CXX='${wl}-E'
   11963     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11964     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11965     # default) and relocated if they conflict, which is a slow very memory
   11966     # consuming and fragmenting process.  To avoid this, we pick a random,
   11967     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11968     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11969     archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11970     archive_expsym_cmds_CXX='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'
   11971     ;;
   11972   irix5* | irix6*)
   11973     case $cc_basename in
   11974       CC*)
   11975 	# SGI C++
   11976 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   11977 
   11978 	# Archives containing C++ object files must be created using
   11979 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11980 	# necessary to make sure instantiated templates are included
   11981 	# in the archive.
   11982 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11983 	;;
   11984       *)
   11985 	if test "$GXX" = yes; then
   11986 	  if test "$with_gnu_ld" = no; then
   11987 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11988 	  else
   11989 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
   11990 	  fi
   11991 	fi
   11992 	link_all_deplibs_CXX=yes
   11993 	;;
   11994     esac
   11995     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11996     hardcode_libdir_separator_CXX=:
   11997     ;;
   11998   linux*)
   11999     case $cc_basename in
   12000       KCC*)
   12001 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12002 
   12003 	# KCC will only create a shared library if the output file
   12004 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12005 	# to its proper name (with version) after linking.
   12006 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12007 	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   12008 	# Commands to make compiler produce verbose output that lists
   12009 	# what "hidden" libraries, object files and flags are used when
   12010 	# linking a shared library.
   12011 	#
   12012 	# There doesn't appear to be a way to prevent this compiler from
   12013 	# explicitly linking system object files so we need to strip them
   12014 	# from the output so that they don't get included in the library
   12015 	# dependencies.
   12016 	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12017 
   12018 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12019 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12020 
   12021 	# Archives containing C++ object files must be created using
   12022 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12023 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12024 	;;
   12025       icpc*)
   12026 	# Intel C++
   12027 	with_gnu_ld=yes
   12028 	# version 8.0 and above of icpc choke on multiply defined symbols
   12029 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12030 	# earlier do not add the objects themselves.
   12031 	case `$CC -V 2>&1` in
   12032 	*"Version 7."*)
   12033   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12034   	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12035 	  ;;
   12036 	*)  # Version 8.0 or newer
   12037 	  tmp_idyn=
   12038 	  case $host_cpu in
   12039 	    ia64*) tmp_idyn=' -i_dynamic';;
   12040 	  esac
   12041   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12042 	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12043 	  ;;
   12044 	esac
   12045 	archive_cmds_need_lc_CXX=no
   12046 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12047 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12048 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12049 	;;
   12050       pgCC*)
   12051         # Portland Group C++ compiler
   12052 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12053   	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12054 
   12055 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12056 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12057 	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12058         ;;
   12059       cxx*)
   12060 	# Compaq C++
   12061 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12062 	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   12063 
   12064 	runpath_var=LD_RUN_PATH
   12065 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12066 	hardcode_libdir_separator_CXX=:
   12067 
   12068 	# Commands to make compiler produce verbose output that lists
   12069 	# what "hidden" libraries, object files and flags are used when
   12070 	# linking a shared library.
   12071 	#
   12072 	# There doesn't appear to be a way to prevent this compiler from
   12073 	# explicitly linking system object files so we need to strip them
   12074 	# from the output so that they don't get included in the library
   12075 	# dependencies.
   12076 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12077 	;;
   12078     esac
   12079     ;;
   12080   lynxos*)
   12081     # FIXME: insert proper C++ library support
   12082     ld_shlibs_CXX=no
   12083     ;;
   12084   m88k*)
   12085     # FIXME: insert proper C++ library support
   12086     ld_shlibs_CXX=no
   12087     ;;
   12088   mvs*)
   12089     case $cc_basename in
   12090       cxx*)
   12091 	# FIXME: insert proper C++ library support
   12092 	ld_shlibs_CXX=no
   12093 	;;
   12094       *)
   12095 	# FIXME: insert proper C++ library support
   12096 	ld_shlibs_CXX=no
   12097 	;;
   12098     esac
   12099     ;;
   12100   netbsd*)
   12101     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12102       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12103       wlarc=
   12104       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12105       hardcode_direct_CXX=yes
   12106       hardcode_shlibpath_var_CXX=no
   12107     fi
   12108     # Workaround some broken pre-1.5 toolchains
   12109     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12110     ;;
   12111   openbsd2*)
   12112     # C++ shared libraries are fairly broken
   12113     ld_shlibs_CXX=no
   12114     ;;
   12115   openbsd*)
   12116     hardcode_direct_CXX=yes
   12117     hardcode_shlibpath_var_CXX=no
   12118     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12119     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12120     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12121       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12122       export_dynamic_flag_spec_CXX='${wl}-E'
   12123       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12124     fi
   12125     output_verbose_link_cmd='echo'
   12126     ;;
   12127   osf3*)
   12128     case $cc_basename in
   12129       KCC*)
   12130 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12131 
   12132 	# KCC will only create a shared library if the output file
   12133 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12134 	# to its proper name (with version) after linking.
   12135 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12136 
   12137 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12138 	hardcode_libdir_separator_CXX=:
   12139 
   12140 	# Archives containing C++ object files must be created using
   12141 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12142 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12143 
   12144 	;;
   12145       RCC*)
   12146 	# Rational C++ 2.4.1
   12147 	# FIXME: insert proper C++ library support
   12148 	ld_shlibs_CXX=no
   12149 	;;
   12150       cxx*)
   12151 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12152 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12153 
   12154 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12155 	hardcode_libdir_separator_CXX=:
   12156 
   12157 	# Commands to make compiler produce verbose output that lists
   12158 	# what "hidden" libraries, object files and flags are used when
   12159 	# linking a shared library.
   12160 	#
   12161 	# There doesn't appear to be a way to prevent this compiler from
   12162 	# explicitly linking system object files so we need to strip them
   12163 	# from the output so that they don't get included in the library
   12164 	# dependencies.
   12165 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12166 	;;
   12167       *)
   12168 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12169 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12170 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12171 
   12172 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12173 	  hardcode_libdir_separator_CXX=:
   12174 
   12175 	  # Commands to make compiler produce verbose output that lists
   12176 	  # what "hidden" libraries, object files and flags are used when
   12177 	  # linking a shared library.
   12178 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12179 
   12180 	else
   12181 	  # FIXME: insert proper C++ library support
   12182 	  ld_shlibs_CXX=no
   12183 	fi
   12184 	;;
   12185     esac
   12186     ;;
   12187   osf4* | osf5*)
   12188     case $cc_basename in
   12189       KCC*)
   12190 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12191 
   12192 	# KCC will only create a shared library if the output file
   12193 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12194 	# to its proper name (with version) after linking.
   12195 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12196 
   12197 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12198 	hardcode_libdir_separator_CXX=:
   12199 
   12200 	# Archives containing C++ object files must be created using
   12201 	# the KAI C++ compiler.
   12202 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12203 	;;
   12204       RCC*)
   12205 	# Rational C++ 2.4.1
   12206 	# FIXME: insert proper C++ library support
   12207 	ld_shlibs_CXX=no
   12208 	;;
   12209       cxx*)
   12210 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12211 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12212 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12213 	  echo "-hidden">> $lib.exp~
   12214 	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
   12215 	  $rm $lib.exp'
   12216 
   12217 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12218 	hardcode_libdir_separator_CXX=:
   12219 
   12220 	# Commands to make compiler produce verbose output that lists
   12221 	# what "hidden" libraries, object files and flags are used when
   12222 	# linking a shared library.
   12223 	#
   12224 	# There doesn't appear to be a way to prevent this compiler from
   12225 	# explicitly linking system object files so we need to strip them
   12226 	# from the output so that they don't get included in the library
   12227 	# dependencies.
   12228 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12229 	;;
   12230       *)
   12231 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12232 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12233 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12234 
   12235 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12236 	  hardcode_libdir_separator_CXX=:
   12237 
   12238 	  # Commands to make compiler produce verbose output that lists
   12239 	  # what "hidden" libraries, object files and flags are used when
   12240 	  # linking a shared library.
   12241 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12242 
   12243 	else
   12244 	  # FIXME: insert proper C++ library support
   12245 	  ld_shlibs_CXX=no
   12246 	fi
   12247 	;;
   12248     esac
   12249     ;;
   12250   psos*)
   12251     # FIXME: insert proper C++ library support
   12252     ld_shlibs_CXX=no
   12253     ;;
   12254   sunos4*)
   12255     case $cc_basename in
   12256       CC*)
   12257 	# Sun C++ 4.x
   12258 	# FIXME: insert proper C++ library support
   12259 	ld_shlibs_CXX=no
   12260 	;;
   12261       lcc*)
   12262 	# Lucid
   12263 	# FIXME: insert proper C++ library support
   12264 	ld_shlibs_CXX=no
   12265 	;;
   12266       *)
   12267 	# FIXME: insert proper C++ library support
   12268 	ld_shlibs_CXX=no
   12269 	;;
   12270     esac
   12271     ;;
   12272   solaris*)
   12273     case $cc_basename in
   12274       CC*)
   12275 	# Sun C++ 4.2, 5.x and Centerline C++
   12276         archive_cmds_need_lc_CXX=yes
   12277 	no_undefined_flag_CXX=' -zdefs'
   12278 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12279 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12280 	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12281 
   12282 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12283 	hardcode_shlibpath_var_CXX=no
   12284 	case $host_os in
   12285 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12286 	  *)
   12287 	    # The C++ compiler is used as linker so we must use $wl
   12288 	    # flag to pass the commands to the underlying system
   12289 	    # linker. We must also pass each convience library through
   12290 	    # to the system linker between allextract/defaultextract.
   12291 	    # The C++ compiler will combine linker options so we
   12292 	    # cannot just pass the convience library names through
   12293 	    # without $wl.
   12294 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12295 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
   12296 	    ;;
   12297 	esac
   12298 	link_all_deplibs_CXX=yes
   12299 
   12300 	output_verbose_link_cmd='echo'
   12301 
   12302 	# Archives containing C++ object files must be created using
   12303 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12304 	# necessary to make sure instantiated templates are included
   12305 	# in the archive.
   12306 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12307 	;;
   12308       gcx*)
   12309 	# Green Hills C++ Compiler
   12310 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12311 
   12312 	# The C++ compiler must be used to create the archive.
   12313 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12314 	;;
   12315       *)
   12316 	# GNU C++ compiler with Solaris linker
   12317 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12318 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12319 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12320 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12321 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12322 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12323 
   12324 	    # Commands to make compiler produce verbose output that lists
   12325 	    # what "hidden" libraries, object files and flags are used when
   12326 	    # linking a shared library.
   12327 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12328 	  else
   12329 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12330 	    # platform.
   12331 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12332 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12333 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12334 
   12335 	    # Commands to make compiler produce verbose output that lists
   12336 	    # what "hidden" libraries, object files and flags are used when
   12337 	    # linking a shared library.
   12338 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12339 	  fi
   12340 
   12341 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12342 	fi
   12343 	;;
   12344     esac
   12345     ;;
   12346   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12347     no_undefined_flag_CXX='${wl}-z,text'
   12348     archive_cmds_need_lc_CXX=no
   12349     hardcode_shlibpath_var_CXX=no
   12350     runpath_var='LD_RUN_PATH'
   12351 
   12352     case $cc_basename in
   12353       CC*)
   12354 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12355 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12356 	;;
   12357       *)
   12358 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12359 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12360 	;;
   12361     esac
   12362     ;;
   12363   sysv5* | sco3.2v5* | sco5v6*)
   12364     # Note: We can NOT use -z defs as we might desire, because we do not
   12365     # link with -lc, and that would cause any symbols used from libc to
   12366     # always be unresolved, which means just about no library would
   12367     # ever link correctly.  If we're not using GNU ld we use -z text
   12368     # though, which does catch some bad symbols but isn't as heavy-handed
   12369     # as -z defs.
   12370     # For security reasons, it is highly recommended that you always
   12371     # use absolute paths for naming shared libraries, and exclude the
   12372     # DT_RUNPATH tag from executables and libraries.  But doing so
   12373     # requires that you compile everything twice, which is a pain.
   12374     # So that behaviour is only enabled if SCOABSPATH is set to a
   12375     # non-empty value in the environment.  Most likely only useful for
   12376     # creating official distributions of packages.
   12377     # This is a hack until libtool officially supports absolute path
   12378     # names for shared libraries.
   12379     no_undefined_flag_CXX='${wl}-z,text'
   12380     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12381     archive_cmds_need_lc_CXX=no
   12382     hardcode_shlibpath_var_CXX=no
   12383     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12384     hardcode_libdir_separator_CXX=':'
   12385     link_all_deplibs_CXX=yes
   12386     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12387     runpath_var='LD_RUN_PATH'
   12388 
   12389     case $cc_basename in
   12390       CC*)
   12391 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12392 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12393 	;;
   12394       *)
   12395 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12396 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12397 	;;
   12398     esac
   12399     ;;
   12400   tandem*)
   12401     case $cc_basename in
   12402       NCC*)
   12403 	# NonStop-UX NCC 3.20
   12404 	# FIXME: insert proper C++ library support
   12405 	ld_shlibs_CXX=no
   12406 	;;
   12407       *)
   12408 	# FIXME: insert proper C++ library support
   12409 	ld_shlibs_CXX=no
   12410 	;;
   12411     esac
   12412     ;;
   12413   vxworks*)
   12414     # FIXME: insert proper C++ library support
   12415     ld_shlibs_CXX=no
   12416     ;;
   12417   *)
   12418     # FIXME: insert proper C++ library support
   12419     ld_shlibs_CXX=no
   12420     ;;
   12421 esac
   12422 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12423 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12424 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12425 
   12426 GCC_CXX="$GXX"
   12427 LD_CXX="$LD"
   12428 
   12429 
   12430 cat > conftest.$ac_ext <<EOF
   12431 class Foo
   12432 {
   12433 public:
   12434   Foo (void) { a = 0; }
   12435 private:
   12436   int a;
   12437 };
   12438 EOF
   12439 
   12440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12441   (eval $ac_compile) 2>&5
   12442   ac_status=$?
   12443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12444   (exit $ac_status); }; then
   12445   # Parse the compiler output and extract the necessary
   12446   # objects, libraries and library flags.
   12447 
   12448   # Sentinel used to keep track of whether or not we are before
   12449   # the conftest object file.
   12450   pre_test_object_deps_done=no
   12451 
   12452   # The `*' in the case matches for architectures that use `case' in
   12453   # $output_verbose_cmd can trigger glob expansion during the loop
   12454   # eval without this substitution.
   12455   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12456 
   12457   for p in `eval $output_verbose_link_cmd`; do
   12458     case $p in
   12459 
   12460     -L* | -R* | -l*)
   12461        # Some compilers place space between "-{L,R}" and the path.
   12462        # Remove the space.
   12463        if test $p = "-L" \
   12464 	  || test $p = "-R"; then
   12465 	 prev=$p
   12466 	 continue
   12467        else
   12468 	 prev=
   12469        fi
   12470 
   12471        if test "$pre_test_object_deps_done" = no; then
   12472 	 case $p in
   12473 	 -L* | -R*)
   12474 	   # Internal compiler library paths should come after those
   12475 	   # provided the user.  The postdeps already come after the
   12476 	   # user supplied libs so there is no need to process them.
   12477 	   if test -z "$compiler_lib_search_path_CXX"; then
   12478 	     compiler_lib_search_path_CXX="${prev}${p}"
   12479 	   else
   12480 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12481 	   fi
   12482 	   ;;
   12483 	 # The "-l" case would never come before the object being
   12484 	 # linked, so don't bother handling this case.
   12485 	 esac
   12486        else
   12487 	 if test -z "$postdeps_CXX"; then
   12488 	   postdeps_CXX="${prev}${p}"
   12489 	 else
   12490 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12491 	 fi
   12492        fi
   12493        ;;
   12494 
   12495     *.$objext)
   12496        # This assumes that the test object file only shows up
   12497        # once in the compiler output.
   12498        if test "$p" = "conftest.$objext"; then
   12499 	 pre_test_object_deps_done=yes
   12500 	 continue
   12501        fi
   12502 
   12503        if test "$pre_test_object_deps_done" = no; then
   12504 	 if test -z "$predep_objects_CXX"; then
   12505 	   predep_objects_CXX="$p"
   12506 	 else
   12507 	   predep_objects_CXX="$predep_objects_CXX $p"
   12508 	 fi
   12509        else
   12510 	 if test -z "$postdep_objects_CXX"; then
   12511 	   postdep_objects_CXX="$p"
   12512 	 else
   12513 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12514 	 fi
   12515        fi
   12516        ;;
   12517 
   12518     *) ;; # Ignore the rest.
   12519 
   12520     esac
   12521   done
   12522 
   12523   # Clean up.
   12524   rm -f a.out a.exe
   12525 else
   12526   echo "libtool.m4: error: problem compiling CXX test program"
   12527 fi
   12528 
   12529 $rm -f confest.$objext
   12530 
   12531 # PORTME: override above test on systems where it is broken
   12532 case $host_os in
   12533 interix3*)
   12534   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12535   # hack all around it, let's just trust "g++" to DTRT.
   12536   predep_objects_CXX=
   12537   postdep_objects_CXX=
   12538   postdeps_CXX=
   12539   ;;
   12540 
   12541 solaris*)
   12542   case $cc_basename in
   12543   CC*)
   12544     # Adding this requires a known-good setup of shared libraries for
   12545     # Sun compiler versions before 5.6, else PIC objects from an old
   12546     # archive will be linked into the output, leading to subtle bugs.
   12547     postdeps_CXX='-lCstd -lCrun'
   12548     ;;
   12549   esac
   12550   ;;
   12551 esac
   12552 
   12553 
   12554 case " $postdeps_CXX " in
   12555 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12556 esac
   12557 
   12558 lt_prog_compiler_wl_CXX=
   12559 lt_prog_compiler_pic_CXX=
   12560 lt_prog_compiler_static_CXX=
   12561 
   12562 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12563 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12564 
   12565   # C++ specific cases for pic, static, wl, etc.
   12566   if test "$GXX" = yes; then
   12567     lt_prog_compiler_wl_CXX='-Wl,'
   12568     lt_prog_compiler_static_CXX='-static'
   12569 
   12570     case $host_os in
   12571     aix*)
   12572       # All AIX code is PIC.
   12573       if test "$host_cpu" = ia64; then
   12574 	# AIX 5 now supports IA64 processor
   12575 	lt_prog_compiler_static_CXX='-Bstatic'
   12576       fi
   12577       ;;
   12578     amigaos*)
   12579       # FIXME: we need at least 68020 code to build shared libraries, but
   12580       # adding the `-m68020' flag to GCC prevents building anything better,
   12581       # like `-m68040'.
   12582       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12583       ;;
   12584     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12585       # PIC is the default for these OSes.
   12586       ;;
   12587     mingw* | os2* | pw32*)
   12588       # This hack is so that the source file can tell whether it is being
   12589       # built for inclusion in a dll (and should export symbols for example).
   12590       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12591       ;;
   12592     darwin* | rhapsody*)
   12593       # PIC is the default on this platform
   12594       # Common symbols not allowed in MH_DYLIB files
   12595       lt_prog_compiler_pic_CXX='-fno-common'
   12596       ;;
   12597     *djgpp*)
   12598       # DJGPP does not support shared libraries at all
   12599       lt_prog_compiler_pic_CXX=
   12600       ;;
   12601     interix3*)
   12602       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12603       # Instead, we relocate shared libraries at runtime.
   12604       ;;
   12605     sysv4*MP*)
   12606       if test -d /usr/nec; then
   12607 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12608       fi
   12609       ;;
   12610     hpux*)
   12611       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12612       # not for PA HP-UX.
   12613       case $host_cpu in
   12614       hppa*64*|ia64*)
   12615 	;;
   12616       *)
   12617 	lt_prog_compiler_pic_CXX='-fPIC'
   12618 	;;
   12619       esac
   12620       ;;
   12621     *)
   12622       lt_prog_compiler_pic_CXX='-fPIC'
   12623       ;;
   12624     esac
   12625   else
   12626     case $host_os in
   12627       aix4* | aix5*)
   12628 	# All AIX code is PIC.
   12629 	if test "$host_cpu" = ia64; then
   12630 	  # AIX 5 now supports IA64 processor
   12631 	  lt_prog_compiler_static_CXX='-Bstatic'
   12632 	else
   12633 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12634 	fi
   12635 	;;
   12636       chorus*)
   12637 	case $cc_basename in
   12638 	cxch68*)
   12639 	  # Green Hills C++ Compiler
   12640 	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   12641 	  ;;
   12642 	esac
   12643 	;;
   12644        darwin*)
   12645          # PIC is the default on this platform
   12646          # Common symbols not allowed in MH_DYLIB files
   12647          case $cc_basename in
   12648            xlc*)
   12649            lt_prog_compiler_pic_CXX='-qnocommon'
   12650            lt_prog_compiler_wl_CXX='-Wl,'
   12651            ;;
   12652          esac
   12653        ;;
   12654       dgux*)
   12655 	case $cc_basename in
   12656 	  ec++*)
   12657 	    lt_prog_compiler_pic_CXX='-KPIC'
   12658 	    ;;
   12659 	  ghcx*)
   12660 	    # Green Hills C++ Compiler
   12661 	    lt_prog_compiler_pic_CXX='-pic'
   12662 	    ;;
   12663 	  *)
   12664 	    ;;
   12665 	esac
   12666 	;;
   12667       freebsd* | kfreebsd*-gnu | dragonfly*)
   12668 	# FreeBSD uses GNU C++
   12669 	;;
   12670       hpux9* | hpux10* | hpux11*)
   12671 	case $cc_basename in
   12672 	  CC*)
   12673 	    lt_prog_compiler_wl_CXX='-Wl,'
   12674 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12675 	    if test "$host_cpu" != ia64; then
   12676 	      lt_prog_compiler_pic_CXX='+Z'
   12677 	    fi
   12678 	    ;;
   12679 	  aCC*)
   12680 	    lt_prog_compiler_wl_CXX='-Wl,'
   12681 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12682 	    case $host_cpu in
   12683 	    hppa*64*|ia64*)
   12684 	      # +Z the default
   12685 	      ;;
   12686 	    *)
   12687 	      lt_prog_compiler_pic_CXX='+Z'
   12688 	      ;;
   12689 	    esac
   12690 	    ;;
   12691 	  *)
   12692 	    ;;
   12693 	esac
   12694 	;;
   12695       interix*)
   12696 	# This is c89, which is MS Visual C++ (no shared libs)
   12697 	# Anyone wants to do a port?
   12698 	;;
   12699       irix5* | irix6* | nonstopux*)
   12700 	case $cc_basename in
   12701 	  CC*)
   12702 	    lt_prog_compiler_wl_CXX='-Wl,'
   12703 	    lt_prog_compiler_static_CXX='-non_shared'
   12704 	    # CC pic flag -KPIC is the default.
   12705 	    ;;
   12706 	  *)
   12707 	    ;;
   12708 	esac
   12709 	;;
   12710       linux*)
   12711 	case $cc_basename in
   12712 	  KCC*)
   12713 	    # KAI C++ Compiler
   12714 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12715 	    lt_prog_compiler_pic_CXX='-fPIC'
   12716 	    ;;
   12717 	  icpc* | ecpc*)
   12718 	    # Intel C++
   12719 	    lt_prog_compiler_wl_CXX='-Wl,'
   12720 	    lt_prog_compiler_pic_CXX='-KPIC'
   12721 	    lt_prog_compiler_static_CXX='-static'
   12722 	    ;;
   12723 	  pgCC*)
   12724 	    # Portland Group C++ compiler.
   12725 	    lt_prog_compiler_wl_CXX='-Wl,'
   12726 	    lt_prog_compiler_pic_CXX='-fpic'
   12727 	    lt_prog_compiler_static_CXX='-Bstatic'
   12728 	    ;;
   12729 	  cxx*)
   12730 	    # Compaq C++
   12731 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12732 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12733 	    lt_prog_compiler_pic_CXX=
   12734 	    lt_prog_compiler_static_CXX='-non_shared'
   12735 	    ;;
   12736 	  *)
   12737 	    ;;
   12738 	esac
   12739 	;;
   12740       lynxos*)
   12741 	;;
   12742       m88k*)
   12743 	;;
   12744       mvs*)
   12745 	case $cc_basename in
   12746 	  cxx*)
   12747 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12748 	    ;;
   12749 	  *)
   12750 	    ;;
   12751 	esac
   12752 	;;
   12753       netbsd*)
   12754 	;;
   12755       osf3* | osf4* | osf5*)
   12756 	case $cc_basename in
   12757 	  KCC*)
   12758 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12759 	    ;;
   12760 	  RCC*)
   12761 	    # Rational C++ 2.4.1
   12762 	    lt_prog_compiler_pic_CXX='-pic'
   12763 	    ;;
   12764 	  cxx*)
   12765 	    # Digital/Compaq C++
   12766 	    lt_prog_compiler_wl_CXX='-Wl,'
   12767 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12768 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12769 	    lt_prog_compiler_pic_CXX=
   12770 	    lt_prog_compiler_static_CXX='-non_shared'
   12771 	    ;;
   12772 	  *)
   12773 	    ;;
   12774 	esac
   12775 	;;
   12776       psos*)
   12777 	;;
   12778       solaris*)
   12779 	case $cc_basename in
   12780 	  CC*)
   12781 	    # Sun C++ 4.2, 5.x and Centerline C++
   12782 	    lt_prog_compiler_pic_CXX='-KPIC'
   12783 	    lt_prog_compiler_static_CXX='-Bstatic'
   12784 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12785 	    ;;
   12786 	  gcx*)
   12787 	    # Green Hills C++ Compiler
   12788 	    lt_prog_compiler_pic_CXX='-PIC'
   12789 	    ;;
   12790 	  *)
   12791 	    ;;
   12792 	esac
   12793 	;;
   12794       sunos4*)
   12795 	case $cc_basename in
   12796 	  CC*)
   12797 	    # Sun C++ 4.x
   12798 	    lt_prog_compiler_pic_CXX='-pic'
   12799 	    lt_prog_compiler_static_CXX='-Bstatic'
   12800 	    ;;
   12801 	  lcc*)
   12802 	    # Lucid
   12803 	    lt_prog_compiler_pic_CXX='-pic'
   12804 	    ;;
   12805 	  *)
   12806 	    ;;
   12807 	esac
   12808 	;;
   12809       tandem*)
   12810 	case $cc_basename in
   12811 	  NCC*)
   12812 	    # NonStop-UX NCC 3.20
   12813 	    lt_prog_compiler_pic_CXX='-KPIC'
   12814 	    ;;
   12815 	  *)
   12816 	    ;;
   12817 	esac
   12818 	;;
   12819       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12820 	case $cc_basename in
   12821 	  CC*)
   12822 	    lt_prog_compiler_wl_CXX='-Wl,'
   12823 	    lt_prog_compiler_pic_CXX='-KPIC'
   12824 	    lt_prog_compiler_static_CXX='-Bstatic'
   12825 	    ;;
   12826 	esac
   12827 	;;
   12828       vxworks*)
   12829 	;;
   12830       *)
   12831 	lt_prog_compiler_can_build_shared_CXX=no
   12832 	;;
   12833     esac
   12834   fi
   12835 
   12836 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12837 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12838 
   12839 #
   12840 # Check to make sure the PIC flag actually works.
   12841 #
   12842 if test -n "$lt_prog_compiler_pic_CXX"; then
   12843 
   12844 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12845 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12846 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12847   echo $ECHO_N "(cached) $ECHO_C" >&6
   12848 else
   12849   lt_prog_compiler_pic_works_CXX=no
   12850   ac_outfile=conftest.$ac_objext
   12851    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12852    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12853    # Insert the option either (1) after the last *FLAGS variable, or
   12854    # (2) before a word containing "conftest.", or (3) at the end.
   12855    # Note that $ac_compile itself does not contain backslashes and begins
   12856    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12857    # The option is referenced via a variable to avoid confusing sed.
   12858    lt_compile=`echo "$ac_compile" | $SED \
   12859    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12860    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12861    -e 's:$: $lt_compiler_flag:'`
   12862    (eval echo "\"\$as_me:12862: $lt_compile\"" >&5)
   12863    (eval "$lt_compile" 2>conftest.err)
   12864    ac_status=$?
   12865    cat conftest.err >&5
   12866    echo "$as_me:12866: \$? = $ac_status" >&5
   12867    if (exit $ac_status) && test -s "$ac_outfile"; then
   12868      # The compiler can only warn and ignore the option if not recognized
   12869      # So say no if there are warnings other than the usual output.
   12870      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12871      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12872      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12873        lt_prog_compiler_pic_works_CXX=yes
   12874      fi
   12875    fi
   12876    $rm conftest*
   12877 
   12878 fi
   12879 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12880 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12881 
   12882 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12883     case $lt_prog_compiler_pic_CXX in
   12884      "" | " "*) ;;
   12885      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12886      esac
   12887 else
   12888     lt_prog_compiler_pic_CXX=
   12889      lt_prog_compiler_can_build_shared_CXX=no
   12890 fi
   12891 
   12892 fi
   12893 case $host_os in
   12894   # For platforms which do not support PIC, -DPIC is meaningless:
   12895   *djgpp*)
   12896     lt_prog_compiler_pic_CXX=
   12897     ;;
   12898   *)
   12899     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12900     ;;
   12901 esac
   12902 
   12903 #
   12904 # Check to make sure the static flag actually works.
   12905 #
   12906 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12907 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12908 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12909 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12910   echo $ECHO_N "(cached) $ECHO_C" >&6
   12911 else
   12912   lt_prog_compiler_static_works_CXX=no
   12913    save_LDFLAGS="$LDFLAGS"
   12914    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12915    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12916    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12917      # The linker can only warn and ignore the option if not recognized
   12918      # So say no if there are warnings
   12919      if test -s conftest.err; then
   12920        # Append any errors to the config.log.
   12921        cat conftest.err 1>&5
   12922        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12923        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12924        if diff conftest.exp conftest.er2 >/dev/null; then
   12925          lt_prog_compiler_static_works_CXX=yes
   12926        fi
   12927      else
   12928        lt_prog_compiler_static_works_CXX=yes
   12929      fi
   12930    fi
   12931    $rm conftest*
   12932    LDFLAGS="$save_LDFLAGS"
   12933 
   12934 fi
   12935 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12936 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12937 
   12938 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12939     :
   12940 else
   12941     lt_prog_compiler_static_CXX=
   12942 fi
   12943 
   12944 
   12945 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12946 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12947 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12948   echo $ECHO_N "(cached) $ECHO_C" >&6
   12949 else
   12950   lt_cv_prog_compiler_c_o_CXX=no
   12951    $rm -r conftest 2>/dev/null
   12952    mkdir conftest
   12953    cd conftest
   12954    mkdir out
   12955    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12956 
   12957    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12958    # Insert the option either (1) after the last *FLAGS variable, or
   12959    # (2) before a word containing "conftest.", or (3) at the end.
   12960    # Note that $ac_compile itself does not contain backslashes and begins
   12961    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12962    lt_compile=`echo "$ac_compile" | $SED \
   12963    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12964    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12965    -e 's:$: $lt_compiler_flag:'`
   12966    (eval echo "\"\$as_me:12966: $lt_compile\"" >&5)
   12967    (eval "$lt_compile" 2>out/conftest.err)
   12968    ac_status=$?
   12969    cat out/conftest.err >&5
   12970    echo "$as_me:12970: \$? = $ac_status" >&5
   12971    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12972    then
   12973      # The compiler can only warn and ignore the option if not recognized
   12974      # So say no if there are warnings
   12975      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12976      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12977      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12978        lt_cv_prog_compiler_c_o_CXX=yes
   12979      fi
   12980    fi
   12981    chmod u+w . 2>&5
   12982    $rm conftest*
   12983    # SGI C++ compiler will create directory out/ii_files/ for
   12984    # template instantiation
   12985    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12986    $rm out/* && rmdir out
   12987    cd ..
   12988    rmdir conftest
   12989    $rm conftest*
   12990 
   12991 fi
   12992 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12993 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12994 
   12995 
   12996 hard_links="nottested"
   12997 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12998   # do not overwrite the value of need_locks provided by the user
   12999   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13000 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   13001   hard_links=yes
   13002   $rm conftest*
   13003   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13004   touch conftest.a
   13005   ln conftest.a conftest.b 2>&5 || hard_links=no
   13006   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13007   { echo "$as_me:$LINENO: result: $hard_links" >&5
   13008 echo "${ECHO_T}$hard_links" >&6; }
   13009   if test "$hard_links" = no; then
   13010     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13011 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13012     need_locks=warn
   13013   fi
   13014 else
   13015   need_locks=no
   13016 fi
   13017 
   13018 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13019 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   13020 
   13021   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13022   case $host_os in
   13023   aix4* | aix5*)
   13024     # If we're using GNU nm, then we don't want the "-C" option.
   13025     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13026     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13027       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13028     else
   13029       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13030     fi
   13031     ;;
   13032   pw32*)
   13033     export_symbols_cmds_CXX="$ltdll_cmds"
   13034   ;;
   13035   cygwin* | mingw*)
   13036     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   13037   ;;
   13038   *)
   13039     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13040   ;;
   13041   esac
   13042 
   13043 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13044 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   13045 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13046 
   13047 #
   13048 # Do we need to explicitly link libc?
   13049 #
   13050 case "x$archive_cmds_need_lc_CXX" in
   13051 x|xyes)
   13052   # Assume -lc should be added
   13053   archive_cmds_need_lc_CXX=yes
   13054 
   13055   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13056     case $archive_cmds_CXX in
   13057     *'~'*)
   13058       # FIXME: we may have to deal with multi-command sequences.
   13059       ;;
   13060     '$CC '*)
   13061       # Test whether the compiler implicitly links with -lc since on some
   13062       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13063       # to ld, don't add -lc before -lgcc.
   13064       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13065 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   13066       $rm conftest*
   13067       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13068 
   13069       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13070   (eval $ac_compile) 2>&5
   13071   ac_status=$?
   13072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13073   (exit $ac_status); } 2>conftest.err; then
   13074         soname=conftest
   13075         lib=conftest
   13076         libobjs=conftest.$ac_objext
   13077         deplibs=
   13078         wl=$lt_prog_compiler_wl_CXX
   13079 	pic_flag=$lt_prog_compiler_pic_CXX
   13080         compiler_flags=-v
   13081         linker_flags=-v
   13082         verstring=
   13083         output_objdir=.
   13084         libname=conftest
   13085         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13086         allow_undefined_flag_CXX=
   13087         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13088   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13089   ac_status=$?
   13090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13091   (exit $ac_status); }
   13092         then
   13093 	  archive_cmds_need_lc_CXX=no
   13094         else
   13095 	  archive_cmds_need_lc_CXX=yes
   13096         fi
   13097         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13098       else
   13099         cat conftest.err 1>&5
   13100       fi
   13101       $rm conftest*
   13102       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13103 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   13104       ;;
   13105     esac
   13106   fi
   13107   ;;
   13108 esac
   13109 
   13110 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13111 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   13112 library_names_spec=
   13113 libname_spec='lib$name'
   13114 soname_spec=
   13115 shrext_cmds=".so"
   13116 postinstall_cmds=
   13117 postuninstall_cmds=
   13118 finish_cmds=
   13119 finish_eval=
   13120 shlibpath_var=
   13121 shlibpath_overrides_runpath=unknown
   13122 version_type=none
   13123 dynamic_linker="$host_os ld.so"
   13124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13125 if test "$GCC" = yes; then
   13126   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13127   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   13128     # if the path contains ";" then we assume it to be the separator
   13129     # otherwise default to the standard path separator (i.e. ":") - it is
   13130     # assumed that no part of a normal pathname contains ";" but that should
   13131     # okay in the real world where ";" in dirpaths is itself problematic.
   13132     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13133   else
   13134     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13135   fi
   13136 else
   13137   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13138 fi
   13139 need_lib_prefix=unknown
   13140 hardcode_into_libs=no
   13141 
   13142 # when you set need_version to no, make sure it does not cause -set_version
   13143 # flags to be left without arguments
   13144 need_version=unknown
   13145 
   13146 case $host_os in
   13147 aix3*)
   13148   version_type=linux
   13149   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13150   shlibpath_var=LIBPATH
   13151 
   13152   # AIX 3 has no versioning support, so we append a major version to the name.
   13153   soname_spec='${libname}${release}${shared_ext}$major'
   13154   ;;
   13155 
   13156 aix4* | aix5*)
   13157   version_type=linux
   13158   need_lib_prefix=no
   13159   need_version=no
   13160   hardcode_into_libs=yes
   13161   if test "$host_cpu" = ia64; then
   13162     # AIX 5 supports IA64
   13163     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13164     shlibpath_var=LD_LIBRARY_PATH
   13165   else
   13166     # With GCC up to 2.95.x, collect2 would create an import file
   13167     # for dependence libraries.  The import file would start with
   13168     # the line `#! .'.  This would cause the generated library to
   13169     # depend on `.', always an invalid library.  This was fixed in
   13170     # development snapshots of GCC prior to 3.0.
   13171     case $host_os in
   13172       aix4 | aix4.[01] | aix4.[01].*)
   13173       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13174 	   echo ' yes '
   13175 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13176 	:
   13177       else
   13178 	can_build_shared=no
   13179       fi
   13180       ;;
   13181     esac
   13182     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13183     # soname into executable. Probably we can add versioning support to
   13184     # collect2, so additional links can be useful in future.
   13185     if test "$aix_use_runtimelinking" = yes; then
   13186       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13187       # instead of lib<name>.a to let people know that these are not
   13188       # typical AIX shared libraries.
   13189       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13190     else
   13191       # We preserve .a as extension for shared libraries through AIX4.2
   13192       # and later when we are not doing run time linking.
   13193       library_names_spec='${libname}${release}.a $libname.a'
   13194       soname_spec='${libname}${release}${shared_ext}$major'
   13195     fi
   13196     shlibpath_var=LIBPATH
   13197   fi
   13198   ;;
   13199 
   13200 amigaos*)
   13201   library_names_spec='$libname.ixlibrary $libname.a'
   13202   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13203   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'
   13204   ;;
   13205 
   13206 beos*)
   13207   library_names_spec='${libname}${shared_ext}'
   13208   dynamic_linker="$host_os ld.so"
   13209   shlibpath_var=LIBRARY_PATH
   13210   ;;
   13211 
   13212 bsdi[45]*)
   13213   version_type=linux
   13214   need_version=no
   13215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13216   soname_spec='${libname}${release}${shared_ext}$major'
   13217   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13218   shlibpath_var=LD_LIBRARY_PATH
   13219   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13220   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13221   # the default ld.so.conf also contains /usr/contrib/lib and
   13222   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13223   # libtool to hard-code these into programs
   13224   ;;
   13225 
   13226 cygwin* | mingw* | pw32*)
   13227   version_type=windows
   13228   shrext_cmds=".dll"
   13229   need_version=no
   13230   need_lib_prefix=no
   13231 
   13232   case $GCC,$host_os in
   13233   yes,cygwin* | yes,mingw* | yes,pw32*)
   13234     library_names_spec='$libname.dll.a'
   13235     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13236     postinstall_cmds='base_file=`basename \${file}`~
   13237       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13238       dldir=$destdir/`dirname \$dlpath`~
   13239       test -d \$dldir || mkdir -p \$dldir~
   13240       $install_prog $dir/$dlname \$dldir/$dlname~
   13241       chmod a+x \$dldir/$dlname'
   13242     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13243       dlpath=$dir/\$dldll~
   13244        $rm \$dlpath'
   13245     shlibpath_overrides_runpath=yes
   13246 
   13247     case $host_os in
   13248     cygwin*)
   13249       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13250       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13251       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13252       ;;
   13253     mingw*)
   13254       # MinGW DLLs use traditional 'lib' prefix
   13255       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13256       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13257       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13258         # It is most probably a Windows format PATH printed by
   13259         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13260         # path with ; separators, and with drive letters. We can handle the
   13261         # drive letters (cygwin fileutils understands them), so leave them,
   13262         # especially as we might pass files found there to a mingw objdump,
   13263         # which wouldn't understand a cygwinified path. Ahh.
   13264         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13265       else
   13266         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13267       fi
   13268       ;;
   13269     pw32*)
   13270       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13271       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13272       ;;
   13273     esac
   13274     ;;
   13275 
   13276   *)
   13277     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13278     ;;
   13279   esac
   13280   dynamic_linker='Win32 ld.exe'
   13281   # FIXME: first we should search . and the directory the executable is in
   13282   shlibpath_var=PATH
   13283   ;;
   13284 
   13285 darwin* | rhapsody*)
   13286   dynamic_linker="$host_os dyld"
   13287   version_type=darwin
   13288   need_lib_prefix=no
   13289   need_version=no
   13290   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13291   soname_spec='${libname}${release}${major}$shared_ext'
   13292   shlibpath_overrides_runpath=yes
   13293   shlibpath_var=DYLD_LIBRARY_PATH
   13294   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13295   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   13296   if test "$GCC" = yes; then
   13297     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   13298   else
   13299     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   13300   fi
   13301   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13302   ;;
   13303 
   13304 dgux*)
   13305   version_type=linux
   13306   need_lib_prefix=no
   13307   need_version=no
   13308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13309   soname_spec='${libname}${release}${shared_ext}$major'
   13310   shlibpath_var=LD_LIBRARY_PATH
   13311   ;;
   13312 
   13313 freebsd1*)
   13314   dynamic_linker=no
   13315   ;;
   13316 
   13317 kfreebsd*-gnu)
   13318   version_type=linux
   13319   need_lib_prefix=no
   13320   need_version=no
   13321   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13322   soname_spec='${libname}${release}${shared_ext}$major'
   13323   shlibpath_var=LD_LIBRARY_PATH
   13324   shlibpath_overrides_runpath=no
   13325   hardcode_into_libs=yes
   13326   dynamic_linker='GNU ld.so'
   13327   ;;
   13328 
   13329 freebsd* | dragonfly*)
   13330   # DragonFly does not have aout.  When/if they implement a new
   13331   # versioning mechanism, adjust this.
   13332   if test -x /usr/bin/objformat; then
   13333     objformat=`/usr/bin/objformat`
   13334   else
   13335     case $host_os in
   13336     freebsd[123]*) objformat=aout ;;
   13337     *) objformat=elf ;;
   13338     esac
   13339   fi
   13340   version_type=freebsd-$objformat
   13341   case $version_type in
   13342     freebsd-elf*)
   13343       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13344       need_version=no
   13345       need_lib_prefix=no
   13346       ;;
   13347     freebsd-*)
   13348       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13349       need_version=yes
   13350       ;;
   13351   esac
   13352   shlibpath_var=LD_LIBRARY_PATH
   13353   case $host_os in
   13354   freebsd2*)
   13355     shlibpath_overrides_runpath=yes
   13356     ;;
   13357   freebsd3.[01]* | freebsdelf3.[01]*)
   13358     shlibpath_overrides_runpath=yes
   13359     hardcode_into_libs=yes
   13360     ;;
   13361   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13362   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13363     shlibpath_overrides_runpath=no
   13364     hardcode_into_libs=yes
   13365     ;;
   13366   freebsd*) # from 4.6 on
   13367     shlibpath_overrides_runpath=yes
   13368     hardcode_into_libs=yes
   13369     ;;
   13370   esac
   13371   ;;
   13372 
   13373 gnu*)
   13374   version_type=linux
   13375   need_lib_prefix=no
   13376   need_version=no
   13377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13378   soname_spec='${libname}${release}${shared_ext}$major'
   13379   shlibpath_var=LD_LIBRARY_PATH
   13380   hardcode_into_libs=yes
   13381   ;;
   13382 
   13383 hpux9* | hpux10* | hpux11*)
   13384   # Give a soname corresponding to the major version so that dld.sl refuses to
   13385   # link against other versions.
   13386   version_type=sunos
   13387   need_lib_prefix=no
   13388   need_version=no
   13389   case $host_cpu in
   13390   ia64*)
   13391     shrext_cmds='.so'
   13392     hardcode_into_libs=yes
   13393     dynamic_linker="$host_os dld.so"
   13394     shlibpath_var=LD_LIBRARY_PATH
   13395     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13396     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13397     soname_spec='${libname}${release}${shared_ext}$major'
   13398     if test "X$HPUX_IA64_MODE" = X32; then
   13399       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13400     else
   13401       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13402     fi
   13403     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13404     ;;
   13405    hppa*64*)
   13406      shrext_cmds='.sl'
   13407      hardcode_into_libs=yes
   13408      dynamic_linker="$host_os dld.sl"
   13409      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13410      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13411      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13412      soname_spec='${libname}${release}${shared_ext}$major'
   13413      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13414      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13415      ;;
   13416    *)
   13417     shrext_cmds='.sl'
   13418     dynamic_linker="$host_os dld.sl"
   13419     shlibpath_var=SHLIB_PATH
   13420     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13421     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13422     soname_spec='${libname}${release}${shared_ext}$major'
   13423     ;;
   13424   esac
   13425   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13426   postinstall_cmds='chmod 555 $lib'
   13427   ;;
   13428 
   13429 interix3*)
   13430   version_type=linux
   13431   need_lib_prefix=no
   13432   need_version=no
   13433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13434   soname_spec='${libname}${release}${shared_ext}$major'
   13435   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13436   shlibpath_var=LD_LIBRARY_PATH
   13437   shlibpath_overrides_runpath=no
   13438   hardcode_into_libs=yes
   13439   ;;
   13440 
   13441 irix5* | irix6* | nonstopux*)
   13442   case $host_os in
   13443     nonstopux*) version_type=nonstopux ;;
   13444     *)
   13445 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13446 		version_type=linux
   13447 	else
   13448 		version_type=irix
   13449 	fi ;;
   13450   esac
   13451   need_lib_prefix=no
   13452   need_version=no
   13453   soname_spec='${libname}${release}${shared_ext}$major'
   13454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13455   case $host_os in
   13456   irix5* | nonstopux*)
   13457     libsuff= shlibsuff=
   13458     ;;
   13459   *)
   13460     case $LD in # libtool.m4 will add one of these switches to LD
   13461     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13462       libsuff= shlibsuff= libmagic=32-bit;;
   13463     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13464       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13465     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13466       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13467     *) libsuff= shlibsuff= libmagic=never-match;;
   13468     esac
   13469     ;;
   13470   esac
   13471   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13472   shlibpath_overrides_runpath=no
   13473   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13474   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13475   hardcode_into_libs=yes
   13476   ;;
   13477 
   13478 # No shared lib support for Linux oldld, aout, or coff.
   13479 linux*oldld* | linux*aout* | linux*coff*)
   13480   dynamic_linker=no
   13481   ;;
   13482 
   13483 # This must be Linux ELF.
   13484 linux*)
   13485   version_type=linux
   13486   need_lib_prefix=no
   13487   need_version=no
   13488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13489   soname_spec='${libname}${release}${shared_ext}$major'
   13490   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13491   shlibpath_var=LD_LIBRARY_PATH
   13492   shlibpath_overrides_runpath=no
   13493   # This implies no fast_install, which is unacceptable.
   13494   # Some rework will be needed to allow for fast_install
   13495   # before this can be enabled.
   13496   hardcode_into_libs=yes
   13497 
   13498   # Append ld.so.conf contents to the search path
   13499   if test -f /etc/ld.so.conf; then
   13500     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13501     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13502   fi
   13503 
   13504   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13505   # powerpc, because MkLinux only supported shared libraries with the
   13506   # GNU dynamic linker.  Since this was broken with cross compilers,
   13507   # most powerpc-linux boxes support dynamic linking these days and
   13508   # people can always --disable-shared, the test was removed, and we
   13509   # assume the GNU/Linux dynamic linker is in use.
   13510   dynamic_linker='GNU/Linux ld.so'
   13511   ;;
   13512 
   13513 knetbsd*-gnu)
   13514   version_type=linux
   13515   need_lib_prefix=no
   13516   need_version=no
   13517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13518   soname_spec='${libname}${release}${shared_ext}$major'
   13519   shlibpath_var=LD_LIBRARY_PATH
   13520   shlibpath_overrides_runpath=no
   13521   hardcode_into_libs=yes
   13522   dynamic_linker='GNU ld.so'
   13523   ;;
   13524 
   13525 netbsd*)
   13526   version_type=sunos
   13527   need_lib_prefix=no
   13528   need_version=no
   13529   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13530     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13531     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13532     dynamic_linker='NetBSD (a.out) ld.so'
   13533   else
   13534     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13535     soname_spec='${libname}${release}${shared_ext}$major'
   13536     dynamic_linker='NetBSD ld.elf_so'
   13537   fi
   13538   shlibpath_var=LD_LIBRARY_PATH
   13539   shlibpath_overrides_runpath=yes
   13540   hardcode_into_libs=yes
   13541   ;;
   13542 
   13543 newsos6)
   13544   version_type=linux
   13545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13546   shlibpath_var=LD_LIBRARY_PATH
   13547   shlibpath_overrides_runpath=yes
   13548   ;;
   13549 
   13550 nto-qnx*)
   13551   version_type=linux
   13552   need_lib_prefix=no
   13553   need_version=no
   13554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13555   soname_spec='${libname}${release}${shared_ext}$major'
   13556   shlibpath_var=LD_LIBRARY_PATH
   13557   shlibpath_overrides_runpath=yes
   13558   ;;
   13559 
   13560 openbsd*)
   13561   version_type=sunos
   13562   sys_lib_dlsearch_path_spec="/usr/lib"
   13563   need_lib_prefix=no
   13564   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13565   case $host_os in
   13566     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13567     *)                         need_version=no  ;;
   13568   esac
   13569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13570   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13571   shlibpath_var=LD_LIBRARY_PATH
   13572   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13573     case $host_os in
   13574       openbsd2.[89] | openbsd2.[89].*)
   13575 	shlibpath_overrides_runpath=no
   13576 	;;
   13577       *)
   13578 	shlibpath_overrides_runpath=yes
   13579 	;;
   13580       esac
   13581   else
   13582     shlibpath_overrides_runpath=yes
   13583   fi
   13584   ;;
   13585 
   13586 os2*)
   13587   libname_spec='$name'
   13588   shrext_cmds=".dll"
   13589   need_lib_prefix=no
   13590   library_names_spec='$libname${shared_ext} $libname.a'
   13591   dynamic_linker='OS/2 ld.exe'
   13592   shlibpath_var=LIBPATH
   13593   ;;
   13594 
   13595 osf3* | osf4* | osf5*)
   13596   version_type=osf
   13597   need_lib_prefix=no
   13598   need_version=no
   13599   soname_spec='${libname}${release}${shared_ext}$major'
   13600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13601   shlibpath_var=LD_LIBRARY_PATH
   13602   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13603   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13604   ;;
   13605 
   13606 solaris*)
   13607   version_type=linux
   13608   need_lib_prefix=no
   13609   need_version=no
   13610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13611   soname_spec='${libname}${release}${shared_ext}$major'
   13612   shlibpath_var=LD_LIBRARY_PATH
   13613   shlibpath_overrides_runpath=yes
   13614   hardcode_into_libs=yes
   13615   # ldd complains unless libraries are executable
   13616   postinstall_cmds='chmod +x $lib'
   13617   ;;
   13618 
   13619 sunos4*)
   13620   version_type=sunos
   13621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13622   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13623   shlibpath_var=LD_LIBRARY_PATH
   13624   shlibpath_overrides_runpath=yes
   13625   if test "$with_gnu_ld" = yes; then
   13626     need_lib_prefix=no
   13627   fi
   13628   need_version=yes
   13629   ;;
   13630 
   13631 sysv4 | sysv4.3*)
   13632   version_type=linux
   13633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13634   soname_spec='${libname}${release}${shared_ext}$major'
   13635   shlibpath_var=LD_LIBRARY_PATH
   13636   case $host_vendor in
   13637     sni)
   13638       shlibpath_overrides_runpath=no
   13639       need_lib_prefix=no
   13640       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13641       runpath_var=LD_RUN_PATH
   13642       ;;
   13643     siemens)
   13644       need_lib_prefix=no
   13645       ;;
   13646     motorola)
   13647       need_lib_prefix=no
   13648       need_version=no
   13649       shlibpath_overrides_runpath=no
   13650       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13651       ;;
   13652   esac
   13653   ;;
   13654 
   13655 sysv4*MP*)
   13656   if test -d /usr/nec ;then
   13657     version_type=linux
   13658     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13659     soname_spec='$libname${shared_ext}.$major'
   13660     shlibpath_var=LD_LIBRARY_PATH
   13661   fi
   13662   ;;
   13663 
   13664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13665   version_type=freebsd-elf
   13666   need_lib_prefix=no
   13667   need_version=no
   13668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13669   soname_spec='${libname}${release}${shared_ext}$major'
   13670   shlibpath_var=LD_LIBRARY_PATH
   13671   hardcode_into_libs=yes
   13672   if test "$with_gnu_ld" = yes; then
   13673     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13674     shlibpath_overrides_runpath=no
   13675   else
   13676     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13677     shlibpath_overrides_runpath=yes
   13678     case $host_os in
   13679       sco3.2v5*)
   13680         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13681 	;;
   13682     esac
   13683   fi
   13684   sys_lib_dlsearch_path_spec='/usr/lib'
   13685   ;;
   13686 
   13687 uts4*)
   13688   version_type=linux
   13689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13690   soname_spec='${libname}${release}${shared_ext}$major'
   13691   shlibpath_var=LD_LIBRARY_PATH
   13692   ;;
   13693 
   13694 *)
   13695   dynamic_linker=no
   13696   ;;
   13697 esac
   13698 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13699 echo "${ECHO_T}$dynamic_linker" >&6; }
   13700 test "$dynamic_linker" = no && can_build_shared=no
   13701 
   13702 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13703 if test "$GCC" = yes; then
   13704   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13705 fi
   13706 
   13707 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13708 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13709 hardcode_action_CXX=
   13710 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13711    test -n "$runpath_var_CXX" || \
   13712    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13713 
   13714   # We can hardcode non-existant directories.
   13715   if test "$hardcode_direct_CXX" != no &&
   13716      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13717      # have to relink, otherwise we might link with an installed library
   13718      # when we should be linking with a yet-to-be-installed one
   13719      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13720      test "$hardcode_minus_L_CXX" != no; then
   13721     # Linking always hardcodes the temporary library directory.
   13722     hardcode_action_CXX=relink
   13723   else
   13724     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13725     hardcode_action_CXX=immediate
   13726   fi
   13727 else
   13728   # We cannot hardcode anything, or else we can only hardcode existing
   13729   # directories.
   13730   hardcode_action_CXX=unsupported
   13731 fi
   13732 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13733 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13734 
   13735 if test "$hardcode_action_CXX" = relink; then
   13736   # Fast installation is not supported
   13737   enable_fast_install=no
   13738 elif test "$shlibpath_overrides_runpath" = yes ||
   13739      test "$enable_shared" = no; then
   13740   # Fast installation is not necessary
   13741   enable_fast_install=needless
   13742 fi
   13743 
   13744 
   13745 # The else clause should only fire when bootstrapping the
   13746 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13747 # with your package, and you will get complaints that there are
   13748 # no rules to generate ltmain.sh.
   13749 if test -f "$ltmain"; then
   13750   # See if we are running on zsh, and set the options which allow our commands through
   13751   # without removal of \ escapes.
   13752   if test -n "${ZSH_VERSION+set}" ; then
   13753     setopt NO_GLOB_SUBST
   13754   fi
   13755   # Now quote all the things that may contain metacharacters while being
   13756   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13757   # variables and quote the copies for generation of the libtool script.
   13758   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13759     SED SHELL STRIP \
   13760     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13761     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13762     deplibs_check_method reload_flag reload_cmds need_locks \
   13763     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13764     lt_cv_sys_global_symbol_to_c_name_address \
   13765     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13766     old_postinstall_cmds old_postuninstall_cmds \
   13767     compiler_CXX \
   13768     CC_CXX \
   13769     LD_CXX \
   13770     lt_prog_compiler_wl_CXX \
   13771     lt_prog_compiler_pic_CXX \
   13772     lt_prog_compiler_static_CXX \
   13773     lt_prog_compiler_no_builtin_flag_CXX \
   13774     export_dynamic_flag_spec_CXX \
   13775     thread_safe_flag_spec_CXX \
   13776     whole_archive_flag_spec_CXX \
   13777     enable_shared_with_static_runtimes_CXX \
   13778     old_archive_cmds_CXX \
   13779     old_archive_from_new_cmds_CXX \
   13780     predep_objects_CXX \
   13781     postdep_objects_CXX \
   13782     predeps_CXX \
   13783     postdeps_CXX \
   13784     compiler_lib_search_path_CXX \
   13785     archive_cmds_CXX \
   13786     archive_expsym_cmds_CXX \
   13787     postinstall_cmds_CXX \
   13788     postuninstall_cmds_CXX \
   13789     old_archive_from_expsyms_cmds_CXX \
   13790     allow_undefined_flag_CXX \
   13791     no_undefined_flag_CXX \
   13792     export_symbols_cmds_CXX \
   13793     hardcode_libdir_flag_spec_CXX \
   13794     hardcode_libdir_flag_spec_ld_CXX \
   13795     hardcode_libdir_separator_CXX \
   13796     hardcode_automatic_CXX \
   13797     module_cmds_CXX \
   13798     module_expsym_cmds_CXX \
   13799     lt_cv_prog_compiler_c_o_CXX \
   13800     exclude_expsyms_CXX \
   13801     include_expsyms_CXX; do
   13802 
   13803     case $var in
   13804     old_archive_cmds_CXX | \
   13805     old_archive_from_new_cmds_CXX | \
   13806     archive_cmds_CXX | \
   13807     archive_expsym_cmds_CXX | \
   13808     module_cmds_CXX | \
   13809     module_expsym_cmds_CXX | \
   13810     old_archive_from_expsyms_cmds_CXX | \
   13811     export_symbols_cmds_CXX | \
   13812     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13813     postinstall_cmds | postuninstall_cmds | \
   13814     old_postinstall_cmds | old_postuninstall_cmds | \
   13815     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13816       # Double-quote double-evaled strings.
   13817       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13818       ;;
   13819     *)
   13820       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13821       ;;
   13822     esac
   13823   done
   13824 
   13825   case $lt_echo in
   13826   *'\$0 --fallback-echo"')
   13827     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13828     ;;
   13829   esac
   13830 
   13831 cfgfile="$ofile"
   13832 
   13833   cat <<__EOF__ >> "$cfgfile"
   13834 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13835 
   13836 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13837 
   13838 # Shell to use when invoking shell scripts.
   13839 SHELL=$lt_SHELL
   13840 
   13841 # Whether or not to build shared libraries.
   13842 build_libtool_libs=$enable_shared
   13843 
   13844 # Whether or not to build static libraries.
   13845 build_old_libs=$enable_static
   13846 
   13847 # Whether or not to add -lc for building shared libraries.
   13848 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13849 
   13850 # Whether or not to disallow shared libs when runtime libs are static
   13851 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13852 
   13853 # Whether or not to optimize for fast installation.
   13854 fast_install=$enable_fast_install
   13855 
   13856 # The host system.
   13857 host_alias=$host_alias
   13858 host=$host
   13859 host_os=$host_os
   13860 
   13861 # The build system.
   13862 build_alias=$build_alias
   13863 build=$build
   13864 build_os=$build_os
   13865 
   13866 # An echo program that does not interpret backslashes.
   13867 echo=$lt_echo
   13868 
   13869 # The archiver.
   13870 AR=$lt_AR
   13871 AR_FLAGS=$lt_AR_FLAGS
   13872 
   13873 # A C compiler.
   13874 LTCC=$lt_LTCC
   13875 
   13876 # LTCC compiler flags.
   13877 LTCFLAGS=$lt_LTCFLAGS
   13878 
   13879 # A language-specific compiler.
   13880 CC=$lt_compiler_CXX
   13881 
   13882 # Is the compiler the GNU C compiler?
   13883 with_gcc=$GCC_CXX
   13884 
   13885 # An ERE matcher.
   13886 EGREP=$lt_EGREP
   13887 
   13888 # The linker used to build libraries.
   13889 LD=$lt_LD_CXX
   13890 
   13891 # Whether we need hard or soft links.
   13892 LN_S=$lt_LN_S
   13893 
   13894 # A BSD-compatible nm program.
   13895 NM=$lt_NM
   13896 
   13897 # A symbol stripping program
   13898 STRIP=$lt_STRIP
   13899 
   13900 # Used to examine libraries when file_magic_cmd begins "file"
   13901 MAGIC_CMD=$MAGIC_CMD
   13902 
   13903 # Used on cygwin: DLL creation program.
   13904 DLLTOOL="$DLLTOOL"
   13905 
   13906 # Used on cygwin: object dumper.
   13907 OBJDUMP="$OBJDUMP"
   13908 
   13909 # Used on cygwin: assembler.
   13910 AS="$AS"
   13911 
   13912 # The name of the directory that contains temporary libtool files.
   13913 objdir=$objdir
   13914 
   13915 # How to create reloadable object files.
   13916 reload_flag=$lt_reload_flag
   13917 reload_cmds=$lt_reload_cmds
   13918 
   13919 # How to pass a linker flag through the compiler.
   13920 wl=$lt_lt_prog_compiler_wl_CXX
   13921 
   13922 # Object file suffix (normally "o").
   13923 objext="$ac_objext"
   13924 
   13925 # Old archive suffix (normally "a").
   13926 libext="$libext"
   13927 
   13928 # Shared library suffix (normally ".so").
   13929 shrext_cmds='$shrext_cmds'
   13930 
   13931 # Executable file suffix (normally "").
   13932 exeext="$exeext"
   13933 
   13934 # Additional compiler flags for building library objects.
   13935 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13936 pic_mode=$pic_mode
   13937 
   13938 # What is the maximum length of a command?
   13939 max_cmd_len=$lt_cv_sys_max_cmd_len
   13940 
   13941 # Does compiler simultaneously support -c and -o options?
   13942 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13943 
   13944 # Must we lock files when doing compilation?
   13945 need_locks=$lt_need_locks
   13946 
   13947 # Do we need the lib prefix for modules?
   13948 need_lib_prefix=$need_lib_prefix
   13949 
   13950 # Do we need a version for libraries?
   13951 need_version=$need_version
   13952 
   13953 # Whether dlopen is supported.
   13954 dlopen_support=$enable_dlopen
   13955 
   13956 # Whether dlopen of programs is supported.
   13957 dlopen_self=$enable_dlopen_self
   13958 
   13959 # Whether dlopen of statically linked programs is supported.
   13960 dlopen_self_static=$enable_dlopen_self_static
   13961 
   13962 # Compiler flag to prevent dynamic linking.
   13963 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13964 
   13965 # Compiler flag to turn off builtin functions.
   13966 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13967 
   13968 # Compiler flag to allow reflexive dlopens.
   13969 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13970 
   13971 # Compiler flag to generate shared objects directly from archives.
   13972 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13973 
   13974 # Compiler flag to generate thread-safe objects.
   13975 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13976 
   13977 # Library versioning type.
   13978 version_type=$version_type
   13979 
   13980 # Format of library name prefix.
   13981 libname_spec=$lt_libname_spec
   13982 
   13983 # List of archive names.  First name is the real one, the rest are links.
   13984 # The last name is the one that the linker finds with -lNAME.
   13985 library_names_spec=$lt_library_names_spec
   13986 
   13987 # The coded name of the library, if different from the real name.
   13988 soname_spec=$lt_soname_spec
   13989 
   13990 # Commands used to build and install an old-style archive.
   13991 RANLIB=$lt_RANLIB
   13992 old_archive_cmds=$lt_old_archive_cmds_CXX
   13993 old_postinstall_cmds=$lt_old_postinstall_cmds
   13994 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13995 
   13996 # Create an old-style archive from a shared archive.
   13997 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13998 
   13999 # Create a temporary old-style archive to link instead of a shared archive.
   14000 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14001 
   14002 # Commands used to build and install a shared archive.
   14003 archive_cmds=$lt_archive_cmds_CXX
   14004 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14005 postinstall_cmds=$lt_postinstall_cmds
   14006 postuninstall_cmds=$lt_postuninstall_cmds
   14007 
   14008 # Commands used to build a loadable module (assumed same as above if empty)
   14009 module_cmds=$lt_module_cmds_CXX
   14010 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14011 
   14012 # Commands to strip libraries.
   14013 old_striplib=$lt_old_striplib
   14014 striplib=$lt_striplib
   14015 
   14016 # Dependencies to place before the objects being linked to create a
   14017 # shared library.
   14018 predep_objects=$lt_predep_objects_CXX
   14019 
   14020 # Dependencies to place after the objects being linked to create a
   14021 # shared library.
   14022 postdep_objects=$lt_postdep_objects_CXX
   14023 
   14024 # Dependencies to place before the objects being linked to create a
   14025 # shared library.
   14026 predeps=$lt_predeps_CXX
   14027 
   14028 # Dependencies to place after the objects being linked to create a
   14029 # shared library.
   14030 postdeps=$lt_postdeps_CXX
   14031 
   14032 # The library search path used internally by the compiler when linking
   14033 # a shared library.
   14034 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14035 
   14036 # Method to check whether dependent libraries are shared objects.
   14037 deplibs_check_method=$lt_deplibs_check_method
   14038 
   14039 # Command to use when deplibs_check_method == file_magic.
   14040 file_magic_cmd=$lt_file_magic_cmd
   14041 
   14042 # Flag that allows shared libraries with undefined symbols to be built.
   14043 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14044 
   14045 # Flag that forces no undefined symbols.
   14046 no_undefined_flag=$lt_no_undefined_flag_CXX
   14047 
   14048 # Commands used to finish a libtool library installation in a directory.
   14049 finish_cmds=$lt_finish_cmds
   14050 
   14051 # Same as above, but a single script fragment to be evaled but not shown.
   14052 finish_eval=$lt_finish_eval
   14053 
   14054 # Take the output of nm and produce a listing of raw symbols and C names.
   14055 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14056 
   14057 # Transform the output of nm in a proper C declaration
   14058 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14059 
   14060 # Transform the output of nm in a C name address pair
   14061 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14062 
   14063 # This is the shared library runtime path variable.
   14064 runpath_var=$runpath_var
   14065 
   14066 # This is the shared library path variable.
   14067 shlibpath_var=$shlibpath_var
   14068 
   14069 # Is shlibpath searched before the hard-coded library search path?
   14070 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14071 
   14072 # How to hardcode a shared library path into an executable.
   14073 hardcode_action=$hardcode_action_CXX
   14074 
   14075 # Whether we should hardcode library paths into libraries.
   14076 hardcode_into_libs=$hardcode_into_libs
   14077 
   14078 # Flag to hardcode \$libdir into a binary during linking.
   14079 # This must work even if \$libdir does not exist.
   14080 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14081 
   14082 # If ld is used when linking, flag to hardcode \$libdir into
   14083 # a binary during linking. This must work even if \$libdir does
   14084 # not exist.
   14085 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14086 
   14087 # Whether we need a single -rpath flag with a separated argument.
   14088 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14089 
   14090 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14091 # resulting binary.
   14092 hardcode_direct=$hardcode_direct_CXX
   14093 
   14094 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14095 # resulting binary.
   14096 hardcode_minus_L=$hardcode_minus_L_CXX
   14097 
   14098 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14099 # the resulting binary.
   14100 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14101 
   14102 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14103 # and all subsequent libraries and executables linked against it.
   14104 hardcode_automatic=$hardcode_automatic_CXX
   14105 
   14106 # Variables whose values should be saved in libtool wrapper scripts and
   14107 # restored at relink time.
   14108 variables_saved_for_relink="$variables_saved_for_relink"
   14109 
   14110 # Whether libtool must link a program against all its dependency libraries.
   14111 link_all_deplibs=$link_all_deplibs_CXX
   14112 
   14113 # Compile-time system search path for libraries
   14114 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14115 
   14116 # Run-time system search path for libraries
   14117 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14118 
   14119 # Fix the shell variable \$srcfile for the compiler.
   14120 fix_srcfile_path="$fix_srcfile_path_CXX"
   14121 
   14122 # Set to yes if exported symbols are required.
   14123 always_export_symbols=$always_export_symbols_CXX
   14124 
   14125 # The commands to list exported symbols.
   14126 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14127 
   14128 # The commands to extract the exported symbol list from a shared archive.
   14129 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14130 
   14131 # Symbols that should not be listed in the preloaded symbols.
   14132 exclude_expsyms=$lt_exclude_expsyms_CXX
   14133 
   14134 # Symbols that must always be exported.
   14135 include_expsyms=$lt_include_expsyms_CXX
   14136 
   14137 # ### END LIBTOOL TAG CONFIG: $tagname
   14138 
   14139 __EOF__
   14140 
   14141 
   14142 else
   14143   # If there is no Makefile yet, we rely on a make rule to execute
   14144   # `config.status --recheck' to rerun these tests and create the
   14145   # libtool script then.
   14146   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14147   if test -f "$ltmain_in"; then
   14148     test -f Makefile && make "$ltmain"
   14149   fi
   14150 fi
   14151 
   14152 
   14153 ac_ext=c
   14154 ac_cpp='$CPP $CPPFLAGS'
   14155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14158 
   14159 CC=$lt_save_CC
   14160 LDCXX=$LD
   14161 LD=$lt_save_LD
   14162 GCC=$lt_save_GCC
   14163 with_gnu_ldcxx=$with_gnu_ld
   14164 with_gnu_ld=$lt_save_with_gnu_ld
   14165 lt_cv_path_LDCXX=$lt_cv_path_LD
   14166 lt_cv_path_LD=$lt_save_path_LD
   14167 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14168 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14169 
   14170 	else
   14171 	  tagname=""
   14172 	fi
   14173 	;;
   14174 
   14175       F77)
   14176 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14177 
   14178 ac_ext=f
   14179 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14180 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14181 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14182 
   14183 
   14184 archive_cmds_need_lc_F77=no
   14185 allow_undefined_flag_F77=
   14186 always_export_symbols_F77=no
   14187 archive_expsym_cmds_F77=
   14188 export_dynamic_flag_spec_F77=
   14189 hardcode_direct_F77=no
   14190 hardcode_libdir_flag_spec_F77=
   14191 hardcode_libdir_flag_spec_ld_F77=
   14192 hardcode_libdir_separator_F77=
   14193 hardcode_minus_L_F77=no
   14194 hardcode_automatic_F77=no
   14195 module_cmds_F77=
   14196 module_expsym_cmds_F77=
   14197 link_all_deplibs_F77=unknown
   14198 old_archive_cmds_F77=$old_archive_cmds
   14199 no_undefined_flag_F77=
   14200 whole_archive_flag_spec_F77=
   14201 enable_shared_with_static_runtimes_F77=no
   14202 
   14203 # Source file extension for f77 test sources.
   14204 ac_ext=f
   14205 
   14206 # Object file extension for compiled f77 test sources.
   14207 objext=o
   14208 objext_F77=$objext
   14209 
   14210 # Code to be used in simple compile tests
   14211 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   14212 
   14213 # Code to be used in simple link tests
   14214 lt_simple_link_test_code="      program t\n      end\n"
   14215 
   14216 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14217 
   14218 # If no C compiler was specified, use CC.
   14219 LTCC=${LTCC-"$CC"}
   14220 
   14221 # If no C compiler flags were specified, use CFLAGS.
   14222 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14223 
   14224 # Allow CC to be a program name with arguments.
   14225 compiler=$CC
   14226 
   14227 
   14228 # save warnings/boilerplate of simple test code
   14229 ac_outfile=conftest.$ac_objext
   14230 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   14231 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14232 _lt_compiler_boilerplate=`cat conftest.err`
   14233 $rm conftest*
   14234 
   14235 ac_outfile=conftest.$ac_objext
   14236 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   14237 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14238 _lt_linker_boilerplate=`cat conftest.err`
   14239 $rm conftest*
   14240 
   14241 
   14242 # Allow CC to be a program name with arguments.
   14243 lt_save_CC="$CC"
   14244 CC=${F77-"f77"}
   14245 compiler=$CC
   14246 compiler_F77=$CC
   14247 for cc_temp in $compiler""; do
   14248   case $cc_temp in
   14249     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14250     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14251     \-*) ;;
   14252     *) break;;
   14253   esac
   14254 done
   14255 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14256 
   14257 
   14258 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14259 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14260 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14261 echo "${ECHO_T}$can_build_shared" >&6; }
   14262 
   14263 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14264 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14265 test "$can_build_shared" = "no" && enable_shared=no
   14266 
   14267 # On AIX, shared libraries and static libraries use the same namespace, and
   14268 # are all built from PIC.
   14269 case $host_os in
   14270 aix3*)
   14271   test "$enable_shared" = yes && enable_static=no
   14272   if test -n "$RANLIB"; then
   14273     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14274     postinstall_cmds='$RANLIB $lib'
   14275   fi
   14276   ;;
   14277 aix4* | aix5*)
   14278   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14279     test "$enable_shared" = yes && enable_static=no
   14280   fi
   14281   ;;
   14282 esac
   14283 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14284 echo "${ECHO_T}$enable_shared" >&6; }
   14285 
   14286 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14287 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14288 # Make sure either enable_shared or enable_static is yes.
   14289 test "$enable_shared" = yes || enable_static=yes
   14290 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14291 echo "${ECHO_T}$enable_static" >&6; }
   14292 
   14293 GCC_F77="$G77"
   14294 LD_F77="$LD"
   14295 
   14296 lt_prog_compiler_wl_F77=
   14297 lt_prog_compiler_pic_F77=
   14298 lt_prog_compiler_static_F77=
   14299 
   14300 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14301 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14302 
   14303   if test "$GCC" = yes; then
   14304     lt_prog_compiler_wl_F77='-Wl,'
   14305     lt_prog_compiler_static_F77='-static'
   14306 
   14307     case $host_os in
   14308       aix*)
   14309       # All AIX code is PIC.
   14310       if test "$host_cpu" = ia64; then
   14311 	# AIX 5 now supports IA64 processor
   14312 	lt_prog_compiler_static_F77='-Bstatic'
   14313       fi
   14314       ;;
   14315 
   14316     amigaos*)
   14317       # FIXME: we need at least 68020 code to build shared libraries, but
   14318       # adding the `-m68020' flag to GCC prevents building anything better,
   14319       # like `-m68040'.
   14320       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14321       ;;
   14322 
   14323     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14324       # PIC is the default for these OSes.
   14325       ;;
   14326 
   14327     mingw* | pw32* | os2*)
   14328       # This hack is so that the source file can tell whether it is being
   14329       # built for inclusion in a dll (and should export symbols for example).
   14330       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14331       ;;
   14332 
   14333     darwin* | rhapsody*)
   14334       # PIC is the default on this platform
   14335       # Common symbols not allowed in MH_DYLIB files
   14336       lt_prog_compiler_pic_F77='-fno-common'
   14337       ;;
   14338 
   14339     interix3*)
   14340       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14341       # Instead, we relocate shared libraries at runtime.
   14342       ;;
   14343 
   14344     msdosdjgpp*)
   14345       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14346       # on systems that don't support them.
   14347       lt_prog_compiler_can_build_shared_F77=no
   14348       enable_shared=no
   14349       ;;
   14350 
   14351     sysv4*MP*)
   14352       if test -d /usr/nec; then
   14353 	lt_prog_compiler_pic_F77=-Kconform_pic
   14354       fi
   14355       ;;
   14356 
   14357     hpux*)
   14358       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14359       # not for PA HP-UX.
   14360       case $host_cpu in
   14361       hppa*64*|ia64*)
   14362 	# +Z the default
   14363 	;;
   14364       *)
   14365 	lt_prog_compiler_pic_F77='-fPIC'
   14366 	;;
   14367       esac
   14368       ;;
   14369 
   14370     *)
   14371       lt_prog_compiler_pic_F77='-fPIC'
   14372       ;;
   14373     esac
   14374   else
   14375     # PORTME Check for flag to pass linker flags through the system compiler.
   14376     case $host_os in
   14377     aix*)
   14378       lt_prog_compiler_wl_F77='-Wl,'
   14379       if test "$host_cpu" = ia64; then
   14380 	# AIX 5 now supports IA64 processor
   14381 	lt_prog_compiler_static_F77='-Bstatic'
   14382       else
   14383 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14384       fi
   14385       ;;
   14386       darwin*)
   14387         # PIC is the default on this platform
   14388         # Common symbols not allowed in MH_DYLIB files
   14389        case $cc_basename in
   14390          xlc*)
   14391          lt_prog_compiler_pic_F77='-qnocommon'
   14392          lt_prog_compiler_wl_F77='-Wl,'
   14393          ;;
   14394        esac
   14395        ;;
   14396 
   14397     mingw* | pw32* | os2*)
   14398       # This hack is so that the source file can tell whether it is being
   14399       # built for inclusion in a dll (and should export symbols for example).
   14400       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14401       ;;
   14402 
   14403     hpux9* | hpux10* | hpux11*)
   14404       lt_prog_compiler_wl_F77='-Wl,'
   14405       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14406       # not for PA HP-UX.
   14407       case $host_cpu in
   14408       hppa*64*|ia64*)
   14409 	# +Z the default
   14410 	;;
   14411       *)
   14412 	lt_prog_compiler_pic_F77='+Z'
   14413 	;;
   14414       esac
   14415       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14416       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14417       ;;
   14418 
   14419     irix5* | irix6* | nonstopux*)
   14420       lt_prog_compiler_wl_F77='-Wl,'
   14421       # PIC (with -KPIC) is the default.
   14422       lt_prog_compiler_static_F77='-non_shared'
   14423       ;;
   14424 
   14425     newsos6)
   14426       lt_prog_compiler_pic_F77='-KPIC'
   14427       lt_prog_compiler_static_F77='-Bstatic'
   14428       ;;
   14429 
   14430     linux*)
   14431       case $cc_basename in
   14432       icc* | ecc*)
   14433 	lt_prog_compiler_wl_F77='-Wl,'
   14434 	lt_prog_compiler_pic_F77='-KPIC'
   14435 	lt_prog_compiler_static_F77='-static'
   14436         ;;
   14437       pgcc* | pgf77* | pgf90* | pgf95*)
   14438         # Portland Group compilers (*not* the Pentium gcc compiler,
   14439 	# which looks to be a dead project)
   14440 	lt_prog_compiler_wl_F77='-Wl,'
   14441 	lt_prog_compiler_pic_F77='-fpic'
   14442 	lt_prog_compiler_static_F77='-Bstatic'
   14443         ;;
   14444       ccc*)
   14445         lt_prog_compiler_wl_F77='-Wl,'
   14446         # All Alpha code is PIC.
   14447         lt_prog_compiler_static_F77='-non_shared'
   14448         ;;
   14449       esac
   14450       ;;
   14451 
   14452     osf3* | osf4* | osf5*)
   14453       lt_prog_compiler_wl_F77='-Wl,'
   14454       # All OSF/1 code is PIC.
   14455       lt_prog_compiler_static_F77='-non_shared'
   14456       ;;
   14457 
   14458     solaris*)
   14459       lt_prog_compiler_pic_F77='-KPIC'
   14460       lt_prog_compiler_static_F77='-Bstatic'
   14461       case $cc_basename in
   14462       f77* | f90* | f95*)
   14463 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14464       *)
   14465 	lt_prog_compiler_wl_F77='-Wl,';;
   14466       esac
   14467       ;;
   14468 
   14469     sunos4*)
   14470       lt_prog_compiler_wl_F77='-Qoption ld '
   14471       lt_prog_compiler_pic_F77='-PIC'
   14472       lt_prog_compiler_static_F77='-Bstatic'
   14473       ;;
   14474 
   14475     sysv4 | sysv4.2uw2* | sysv4.3*)
   14476       lt_prog_compiler_wl_F77='-Wl,'
   14477       lt_prog_compiler_pic_F77='-KPIC'
   14478       lt_prog_compiler_static_F77='-Bstatic'
   14479       ;;
   14480 
   14481     sysv4*MP*)
   14482       if test -d /usr/nec ;then
   14483 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14484 	lt_prog_compiler_static_F77='-Bstatic'
   14485       fi
   14486       ;;
   14487 
   14488     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14489       lt_prog_compiler_wl_F77='-Wl,'
   14490       lt_prog_compiler_pic_F77='-KPIC'
   14491       lt_prog_compiler_static_F77='-Bstatic'
   14492       ;;
   14493 
   14494     unicos*)
   14495       lt_prog_compiler_wl_F77='-Wl,'
   14496       lt_prog_compiler_can_build_shared_F77=no
   14497       ;;
   14498 
   14499     uts4*)
   14500       lt_prog_compiler_pic_F77='-pic'
   14501       lt_prog_compiler_static_F77='-Bstatic'
   14502       ;;
   14503 
   14504     *)
   14505       lt_prog_compiler_can_build_shared_F77=no
   14506       ;;
   14507     esac
   14508   fi
   14509 
   14510 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14511 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14512 
   14513 #
   14514 # Check to make sure the PIC flag actually works.
   14515 #
   14516 if test -n "$lt_prog_compiler_pic_F77"; then
   14517 
   14518 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14519 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14520 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14521   echo $ECHO_N "(cached) $ECHO_C" >&6
   14522 else
   14523   lt_prog_compiler_pic_works_F77=no
   14524   ac_outfile=conftest.$ac_objext
   14525    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14526    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14527    # Insert the option either (1) after the last *FLAGS variable, or
   14528    # (2) before a word containing "conftest.", or (3) at the end.
   14529    # Note that $ac_compile itself does not contain backslashes and begins
   14530    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14531    # The option is referenced via a variable to avoid confusing sed.
   14532    lt_compile=`echo "$ac_compile" | $SED \
   14533    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14534    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14535    -e 's:$: $lt_compiler_flag:'`
   14536    (eval echo "\"\$as_me:14536: $lt_compile\"" >&5)
   14537    (eval "$lt_compile" 2>conftest.err)
   14538    ac_status=$?
   14539    cat conftest.err >&5
   14540    echo "$as_me:14540: \$? = $ac_status" >&5
   14541    if (exit $ac_status) && test -s "$ac_outfile"; then
   14542      # The compiler can only warn and ignore the option if not recognized
   14543      # So say no if there are warnings other than the usual output.
   14544      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14545      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14546      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14547        lt_prog_compiler_pic_works_F77=yes
   14548      fi
   14549    fi
   14550    $rm conftest*
   14551 
   14552 fi
   14553 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14554 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14555 
   14556 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14557     case $lt_prog_compiler_pic_F77 in
   14558      "" | " "*) ;;
   14559      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14560      esac
   14561 else
   14562     lt_prog_compiler_pic_F77=
   14563      lt_prog_compiler_can_build_shared_F77=no
   14564 fi
   14565 
   14566 fi
   14567 case $host_os in
   14568   # For platforms which do not support PIC, -DPIC is meaningless:
   14569   *djgpp*)
   14570     lt_prog_compiler_pic_F77=
   14571     ;;
   14572   *)
   14573     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14574     ;;
   14575 esac
   14576 
   14577 #
   14578 # Check to make sure the static flag actually works.
   14579 #
   14580 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14581 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14582 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14583 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14584   echo $ECHO_N "(cached) $ECHO_C" >&6
   14585 else
   14586   lt_prog_compiler_static_works_F77=no
   14587    save_LDFLAGS="$LDFLAGS"
   14588    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14589    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   14590    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14591      # The linker can only warn and ignore the option if not recognized
   14592      # So say no if there are warnings
   14593      if test -s conftest.err; then
   14594        # Append any errors to the config.log.
   14595        cat conftest.err 1>&5
   14596        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14597        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14598        if diff conftest.exp conftest.er2 >/dev/null; then
   14599          lt_prog_compiler_static_works_F77=yes
   14600        fi
   14601      else
   14602        lt_prog_compiler_static_works_F77=yes
   14603      fi
   14604    fi
   14605    $rm conftest*
   14606    LDFLAGS="$save_LDFLAGS"
   14607 
   14608 fi
   14609 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14610 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14611 
   14612 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14613     :
   14614 else
   14615     lt_prog_compiler_static_F77=
   14616 fi
   14617 
   14618 
   14619 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14621 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14622   echo $ECHO_N "(cached) $ECHO_C" >&6
   14623 else
   14624   lt_cv_prog_compiler_c_o_F77=no
   14625    $rm -r conftest 2>/dev/null
   14626    mkdir conftest
   14627    cd conftest
   14628    mkdir out
   14629    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14630 
   14631    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14632    # Insert the option either (1) after the last *FLAGS variable, or
   14633    # (2) before a word containing "conftest.", or (3) at the end.
   14634    # Note that $ac_compile itself does not contain backslashes and begins
   14635    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14636    lt_compile=`echo "$ac_compile" | $SED \
   14637    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14638    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14639    -e 's:$: $lt_compiler_flag:'`
   14640    (eval echo "\"\$as_me:14640: $lt_compile\"" >&5)
   14641    (eval "$lt_compile" 2>out/conftest.err)
   14642    ac_status=$?
   14643    cat out/conftest.err >&5
   14644    echo "$as_me:14644: \$? = $ac_status" >&5
   14645    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14646    then
   14647      # The compiler can only warn and ignore the option if not recognized
   14648      # So say no if there are warnings
   14649      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14650      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14651      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14652        lt_cv_prog_compiler_c_o_F77=yes
   14653      fi
   14654    fi
   14655    chmod u+w . 2>&5
   14656    $rm conftest*
   14657    # SGI C++ compiler will create directory out/ii_files/ for
   14658    # template instantiation
   14659    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14660    $rm out/* && rmdir out
   14661    cd ..
   14662    rmdir conftest
   14663    $rm conftest*
   14664 
   14665 fi
   14666 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14668 
   14669 
   14670 hard_links="nottested"
   14671 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14672   # do not overwrite the value of need_locks provided by the user
   14673   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14674 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14675   hard_links=yes
   14676   $rm conftest*
   14677   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14678   touch conftest.a
   14679   ln conftest.a conftest.b 2>&5 || hard_links=no
   14680   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14681   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14682 echo "${ECHO_T}$hard_links" >&6; }
   14683   if test "$hard_links" = no; then
   14684     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14685 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14686     need_locks=warn
   14687   fi
   14688 else
   14689   need_locks=no
   14690 fi
   14691 
   14692 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14693 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14694 
   14695   runpath_var=
   14696   allow_undefined_flag_F77=
   14697   enable_shared_with_static_runtimes_F77=no
   14698   archive_cmds_F77=
   14699   archive_expsym_cmds_F77=
   14700   old_archive_From_new_cmds_F77=
   14701   old_archive_from_expsyms_cmds_F77=
   14702   export_dynamic_flag_spec_F77=
   14703   whole_archive_flag_spec_F77=
   14704   thread_safe_flag_spec_F77=
   14705   hardcode_libdir_flag_spec_F77=
   14706   hardcode_libdir_flag_spec_ld_F77=
   14707   hardcode_libdir_separator_F77=
   14708   hardcode_direct_F77=no
   14709   hardcode_minus_L_F77=no
   14710   hardcode_shlibpath_var_F77=unsupported
   14711   link_all_deplibs_F77=unknown
   14712   hardcode_automatic_F77=no
   14713   module_cmds_F77=
   14714   module_expsym_cmds_F77=
   14715   always_export_symbols_F77=no
   14716   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14717   # include_expsyms should be a list of space-separated symbols to be *always*
   14718   # included in the symbol list
   14719   include_expsyms_F77=
   14720   # exclude_expsyms can be an extended regexp of symbols to exclude
   14721   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14722   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14723   # as well as any symbol that contains `d'.
   14724   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14725   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14726   # platforms (ab)use it in PIC code, but their linkers get confused if
   14727   # the symbol is explicitly referenced.  Since portable code cannot
   14728   # rely on this symbol name, it's probably fine to never include it in
   14729   # preloaded symbol tables.
   14730   extract_expsyms_cmds=
   14731   # Just being paranoid about ensuring that cc_basename is set.
   14732   for cc_temp in $compiler""; do
   14733   case $cc_temp in
   14734     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14735     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14736     \-*) ;;
   14737     *) break;;
   14738   esac
   14739 done
   14740 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14741 
   14742   case $host_os in
   14743   cygwin* | mingw* | pw32*)
   14744     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14745     # When not using gcc, we currently assume that we are using
   14746     # Microsoft Visual C++.
   14747     if test "$GCC" != yes; then
   14748       with_gnu_ld=no
   14749     fi
   14750     ;;
   14751   interix*)
   14752     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14753     with_gnu_ld=yes
   14754     ;;
   14755   openbsd*)
   14756     with_gnu_ld=no
   14757     ;;
   14758   esac
   14759 
   14760   ld_shlibs_F77=yes
   14761   if test "$with_gnu_ld" = yes; then
   14762     # If archive_cmds runs LD, not CC, wlarc should be empty
   14763     wlarc='${wl}'
   14764 
   14765     # Set some defaults for GNU ld with shared library support. These
   14766     # are reset later if shared libraries are not supported. Putting them
   14767     # here allows them to be overridden if necessary.
   14768     runpath_var=LD_RUN_PATH
   14769     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14770     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14771     # ancient GNU ld didn't support --whole-archive et. al.
   14772     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14773 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14774       else
   14775   	whole_archive_flag_spec_F77=
   14776     fi
   14777     supports_anon_versioning=no
   14778     case `$LD -v 2>/dev/null` in
   14779       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14780       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14781       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14782       *\ 2.11.*) ;; # other 2.11 versions
   14783       *) supports_anon_versioning=yes ;;
   14784     esac
   14785 
   14786     # See if GNU ld supports shared libraries.
   14787     case $host_os in
   14788     aix3* | aix4* | aix5*)
   14789       # On AIX/PPC, the GNU linker is very broken
   14790       if test "$host_cpu" != ia64; then
   14791 	ld_shlibs_F77=no
   14792 	cat <<EOF 1>&2
   14793 
   14794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14795 *** to be unable to reliably create shared libraries on AIX.
   14796 *** Therefore, libtool is disabling shared libraries support.  If you
   14797 *** really care for shared libraries, you may want to modify your PATH
   14798 *** so that a non-GNU linker is found, and then restart.
   14799 
   14800 EOF
   14801       fi
   14802       ;;
   14803 
   14804     amigaos*)
   14805       archive_cmds_F77='$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)'
   14806       hardcode_libdir_flag_spec_F77='-L$libdir'
   14807       hardcode_minus_L_F77=yes
   14808 
   14809       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14810       # that the semantics of dynamic libraries on AmigaOS, at least up
   14811       # to version 4, is to share data among multiple programs linked
   14812       # with the same dynamic library.  Since this doesn't match the
   14813       # behavior of shared libraries on other platforms, we can't use
   14814       # them.
   14815       ld_shlibs_F77=no
   14816       ;;
   14817 
   14818     beos*)
   14819       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14820 	allow_undefined_flag_F77=unsupported
   14821 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14822 	# support --undefined.  This deserves some investigation.  FIXME
   14823 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14824       else
   14825 	ld_shlibs_F77=no
   14826       fi
   14827       ;;
   14828 
   14829     cygwin* | mingw* | pw32*)
   14830       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14831       # as there is no search path for DLLs.
   14832       hardcode_libdir_flag_spec_F77='-L$libdir'
   14833       allow_undefined_flag_F77=unsupported
   14834       always_export_symbols_F77=no
   14835       enable_shared_with_static_runtimes_F77=yes
   14836       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14837 
   14838       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14839         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14840 	# If the export-symbols file already is a .def file (1st line
   14841 	# is EXPORTS), use it as is; otherwise, prepend...
   14842 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14843 	  cp $export_symbols $output_objdir/$soname.def;
   14844 	else
   14845 	  echo EXPORTS > $output_objdir/$soname.def;
   14846 	  cat $export_symbols >> $output_objdir/$soname.def;
   14847 	fi~
   14848 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14849       else
   14850 	ld_shlibs_F77=no
   14851       fi
   14852       ;;
   14853 
   14854     interix3*)
   14855       hardcode_direct_F77=no
   14856       hardcode_shlibpath_var_F77=no
   14857       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14858       export_dynamic_flag_spec_F77='${wl}-E'
   14859       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14860       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14861       # default) and relocated if they conflict, which is a slow very memory
   14862       # consuming and fragmenting process.  To avoid this, we pick a random,
   14863       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14864       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14865       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14866       archive_expsym_cmds_F77='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'
   14867       ;;
   14868 
   14869     linux*)
   14870       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14871 	tmp_addflag=
   14872 	case $cc_basename,$host_cpu in
   14873 	pgcc*)				# Portland Group C compiler
   14874 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14875 	  tmp_addflag=' $pic_flag'
   14876 	  ;;
   14877 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14878 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14879 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14880 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14881 	  tmp_addflag=' -i_dynamic' ;;
   14882 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14883 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14884 	ifc* | ifort*)			# Intel Fortran compiler
   14885 	  tmp_addflag=' -nofor_main' ;;
   14886 	esac
   14887 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14888 
   14889 	if test $supports_anon_versioning = yes; then
   14890 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14891   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14892   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14893 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14894 	fi
   14895       else
   14896 	ld_shlibs_F77=no
   14897       fi
   14898       ;;
   14899 
   14900     netbsd*)
   14901       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14902 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14903 	wlarc=
   14904       else
   14905 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14906 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14907       fi
   14908       ;;
   14909 
   14910     solaris*)
   14911       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14912 	ld_shlibs_F77=no
   14913 	cat <<EOF 1>&2
   14914 
   14915 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14916 *** create shared libraries on Solaris systems.  Therefore, libtool
   14917 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14918 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14919 *** your PATH or compiler configuration so that the native linker is
   14920 *** used, and then restart.
   14921 
   14922 EOF
   14923       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14924 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14925 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14926       else
   14927 	ld_shlibs_F77=no
   14928       fi
   14929       ;;
   14930 
   14931     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14932       case `$LD -v 2>&1` in
   14933         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14934 	ld_shlibs_F77=no
   14935 	cat <<_LT_EOF 1>&2
   14936 
   14937 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14938 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14939 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14940 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14941 *** your PATH or compiler configuration so that the native linker is
   14942 *** used, and then restart.
   14943 
   14944 _LT_EOF
   14945 	;;
   14946 	*)
   14947 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14948 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14949 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14950 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14951 	  else
   14952 	    ld_shlibs_F77=no
   14953 	  fi
   14954 	;;
   14955       esac
   14956       ;;
   14957 
   14958     sunos4*)
   14959       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14960       wlarc=
   14961       hardcode_direct_F77=yes
   14962       hardcode_shlibpath_var_F77=no
   14963       ;;
   14964 
   14965     *)
   14966       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14967 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14968 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14969       else
   14970 	ld_shlibs_F77=no
   14971       fi
   14972       ;;
   14973     esac
   14974 
   14975     if test "$ld_shlibs_F77" = no; then
   14976       runpath_var=
   14977       hardcode_libdir_flag_spec_F77=
   14978       export_dynamic_flag_spec_F77=
   14979       whole_archive_flag_spec_F77=
   14980     fi
   14981   else
   14982     # PORTME fill in a description of your system's linker (not GNU ld)
   14983     case $host_os in
   14984     aix3*)
   14985       allow_undefined_flag_F77=unsupported
   14986       always_export_symbols_F77=yes
   14987       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   14988       # Note: this linker hardcodes the directories in LIBPATH if there
   14989       # are no directories specified by -L.
   14990       hardcode_minus_L_F77=yes
   14991       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14992 	# Neither direct hardcoding nor static linking is supported with a
   14993 	# broken collect2.
   14994 	hardcode_direct_F77=unsupported
   14995       fi
   14996       ;;
   14997 
   14998     aix4* | aix5*)
   14999       if test "$host_cpu" = ia64; then
   15000 	# On IA64, the linker does run time linking by default, so we don't
   15001 	# have to do anything special.
   15002 	aix_use_runtimelinking=no
   15003 	exp_sym_flag='-Bexport'
   15004 	no_entry_flag=""
   15005       else
   15006 	# If we're using GNU nm, then we don't want the "-C" option.
   15007 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15008 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15009 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15010 	else
   15011 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15012 	fi
   15013 	aix_use_runtimelinking=no
   15014 
   15015 	# Test if we are trying to use run time linking or normal
   15016 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15017 	# need to do runtime linking.
   15018 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   15019 	  for ld_flag in $LDFLAGS; do
   15020   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15021   	    aix_use_runtimelinking=yes
   15022   	    break
   15023   	  fi
   15024 	  done
   15025 	  ;;
   15026 	esac
   15027 
   15028 	exp_sym_flag='-bexport'
   15029 	no_entry_flag='-bnoentry'
   15030       fi
   15031 
   15032       # When large executables or shared objects are built, AIX ld can
   15033       # have problems creating the table of contents.  If linking a library
   15034       # or program results in "error TOC overflow" add -mminimal-toc to
   15035       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15036       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15037 
   15038       archive_cmds_F77=''
   15039       hardcode_direct_F77=yes
   15040       hardcode_libdir_separator_F77=':'
   15041       link_all_deplibs_F77=yes
   15042 
   15043       if test "$GCC" = yes; then
   15044 	case $host_os in aix4.[012]|aix4.[012].*)
   15045 	# We only want to do this on AIX 4.2 and lower, the check
   15046 	# below for broken collect2 doesn't work under 4.3+
   15047 	  collect2name=`${CC} -print-prog-name=collect2`
   15048 	  if test -f "$collect2name" && \
   15049   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15050 	  then
   15051   	  # We have reworked collect2
   15052   	  hardcode_direct_F77=yes
   15053 	  else
   15054   	  # We have old collect2
   15055   	  hardcode_direct_F77=unsupported
   15056   	  # It fails to find uninstalled libraries when the uninstalled
   15057   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15058   	  # to unsupported forces relinking
   15059   	  hardcode_minus_L_F77=yes
   15060   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15061   	  hardcode_libdir_separator_F77=
   15062 	  fi
   15063 	  ;;
   15064 	esac
   15065 	shared_flag='-shared'
   15066 	if test "$aix_use_runtimelinking" = yes; then
   15067 	  shared_flag="$shared_flag "'${wl}-G'
   15068 	fi
   15069       else
   15070 	# not using gcc
   15071 	if test "$host_cpu" = ia64; then
   15072   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15073   	# chokes on -Wl,-G. The following line is correct:
   15074 	  shared_flag='-G'
   15075 	else
   15076 	  if test "$aix_use_runtimelinking" = yes; then
   15077 	    shared_flag='${wl}-G'
   15078 	  else
   15079 	    shared_flag='${wl}-bM:SRE'
   15080 	  fi
   15081 	fi
   15082       fi
   15083 
   15084       # It seems that -bexpall does not export symbols beginning with
   15085       # underscore (_), so it is better to generate a list of symbols to export.
   15086       always_export_symbols_F77=yes
   15087       if test "$aix_use_runtimelinking" = yes; then
   15088 	# Warning - without using the other runtime loading flags (-brtl),
   15089 	# -berok will link without error, but may produce a broken library.
   15090 	allow_undefined_flag_F77='-berok'
   15091        # Determine the default libpath from the value encoded in an empty executable.
   15092        cat >conftest.$ac_ext <<_ACEOF
   15093       program main
   15094 
   15095       end
   15096 _ACEOF
   15097 rm -f conftest.$ac_objext conftest$ac_exeext
   15098 if { (ac_try="$ac_link"
   15099 case "(($ac_try" in
   15100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15101   *) ac_try_echo=$ac_try;;
   15102 esac
   15103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15104   (eval "$ac_link") 2>conftest.er1
   15105   ac_status=$?
   15106   grep -v '^ *+' conftest.er1 >conftest.err
   15107   rm -f conftest.er1
   15108   cat conftest.err >&5
   15109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15110   (exit $ac_status); } && {
   15111 	 test -z "$ac_f77_werror_flag" ||
   15112 	 test ! -s conftest.err
   15113        } && test -s conftest$ac_exeext &&
   15114        $as_test_x conftest$ac_exeext; then
   15115 
   15116 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15117 }'`
   15118 # Check for a 64-bit object if we didn't find anything.
   15119 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15120 }'`; fi
   15121 else
   15122   echo "$as_me: failed program was:" >&5
   15123 sed 's/^/| /' conftest.$ac_ext >&5
   15124 
   15125 
   15126 fi
   15127 
   15128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15129       conftest$ac_exeext conftest.$ac_ext
   15130 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15131 
   15132        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15133 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15134        else
   15135 	if test "$host_cpu" = ia64; then
   15136 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15137 	  allow_undefined_flag_F77="-z nodefs"
   15138 	  archive_expsym_cmds_F77="\$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"
   15139 	else
   15140 	 # Determine the default libpath from the value encoded in an empty executable.
   15141 	 cat >conftest.$ac_ext <<_ACEOF
   15142       program main
   15143 
   15144       end
   15145 _ACEOF
   15146 rm -f conftest.$ac_objext conftest$ac_exeext
   15147 if { (ac_try="$ac_link"
   15148 case "(($ac_try" in
   15149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15150   *) ac_try_echo=$ac_try;;
   15151 esac
   15152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15153   (eval "$ac_link") 2>conftest.er1
   15154   ac_status=$?
   15155   grep -v '^ *+' conftest.er1 >conftest.err
   15156   rm -f conftest.er1
   15157   cat conftest.err >&5
   15158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15159   (exit $ac_status); } && {
   15160 	 test -z "$ac_f77_werror_flag" ||
   15161 	 test ! -s conftest.err
   15162        } && test -s conftest$ac_exeext &&
   15163        $as_test_x conftest$ac_exeext; then
   15164 
   15165 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15166 }'`
   15167 # Check for a 64-bit object if we didn't find anything.
   15168 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15169 }'`; fi
   15170 else
   15171   echo "$as_me: failed program was:" >&5
   15172 sed 's/^/| /' conftest.$ac_ext >&5
   15173 
   15174 
   15175 fi
   15176 
   15177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15178       conftest$ac_exeext conftest.$ac_ext
   15179 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15180 
   15181 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15182 	  # Warning - without using the other run time loading flags,
   15183 	  # -berok will link without error, but may produce a broken library.
   15184 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15185 	  allow_undefined_flag_F77=' ${wl}-berok'
   15186 	  # Exported symbols can be pulled into shared objects from archives
   15187 	  whole_archive_flag_spec_F77='$convenience'
   15188 	  archive_cmds_need_lc_F77=yes
   15189 	  # This is similar to how AIX traditionally builds its shared libraries.
   15190 	  archive_expsym_cmds_F77="\$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'
   15191 	fi
   15192       fi
   15193       ;;
   15194 
   15195     amigaos*)
   15196       archive_cmds_F77='$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)'
   15197       hardcode_libdir_flag_spec_F77='-L$libdir'
   15198       hardcode_minus_L_F77=yes
   15199       # see comment about different semantics on the GNU ld section
   15200       ld_shlibs_F77=no
   15201       ;;
   15202 
   15203     bsdi[45]*)
   15204       export_dynamic_flag_spec_F77=-rdynamic
   15205       ;;
   15206 
   15207     cygwin* | mingw* | pw32*)
   15208       # When not using gcc, we currently assume that we are using
   15209       # Microsoft Visual C++.
   15210       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15211       # no search path for DLLs.
   15212       hardcode_libdir_flag_spec_F77=' '
   15213       allow_undefined_flag_F77=unsupported
   15214       # Tell ltmain to make .lib files, not .a files.
   15215       libext=lib
   15216       # Tell ltmain to make .dll files, not .so files.
   15217       shrext_cmds=".dll"
   15218       # FIXME: Setting linknames here is a bad hack.
   15219       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15220       # The linker will automatically build a .lib file if we build a DLL.
   15221       old_archive_From_new_cmds_F77='true'
   15222       # FIXME: Should let the user specify the lib program.
   15223       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   15224       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15225       enable_shared_with_static_runtimes_F77=yes
   15226       ;;
   15227 
   15228     darwin* | rhapsody*)
   15229       case $host_os in
   15230         rhapsody* | darwin1.[012])
   15231          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15232          ;;
   15233        *) # Darwin 1.3 on
   15234          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15235            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15236          else
   15237            case ${MACOSX_DEPLOYMENT_TARGET} in
   15238              10.[012])
   15239                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15240                ;;
   15241              10.*)
   15242                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15243                ;;
   15244            esac
   15245          fi
   15246          ;;
   15247       esac
   15248       archive_cmds_need_lc_F77=no
   15249       hardcode_direct_F77=no
   15250       hardcode_automatic_F77=yes
   15251       hardcode_shlibpath_var_F77=unsupported
   15252       whole_archive_flag_spec_F77=''
   15253       link_all_deplibs_F77=yes
   15254     if test "$GCC" = yes ; then
   15255     	output_verbose_link_cmd='echo'
   15256         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   15257       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15258       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15259       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15260       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15261     else
   15262       case $cc_basename in
   15263         xlc*)
   15264          output_verbose_link_cmd='echo'
   15265          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   15266          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15267           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15268          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15269           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15270           ;;
   15271        *)
   15272          ld_shlibs_F77=no
   15273           ;;
   15274       esac
   15275     fi
   15276       ;;
   15277 
   15278     dgux*)
   15279       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15280       hardcode_libdir_flag_spec_F77='-L$libdir'
   15281       hardcode_shlibpath_var_F77=no
   15282       ;;
   15283 
   15284     freebsd1*)
   15285       ld_shlibs_F77=no
   15286       ;;
   15287 
   15288     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15289     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15290     # does not break anything, and helps significantly (at the cost of a little
   15291     # extra space).
   15292     freebsd2.2*)
   15293       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15294       hardcode_libdir_flag_spec_F77='-R$libdir'
   15295       hardcode_direct_F77=yes
   15296       hardcode_shlibpath_var_F77=no
   15297       ;;
   15298 
   15299     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15300     freebsd2*)
   15301       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15302       hardcode_direct_F77=yes
   15303       hardcode_minus_L_F77=yes
   15304       hardcode_shlibpath_var_F77=no
   15305       ;;
   15306 
   15307     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15308     freebsd* | kfreebsd*-gnu | dragonfly*)
   15309       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15310       hardcode_libdir_flag_spec_F77='-R$libdir'
   15311       hardcode_direct_F77=yes
   15312       hardcode_shlibpath_var_F77=no
   15313       ;;
   15314 
   15315     hpux9*)
   15316       if test "$GCC" = yes; then
   15317 	archive_cmds_F77='$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'
   15318       else
   15319 	archive_cmds_F77='$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'
   15320       fi
   15321       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15322       hardcode_libdir_separator_F77=:
   15323       hardcode_direct_F77=yes
   15324 
   15325       # hardcode_minus_L: Not really in the search PATH,
   15326       # but as the default location of the library.
   15327       hardcode_minus_L_F77=yes
   15328       export_dynamic_flag_spec_F77='${wl}-E'
   15329       ;;
   15330 
   15331     hpux10*)
   15332       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15333 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15334       else
   15335 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15336       fi
   15337       if test "$with_gnu_ld" = no; then
   15338 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15339 	hardcode_libdir_separator_F77=:
   15340 
   15341 	hardcode_direct_F77=yes
   15342 	export_dynamic_flag_spec_F77='${wl}-E'
   15343 
   15344 	# hardcode_minus_L: Not really in the search PATH,
   15345 	# but as the default location of the library.
   15346 	hardcode_minus_L_F77=yes
   15347       fi
   15348       ;;
   15349 
   15350     hpux11*)
   15351       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15352 	case $host_cpu in
   15353 	hppa*64*)
   15354 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15355 	  ;;
   15356 	ia64*)
   15357 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15358 	  ;;
   15359 	*)
   15360 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15361 	  ;;
   15362 	esac
   15363       else
   15364 	case $host_cpu in
   15365 	hppa*64*)
   15366 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15367 	  ;;
   15368 	ia64*)
   15369 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15370 	  ;;
   15371 	*)
   15372 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15373 	  ;;
   15374 	esac
   15375       fi
   15376       if test "$with_gnu_ld" = no; then
   15377 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15378 	hardcode_libdir_separator_F77=:
   15379 
   15380 	case $host_cpu in
   15381 	hppa*64*|ia64*)
   15382 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15383 	  hardcode_direct_F77=no
   15384 	  hardcode_shlibpath_var_F77=no
   15385 	  ;;
   15386 	*)
   15387 	  hardcode_direct_F77=yes
   15388 	  export_dynamic_flag_spec_F77='${wl}-E'
   15389 
   15390 	  # hardcode_minus_L: Not really in the search PATH,
   15391 	  # but as the default location of the library.
   15392 	  hardcode_minus_L_F77=yes
   15393 	  ;;
   15394 	esac
   15395       fi
   15396       ;;
   15397 
   15398     irix5* | irix6* | nonstopux*)
   15399       if test "$GCC" = yes; then
   15400 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15401       else
   15402 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15403 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15404       fi
   15405       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15406       hardcode_libdir_separator_F77=:
   15407       link_all_deplibs_F77=yes
   15408       ;;
   15409 
   15410     netbsd*)
   15411       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15412 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15413       else
   15414 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15415       fi
   15416       hardcode_libdir_flag_spec_F77='-R$libdir'
   15417       hardcode_direct_F77=yes
   15418       hardcode_shlibpath_var_F77=no
   15419       ;;
   15420 
   15421     newsos6)
   15422       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15423       hardcode_direct_F77=yes
   15424       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15425       hardcode_libdir_separator_F77=:
   15426       hardcode_shlibpath_var_F77=no
   15427       ;;
   15428 
   15429     openbsd*)
   15430       hardcode_direct_F77=yes
   15431       hardcode_shlibpath_var_F77=no
   15432       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15433 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15434 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15435 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15436 	export_dynamic_flag_spec_F77='${wl}-E'
   15437       else
   15438        case $host_os in
   15439 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15440 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15441 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   15442 	   ;;
   15443 	 *)
   15444 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15445 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15446 	   ;;
   15447        esac
   15448       fi
   15449       ;;
   15450 
   15451     os2*)
   15452       hardcode_libdir_flag_spec_F77='-L$libdir'
   15453       hardcode_minus_L_F77=yes
   15454       allow_undefined_flag_F77=unsupported
   15455       archive_cmds_F77='$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'
   15456       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15457       ;;
   15458 
   15459     osf3*)
   15460       if test "$GCC" = yes; then
   15461 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15462 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15463       else
   15464 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15465 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15466       fi
   15467       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15468       hardcode_libdir_separator_F77=:
   15469       ;;
   15470 
   15471     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15472       if test "$GCC" = yes; then
   15473 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15474 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15475 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15476       else
   15477 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15478 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15479 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   15480 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   15481 
   15482 	# Both c and cxx compiler support -rpath directly
   15483 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15484       fi
   15485       hardcode_libdir_separator_F77=:
   15486       ;;
   15487 
   15488     solaris*)
   15489       no_undefined_flag_F77=' -z text'
   15490       if test "$GCC" = yes; then
   15491 	wlarc='${wl}'
   15492 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15493 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15494 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15495       else
   15496 	wlarc=''
   15497 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15498 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15499   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15500       fi
   15501       hardcode_libdir_flag_spec_F77='-R$libdir'
   15502       hardcode_shlibpath_var_F77=no
   15503       case $host_os in
   15504       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15505       *)
   15506  	# The compiler driver will combine linker options so we
   15507  	# cannot just pass the convience library names through
   15508  	# without $wl, iff we do not link with $LD.
   15509  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   15510  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15511  	case $wlarc in
   15512  	'')
   15513  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   15514  	*)
   15515  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   15516  	esac ;;
   15517       esac
   15518       link_all_deplibs_F77=yes
   15519       ;;
   15520 
   15521     sunos4*)
   15522       if test "x$host_vendor" = xsequent; then
   15523 	# Use $CC to link under sequent, because it throws in some extra .o
   15524 	# files that make .init and .fini sections work.
   15525 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15526       else
   15527 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15528       fi
   15529       hardcode_libdir_flag_spec_F77='-L$libdir'
   15530       hardcode_direct_F77=yes
   15531       hardcode_minus_L_F77=yes
   15532       hardcode_shlibpath_var_F77=no
   15533       ;;
   15534 
   15535     sysv4)
   15536       case $host_vendor in
   15537 	sni)
   15538 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15539 	  hardcode_direct_F77=yes # is this really true???
   15540 	;;
   15541 	siemens)
   15542 	  ## LD is ld it makes a PLAMLIB
   15543 	  ## CC just makes a GrossModule.
   15544 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15545 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15546 	  hardcode_direct_F77=no
   15547         ;;
   15548 	motorola)
   15549 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15550 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15551 	;;
   15552       esac
   15553       runpath_var='LD_RUN_PATH'
   15554       hardcode_shlibpath_var_F77=no
   15555       ;;
   15556 
   15557     sysv4.3*)
   15558       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15559       hardcode_shlibpath_var_F77=no
   15560       export_dynamic_flag_spec_F77='-Bexport'
   15561       ;;
   15562 
   15563     sysv4*MP*)
   15564       if test -d /usr/nec; then
   15565 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15566 	hardcode_shlibpath_var_F77=no
   15567 	runpath_var=LD_RUN_PATH
   15568 	hardcode_runpath_var=yes
   15569 	ld_shlibs_F77=yes
   15570       fi
   15571       ;;
   15572 
   15573     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   15574       no_undefined_flag_F77='${wl}-z,text'
   15575       archive_cmds_need_lc_F77=no
   15576       hardcode_shlibpath_var_F77=no
   15577       runpath_var='LD_RUN_PATH'
   15578 
   15579       if test "$GCC" = yes; then
   15580 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15581 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15582       else
   15583 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15584 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15585       fi
   15586       ;;
   15587 
   15588     sysv5* | sco3.2v5* | sco5v6*)
   15589       # Note: We can NOT use -z defs as we might desire, because we do not
   15590       # link with -lc, and that would cause any symbols used from libc to
   15591       # always be unresolved, which means just about no library would
   15592       # ever link correctly.  If we're not using GNU ld we use -z text
   15593       # though, which does catch some bad symbols but isn't as heavy-handed
   15594       # as -z defs.
   15595       no_undefined_flag_F77='${wl}-z,text'
   15596       allow_undefined_flag_F77='${wl}-z,nodefs'
   15597       archive_cmds_need_lc_F77=no
   15598       hardcode_shlibpath_var_F77=no
   15599       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15600       hardcode_libdir_separator_F77=':'
   15601       link_all_deplibs_F77=yes
   15602       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15603       runpath_var='LD_RUN_PATH'
   15604 
   15605       if test "$GCC" = yes; then
   15606 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15607 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15608       else
   15609 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15610 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15611       fi
   15612       ;;
   15613 
   15614     uts4*)
   15615       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15616       hardcode_libdir_flag_spec_F77='-L$libdir'
   15617       hardcode_shlibpath_var_F77=no
   15618       ;;
   15619 
   15620     *)
   15621       ld_shlibs_F77=no
   15622       ;;
   15623     esac
   15624   fi
   15625 
   15626 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15627 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15628 test "$ld_shlibs_F77" = no && can_build_shared=no
   15629 
   15630 #
   15631 # Do we need to explicitly link libc?
   15632 #
   15633 case "x$archive_cmds_need_lc_F77" in
   15634 x|xyes)
   15635   # Assume -lc should be added
   15636   archive_cmds_need_lc_F77=yes
   15637 
   15638   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15639     case $archive_cmds_F77 in
   15640     *'~'*)
   15641       # FIXME: we may have to deal with multi-command sequences.
   15642       ;;
   15643     '$CC '*)
   15644       # Test whether the compiler implicitly links with -lc since on some
   15645       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15646       # to ld, don't add -lc before -lgcc.
   15647       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15648 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15649       $rm conftest*
   15650       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15651 
   15652       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15653   (eval $ac_compile) 2>&5
   15654   ac_status=$?
   15655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15656   (exit $ac_status); } 2>conftest.err; then
   15657         soname=conftest
   15658         lib=conftest
   15659         libobjs=conftest.$ac_objext
   15660         deplibs=
   15661         wl=$lt_prog_compiler_wl_F77
   15662 	pic_flag=$lt_prog_compiler_pic_F77
   15663         compiler_flags=-v
   15664         linker_flags=-v
   15665         verstring=
   15666         output_objdir=.
   15667         libname=conftest
   15668         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15669         allow_undefined_flag_F77=
   15670         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15671   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15672   ac_status=$?
   15673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15674   (exit $ac_status); }
   15675         then
   15676 	  archive_cmds_need_lc_F77=no
   15677         else
   15678 	  archive_cmds_need_lc_F77=yes
   15679         fi
   15680         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15681       else
   15682         cat conftest.err 1>&5
   15683       fi
   15684       $rm conftest*
   15685       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15686 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15687       ;;
   15688     esac
   15689   fi
   15690   ;;
   15691 esac
   15692 
   15693 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15694 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15695 library_names_spec=
   15696 libname_spec='lib$name'
   15697 soname_spec=
   15698 shrext_cmds=".so"
   15699 postinstall_cmds=
   15700 postuninstall_cmds=
   15701 finish_cmds=
   15702 finish_eval=
   15703 shlibpath_var=
   15704 shlibpath_overrides_runpath=unknown
   15705 version_type=none
   15706 dynamic_linker="$host_os ld.so"
   15707 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15708 if test "$GCC" = yes; then
   15709   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15710   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15711     # if the path contains ";" then we assume it to be the separator
   15712     # otherwise default to the standard path separator (i.e. ":") - it is
   15713     # assumed that no part of a normal pathname contains ";" but that should
   15714     # okay in the real world where ";" in dirpaths is itself problematic.
   15715     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15716   else
   15717     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15718   fi
   15719 else
   15720   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15721 fi
   15722 need_lib_prefix=unknown
   15723 hardcode_into_libs=no
   15724 
   15725 # when you set need_version to no, make sure it does not cause -set_version
   15726 # flags to be left without arguments
   15727 need_version=unknown
   15728 
   15729 case $host_os in
   15730 aix3*)
   15731   version_type=linux
   15732   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15733   shlibpath_var=LIBPATH
   15734 
   15735   # AIX 3 has no versioning support, so we append a major version to the name.
   15736   soname_spec='${libname}${release}${shared_ext}$major'
   15737   ;;
   15738 
   15739 aix4* | aix5*)
   15740   version_type=linux
   15741   need_lib_prefix=no
   15742   need_version=no
   15743   hardcode_into_libs=yes
   15744   if test "$host_cpu" = ia64; then
   15745     # AIX 5 supports IA64
   15746     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15747     shlibpath_var=LD_LIBRARY_PATH
   15748   else
   15749     # With GCC up to 2.95.x, collect2 would create an import file
   15750     # for dependence libraries.  The import file would start with
   15751     # the line `#! .'.  This would cause the generated library to
   15752     # depend on `.', always an invalid library.  This was fixed in
   15753     # development snapshots of GCC prior to 3.0.
   15754     case $host_os in
   15755       aix4 | aix4.[01] | aix4.[01].*)
   15756       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15757 	   echo ' yes '
   15758 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15759 	:
   15760       else
   15761 	can_build_shared=no
   15762       fi
   15763       ;;
   15764     esac
   15765     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15766     # soname into executable. Probably we can add versioning support to
   15767     # collect2, so additional links can be useful in future.
   15768     if test "$aix_use_runtimelinking" = yes; then
   15769       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15770       # instead of lib<name>.a to let people know that these are not
   15771       # typical AIX shared libraries.
   15772       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15773     else
   15774       # We preserve .a as extension for shared libraries through AIX4.2
   15775       # and later when we are not doing run time linking.
   15776       library_names_spec='${libname}${release}.a $libname.a'
   15777       soname_spec='${libname}${release}${shared_ext}$major'
   15778     fi
   15779     shlibpath_var=LIBPATH
   15780   fi
   15781   ;;
   15782 
   15783 amigaos*)
   15784   library_names_spec='$libname.ixlibrary $libname.a'
   15785   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15786   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'
   15787   ;;
   15788 
   15789 beos*)
   15790   library_names_spec='${libname}${shared_ext}'
   15791   dynamic_linker="$host_os ld.so"
   15792   shlibpath_var=LIBRARY_PATH
   15793   ;;
   15794 
   15795 bsdi[45]*)
   15796   version_type=linux
   15797   need_version=no
   15798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15799   soname_spec='${libname}${release}${shared_ext}$major'
   15800   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15801   shlibpath_var=LD_LIBRARY_PATH
   15802   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15803   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15804   # the default ld.so.conf also contains /usr/contrib/lib and
   15805   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15806   # libtool to hard-code these into programs
   15807   ;;
   15808 
   15809 cygwin* | mingw* | pw32*)
   15810   version_type=windows
   15811   shrext_cmds=".dll"
   15812   need_version=no
   15813   need_lib_prefix=no
   15814 
   15815   case $GCC,$host_os in
   15816   yes,cygwin* | yes,mingw* | yes,pw32*)
   15817     library_names_spec='$libname.dll.a'
   15818     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15819     postinstall_cmds='base_file=`basename \${file}`~
   15820       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15821       dldir=$destdir/`dirname \$dlpath`~
   15822       test -d \$dldir || mkdir -p \$dldir~
   15823       $install_prog $dir/$dlname \$dldir/$dlname~
   15824       chmod a+x \$dldir/$dlname'
   15825     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15826       dlpath=$dir/\$dldll~
   15827        $rm \$dlpath'
   15828     shlibpath_overrides_runpath=yes
   15829 
   15830     case $host_os in
   15831     cygwin*)
   15832       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15833       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15834       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15835       ;;
   15836     mingw*)
   15837       # MinGW DLLs use traditional 'lib' prefix
   15838       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15839       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15840       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15841         # It is most probably a Windows format PATH printed by
   15842         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15843         # path with ; separators, and with drive letters. We can handle the
   15844         # drive letters (cygwin fileutils understands them), so leave them,
   15845         # especially as we might pass files found there to a mingw objdump,
   15846         # which wouldn't understand a cygwinified path. Ahh.
   15847         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15848       else
   15849         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15850       fi
   15851       ;;
   15852     pw32*)
   15853       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15854       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15855       ;;
   15856     esac
   15857     ;;
   15858 
   15859   *)
   15860     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15861     ;;
   15862   esac
   15863   dynamic_linker='Win32 ld.exe'
   15864   # FIXME: first we should search . and the directory the executable is in
   15865   shlibpath_var=PATH
   15866   ;;
   15867 
   15868 darwin* | rhapsody*)
   15869   dynamic_linker="$host_os dyld"
   15870   version_type=darwin
   15871   need_lib_prefix=no
   15872   need_version=no
   15873   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15874   soname_spec='${libname}${release}${major}$shared_ext'
   15875   shlibpath_overrides_runpath=yes
   15876   shlibpath_var=DYLD_LIBRARY_PATH
   15877   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15878   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15879   if test "$GCC" = yes; then
   15880     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   15881   else
   15882     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15883   fi
   15884   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15885   ;;
   15886 
   15887 dgux*)
   15888   version_type=linux
   15889   need_lib_prefix=no
   15890   need_version=no
   15891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15892   soname_spec='${libname}${release}${shared_ext}$major'
   15893   shlibpath_var=LD_LIBRARY_PATH
   15894   ;;
   15895 
   15896 freebsd1*)
   15897   dynamic_linker=no
   15898   ;;
   15899 
   15900 kfreebsd*-gnu)
   15901   version_type=linux
   15902   need_lib_prefix=no
   15903   need_version=no
   15904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15905   soname_spec='${libname}${release}${shared_ext}$major'
   15906   shlibpath_var=LD_LIBRARY_PATH
   15907   shlibpath_overrides_runpath=no
   15908   hardcode_into_libs=yes
   15909   dynamic_linker='GNU ld.so'
   15910   ;;
   15911 
   15912 freebsd* | dragonfly*)
   15913   # DragonFly does not have aout.  When/if they implement a new
   15914   # versioning mechanism, adjust this.
   15915   if test -x /usr/bin/objformat; then
   15916     objformat=`/usr/bin/objformat`
   15917   else
   15918     case $host_os in
   15919     freebsd[123]*) objformat=aout ;;
   15920     *) objformat=elf ;;
   15921     esac
   15922   fi
   15923   version_type=freebsd-$objformat
   15924   case $version_type in
   15925     freebsd-elf*)
   15926       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15927       need_version=no
   15928       need_lib_prefix=no
   15929       ;;
   15930     freebsd-*)
   15931       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15932       need_version=yes
   15933       ;;
   15934   esac
   15935   shlibpath_var=LD_LIBRARY_PATH
   15936   case $host_os in
   15937   freebsd2*)
   15938     shlibpath_overrides_runpath=yes
   15939     ;;
   15940   freebsd3.[01]* | freebsdelf3.[01]*)
   15941     shlibpath_overrides_runpath=yes
   15942     hardcode_into_libs=yes
   15943     ;;
   15944   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15945   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15946     shlibpath_overrides_runpath=no
   15947     hardcode_into_libs=yes
   15948     ;;
   15949   freebsd*) # from 4.6 on
   15950     shlibpath_overrides_runpath=yes
   15951     hardcode_into_libs=yes
   15952     ;;
   15953   esac
   15954   ;;
   15955 
   15956 gnu*)
   15957   version_type=linux
   15958   need_lib_prefix=no
   15959   need_version=no
   15960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15961   soname_spec='${libname}${release}${shared_ext}$major'
   15962   shlibpath_var=LD_LIBRARY_PATH
   15963   hardcode_into_libs=yes
   15964   ;;
   15965 
   15966 hpux9* | hpux10* | hpux11*)
   15967   # Give a soname corresponding to the major version so that dld.sl refuses to
   15968   # link against other versions.
   15969   version_type=sunos
   15970   need_lib_prefix=no
   15971   need_version=no
   15972   case $host_cpu in
   15973   ia64*)
   15974     shrext_cmds='.so'
   15975     hardcode_into_libs=yes
   15976     dynamic_linker="$host_os dld.so"
   15977     shlibpath_var=LD_LIBRARY_PATH
   15978     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15979     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15980     soname_spec='${libname}${release}${shared_ext}$major'
   15981     if test "X$HPUX_IA64_MODE" = X32; then
   15982       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15983     else
   15984       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15985     fi
   15986     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15987     ;;
   15988    hppa*64*)
   15989      shrext_cmds='.sl'
   15990      hardcode_into_libs=yes
   15991      dynamic_linker="$host_os dld.sl"
   15992      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15993      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15994      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15995      soname_spec='${libname}${release}${shared_ext}$major'
   15996      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15997      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15998      ;;
   15999    *)
   16000     shrext_cmds='.sl'
   16001     dynamic_linker="$host_os dld.sl"
   16002     shlibpath_var=SHLIB_PATH
   16003     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16004     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16005     soname_spec='${libname}${release}${shared_ext}$major'
   16006     ;;
   16007   esac
   16008   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16009   postinstall_cmds='chmod 555 $lib'
   16010   ;;
   16011 
   16012 interix3*)
   16013   version_type=linux
   16014   need_lib_prefix=no
   16015   need_version=no
   16016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16017   soname_spec='${libname}${release}${shared_ext}$major'
   16018   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16019   shlibpath_var=LD_LIBRARY_PATH
   16020   shlibpath_overrides_runpath=no
   16021   hardcode_into_libs=yes
   16022   ;;
   16023 
   16024 irix5* | irix6* | nonstopux*)
   16025   case $host_os in
   16026     nonstopux*) version_type=nonstopux ;;
   16027     *)
   16028 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16029 		version_type=linux
   16030 	else
   16031 		version_type=irix
   16032 	fi ;;
   16033   esac
   16034   need_lib_prefix=no
   16035   need_version=no
   16036   soname_spec='${libname}${release}${shared_ext}$major'
   16037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16038   case $host_os in
   16039   irix5* | nonstopux*)
   16040     libsuff= shlibsuff=
   16041     ;;
   16042   *)
   16043     case $LD in # libtool.m4 will add one of these switches to LD
   16044     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16045       libsuff= shlibsuff= libmagic=32-bit;;
   16046     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16047       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16048     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16049       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16050     *) libsuff= shlibsuff= libmagic=never-match;;
   16051     esac
   16052     ;;
   16053   esac
   16054   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16055   shlibpath_overrides_runpath=no
   16056   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16057   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16058   hardcode_into_libs=yes
   16059   ;;
   16060 
   16061 # No shared lib support for Linux oldld, aout, or coff.
   16062 linux*oldld* | linux*aout* | linux*coff*)
   16063   dynamic_linker=no
   16064   ;;
   16065 
   16066 # This must be Linux ELF.
   16067 linux*)
   16068   version_type=linux
   16069   need_lib_prefix=no
   16070   need_version=no
   16071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16072   soname_spec='${libname}${release}${shared_ext}$major'
   16073   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16074   shlibpath_var=LD_LIBRARY_PATH
   16075   shlibpath_overrides_runpath=no
   16076   # This implies no fast_install, which is unacceptable.
   16077   # Some rework will be needed to allow for fast_install
   16078   # before this can be enabled.
   16079   hardcode_into_libs=yes
   16080 
   16081   # Append ld.so.conf contents to the search path
   16082   if test -f /etc/ld.so.conf; then
   16083     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16084     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16085   fi
   16086 
   16087   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16088   # powerpc, because MkLinux only supported shared libraries with the
   16089   # GNU dynamic linker.  Since this was broken with cross compilers,
   16090   # most powerpc-linux boxes support dynamic linking these days and
   16091   # people can always --disable-shared, the test was removed, and we
   16092   # assume the GNU/Linux dynamic linker is in use.
   16093   dynamic_linker='GNU/Linux ld.so'
   16094   ;;
   16095 
   16096 knetbsd*-gnu)
   16097   version_type=linux
   16098   need_lib_prefix=no
   16099   need_version=no
   16100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16101   soname_spec='${libname}${release}${shared_ext}$major'
   16102   shlibpath_var=LD_LIBRARY_PATH
   16103   shlibpath_overrides_runpath=no
   16104   hardcode_into_libs=yes
   16105   dynamic_linker='GNU ld.so'
   16106   ;;
   16107 
   16108 netbsd*)
   16109   version_type=sunos
   16110   need_lib_prefix=no
   16111   need_version=no
   16112   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16113     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16114     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16115     dynamic_linker='NetBSD (a.out) ld.so'
   16116   else
   16117     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16118     soname_spec='${libname}${release}${shared_ext}$major'
   16119     dynamic_linker='NetBSD ld.elf_so'
   16120   fi
   16121   shlibpath_var=LD_LIBRARY_PATH
   16122   shlibpath_overrides_runpath=yes
   16123   hardcode_into_libs=yes
   16124   ;;
   16125 
   16126 newsos6)
   16127   version_type=linux
   16128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16129   shlibpath_var=LD_LIBRARY_PATH
   16130   shlibpath_overrides_runpath=yes
   16131   ;;
   16132 
   16133 nto-qnx*)
   16134   version_type=linux
   16135   need_lib_prefix=no
   16136   need_version=no
   16137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16138   soname_spec='${libname}${release}${shared_ext}$major'
   16139   shlibpath_var=LD_LIBRARY_PATH
   16140   shlibpath_overrides_runpath=yes
   16141   ;;
   16142 
   16143 openbsd*)
   16144   version_type=sunos
   16145   sys_lib_dlsearch_path_spec="/usr/lib"
   16146   need_lib_prefix=no
   16147   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16148   case $host_os in
   16149     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16150     *)                         need_version=no  ;;
   16151   esac
   16152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16153   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16154   shlibpath_var=LD_LIBRARY_PATH
   16155   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16156     case $host_os in
   16157       openbsd2.[89] | openbsd2.[89].*)
   16158 	shlibpath_overrides_runpath=no
   16159 	;;
   16160       *)
   16161 	shlibpath_overrides_runpath=yes
   16162 	;;
   16163       esac
   16164   else
   16165     shlibpath_overrides_runpath=yes
   16166   fi
   16167   ;;
   16168 
   16169 os2*)
   16170   libname_spec='$name'
   16171   shrext_cmds=".dll"
   16172   need_lib_prefix=no
   16173   library_names_spec='$libname${shared_ext} $libname.a'
   16174   dynamic_linker='OS/2 ld.exe'
   16175   shlibpath_var=LIBPATH
   16176   ;;
   16177 
   16178 osf3* | osf4* | osf5*)
   16179   version_type=osf
   16180   need_lib_prefix=no
   16181   need_version=no
   16182   soname_spec='${libname}${release}${shared_ext}$major'
   16183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16184   shlibpath_var=LD_LIBRARY_PATH
   16185   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16186   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16187   ;;
   16188 
   16189 solaris*)
   16190   version_type=linux
   16191   need_lib_prefix=no
   16192   need_version=no
   16193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16194   soname_spec='${libname}${release}${shared_ext}$major'
   16195   shlibpath_var=LD_LIBRARY_PATH
   16196   shlibpath_overrides_runpath=yes
   16197   hardcode_into_libs=yes
   16198   # ldd complains unless libraries are executable
   16199   postinstall_cmds='chmod +x $lib'
   16200   ;;
   16201 
   16202 sunos4*)
   16203   version_type=sunos
   16204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16205   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16206   shlibpath_var=LD_LIBRARY_PATH
   16207   shlibpath_overrides_runpath=yes
   16208   if test "$with_gnu_ld" = yes; then
   16209     need_lib_prefix=no
   16210   fi
   16211   need_version=yes
   16212   ;;
   16213 
   16214 sysv4 | sysv4.3*)
   16215   version_type=linux
   16216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16217   soname_spec='${libname}${release}${shared_ext}$major'
   16218   shlibpath_var=LD_LIBRARY_PATH
   16219   case $host_vendor in
   16220     sni)
   16221       shlibpath_overrides_runpath=no
   16222       need_lib_prefix=no
   16223       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16224       runpath_var=LD_RUN_PATH
   16225       ;;
   16226     siemens)
   16227       need_lib_prefix=no
   16228       ;;
   16229     motorola)
   16230       need_lib_prefix=no
   16231       need_version=no
   16232       shlibpath_overrides_runpath=no
   16233       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16234       ;;
   16235   esac
   16236   ;;
   16237 
   16238 sysv4*MP*)
   16239   if test -d /usr/nec ;then
   16240     version_type=linux
   16241     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16242     soname_spec='$libname${shared_ext}.$major'
   16243     shlibpath_var=LD_LIBRARY_PATH
   16244   fi
   16245   ;;
   16246 
   16247 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16248   version_type=freebsd-elf
   16249   need_lib_prefix=no
   16250   need_version=no
   16251   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16252   soname_spec='${libname}${release}${shared_ext}$major'
   16253   shlibpath_var=LD_LIBRARY_PATH
   16254   hardcode_into_libs=yes
   16255   if test "$with_gnu_ld" = yes; then
   16256     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16257     shlibpath_overrides_runpath=no
   16258   else
   16259     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16260     shlibpath_overrides_runpath=yes
   16261     case $host_os in
   16262       sco3.2v5*)
   16263         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16264 	;;
   16265     esac
   16266   fi
   16267   sys_lib_dlsearch_path_spec='/usr/lib'
   16268   ;;
   16269 
   16270 uts4*)
   16271   version_type=linux
   16272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16273   soname_spec='${libname}${release}${shared_ext}$major'
   16274   shlibpath_var=LD_LIBRARY_PATH
   16275   ;;
   16276 
   16277 *)
   16278   dynamic_linker=no
   16279   ;;
   16280 esac
   16281 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16282 echo "${ECHO_T}$dynamic_linker" >&6; }
   16283 test "$dynamic_linker" = no && can_build_shared=no
   16284 
   16285 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16286 if test "$GCC" = yes; then
   16287   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16288 fi
   16289 
   16290 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16291 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16292 hardcode_action_F77=
   16293 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16294    test -n "$runpath_var_F77" || \
   16295    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16296 
   16297   # We can hardcode non-existant directories.
   16298   if test "$hardcode_direct_F77" != no &&
   16299      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16300      # have to relink, otherwise we might link with an installed library
   16301      # when we should be linking with a yet-to-be-installed one
   16302      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16303      test "$hardcode_minus_L_F77" != no; then
   16304     # Linking always hardcodes the temporary library directory.
   16305     hardcode_action_F77=relink
   16306   else
   16307     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16308     hardcode_action_F77=immediate
   16309   fi
   16310 else
   16311   # We cannot hardcode anything, or else we can only hardcode existing
   16312   # directories.
   16313   hardcode_action_F77=unsupported
   16314 fi
   16315 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16316 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16317 
   16318 if test "$hardcode_action_F77" = relink; then
   16319   # Fast installation is not supported
   16320   enable_fast_install=no
   16321 elif test "$shlibpath_overrides_runpath" = yes ||
   16322      test "$enable_shared" = no; then
   16323   # Fast installation is not necessary
   16324   enable_fast_install=needless
   16325 fi
   16326 
   16327 
   16328 # The else clause should only fire when bootstrapping the
   16329 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16330 # with your package, and you will get complaints that there are
   16331 # no rules to generate ltmain.sh.
   16332 if test -f "$ltmain"; then
   16333   # See if we are running on zsh, and set the options which allow our commands through
   16334   # without removal of \ escapes.
   16335   if test -n "${ZSH_VERSION+set}" ; then
   16336     setopt NO_GLOB_SUBST
   16337   fi
   16338   # Now quote all the things that may contain metacharacters while being
   16339   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16340   # variables and quote the copies for generation of the libtool script.
   16341   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16342     SED SHELL STRIP \
   16343     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16344     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16345     deplibs_check_method reload_flag reload_cmds need_locks \
   16346     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16347     lt_cv_sys_global_symbol_to_c_name_address \
   16348     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16349     old_postinstall_cmds old_postuninstall_cmds \
   16350     compiler_F77 \
   16351     CC_F77 \
   16352     LD_F77 \
   16353     lt_prog_compiler_wl_F77 \
   16354     lt_prog_compiler_pic_F77 \
   16355     lt_prog_compiler_static_F77 \
   16356     lt_prog_compiler_no_builtin_flag_F77 \
   16357     export_dynamic_flag_spec_F77 \
   16358     thread_safe_flag_spec_F77 \
   16359     whole_archive_flag_spec_F77 \
   16360     enable_shared_with_static_runtimes_F77 \
   16361     old_archive_cmds_F77 \
   16362     old_archive_from_new_cmds_F77 \
   16363     predep_objects_F77 \
   16364     postdep_objects_F77 \
   16365     predeps_F77 \
   16366     postdeps_F77 \
   16367     compiler_lib_search_path_F77 \
   16368     archive_cmds_F77 \
   16369     archive_expsym_cmds_F77 \
   16370     postinstall_cmds_F77 \
   16371     postuninstall_cmds_F77 \
   16372     old_archive_from_expsyms_cmds_F77 \
   16373     allow_undefined_flag_F77 \
   16374     no_undefined_flag_F77 \
   16375     export_symbols_cmds_F77 \
   16376     hardcode_libdir_flag_spec_F77 \
   16377     hardcode_libdir_flag_spec_ld_F77 \
   16378     hardcode_libdir_separator_F77 \
   16379     hardcode_automatic_F77 \
   16380     module_cmds_F77 \
   16381     module_expsym_cmds_F77 \
   16382     lt_cv_prog_compiler_c_o_F77 \
   16383     exclude_expsyms_F77 \
   16384     include_expsyms_F77; do
   16385 
   16386     case $var in
   16387     old_archive_cmds_F77 | \
   16388     old_archive_from_new_cmds_F77 | \
   16389     archive_cmds_F77 | \
   16390     archive_expsym_cmds_F77 | \
   16391     module_cmds_F77 | \
   16392     module_expsym_cmds_F77 | \
   16393     old_archive_from_expsyms_cmds_F77 | \
   16394     export_symbols_cmds_F77 | \
   16395     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16396     postinstall_cmds | postuninstall_cmds | \
   16397     old_postinstall_cmds | old_postuninstall_cmds | \
   16398     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16399       # Double-quote double-evaled strings.
   16400       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16401       ;;
   16402     *)
   16403       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16404       ;;
   16405     esac
   16406   done
   16407 
   16408   case $lt_echo in
   16409   *'\$0 --fallback-echo"')
   16410     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16411     ;;
   16412   esac
   16413 
   16414 cfgfile="$ofile"
   16415 
   16416   cat <<__EOF__ >> "$cfgfile"
   16417 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16418 
   16419 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16420 
   16421 # Shell to use when invoking shell scripts.
   16422 SHELL=$lt_SHELL
   16423 
   16424 # Whether or not to build shared libraries.
   16425 build_libtool_libs=$enable_shared
   16426 
   16427 # Whether or not to build static libraries.
   16428 build_old_libs=$enable_static
   16429 
   16430 # Whether or not to add -lc for building shared libraries.
   16431 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16432 
   16433 # Whether or not to disallow shared libs when runtime libs are static
   16434 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16435 
   16436 # Whether or not to optimize for fast installation.
   16437 fast_install=$enable_fast_install
   16438 
   16439 # The host system.
   16440 host_alias=$host_alias
   16441 host=$host
   16442 host_os=$host_os
   16443 
   16444 # The build system.
   16445 build_alias=$build_alias
   16446 build=$build
   16447 build_os=$build_os
   16448 
   16449 # An echo program that does not interpret backslashes.
   16450 echo=$lt_echo
   16451 
   16452 # The archiver.
   16453 AR=$lt_AR
   16454 AR_FLAGS=$lt_AR_FLAGS
   16455 
   16456 # A C compiler.
   16457 LTCC=$lt_LTCC
   16458 
   16459 # LTCC compiler flags.
   16460 LTCFLAGS=$lt_LTCFLAGS
   16461 
   16462 # A language-specific compiler.
   16463 CC=$lt_compiler_F77
   16464 
   16465 # Is the compiler the GNU C compiler?
   16466 with_gcc=$GCC_F77
   16467 
   16468 # An ERE matcher.
   16469 EGREP=$lt_EGREP
   16470 
   16471 # The linker used to build libraries.
   16472 LD=$lt_LD_F77
   16473 
   16474 # Whether we need hard or soft links.
   16475 LN_S=$lt_LN_S
   16476 
   16477 # A BSD-compatible nm program.
   16478 NM=$lt_NM
   16479 
   16480 # A symbol stripping program
   16481 STRIP=$lt_STRIP
   16482 
   16483 # Used to examine libraries when file_magic_cmd begins "file"
   16484 MAGIC_CMD=$MAGIC_CMD
   16485 
   16486 # Used on cygwin: DLL creation program.
   16487 DLLTOOL="$DLLTOOL"
   16488 
   16489 # Used on cygwin: object dumper.
   16490 OBJDUMP="$OBJDUMP"
   16491 
   16492 # Used on cygwin: assembler.
   16493 AS="$AS"
   16494 
   16495 # The name of the directory that contains temporary libtool files.
   16496 objdir=$objdir
   16497 
   16498 # How to create reloadable object files.
   16499 reload_flag=$lt_reload_flag
   16500 reload_cmds=$lt_reload_cmds
   16501 
   16502 # How to pass a linker flag through the compiler.
   16503 wl=$lt_lt_prog_compiler_wl_F77
   16504 
   16505 # Object file suffix (normally "o").
   16506 objext="$ac_objext"
   16507 
   16508 # Old archive suffix (normally "a").
   16509 libext="$libext"
   16510 
   16511 # Shared library suffix (normally ".so").
   16512 shrext_cmds='$shrext_cmds'
   16513 
   16514 # Executable file suffix (normally "").
   16515 exeext="$exeext"
   16516 
   16517 # Additional compiler flags for building library objects.
   16518 pic_flag=$lt_lt_prog_compiler_pic_F77
   16519 pic_mode=$pic_mode
   16520 
   16521 # What is the maximum length of a command?
   16522 max_cmd_len=$lt_cv_sys_max_cmd_len
   16523 
   16524 # Does compiler simultaneously support -c and -o options?
   16525 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16526 
   16527 # Must we lock files when doing compilation?
   16528 need_locks=$lt_need_locks
   16529 
   16530 # Do we need the lib prefix for modules?
   16531 need_lib_prefix=$need_lib_prefix
   16532 
   16533 # Do we need a version for libraries?
   16534 need_version=$need_version
   16535 
   16536 # Whether dlopen is supported.
   16537 dlopen_support=$enable_dlopen
   16538 
   16539 # Whether dlopen of programs is supported.
   16540 dlopen_self=$enable_dlopen_self
   16541 
   16542 # Whether dlopen of statically linked programs is supported.
   16543 dlopen_self_static=$enable_dlopen_self_static
   16544 
   16545 # Compiler flag to prevent dynamic linking.
   16546 link_static_flag=$lt_lt_prog_compiler_static_F77
   16547 
   16548 # Compiler flag to turn off builtin functions.
   16549 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16550 
   16551 # Compiler flag to allow reflexive dlopens.
   16552 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16553 
   16554 # Compiler flag to generate shared objects directly from archives.
   16555 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16556 
   16557 # Compiler flag to generate thread-safe objects.
   16558 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16559 
   16560 # Library versioning type.
   16561 version_type=$version_type
   16562 
   16563 # Format of library name prefix.
   16564 libname_spec=$lt_libname_spec
   16565 
   16566 # List of archive names.  First name is the real one, the rest are links.
   16567 # The last name is the one that the linker finds with -lNAME.
   16568 library_names_spec=$lt_library_names_spec
   16569 
   16570 # The coded name of the library, if different from the real name.
   16571 soname_spec=$lt_soname_spec
   16572 
   16573 # Commands used to build and install an old-style archive.
   16574 RANLIB=$lt_RANLIB
   16575 old_archive_cmds=$lt_old_archive_cmds_F77
   16576 old_postinstall_cmds=$lt_old_postinstall_cmds
   16577 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16578 
   16579 # Create an old-style archive from a shared archive.
   16580 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16581 
   16582 # Create a temporary old-style archive to link instead of a shared archive.
   16583 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16584 
   16585 # Commands used to build and install a shared archive.
   16586 archive_cmds=$lt_archive_cmds_F77
   16587 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16588 postinstall_cmds=$lt_postinstall_cmds
   16589 postuninstall_cmds=$lt_postuninstall_cmds
   16590 
   16591 # Commands used to build a loadable module (assumed same as above if empty)
   16592 module_cmds=$lt_module_cmds_F77
   16593 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16594 
   16595 # Commands to strip libraries.
   16596 old_striplib=$lt_old_striplib
   16597 striplib=$lt_striplib
   16598 
   16599 # Dependencies to place before the objects being linked to create a
   16600 # shared library.
   16601 predep_objects=$lt_predep_objects_F77
   16602 
   16603 # Dependencies to place after the objects being linked to create a
   16604 # shared library.
   16605 postdep_objects=$lt_postdep_objects_F77
   16606 
   16607 # Dependencies to place before the objects being linked to create a
   16608 # shared library.
   16609 predeps=$lt_predeps_F77
   16610 
   16611 # Dependencies to place after the objects being linked to create a
   16612 # shared library.
   16613 postdeps=$lt_postdeps_F77
   16614 
   16615 # The library search path used internally by the compiler when linking
   16616 # a shared library.
   16617 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16618 
   16619 # Method to check whether dependent libraries are shared objects.
   16620 deplibs_check_method=$lt_deplibs_check_method
   16621 
   16622 # Command to use when deplibs_check_method == file_magic.
   16623 file_magic_cmd=$lt_file_magic_cmd
   16624 
   16625 # Flag that allows shared libraries with undefined symbols to be built.
   16626 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16627 
   16628 # Flag that forces no undefined symbols.
   16629 no_undefined_flag=$lt_no_undefined_flag_F77
   16630 
   16631 # Commands used to finish a libtool library installation in a directory.
   16632 finish_cmds=$lt_finish_cmds
   16633 
   16634 # Same as above, but a single script fragment to be evaled but not shown.
   16635 finish_eval=$lt_finish_eval
   16636 
   16637 # Take the output of nm and produce a listing of raw symbols and C names.
   16638 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16639 
   16640 # Transform the output of nm in a proper C declaration
   16641 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16642 
   16643 # Transform the output of nm in a C name address pair
   16644 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16645 
   16646 # This is the shared library runtime path variable.
   16647 runpath_var=$runpath_var
   16648 
   16649 # This is the shared library path variable.
   16650 shlibpath_var=$shlibpath_var
   16651 
   16652 # Is shlibpath searched before the hard-coded library search path?
   16653 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16654 
   16655 # How to hardcode a shared library path into an executable.
   16656 hardcode_action=$hardcode_action_F77
   16657 
   16658 # Whether we should hardcode library paths into libraries.
   16659 hardcode_into_libs=$hardcode_into_libs
   16660 
   16661 # Flag to hardcode \$libdir into a binary during linking.
   16662 # This must work even if \$libdir does not exist.
   16663 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16664 
   16665 # If ld is used when linking, flag to hardcode \$libdir into
   16666 # a binary during linking. This must work even if \$libdir does
   16667 # not exist.
   16668 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16669 
   16670 # Whether we need a single -rpath flag with a separated argument.
   16671 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16672 
   16673 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16674 # resulting binary.
   16675 hardcode_direct=$hardcode_direct_F77
   16676 
   16677 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16678 # resulting binary.
   16679 hardcode_minus_L=$hardcode_minus_L_F77
   16680 
   16681 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16682 # the resulting binary.
   16683 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16684 
   16685 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16686 # and all subsequent libraries and executables linked against it.
   16687 hardcode_automatic=$hardcode_automatic_F77
   16688 
   16689 # Variables whose values should be saved in libtool wrapper scripts and
   16690 # restored at relink time.
   16691 variables_saved_for_relink="$variables_saved_for_relink"
   16692 
   16693 # Whether libtool must link a program against all its dependency libraries.
   16694 link_all_deplibs=$link_all_deplibs_F77
   16695 
   16696 # Compile-time system search path for libraries
   16697 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16698 
   16699 # Run-time system search path for libraries
   16700 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16701 
   16702 # Fix the shell variable \$srcfile for the compiler.
   16703 fix_srcfile_path="$fix_srcfile_path_F77"
   16704 
   16705 # Set to yes if exported symbols are required.
   16706 always_export_symbols=$always_export_symbols_F77
   16707 
   16708 # The commands to list exported symbols.
   16709 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16710 
   16711 # The commands to extract the exported symbol list from a shared archive.
   16712 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16713 
   16714 # Symbols that should not be listed in the preloaded symbols.
   16715 exclude_expsyms=$lt_exclude_expsyms_F77
   16716 
   16717 # Symbols that must always be exported.
   16718 include_expsyms=$lt_include_expsyms_F77
   16719 
   16720 # ### END LIBTOOL TAG CONFIG: $tagname
   16721 
   16722 __EOF__
   16723 
   16724 
   16725 else
   16726   # If there is no Makefile yet, we rely on a make rule to execute
   16727   # `config.status --recheck' to rerun these tests and create the
   16728   # libtool script then.
   16729   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16730   if test -f "$ltmain_in"; then
   16731     test -f Makefile && make "$ltmain"
   16732   fi
   16733 fi
   16734 
   16735 
   16736 ac_ext=c
   16737 ac_cpp='$CPP $CPPFLAGS'
   16738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16741 
   16742 CC="$lt_save_CC"
   16743 
   16744 	else
   16745 	  tagname=""
   16746 	fi
   16747 	;;
   16748 
   16749       GCJ)
   16750 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16751 
   16752 
   16753 # Source file extension for Java test sources.
   16754 ac_ext=java
   16755 
   16756 # Object file extension for compiled Java test sources.
   16757 objext=o
   16758 objext_GCJ=$objext
   16759 
   16760 # Code to be used in simple compile tests
   16761 lt_simple_compile_test_code="class foo {}\n"
   16762 
   16763 # Code to be used in simple link tests
   16764 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16765 
   16766 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16767 
   16768 # If no C compiler was specified, use CC.
   16769 LTCC=${LTCC-"$CC"}
   16770 
   16771 # If no C compiler flags were specified, use CFLAGS.
   16772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16773 
   16774 # Allow CC to be a program name with arguments.
   16775 compiler=$CC
   16776 
   16777 
   16778 # save warnings/boilerplate of simple test code
   16779 ac_outfile=conftest.$ac_objext
   16780 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16781 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16782 _lt_compiler_boilerplate=`cat conftest.err`
   16783 $rm conftest*
   16784 
   16785 ac_outfile=conftest.$ac_objext
   16786 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16787 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16788 _lt_linker_boilerplate=`cat conftest.err`
   16789 $rm conftest*
   16790 
   16791 
   16792 # Allow CC to be a program name with arguments.
   16793 lt_save_CC="$CC"
   16794 CC=${GCJ-"gcj"}
   16795 compiler=$CC
   16796 compiler_GCJ=$CC
   16797 for cc_temp in $compiler""; do
   16798   case $cc_temp in
   16799     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16800     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16801     \-*) ;;
   16802     *) break;;
   16803   esac
   16804 done
   16805 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16806 
   16807 
   16808 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16809 archive_cmds_need_lc_GCJ=no
   16810 
   16811 old_archive_cmds_GCJ=$old_archive_cmds
   16812 
   16813 
   16814 lt_prog_compiler_no_builtin_flag_GCJ=
   16815 
   16816 if test "$GCC" = yes; then
   16817   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16818 
   16819 
   16820 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16821 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16822 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16823   echo $ECHO_N "(cached) $ECHO_C" >&6
   16824 else
   16825   lt_cv_prog_compiler_rtti_exceptions=no
   16826   ac_outfile=conftest.$ac_objext
   16827    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16828    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16829    # Insert the option either (1) after the last *FLAGS variable, or
   16830    # (2) before a word containing "conftest.", or (3) at the end.
   16831    # Note that $ac_compile itself does not contain backslashes and begins
   16832    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16833    # The option is referenced via a variable to avoid confusing sed.
   16834    lt_compile=`echo "$ac_compile" | $SED \
   16835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16837    -e 's:$: $lt_compiler_flag:'`
   16838    (eval echo "\"\$as_me:16838: $lt_compile\"" >&5)
   16839    (eval "$lt_compile" 2>conftest.err)
   16840    ac_status=$?
   16841    cat conftest.err >&5
   16842    echo "$as_me:16842: \$? = $ac_status" >&5
   16843    if (exit $ac_status) && test -s "$ac_outfile"; then
   16844      # The compiler can only warn and ignore the option if not recognized
   16845      # So say no if there are warnings other than the usual output.
   16846      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16847      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16848      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16849        lt_cv_prog_compiler_rtti_exceptions=yes
   16850      fi
   16851    fi
   16852    $rm conftest*
   16853 
   16854 fi
   16855 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16856 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16857 
   16858 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16859     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16860 else
   16861     :
   16862 fi
   16863 
   16864 fi
   16865 
   16866 lt_prog_compiler_wl_GCJ=
   16867 lt_prog_compiler_pic_GCJ=
   16868 lt_prog_compiler_static_GCJ=
   16869 
   16870 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16871 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16872 
   16873   if test "$GCC" = yes; then
   16874     lt_prog_compiler_wl_GCJ='-Wl,'
   16875     lt_prog_compiler_static_GCJ='-static'
   16876 
   16877     case $host_os in
   16878       aix*)
   16879       # All AIX code is PIC.
   16880       if test "$host_cpu" = ia64; then
   16881 	# AIX 5 now supports IA64 processor
   16882 	lt_prog_compiler_static_GCJ='-Bstatic'
   16883       fi
   16884       ;;
   16885 
   16886     amigaos*)
   16887       # FIXME: we need at least 68020 code to build shared libraries, but
   16888       # adding the `-m68020' flag to GCC prevents building anything better,
   16889       # like `-m68040'.
   16890       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16891       ;;
   16892 
   16893     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16894       # PIC is the default for these OSes.
   16895       ;;
   16896 
   16897     mingw* | pw32* | os2*)
   16898       # This hack is so that the source file can tell whether it is being
   16899       # built for inclusion in a dll (and should export symbols for example).
   16900       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16901       ;;
   16902 
   16903     darwin* | rhapsody*)
   16904       # PIC is the default on this platform
   16905       # Common symbols not allowed in MH_DYLIB files
   16906       lt_prog_compiler_pic_GCJ='-fno-common'
   16907       ;;
   16908 
   16909     interix3*)
   16910       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16911       # Instead, we relocate shared libraries at runtime.
   16912       ;;
   16913 
   16914     msdosdjgpp*)
   16915       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16916       # on systems that don't support them.
   16917       lt_prog_compiler_can_build_shared_GCJ=no
   16918       enable_shared=no
   16919       ;;
   16920 
   16921     sysv4*MP*)
   16922       if test -d /usr/nec; then
   16923 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16924       fi
   16925       ;;
   16926 
   16927     hpux*)
   16928       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16929       # not for PA HP-UX.
   16930       case $host_cpu in
   16931       hppa*64*|ia64*)
   16932 	# +Z the default
   16933 	;;
   16934       *)
   16935 	lt_prog_compiler_pic_GCJ='-fPIC'
   16936 	;;
   16937       esac
   16938       ;;
   16939 
   16940     *)
   16941       lt_prog_compiler_pic_GCJ='-fPIC'
   16942       ;;
   16943     esac
   16944   else
   16945     # PORTME Check for flag to pass linker flags through the system compiler.
   16946     case $host_os in
   16947     aix*)
   16948       lt_prog_compiler_wl_GCJ='-Wl,'
   16949       if test "$host_cpu" = ia64; then
   16950 	# AIX 5 now supports IA64 processor
   16951 	lt_prog_compiler_static_GCJ='-Bstatic'
   16952       else
   16953 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16954       fi
   16955       ;;
   16956       darwin*)
   16957         # PIC is the default on this platform
   16958         # Common symbols not allowed in MH_DYLIB files
   16959        case $cc_basename in
   16960          xlc*)
   16961          lt_prog_compiler_pic_GCJ='-qnocommon'
   16962          lt_prog_compiler_wl_GCJ='-Wl,'
   16963          ;;
   16964        esac
   16965        ;;
   16966 
   16967     mingw* | pw32* | os2*)
   16968       # This hack is so that the source file can tell whether it is being
   16969       # built for inclusion in a dll (and should export symbols for example).
   16970       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16971       ;;
   16972 
   16973     hpux9* | hpux10* | hpux11*)
   16974       lt_prog_compiler_wl_GCJ='-Wl,'
   16975       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16976       # not for PA HP-UX.
   16977       case $host_cpu in
   16978       hppa*64*|ia64*)
   16979 	# +Z the default
   16980 	;;
   16981       *)
   16982 	lt_prog_compiler_pic_GCJ='+Z'
   16983 	;;
   16984       esac
   16985       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16986       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16987       ;;
   16988 
   16989     irix5* | irix6* | nonstopux*)
   16990       lt_prog_compiler_wl_GCJ='-Wl,'
   16991       # PIC (with -KPIC) is the default.
   16992       lt_prog_compiler_static_GCJ='-non_shared'
   16993       ;;
   16994 
   16995     newsos6)
   16996       lt_prog_compiler_pic_GCJ='-KPIC'
   16997       lt_prog_compiler_static_GCJ='-Bstatic'
   16998       ;;
   16999 
   17000     linux*)
   17001       case $cc_basename in
   17002       icc* | ecc*)
   17003 	lt_prog_compiler_wl_GCJ='-Wl,'
   17004 	lt_prog_compiler_pic_GCJ='-KPIC'
   17005 	lt_prog_compiler_static_GCJ='-static'
   17006         ;;
   17007       pgcc* | pgf77* | pgf90* | pgf95*)
   17008         # Portland Group compilers (*not* the Pentium gcc compiler,
   17009 	# which looks to be a dead project)
   17010 	lt_prog_compiler_wl_GCJ='-Wl,'
   17011 	lt_prog_compiler_pic_GCJ='-fpic'
   17012 	lt_prog_compiler_static_GCJ='-Bstatic'
   17013         ;;
   17014       ccc*)
   17015         lt_prog_compiler_wl_GCJ='-Wl,'
   17016         # All Alpha code is PIC.
   17017         lt_prog_compiler_static_GCJ='-non_shared'
   17018         ;;
   17019       esac
   17020       ;;
   17021 
   17022     osf3* | osf4* | osf5*)
   17023       lt_prog_compiler_wl_GCJ='-Wl,'
   17024       # All OSF/1 code is PIC.
   17025       lt_prog_compiler_static_GCJ='-non_shared'
   17026       ;;
   17027 
   17028     solaris*)
   17029       lt_prog_compiler_pic_GCJ='-KPIC'
   17030       lt_prog_compiler_static_GCJ='-Bstatic'
   17031       case $cc_basename in
   17032       f77* | f90* | f95*)
   17033 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17034       *)
   17035 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17036       esac
   17037       ;;
   17038 
   17039     sunos4*)
   17040       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17041       lt_prog_compiler_pic_GCJ='-PIC'
   17042       lt_prog_compiler_static_GCJ='-Bstatic'
   17043       ;;
   17044 
   17045     sysv4 | sysv4.2uw2* | sysv4.3*)
   17046       lt_prog_compiler_wl_GCJ='-Wl,'
   17047       lt_prog_compiler_pic_GCJ='-KPIC'
   17048       lt_prog_compiler_static_GCJ='-Bstatic'
   17049       ;;
   17050 
   17051     sysv4*MP*)
   17052       if test -d /usr/nec ;then
   17053 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17054 	lt_prog_compiler_static_GCJ='-Bstatic'
   17055       fi
   17056       ;;
   17057 
   17058     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17059       lt_prog_compiler_wl_GCJ='-Wl,'
   17060       lt_prog_compiler_pic_GCJ='-KPIC'
   17061       lt_prog_compiler_static_GCJ='-Bstatic'
   17062       ;;
   17063 
   17064     unicos*)
   17065       lt_prog_compiler_wl_GCJ='-Wl,'
   17066       lt_prog_compiler_can_build_shared_GCJ=no
   17067       ;;
   17068 
   17069     uts4*)
   17070       lt_prog_compiler_pic_GCJ='-pic'
   17071       lt_prog_compiler_static_GCJ='-Bstatic'
   17072       ;;
   17073 
   17074     *)
   17075       lt_prog_compiler_can_build_shared_GCJ=no
   17076       ;;
   17077     esac
   17078   fi
   17079 
   17080 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17081 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   17082 
   17083 #
   17084 # Check to make sure the PIC flag actually works.
   17085 #
   17086 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17087 
   17088 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17089 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   17090 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   17091   echo $ECHO_N "(cached) $ECHO_C" >&6
   17092 else
   17093   lt_prog_compiler_pic_works_GCJ=no
   17094   ac_outfile=conftest.$ac_objext
   17095    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17096    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17097    # Insert the option either (1) after the last *FLAGS variable, or
   17098    # (2) before a word containing "conftest.", or (3) at the end.
   17099    # Note that $ac_compile itself does not contain backslashes and begins
   17100    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17101    # The option is referenced via a variable to avoid confusing sed.
   17102    lt_compile=`echo "$ac_compile" | $SED \
   17103    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17104    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17105    -e 's:$: $lt_compiler_flag:'`
   17106    (eval echo "\"\$as_me:17106: $lt_compile\"" >&5)
   17107    (eval "$lt_compile" 2>conftest.err)
   17108    ac_status=$?
   17109    cat conftest.err >&5
   17110    echo "$as_me:17110: \$? = $ac_status" >&5
   17111    if (exit $ac_status) && test -s "$ac_outfile"; then
   17112      # The compiler can only warn and ignore the option if not recognized
   17113      # So say no if there are warnings other than the usual output.
   17114      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17115      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17116      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17117        lt_prog_compiler_pic_works_GCJ=yes
   17118      fi
   17119    fi
   17120    $rm conftest*
   17121 
   17122 fi
   17123 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   17124 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   17125 
   17126 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   17127     case $lt_prog_compiler_pic_GCJ in
   17128      "" | " "*) ;;
   17129      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17130      esac
   17131 else
   17132     lt_prog_compiler_pic_GCJ=
   17133      lt_prog_compiler_can_build_shared_GCJ=no
   17134 fi
   17135 
   17136 fi
   17137 case $host_os in
   17138   # For platforms which do not support PIC, -DPIC is meaningless:
   17139   *djgpp*)
   17140     lt_prog_compiler_pic_GCJ=
   17141     ;;
   17142   *)
   17143     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17144     ;;
   17145 esac
   17146 
   17147 #
   17148 # Check to make sure the static flag actually works.
   17149 #
   17150 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17151 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17152 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17153 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   17154   echo $ECHO_N "(cached) $ECHO_C" >&6
   17155 else
   17156   lt_prog_compiler_static_works_GCJ=no
   17157    save_LDFLAGS="$LDFLAGS"
   17158    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17159    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   17160    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17161      # The linker can only warn and ignore the option if not recognized
   17162      # So say no if there are warnings
   17163      if test -s conftest.err; then
   17164        # Append any errors to the config.log.
   17165        cat conftest.err 1>&5
   17166        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17167        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17168        if diff conftest.exp conftest.er2 >/dev/null; then
   17169          lt_prog_compiler_static_works_GCJ=yes
   17170        fi
   17171      else
   17172        lt_prog_compiler_static_works_GCJ=yes
   17173      fi
   17174    fi
   17175    $rm conftest*
   17176    LDFLAGS="$save_LDFLAGS"
   17177 
   17178 fi
   17179 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   17180 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   17181 
   17182 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   17183     :
   17184 else
   17185     lt_prog_compiler_static_GCJ=
   17186 fi
   17187 
   17188 
   17189 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17190 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17191 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17192   echo $ECHO_N "(cached) $ECHO_C" >&6
   17193 else
   17194   lt_cv_prog_compiler_c_o_GCJ=no
   17195    $rm -r conftest 2>/dev/null
   17196    mkdir conftest
   17197    cd conftest
   17198    mkdir out
   17199    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17200 
   17201    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17202    # Insert the option either (1) after the last *FLAGS variable, or
   17203    # (2) before a word containing "conftest.", or (3) at the end.
   17204    # Note that $ac_compile itself does not contain backslashes and begins
   17205    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17206    lt_compile=`echo "$ac_compile" | $SED \
   17207    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17208    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17209    -e 's:$: $lt_compiler_flag:'`
   17210    (eval echo "\"\$as_me:17210: $lt_compile\"" >&5)
   17211    (eval "$lt_compile" 2>out/conftest.err)
   17212    ac_status=$?
   17213    cat out/conftest.err >&5
   17214    echo "$as_me:17214: \$? = $ac_status" >&5
   17215    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17216    then
   17217      # The compiler can only warn and ignore the option if not recognized
   17218      # So say no if there are warnings
   17219      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17220      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17221      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17222        lt_cv_prog_compiler_c_o_GCJ=yes
   17223      fi
   17224    fi
   17225    chmod u+w . 2>&5
   17226    $rm conftest*
   17227    # SGI C++ compiler will create directory out/ii_files/ for
   17228    # template instantiation
   17229    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17230    $rm out/* && rmdir out
   17231    cd ..
   17232    rmdir conftest
   17233    $rm conftest*
   17234 
   17235 fi
   17236 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17237 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17238 
   17239 
   17240 hard_links="nottested"
   17241 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17242   # do not overwrite the value of need_locks provided by the user
   17243   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17244 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17245   hard_links=yes
   17246   $rm conftest*
   17247   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17248   touch conftest.a
   17249   ln conftest.a conftest.b 2>&5 || hard_links=no
   17250   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17251   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17252 echo "${ECHO_T}$hard_links" >&6; }
   17253   if test "$hard_links" = no; then
   17254     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17255 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17256     need_locks=warn
   17257   fi
   17258 else
   17259   need_locks=no
   17260 fi
   17261 
   17262 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17263 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17264 
   17265   runpath_var=
   17266   allow_undefined_flag_GCJ=
   17267   enable_shared_with_static_runtimes_GCJ=no
   17268   archive_cmds_GCJ=
   17269   archive_expsym_cmds_GCJ=
   17270   old_archive_From_new_cmds_GCJ=
   17271   old_archive_from_expsyms_cmds_GCJ=
   17272   export_dynamic_flag_spec_GCJ=
   17273   whole_archive_flag_spec_GCJ=
   17274   thread_safe_flag_spec_GCJ=
   17275   hardcode_libdir_flag_spec_GCJ=
   17276   hardcode_libdir_flag_spec_ld_GCJ=
   17277   hardcode_libdir_separator_GCJ=
   17278   hardcode_direct_GCJ=no
   17279   hardcode_minus_L_GCJ=no
   17280   hardcode_shlibpath_var_GCJ=unsupported
   17281   link_all_deplibs_GCJ=unknown
   17282   hardcode_automatic_GCJ=no
   17283   module_cmds_GCJ=
   17284   module_expsym_cmds_GCJ=
   17285   always_export_symbols_GCJ=no
   17286   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17287   # include_expsyms should be a list of space-separated symbols to be *always*
   17288   # included in the symbol list
   17289   include_expsyms_GCJ=
   17290   # exclude_expsyms can be an extended regexp of symbols to exclude
   17291   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17292   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17293   # as well as any symbol that contains `d'.
   17294   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   17295   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17296   # platforms (ab)use it in PIC code, but their linkers get confused if
   17297   # the symbol is explicitly referenced.  Since portable code cannot
   17298   # rely on this symbol name, it's probably fine to never include it in
   17299   # preloaded symbol tables.
   17300   extract_expsyms_cmds=
   17301   # Just being paranoid about ensuring that cc_basename is set.
   17302   for cc_temp in $compiler""; do
   17303   case $cc_temp in
   17304     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17305     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17306     \-*) ;;
   17307     *) break;;
   17308   esac
   17309 done
   17310 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17311 
   17312   case $host_os in
   17313   cygwin* | mingw* | pw32*)
   17314     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17315     # When not using gcc, we currently assume that we are using
   17316     # Microsoft Visual C++.
   17317     if test "$GCC" != yes; then
   17318       with_gnu_ld=no
   17319     fi
   17320     ;;
   17321   interix*)
   17322     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17323     with_gnu_ld=yes
   17324     ;;
   17325   openbsd*)
   17326     with_gnu_ld=no
   17327     ;;
   17328   esac
   17329 
   17330   ld_shlibs_GCJ=yes
   17331   if test "$with_gnu_ld" = yes; then
   17332     # If archive_cmds runs LD, not CC, wlarc should be empty
   17333     wlarc='${wl}'
   17334 
   17335     # Set some defaults for GNU ld with shared library support. These
   17336     # are reset later if shared libraries are not supported. Putting them
   17337     # here allows them to be overridden if necessary.
   17338     runpath_var=LD_RUN_PATH
   17339     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17340     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17341     # ancient GNU ld didn't support --whole-archive et. al.
   17342     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17343 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17344       else
   17345   	whole_archive_flag_spec_GCJ=
   17346     fi
   17347     supports_anon_versioning=no
   17348     case `$LD -v 2>/dev/null` in
   17349       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17350       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17351       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17352       *\ 2.11.*) ;; # other 2.11 versions
   17353       *) supports_anon_versioning=yes ;;
   17354     esac
   17355 
   17356     # See if GNU ld supports shared libraries.
   17357     case $host_os in
   17358     aix3* | aix4* | aix5*)
   17359       # On AIX/PPC, the GNU linker is very broken
   17360       if test "$host_cpu" != ia64; then
   17361 	ld_shlibs_GCJ=no
   17362 	cat <<EOF 1>&2
   17363 
   17364 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17365 *** to be unable to reliably create shared libraries on AIX.
   17366 *** Therefore, libtool is disabling shared libraries support.  If you
   17367 *** really care for shared libraries, you may want to modify your PATH
   17368 *** so that a non-GNU linker is found, and then restart.
   17369 
   17370 EOF
   17371       fi
   17372       ;;
   17373 
   17374     amigaos*)
   17375       archive_cmds_GCJ='$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)'
   17376       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17377       hardcode_minus_L_GCJ=yes
   17378 
   17379       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17380       # that the semantics of dynamic libraries on AmigaOS, at least up
   17381       # to version 4, is to share data among multiple programs linked
   17382       # with the same dynamic library.  Since this doesn't match the
   17383       # behavior of shared libraries on other platforms, we can't use
   17384       # them.
   17385       ld_shlibs_GCJ=no
   17386       ;;
   17387 
   17388     beos*)
   17389       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17390 	allow_undefined_flag_GCJ=unsupported
   17391 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17392 	# support --undefined.  This deserves some investigation.  FIXME
   17393 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17394       else
   17395 	ld_shlibs_GCJ=no
   17396       fi
   17397       ;;
   17398 
   17399     cygwin* | mingw* | pw32*)
   17400       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17401       # as there is no search path for DLLs.
   17402       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17403       allow_undefined_flag_GCJ=unsupported
   17404       always_export_symbols_GCJ=no
   17405       enable_shared_with_static_runtimes_GCJ=yes
   17406       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   17407 
   17408       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17409         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17410 	# If the export-symbols file already is a .def file (1st line
   17411 	# is EXPORTS), use it as is; otherwise, prepend...
   17412 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17413 	  cp $export_symbols $output_objdir/$soname.def;
   17414 	else
   17415 	  echo EXPORTS > $output_objdir/$soname.def;
   17416 	  cat $export_symbols >> $output_objdir/$soname.def;
   17417 	fi~
   17418 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17419       else
   17420 	ld_shlibs_GCJ=no
   17421       fi
   17422       ;;
   17423 
   17424     interix3*)
   17425       hardcode_direct_GCJ=no
   17426       hardcode_shlibpath_var_GCJ=no
   17427       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17428       export_dynamic_flag_spec_GCJ='${wl}-E'
   17429       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17430       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17431       # default) and relocated if they conflict, which is a slow very memory
   17432       # consuming and fragmenting process.  To avoid this, we pick a random,
   17433       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17434       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17435       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17436       archive_expsym_cmds_GCJ='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'
   17437       ;;
   17438 
   17439     linux*)
   17440       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17441 	tmp_addflag=
   17442 	case $cc_basename,$host_cpu in
   17443 	pgcc*)				# Portland Group C compiler
   17444 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17445 	  tmp_addflag=' $pic_flag'
   17446 	  ;;
   17447 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17448 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17449 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17450 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17451 	  tmp_addflag=' -i_dynamic' ;;
   17452 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17453 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17454 	ifc* | ifort*)			# Intel Fortran compiler
   17455 	  tmp_addflag=' -nofor_main' ;;
   17456 	esac
   17457 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17458 
   17459 	if test $supports_anon_versioning = yes; then
   17460 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17461   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17462   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17463 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17464 	fi
   17465       else
   17466 	ld_shlibs_GCJ=no
   17467       fi
   17468       ;;
   17469 
   17470     netbsd*)
   17471       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17472 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17473 	wlarc=
   17474       else
   17475 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17476 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17477       fi
   17478       ;;
   17479 
   17480     solaris*)
   17481       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17482 	ld_shlibs_GCJ=no
   17483 	cat <<EOF 1>&2
   17484 
   17485 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17486 *** create shared libraries on Solaris systems.  Therefore, libtool
   17487 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17488 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17489 *** your PATH or compiler configuration so that the native linker is
   17490 *** used, and then restart.
   17491 
   17492 EOF
   17493       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17494 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17495 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17496       else
   17497 	ld_shlibs_GCJ=no
   17498       fi
   17499       ;;
   17500 
   17501     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17502       case `$LD -v 2>&1` in
   17503         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17504 	ld_shlibs_GCJ=no
   17505 	cat <<_LT_EOF 1>&2
   17506 
   17507 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17508 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17509 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17510 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17511 *** your PATH or compiler configuration so that the native linker is
   17512 *** used, and then restart.
   17513 
   17514 _LT_EOF
   17515 	;;
   17516 	*)
   17517 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17518 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17519 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17520 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17521 	  else
   17522 	    ld_shlibs_GCJ=no
   17523 	  fi
   17524 	;;
   17525       esac
   17526       ;;
   17527 
   17528     sunos4*)
   17529       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17530       wlarc=
   17531       hardcode_direct_GCJ=yes
   17532       hardcode_shlibpath_var_GCJ=no
   17533       ;;
   17534 
   17535     *)
   17536       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17537 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17538 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17539       else
   17540 	ld_shlibs_GCJ=no
   17541       fi
   17542       ;;
   17543     esac
   17544 
   17545     if test "$ld_shlibs_GCJ" = no; then
   17546       runpath_var=
   17547       hardcode_libdir_flag_spec_GCJ=
   17548       export_dynamic_flag_spec_GCJ=
   17549       whole_archive_flag_spec_GCJ=
   17550     fi
   17551   else
   17552     # PORTME fill in a description of your system's linker (not GNU ld)
   17553     case $host_os in
   17554     aix3*)
   17555       allow_undefined_flag_GCJ=unsupported
   17556       always_export_symbols_GCJ=yes
   17557       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   17558       # Note: this linker hardcodes the directories in LIBPATH if there
   17559       # are no directories specified by -L.
   17560       hardcode_minus_L_GCJ=yes
   17561       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17562 	# Neither direct hardcoding nor static linking is supported with a
   17563 	# broken collect2.
   17564 	hardcode_direct_GCJ=unsupported
   17565       fi
   17566       ;;
   17567 
   17568     aix4* | aix5*)
   17569       if test "$host_cpu" = ia64; then
   17570 	# On IA64, the linker does run time linking by default, so we don't
   17571 	# have to do anything special.
   17572 	aix_use_runtimelinking=no
   17573 	exp_sym_flag='-Bexport'
   17574 	no_entry_flag=""
   17575       else
   17576 	# If we're using GNU nm, then we don't want the "-C" option.
   17577 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17578 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17579 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17580 	else
   17581 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17582 	fi
   17583 	aix_use_runtimelinking=no
   17584 
   17585 	# Test if we are trying to use run time linking or normal
   17586 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17587 	# need to do runtime linking.
   17588 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17589 	  for ld_flag in $LDFLAGS; do
   17590   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17591   	    aix_use_runtimelinking=yes
   17592   	    break
   17593   	  fi
   17594 	  done
   17595 	  ;;
   17596 	esac
   17597 
   17598 	exp_sym_flag='-bexport'
   17599 	no_entry_flag='-bnoentry'
   17600       fi
   17601 
   17602       # When large executables or shared objects are built, AIX ld can
   17603       # have problems creating the table of contents.  If linking a library
   17604       # or program results in "error TOC overflow" add -mminimal-toc to
   17605       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17606       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17607 
   17608       archive_cmds_GCJ=''
   17609       hardcode_direct_GCJ=yes
   17610       hardcode_libdir_separator_GCJ=':'
   17611       link_all_deplibs_GCJ=yes
   17612 
   17613       if test "$GCC" = yes; then
   17614 	case $host_os in aix4.[012]|aix4.[012].*)
   17615 	# We only want to do this on AIX 4.2 and lower, the check
   17616 	# below for broken collect2 doesn't work under 4.3+
   17617 	  collect2name=`${CC} -print-prog-name=collect2`
   17618 	  if test -f "$collect2name" && \
   17619   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17620 	  then
   17621   	  # We have reworked collect2
   17622   	  hardcode_direct_GCJ=yes
   17623 	  else
   17624   	  # We have old collect2
   17625   	  hardcode_direct_GCJ=unsupported
   17626   	  # It fails to find uninstalled libraries when the uninstalled
   17627   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17628   	  # to unsupported forces relinking
   17629   	  hardcode_minus_L_GCJ=yes
   17630   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17631   	  hardcode_libdir_separator_GCJ=
   17632 	  fi
   17633 	  ;;
   17634 	esac
   17635 	shared_flag='-shared'
   17636 	if test "$aix_use_runtimelinking" = yes; then
   17637 	  shared_flag="$shared_flag "'${wl}-G'
   17638 	fi
   17639       else
   17640 	# not using gcc
   17641 	if test "$host_cpu" = ia64; then
   17642   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17643   	# chokes on -Wl,-G. The following line is correct:
   17644 	  shared_flag='-G'
   17645 	else
   17646 	  if test "$aix_use_runtimelinking" = yes; then
   17647 	    shared_flag='${wl}-G'
   17648 	  else
   17649 	    shared_flag='${wl}-bM:SRE'
   17650 	  fi
   17651 	fi
   17652       fi
   17653 
   17654       # It seems that -bexpall does not export symbols beginning with
   17655       # underscore (_), so it is better to generate a list of symbols to export.
   17656       always_export_symbols_GCJ=yes
   17657       if test "$aix_use_runtimelinking" = yes; then
   17658 	# Warning - without using the other runtime loading flags (-brtl),
   17659 	# -berok will link without error, but may produce a broken library.
   17660 	allow_undefined_flag_GCJ='-berok'
   17661        # Determine the default libpath from the value encoded in an empty executable.
   17662        cat >conftest.$ac_ext <<_ACEOF
   17663 /* confdefs.h.  */
   17664 _ACEOF
   17665 cat confdefs.h >>conftest.$ac_ext
   17666 cat >>conftest.$ac_ext <<_ACEOF
   17667 /* end confdefs.h.  */
   17668 
   17669 int
   17670 main ()
   17671 {
   17672 
   17673   ;
   17674   return 0;
   17675 }
   17676 _ACEOF
   17677 rm -f conftest.$ac_objext conftest$ac_exeext
   17678 if { (ac_try="$ac_link"
   17679 case "(($ac_try" in
   17680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17681   *) ac_try_echo=$ac_try;;
   17682 esac
   17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17684   (eval "$ac_link") 2>conftest.er1
   17685   ac_status=$?
   17686   grep -v '^ *+' conftest.er1 >conftest.err
   17687   rm -f conftest.er1
   17688   cat conftest.err >&5
   17689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17690   (exit $ac_status); } && {
   17691 	 test -z "$ac_c_werror_flag" ||
   17692 	 test ! -s conftest.err
   17693        } && test -s conftest$ac_exeext &&
   17694        $as_test_x conftest$ac_exeext; then
   17695 
   17696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17697 }'`
   17698 # Check for a 64-bit object if we didn't find anything.
   17699 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17700 }'`; fi
   17701 else
   17702   echo "$as_me: failed program was:" >&5
   17703 sed 's/^/| /' conftest.$ac_ext >&5
   17704 
   17705 
   17706 fi
   17707 
   17708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17709       conftest$ac_exeext conftest.$ac_ext
   17710 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17711 
   17712        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17713 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   17714        else
   17715 	if test "$host_cpu" = ia64; then
   17716 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17717 	  allow_undefined_flag_GCJ="-z nodefs"
   17718 	  archive_expsym_cmds_GCJ="\$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"
   17719 	else
   17720 	 # Determine the default libpath from the value encoded in an empty executable.
   17721 	 cat >conftest.$ac_ext <<_ACEOF
   17722 /* confdefs.h.  */
   17723 _ACEOF
   17724 cat confdefs.h >>conftest.$ac_ext
   17725 cat >>conftest.$ac_ext <<_ACEOF
   17726 /* end confdefs.h.  */
   17727 
   17728 int
   17729 main ()
   17730 {
   17731 
   17732   ;
   17733   return 0;
   17734 }
   17735 _ACEOF
   17736 rm -f conftest.$ac_objext conftest$ac_exeext
   17737 if { (ac_try="$ac_link"
   17738 case "(($ac_try" in
   17739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17740   *) ac_try_echo=$ac_try;;
   17741 esac
   17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17743   (eval "$ac_link") 2>conftest.er1
   17744   ac_status=$?
   17745   grep -v '^ *+' conftest.er1 >conftest.err
   17746   rm -f conftest.er1
   17747   cat conftest.err >&5
   17748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17749   (exit $ac_status); } && {
   17750 	 test -z "$ac_c_werror_flag" ||
   17751 	 test ! -s conftest.err
   17752        } && test -s conftest$ac_exeext &&
   17753        $as_test_x conftest$ac_exeext; then
   17754 
   17755 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17756 }'`
   17757 # Check for a 64-bit object if we didn't find anything.
   17758 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17759 }'`; fi
   17760 else
   17761   echo "$as_me: failed program was:" >&5
   17762 sed 's/^/| /' conftest.$ac_ext >&5
   17763 
   17764 
   17765 fi
   17766 
   17767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17768       conftest$ac_exeext conftest.$ac_ext
   17769 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17770 
   17771 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17772 	  # Warning - without using the other run time loading flags,
   17773 	  # -berok will link without error, but may produce a broken library.
   17774 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17775 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17776 	  # Exported symbols can be pulled into shared objects from archives
   17777 	  whole_archive_flag_spec_GCJ='$convenience'
   17778 	  archive_cmds_need_lc_GCJ=yes
   17779 	  # This is similar to how AIX traditionally builds its shared libraries.
   17780 	  archive_expsym_cmds_GCJ="\$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'
   17781 	fi
   17782       fi
   17783       ;;
   17784 
   17785     amigaos*)
   17786       archive_cmds_GCJ='$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)'
   17787       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17788       hardcode_minus_L_GCJ=yes
   17789       # see comment about different semantics on the GNU ld section
   17790       ld_shlibs_GCJ=no
   17791       ;;
   17792 
   17793     bsdi[45]*)
   17794       export_dynamic_flag_spec_GCJ=-rdynamic
   17795       ;;
   17796 
   17797     cygwin* | mingw* | pw32*)
   17798       # When not using gcc, we currently assume that we are using
   17799       # Microsoft Visual C++.
   17800       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17801       # no search path for DLLs.
   17802       hardcode_libdir_flag_spec_GCJ=' '
   17803       allow_undefined_flag_GCJ=unsupported
   17804       # Tell ltmain to make .lib files, not .a files.
   17805       libext=lib
   17806       # Tell ltmain to make .dll files, not .so files.
   17807       shrext_cmds=".dll"
   17808       # FIXME: Setting linknames here is a bad hack.
   17809       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17810       # The linker will automatically build a .lib file if we build a DLL.
   17811       old_archive_From_new_cmds_GCJ='true'
   17812       # FIXME: Should let the user specify the lib program.
   17813       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17814       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17815       enable_shared_with_static_runtimes_GCJ=yes
   17816       ;;
   17817 
   17818     darwin* | rhapsody*)
   17819       case $host_os in
   17820         rhapsody* | darwin1.[012])
   17821          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17822          ;;
   17823        *) # Darwin 1.3 on
   17824          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17825            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17826          else
   17827            case ${MACOSX_DEPLOYMENT_TARGET} in
   17828              10.[012])
   17829                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17830                ;;
   17831              10.*)
   17832                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17833                ;;
   17834            esac
   17835          fi
   17836          ;;
   17837       esac
   17838       archive_cmds_need_lc_GCJ=no
   17839       hardcode_direct_GCJ=no
   17840       hardcode_automatic_GCJ=yes
   17841       hardcode_shlibpath_var_GCJ=unsupported
   17842       whole_archive_flag_spec_GCJ=''
   17843       link_all_deplibs_GCJ=yes
   17844     if test "$GCC" = yes ; then
   17845     	output_verbose_link_cmd='echo'
   17846         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17847       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17848       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17849       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17850       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17851     else
   17852       case $cc_basename in
   17853         xlc*)
   17854          output_verbose_link_cmd='echo'
   17855          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17856          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17857           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17858          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17859           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17860           ;;
   17861        *)
   17862          ld_shlibs_GCJ=no
   17863           ;;
   17864       esac
   17865     fi
   17866       ;;
   17867 
   17868     dgux*)
   17869       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17870       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17871       hardcode_shlibpath_var_GCJ=no
   17872       ;;
   17873 
   17874     freebsd1*)
   17875       ld_shlibs_GCJ=no
   17876       ;;
   17877 
   17878     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17879     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17880     # does not break anything, and helps significantly (at the cost of a little
   17881     # extra space).
   17882     freebsd2.2*)
   17883       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17884       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17885       hardcode_direct_GCJ=yes
   17886       hardcode_shlibpath_var_GCJ=no
   17887       ;;
   17888 
   17889     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17890     freebsd2*)
   17891       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17892       hardcode_direct_GCJ=yes
   17893       hardcode_minus_L_GCJ=yes
   17894       hardcode_shlibpath_var_GCJ=no
   17895       ;;
   17896 
   17897     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17898     freebsd* | kfreebsd*-gnu | dragonfly*)
   17899       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17900       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17901       hardcode_direct_GCJ=yes
   17902       hardcode_shlibpath_var_GCJ=no
   17903       ;;
   17904 
   17905     hpux9*)
   17906       if test "$GCC" = yes; then
   17907 	archive_cmds_GCJ='$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'
   17908       else
   17909 	archive_cmds_GCJ='$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'
   17910       fi
   17911       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17912       hardcode_libdir_separator_GCJ=:
   17913       hardcode_direct_GCJ=yes
   17914 
   17915       # hardcode_minus_L: Not really in the search PATH,
   17916       # but as the default location of the library.
   17917       hardcode_minus_L_GCJ=yes
   17918       export_dynamic_flag_spec_GCJ='${wl}-E'
   17919       ;;
   17920 
   17921     hpux10*)
   17922       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17923 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17924       else
   17925 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17926       fi
   17927       if test "$with_gnu_ld" = no; then
   17928 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17929 	hardcode_libdir_separator_GCJ=:
   17930 
   17931 	hardcode_direct_GCJ=yes
   17932 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17933 
   17934 	# hardcode_minus_L: Not really in the search PATH,
   17935 	# but as the default location of the library.
   17936 	hardcode_minus_L_GCJ=yes
   17937       fi
   17938       ;;
   17939 
   17940     hpux11*)
   17941       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17942 	case $host_cpu in
   17943 	hppa*64*)
   17944 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17945 	  ;;
   17946 	ia64*)
   17947 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17948 	  ;;
   17949 	*)
   17950 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17951 	  ;;
   17952 	esac
   17953       else
   17954 	case $host_cpu in
   17955 	hppa*64*)
   17956 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17957 	  ;;
   17958 	ia64*)
   17959 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17960 	  ;;
   17961 	*)
   17962 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17963 	  ;;
   17964 	esac
   17965       fi
   17966       if test "$with_gnu_ld" = no; then
   17967 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17968 	hardcode_libdir_separator_GCJ=:
   17969 
   17970 	case $host_cpu in
   17971 	hppa*64*|ia64*)
   17972 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17973 	  hardcode_direct_GCJ=no
   17974 	  hardcode_shlibpath_var_GCJ=no
   17975 	  ;;
   17976 	*)
   17977 	  hardcode_direct_GCJ=yes
   17978 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17979 
   17980 	  # hardcode_minus_L: Not really in the search PATH,
   17981 	  # but as the default location of the library.
   17982 	  hardcode_minus_L_GCJ=yes
   17983 	  ;;
   17984 	esac
   17985       fi
   17986       ;;
   17987 
   17988     irix5* | irix6* | nonstopux*)
   17989       if test "$GCC" = yes; then
   17990 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   17991       else
   17992 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   17993 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17994       fi
   17995       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17996       hardcode_libdir_separator_GCJ=:
   17997       link_all_deplibs_GCJ=yes
   17998       ;;
   17999 
   18000     netbsd*)
   18001       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18002 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18003       else
   18004 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18005       fi
   18006       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18007       hardcode_direct_GCJ=yes
   18008       hardcode_shlibpath_var_GCJ=no
   18009       ;;
   18010 
   18011     newsos6)
   18012       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18013       hardcode_direct_GCJ=yes
   18014       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18015       hardcode_libdir_separator_GCJ=:
   18016       hardcode_shlibpath_var_GCJ=no
   18017       ;;
   18018 
   18019     openbsd*)
   18020       hardcode_direct_GCJ=yes
   18021       hardcode_shlibpath_var_GCJ=no
   18022       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18023 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18024 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18025 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18026 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18027       else
   18028        case $host_os in
   18029 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18030 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18031 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18032 	   ;;
   18033 	 *)
   18034 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18035 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18036 	   ;;
   18037        esac
   18038       fi
   18039       ;;
   18040 
   18041     os2*)
   18042       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18043       hardcode_minus_L_GCJ=yes
   18044       allow_undefined_flag_GCJ=unsupported
   18045       archive_cmds_GCJ='$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'
   18046       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18047       ;;
   18048 
   18049     osf3*)
   18050       if test "$GCC" = yes; then
   18051 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18052 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18053       else
   18054 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18055 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18056       fi
   18057       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18058       hardcode_libdir_separator_GCJ=:
   18059       ;;
   18060 
   18061     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18062       if test "$GCC" = yes; then
   18063 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18064 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18065 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18066       else
   18067 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18068 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18069 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   18070 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   18071 
   18072 	# Both c and cxx compiler support -rpath directly
   18073 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18074       fi
   18075       hardcode_libdir_separator_GCJ=:
   18076       ;;
   18077 
   18078     solaris*)
   18079       no_undefined_flag_GCJ=' -z text'
   18080       if test "$GCC" = yes; then
   18081 	wlarc='${wl}'
   18082 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18083 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18084 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18085       else
   18086 	wlarc=''
   18087 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18088 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18089   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18090       fi
   18091       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18092       hardcode_shlibpath_var_GCJ=no
   18093       case $host_os in
   18094       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18095       *)
   18096  	# The compiler driver will combine linker options so we
   18097  	# cannot just pass the convience library names through
   18098  	# without $wl, iff we do not link with $LD.
   18099  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   18100  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18101  	case $wlarc in
   18102  	'')
   18103  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   18104  	*)
   18105  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   18106  	esac ;;
   18107       esac
   18108       link_all_deplibs_GCJ=yes
   18109       ;;
   18110 
   18111     sunos4*)
   18112       if test "x$host_vendor" = xsequent; then
   18113 	# Use $CC to link under sequent, because it throws in some extra .o
   18114 	# files that make .init and .fini sections work.
   18115 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18116       else
   18117 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18118       fi
   18119       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18120       hardcode_direct_GCJ=yes
   18121       hardcode_minus_L_GCJ=yes
   18122       hardcode_shlibpath_var_GCJ=no
   18123       ;;
   18124 
   18125     sysv4)
   18126       case $host_vendor in
   18127 	sni)
   18128 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18129 	  hardcode_direct_GCJ=yes # is this really true???
   18130 	;;
   18131 	siemens)
   18132 	  ## LD is ld it makes a PLAMLIB
   18133 	  ## CC just makes a GrossModule.
   18134 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18135 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18136 	  hardcode_direct_GCJ=no
   18137         ;;
   18138 	motorola)
   18139 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18140 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18141 	;;
   18142       esac
   18143       runpath_var='LD_RUN_PATH'
   18144       hardcode_shlibpath_var_GCJ=no
   18145       ;;
   18146 
   18147     sysv4.3*)
   18148       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18149       hardcode_shlibpath_var_GCJ=no
   18150       export_dynamic_flag_spec_GCJ='-Bexport'
   18151       ;;
   18152 
   18153     sysv4*MP*)
   18154       if test -d /usr/nec; then
   18155 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18156 	hardcode_shlibpath_var_GCJ=no
   18157 	runpath_var=LD_RUN_PATH
   18158 	hardcode_runpath_var=yes
   18159 	ld_shlibs_GCJ=yes
   18160       fi
   18161       ;;
   18162 
   18163     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   18164       no_undefined_flag_GCJ='${wl}-z,text'
   18165       archive_cmds_need_lc_GCJ=no
   18166       hardcode_shlibpath_var_GCJ=no
   18167       runpath_var='LD_RUN_PATH'
   18168 
   18169       if test "$GCC" = yes; then
   18170 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18171 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18172       else
   18173 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18174 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18175       fi
   18176       ;;
   18177 
   18178     sysv5* | sco3.2v5* | sco5v6*)
   18179       # Note: We can NOT use -z defs as we might desire, because we do not
   18180       # link with -lc, and that would cause any symbols used from libc to
   18181       # always be unresolved, which means just about no library would
   18182       # ever link correctly.  If we're not using GNU ld we use -z text
   18183       # though, which does catch some bad symbols but isn't as heavy-handed
   18184       # as -z defs.
   18185       no_undefined_flag_GCJ='${wl}-z,text'
   18186       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18187       archive_cmds_need_lc_GCJ=no
   18188       hardcode_shlibpath_var_GCJ=no
   18189       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18190       hardcode_libdir_separator_GCJ=':'
   18191       link_all_deplibs_GCJ=yes
   18192       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18193       runpath_var='LD_RUN_PATH'
   18194 
   18195       if test "$GCC" = yes; then
   18196 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18197 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18198       else
   18199 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18200 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18201       fi
   18202       ;;
   18203 
   18204     uts4*)
   18205       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18206       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18207       hardcode_shlibpath_var_GCJ=no
   18208       ;;
   18209 
   18210     *)
   18211       ld_shlibs_GCJ=no
   18212       ;;
   18213     esac
   18214   fi
   18215 
   18216 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18217 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18218 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18219 
   18220 #
   18221 # Do we need to explicitly link libc?
   18222 #
   18223 case "x$archive_cmds_need_lc_GCJ" in
   18224 x|xyes)
   18225   # Assume -lc should be added
   18226   archive_cmds_need_lc_GCJ=yes
   18227 
   18228   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18229     case $archive_cmds_GCJ in
   18230     *'~'*)
   18231       # FIXME: we may have to deal with multi-command sequences.
   18232       ;;
   18233     '$CC '*)
   18234       # Test whether the compiler implicitly links with -lc since on some
   18235       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18236       # to ld, don't add -lc before -lgcc.
   18237       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18238 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18239       $rm conftest*
   18240       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   18241 
   18242       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18243   (eval $ac_compile) 2>&5
   18244   ac_status=$?
   18245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18246   (exit $ac_status); } 2>conftest.err; then
   18247         soname=conftest
   18248         lib=conftest
   18249         libobjs=conftest.$ac_objext
   18250         deplibs=
   18251         wl=$lt_prog_compiler_wl_GCJ
   18252 	pic_flag=$lt_prog_compiler_pic_GCJ
   18253         compiler_flags=-v
   18254         linker_flags=-v
   18255         verstring=
   18256         output_objdir=.
   18257         libname=conftest
   18258         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18259         allow_undefined_flag_GCJ=
   18260         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18261   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18262   ac_status=$?
   18263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18264   (exit $ac_status); }
   18265         then
   18266 	  archive_cmds_need_lc_GCJ=no
   18267         else
   18268 	  archive_cmds_need_lc_GCJ=yes
   18269         fi
   18270         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18271       else
   18272         cat conftest.err 1>&5
   18273       fi
   18274       $rm conftest*
   18275       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18276 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18277       ;;
   18278     esac
   18279   fi
   18280   ;;
   18281 esac
   18282 
   18283 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18284 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18285 library_names_spec=
   18286 libname_spec='lib$name'
   18287 soname_spec=
   18288 shrext_cmds=".so"
   18289 postinstall_cmds=
   18290 postuninstall_cmds=
   18291 finish_cmds=
   18292 finish_eval=
   18293 shlibpath_var=
   18294 shlibpath_overrides_runpath=unknown
   18295 version_type=none
   18296 dynamic_linker="$host_os ld.so"
   18297 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18298 if test "$GCC" = yes; then
   18299   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18300   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   18301     # if the path contains ";" then we assume it to be the separator
   18302     # otherwise default to the standard path separator (i.e. ":") - it is
   18303     # assumed that no part of a normal pathname contains ";" but that should
   18304     # okay in the real world where ";" in dirpaths is itself problematic.
   18305     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18306   else
   18307     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18308   fi
   18309 else
   18310   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18311 fi
   18312 need_lib_prefix=unknown
   18313 hardcode_into_libs=no
   18314 
   18315 # when you set need_version to no, make sure it does not cause -set_version
   18316 # flags to be left without arguments
   18317 need_version=unknown
   18318 
   18319 case $host_os in
   18320 aix3*)
   18321   version_type=linux
   18322   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18323   shlibpath_var=LIBPATH
   18324 
   18325   # AIX 3 has no versioning support, so we append a major version to the name.
   18326   soname_spec='${libname}${release}${shared_ext}$major'
   18327   ;;
   18328 
   18329 aix4* | aix5*)
   18330   version_type=linux
   18331   need_lib_prefix=no
   18332   need_version=no
   18333   hardcode_into_libs=yes
   18334   if test "$host_cpu" = ia64; then
   18335     # AIX 5 supports IA64
   18336     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18337     shlibpath_var=LD_LIBRARY_PATH
   18338   else
   18339     # With GCC up to 2.95.x, collect2 would create an import file
   18340     # for dependence libraries.  The import file would start with
   18341     # the line `#! .'.  This would cause the generated library to
   18342     # depend on `.', always an invalid library.  This was fixed in
   18343     # development snapshots of GCC prior to 3.0.
   18344     case $host_os in
   18345       aix4 | aix4.[01] | aix4.[01].*)
   18346       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18347 	   echo ' yes '
   18348 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18349 	:
   18350       else
   18351 	can_build_shared=no
   18352       fi
   18353       ;;
   18354     esac
   18355     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18356     # soname into executable. Probably we can add versioning support to
   18357     # collect2, so additional links can be useful in future.
   18358     if test "$aix_use_runtimelinking" = yes; then
   18359       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18360       # instead of lib<name>.a to let people know that these are not
   18361       # typical AIX shared libraries.
   18362       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18363     else
   18364       # We preserve .a as extension for shared libraries through AIX4.2
   18365       # and later when we are not doing run time linking.
   18366       library_names_spec='${libname}${release}.a $libname.a'
   18367       soname_spec='${libname}${release}${shared_ext}$major'
   18368     fi
   18369     shlibpath_var=LIBPATH
   18370   fi
   18371   ;;
   18372 
   18373 amigaos*)
   18374   library_names_spec='$libname.ixlibrary $libname.a'
   18375   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18376   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'
   18377   ;;
   18378 
   18379 beos*)
   18380   library_names_spec='${libname}${shared_ext}'
   18381   dynamic_linker="$host_os ld.so"
   18382   shlibpath_var=LIBRARY_PATH
   18383   ;;
   18384 
   18385 bsdi[45]*)
   18386   version_type=linux
   18387   need_version=no
   18388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18389   soname_spec='${libname}${release}${shared_ext}$major'
   18390   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18391   shlibpath_var=LD_LIBRARY_PATH
   18392   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18393   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18394   # the default ld.so.conf also contains /usr/contrib/lib and
   18395   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18396   # libtool to hard-code these into programs
   18397   ;;
   18398 
   18399 cygwin* | mingw* | pw32*)
   18400   version_type=windows
   18401   shrext_cmds=".dll"
   18402   need_version=no
   18403   need_lib_prefix=no
   18404 
   18405   case $GCC,$host_os in
   18406   yes,cygwin* | yes,mingw* | yes,pw32*)
   18407     library_names_spec='$libname.dll.a'
   18408     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18409     postinstall_cmds='base_file=`basename \${file}`~
   18410       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18411       dldir=$destdir/`dirname \$dlpath`~
   18412       test -d \$dldir || mkdir -p \$dldir~
   18413       $install_prog $dir/$dlname \$dldir/$dlname~
   18414       chmod a+x \$dldir/$dlname'
   18415     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18416       dlpath=$dir/\$dldll~
   18417        $rm \$dlpath'
   18418     shlibpath_overrides_runpath=yes
   18419 
   18420     case $host_os in
   18421     cygwin*)
   18422       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18423       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18424       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18425       ;;
   18426     mingw*)
   18427       # MinGW DLLs use traditional 'lib' prefix
   18428       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18429       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18430       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18431         # It is most probably a Windows format PATH printed by
   18432         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18433         # path with ; separators, and with drive letters. We can handle the
   18434         # drive letters (cygwin fileutils understands them), so leave them,
   18435         # especially as we might pass files found there to a mingw objdump,
   18436         # which wouldn't understand a cygwinified path. Ahh.
   18437         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18438       else
   18439         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18440       fi
   18441       ;;
   18442     pw32*)
   18443       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18444       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18445       ;;
   18446     esac
   18447     ;;
   18448 
   18449   *)
   18450     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18451     ;;
   18452   esac
   18453   dynamic_linker='Win32 ld.exe'
   18454   # FIXME: first we should search . and the directory the executable is in
   18455   shlibpath_var=PATH
   18456   ;;
   18457 
   18458 darwin* | rhapsody*)
   18459   dynamic_linker="$host_os dyld"
   18460   version_type=darwin
   18461   need_lib_prefix=no
   18462   need_version=no
   18463   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18464   soname_spec='${libname}${release}${major}$shared_ext'
   18465   shlibpath_overrides_runpath=yes
   18466   shlibpath_var=DYLD_LIBRARY_PATH
   18467   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18468   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   18469   if test "$GCC" = yes; then
   18470     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   18471   else
   18472     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   18473   fi
   18474   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18475   ;;
   18476 
   18477 dgux*)
   18478   version_type=linux
   18479   need_lib_prefix=no
   18480   need_version=no
   18481   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18482   soname_spec='${libname}${release}${shared_ext}$major'
   18483   shlibpath_var=LD_LIBRARY_PATH
   18484   ;;
   18485 
   18486 freebsd1*)
   18487   dynamic_linker=no
   18488   ;;
   18489 
   18490 kfreebsd*-gnu)
   18491   version_type=linux
   18492   need_lib_prefix=no
   18493   need_version=no
   18494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18495   soname_spec='${libname}${release}${shared_ext}$major'
   18496   shlibpath_var=LD_LIBRARY_PATH
   18497   shlibpath_overrides_runpath=no
   18498   hardcode_into_libs=yes
   18499   dynamic_linker='GNU ld.so'
   18500   ;;
   18501 
   18502 freebsd* | dragonfly*)
   18503   # DragonFly does not have aout.  When/if they implement a new
   18504   # versioning mechanism, adjust this.
   18505   if test -x /usr/bin/objformat; then
   18506     objformat=`/usr/bin/objformat`
   18507   else
   18508     case $host_os in
   18509     freebsd[123]*) objformat=aout ;;
   18510     *) objformat=elf ;;
   18511     esac
   18512   fi
   18513   version_type=freebsd-$objformat
   18514   case $version_type in
   18515     freebsd-elf*)
   18516       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18517       need_version=no
   18518       need_lib_prefix=no
   18519       ;;
   18520     freebsd-*)
   18521       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18522       need_version=yes
   18523       ;;
   18524   esac
   18525   shlibpath_var=LD_LIBRARY_PATH
   18526   case $host_os in
   18527   freebsd2*)
   18528     shlibpath_overrides_runpath=yes
   18529     ;;
   18530   freebsd3.[01]* | freebsdelf3.[01]*)
   18531     shlibpath_overrides_runpath=yes
   18532     hardcode_into_libs=yes
   18533     ;;
   18534   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18535   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18536     shlibpath_overrides_runpath=no
   18537     hardcode_into_libs=yes
   18538     ;;
   18539   freebsd*) # from 4.6 on
   18540     shlibpath_overrides_runpath=yes
   18541     hardcode_into_libs=yes
   18542     ;;
   18543   esac
   18544   ;;
   18545 
   18546 gnu*)
   18547   version_type=linux
   18548   need_lib_prefix=no
   18549   need_version=no
   18550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18551   soname_spec='${libname}${release}${shared_ext}$major'
   18552   shlibpath_var=LD_LIBRARY_PATH
   18553   hardcode_into_libs=yes
   18554   ;;
   18555 
   18556 hpux9* | hpux10* | hpux11*)
   18557   # Give a soname corresponding to the major version so that dld.sl refuses to
   18558   # link against other versions.
   18559   version_type=sunos
   18560   need_lib_prefix=no
   18561   need_version=no
   18562   case $host_cpu in
   18563   ia64*)
   18564     shrext_cmds='.so'
   18565     hardcode_into_libs=yes
   18566     dynamic_linker="$host_os dld.so"
   18567     shlibpath_var=LD_LIBRARY_PATH
   18568     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18569     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18570     soname_spec='${libname}${release}${shared_ext}$major'
   18571     if test "X$HPUX_IA64_MODE" = X32; then
   18572       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18573     else
   18574       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18575     fi
   18576     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18577     ;;
   18578    hppa*64*)
   18579      shrext_cmds='.sl'
   18580      hardcode_into_libs=yes
   18581      dynamic_linker="$host_os dld.sl"
   18582      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18583      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18584      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18585      soname_spec='${libname}${release}${shared_ext}$major'
   18586      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18587      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18588      ;;
   18589    *)
   18590     shrext_cmds='.sl'
   18591     dynamic_linker="$host_os dld.sl"
   18592     shlibpath_var=SHLIB_PATH
   18593     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18594     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18595     soname_spec='${libname}${release}${shared_ext}$major'
   18596     ;;
   18597   esac
   18598   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18599   postinstall_cmds='chmod 555 $lib'
   18600   ;;
   18601 
   18602 interix3*)
   18603   version_type=linux
   18604   need_lib_prefix=no
   18605   need_version=no
   18606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18607   soname_spec='${libname}${release}${shared_ext}$major'
   18608   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18609   shlibpath_var=LD_LIBRARY_PATH
   18610   shlibpath_overrides_runpath=no
   18611   hardcode_into_libs=yes
   18612   ;;
   18613 
   18614 irix5* | irix6* | nonstopux*)
   18615   case $host_os in
   18616     nonstopux*) version_type=nonstopux ;;
   18617     *)
   18618 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18619 		version_type=linux
   18620 	else
   18621 		version_type=irix
   18622 	fi ;;
   18623   esac
   18624   need_lib_prefix=no
   18625   need_version=no
   18626   soname_spec='${libname}${release}${shared_ext}$major'
   18627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18628   case $host_os in
   18629   irix5* | nonstopux*)
   18630     libsuff= shlibsuff=
   18631     ;;
   18632   *)
   18633     case $LD in # libtool.m4 will add one of these switches to LD
   18634     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18635       libsuff= shlibsuff= libmagic=32-bit;;
   18636     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18637       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18638     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18639       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18640     *) libsuff= shlibsuff= libmagic=never-match;;
   18641     esac
   18642     ;;
   18643   esac
   18644   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18645   shlibpath_overrides_runpath=no
   18646   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18647   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18648   hardcode_into_libs=yes
   18649   ;;
   18650 
   18651 # No shared lib support for Linux oldld, aout, or coff.
   18652 linux*oldld* | linux*aout* | linux*coff*)
   18653   dynamic_linker=no
   18654   ;;
   18655 
   18656 # This must be Linux ELF.
   18657 linux*)
   18658   version_type=linux
   18659   need_lib_prefix=no
   18660   need_version=no
   18661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18662   soname_spec='${libname}${release}${shared_ext}$major'
   18663   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18664   shlibpath_var=LD_LIBRARY_PATH
   18665   shlibpath_overrides_runpath=no
   18666   # This implies no fast_install, which is unacceptable.
   18667   # Some rework will be needed to allow for fast_install
   18668   # before this can be enabled.
   18669   hardcode_into_libs=yes
   18670 
   18671   # Append ld.so.conf contents to the search path
   18672   if test -f /etc/ld.so.conf; then
   18673     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18674     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18675   fi
   18676 
   18677   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18678   # powerpc, because MkLinux only supported shared libraries with the
   18679   # GNU dynamic linker.  Since this was broken with cross compilers,
   18680   # most powerpc-linux boxes support dynamic linking these days and
   18681   # people can always --disable-shared, the test was removed, and we
   18682   # assume the GNU/Linux dynamic linker is in use.
   18683   dynamic_linker='GNU/Linux ld.so'
   18684   ;;
   18685 
   18686 knetbsd*-gnu)
   18687   version_type=linux
   18688   need_lib_prefix=no
   18689   need_version=no
   18690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18691   soname_spec='${libname}${release}${shared_ext}$major'
   18692   shlibpath_var=LD_LIBRARY_PATH
   18693   shlibpath_overrides_runpath=no
   18694   hardcode_into_libs=yes
   18695   dynamic_linker='GNU ld.so'
   18696   ;;
   18697 
   18698 netbsd*)
   18699   version_type=sunos
   18700   need_lib_prefix=no
   18701   need_version=no
   18702   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18703     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18704     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18705     dynamic_linker='NetBSD (a.out) ld.so'
   18706   else
   18707     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18708     soname_spec='${libname}${release}${shared_ext}$major'
   18709     dynamic_linker='NetBSD ld.elf_so'
   18710   fi
   18711   shlibpath_var=LD_LIBRARY_PATH
   18712   shlibpath_overrides_runpath=yes
   18713   hardcode_into_libs=yes
   18714   ;;
   18715 
   18716 newsos6)
   18717   version_type=linux
   18718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18719   shlibpath_var=LD_LIBRARY_PATH
   18720   shlibpath_overrides_runpath=yes
   18721   ;;
   18722 
   18723 nto-qnx*)
   18724   version_type=linux
   18725   need_lib_prefix=no
   18726   need_version=no
   18727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18728   soname_spec='${libname}${release}${shared_ext}$major'
   18729   shlibpath_var=LD_LIBRARY_PATH
   18730   shlibpath_overrides_runpath=yes
   18731   ;;
   18732 
   18733 openbsd*)
   18734   version_type=sunos
   18735   sys_lib_dlsearch_path_spec="/usr/lib"
   18736   need_lib_prefix=no
   18737   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18738   case $host_os in
   18739     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18740     *)                         need_version=no  ;;
   18741   esac
   18742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18743   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18744   shlibpath_var=LD_LIBRARY_PATH
   18745   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18746     case $host_os in
   18747       openbsd2.[89] | openbsd2.[89].*)
   18748 	shlibpath_overrides_runpath=no
   18749 	;;
   18750       *)
   18751 	shlibpath_overrides_runpath=yes
   18752 	;;
   18753       esac
   18754   else
   18755     shlibpath_overrides_runpath=yes
   18756   fi
   18757   ;;
   18758 
   18759 os2*)
   18760   libname_spec='$name'
   18761   shrext_cmds=".dll"
   18762   need_lib_prefix=no
   18763   library_names_spec='$libname${shared_ext} $libname.a'
   18764   dynamic_linker='OS/2 ld.exe'
   18765   shlibpath_var=LIBPATH
   18766   ;;
   18767 
   18768 osf3* | osf4* | osf5*)
   18769   version_type=osf
   18770   need_lib_prefix=no
   18771   need_version=no
   18772   soname_spec='${libname}${release}${shared_ext}$major'
   18773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18774   shlibpath_var=LD_LIBRARY_PATH
   18775   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18776   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18777   ;;
   18778 
   18779 solaris*)
   18780   version_type=linux
   18781   need_lib_prefix=no
   18782   need_version=no
   18783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18784   soname_spec='${libname}${release}${shared_ext}$major'
   18785   shlibpath_var=LD_LIBRARY_PATH
   18786   shlibpath_overrides_runpath=yes
   18787   hardcode_into_libs=yes
   18788   # ldd complains unless libraries are executable
   18789   postinstall_cmds='chmod +x $lib'
   18790   ;;
   18791 
   18792 sunos4*)
   18793   version_type=sunos
   18794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18795   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18796   shlibpath_var=LD_LIBRARY_PATH
   18797   shlibpath_overrides_runpath=yes
   18798   if test "$with_gnu_ld" = yes; then
   18799     need_lib_prefix=no
   18800   fi
   18801   need_version=yes
   18802   ;;
   18803 
   18804 sysv4 | sysv4.3*)
   18805   version_type=linux
   18806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18807   soname_spec='${libname}${release}${shared_ext}$major'
   18808   shlibpath_var=LD_LIBRARY_PATH
   18809   case $host_vendor in
   18810     sni)
   18811       shlibpath_overrides_runpath=no
   18812       need_lib_prefix=no
   18813       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18814       runpath_var=LD_RUN_PATH
   18815       ;;
   18816     siemens)
   18817       need_lib_prefix=no
   18818       ;;
   18819     motorola)
   18820       need_lib_prefix=no
   18821       need_version=no
   18822       shlibpath_overrides_runpath=no
   18823       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18824       ;;
   18825   esac
   18826   ;;
   18827 
   18828 sysv4*MP*)
   18829   if test -d /usr/nec ;then
   18830     version_type=linux
   18831     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18832     soname_spec='$libname${shared_ext}.$major'
   18833     shlibpath_var=LD_LIBRARY_PATH
   18834   fi
   18835   ;;
   18836 
   18837 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18838   version_type=freebsd-elf
   18839   need_lib_prefix=no
   18840   need_version=no
   18841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18842   soname_spec='${libname}${release}${shared_ext}$major'
   18843   shlibpath_var=LD_LIBRARY_PATH
   18844   hardcode_into_libs=yes
   18845   if test "$with_gnu_ld" = yes; then
   18846     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18847     shlibpath_overrides_runpath=no
   18848   else
   18849     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18850     shlibpath_overrides_runpath=yes
   18851     case $host_os in
   18852       sco3.2v5*)
   18853         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18854 	;;
   18855     esac
   18856   fi
   18857   sys_lib_dlsearch_path_spec='/usr/lib'
   18858   ;;
   18859 
   18860 uts4*)
   18861   version_type=linux
   18862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18863   soname_spec='${libname}${release}${shared_ext}$major'
   18864   shlibpath_var=LD_LIBRARY_PATH
   18865   ;;
   18866 
   18867 *)
   18868   dynamic_linker=no
   18869   ;;
   18870 esac
   18871 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18872 echo "${ECHO_T}$dynamic_linker" >&6; }
   18873 test "$dynamic_linker" = no && can_build_shared=no
   18874 
   18875 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18876 if test "$GCC" = yes; then
   18877   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18878 fi
   18879 
   18880 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18881 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18882 hardcode_action_GCJ=
   18883 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18884    test -n "$runpath_var_GCJ" || \
   18885    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18886 
   18887   # We can hardcode non-existant directories.
   18888   if test "$hardcode_direct_GCJ" != no &&
   18889      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18890      # have to relink, otherwise we might link with an installed library
   18891      # when we should be linking with a yet-to-be-installed one
   18892      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18893      test "$hardcode_minus_L_GCJ" != no; then
   18894     # Linking always hardcodes the temporary library directory.
   18895     hardcode_action_GCJ=relink
   18896   else
   18897     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18898     hardcode_action_GCJ=immediate
   18899   fi
   18900 else
   18901   # We cannot hardcode anything, or else we can only hardcode existing
   18902   # directories.
   18903   hardcode_action_GCJ=unsupported
   18904 fi
   18905 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18906 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18907 
   18908 if test "$hardcode_action_GCJ" = relink; then
   18909   # Fast installation is not supported
   18910   enable_fast_install=no
   18911 elif test "$shlibpath_overrides_runpath" = yes ||
   18912      test "$enable_shared" = no; then
   18913   # Fast installation is not necessary
   18914   enable_fast_install=needless
   18915 fi
   18916 
   18917 
   18918 # The else clause should only fire when bootstrapping the
   18919 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18920 # with your package, and you will get complaints that there are
   18921 # no rules to generate ltmain.sh.
   18922 if test -f "$ltmain"; then
   18923   # See if we are running on zsh, and set the options which allow our commands through
   18924   # without removal of \ escapes.
   18925   if test -n "${ZSH_VERSION+set}" ; then
   18926     setopt NO_GLOB_SUBST
   18927   fi
   18928   # Now quote all the things that may contain metacharacters while being
   18929   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18930   # variables and quote the copies for generation of the libtool script.
   18931   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18932     SED SHELL STRIP \
   18933     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18934     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18935     deplibs_check_method reload_flag reload_cmds need_locks \
   18936     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18937     lt_cv_sys_global_symbol_to_c_name_address \
   18938     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18939     old_postinstall_cmds old_postuninstall_cmds \
   18940     compiler_GCJ \
   18941     CC_GCJ \
   18942     LD_GCJ \
   18943     lt_prog_compiler_wl_GCJ \
   18944     lt_prog_compiler_pic_GCJ \
   18945     lt_prog_compiler_static_GCJ \
   18946     lt_prog_compiler_no_builtin_flag_GCJ \
   18947     export_dynamic_flag_spec_GCJ \
   18948     thread_safe_flag_spec_GCJ \
   18949     whole_archive_flag_spec_GCJ \
   18950     enable_shared_with_static_runtimes_GCJ \
   18951     old_archive_cmds_GCJ \
   18952     old_archive_from_new_cmds_GCJ \
   18953     predep_objects_GCJ \
   18954     postdep_objects_GCJ \
   18955     predeps_GCJ \
   18956     postdeps_GCJ \
   18957     compiler_lib_search_path_GCJ \
   18958     archive_cmds_GCJ \
   18959     archive_expsym_cmds_GCJ \
   18960     postinstall_cmds_GCJ \
   18961     postuninstall_cmds_GCJ \
   18962     old_archive_from_expsyms_cmds_GCJ \
   18963     allow_undefined_flag_GCJ \
   18964     no_undefined_flag_GCJ \
   18965     export_symbols_cmds_GCJ \
   18966     hardcode_libdir_flag_spec_GCJ \
   18967     hardcode_libdir_flag_spec_ld_GCJ \
   18968     hardcode_libdir_separator_GCJ \
   18969     hardcode_automatic_GCJ \
   18970     module_cmds_GCJ \
   18971     module_expsym_cmds_GCJ \
   18972     lt_cv_prog_compiler_c_o_GCJ \
   18973     exclude_expsyms_GCJ \
   18974     include_expsyms_GCJ; do
   18975 
   18976     case $var in
   18977     old_archive_cmds_GCJ | \
   18978     old_archive_from_new_cmds_GCJ | \
   18979     archive_cmds_GCJ | \
   18980     archive_expsym_cmds_GCJ | \
   18981     module_cmds_GCJ | \
   18982     module_expsym_cmds_GCJ | \
   18983     old_archive_from_expsyms_cmds_GCJ | \
   18984     export_symbols_cmds_GCJ | \
   18985     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18986     postinstall_cmds | postuninstall_cmds | \
   18987     old_postinstall_cmds | old_postuninstall_cmds | \
   18988     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18989       # Double-quote double-evaled strings.
   18990       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18991       ;;
   18992     *)
   18993       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18994       ;;
   18995     esac
   18996   done
   18997 
   18998   case $lt_echo in
   18999   *'\$0 --fallback-echo"')
   19000     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19001     ;;
   19002   esac
   19003 
   19004 cfgfile="$ofile"
   19005 
   19006   cat <<__EOF__ >> "$cfgfile"
   19007 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19008 
   19009 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19010 
   19011 # Shell to use when invoking shell scripts.
   19012 SHELL=$lt_SHELL
   19013 
   19014 # Whether or not to build shared libraries.
   19015 build_libtool_libs=$enable_shared
   19016 
   19017 # Whether or not to build static libraries.
   19018 build_old_libs=$enable_static
   19019 
   19020 # Whether or not to add -lc for building shared libraries.
   19021 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19022 
   19023 # Whether or not to disallow shared libs when runtime libs are static
   19024 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19025 
   19026 # Whether or not to optimize for fast installation.
   19027 fast_install=$enable_fast_install
   19028 
   19029 # The host system.
   19030 host_alias=$host_alias
   19031 host=$host
   19032 host_os=$host_os
   19033 
   19034 # The build system.
   19035 build_alias=$build_alias
   19036 build=$build
   19037 build_os=$build_os
   19038 
   19039 # An echo program that does not interpret backslashes.
   19040 echo=$lt_echo
   19041 
   19042 # The archiver.
   19043 AR=$lt_AR
   19044 AR_FLAGS=$lt_AR_FLAGS
   19045 
   19046 # A C compiler.
   19047 LTCC=$lt_LTCC
   19048 
   19049 # LTCC compiler flags.
   19050 LTCFLAGS=$lt_LTCFLAGS
   19051 
   19052 # A language-specific compiler.
   19053 CC=$lt_compiler_GCJ
   19054 
   19055 # Is the compiler the GNU C compiler?
   19056 with_gcc=$GCC_GCJ
   19057 
   19058 # An ERE matcher.
   19059 EGREP=$lt_EGREP
   19060 
   19061 # The linker used to build libraries.
   19062 LD=$lt_LD_GCJ
   19063 
   19064 # Whether we need hard or soft links.
   19065 LN_S=$lt_LN_S
   19066 
   19067 # A BSD-compatible nm program.
   19068 NM=$lt_NM
   19069 
   19070 # A symbol stripping program
   19071 STRIP=$lt_STRIP
   19072 
   19073 # Used to examine libraries when file_magic_cmd begins "file"
   19074 MAGIC_CMD=$MAGIC_CMD
   19075 
   19076 # Used on cygwin: DLL creation program.
   19077 DLLTOOL="$DLLTOOL"
   19078 
   19079 # Used on cygwin: object dumper.
   19080 OBJDUMP="$OBJDUMP"
   19081 
   19082 # Used on cygwin: assembler.
   19083 AS="$AS"
   19084 
   19085 # The name of the directory that contains temporary libtool files.
   19086 objdir=$objdir
   19087 
   19088 # How to create reloadable object files.
   19089 reload_flag=$lt_reload_flag
   19090 reload_cmds=$lt_reload_cmds
   19091 
   19092 # How to pass a linker flag through the compiler.
   19093 wl=$lt_lt_prog_compiler_wl_GCJ
   19094 
   19095 # Object file suffix (normally "o").
   19096 objext="$ac_objext"
   19097 
   19098 # Old archive suffix (normally "a").
   19099 libext="$libext"
   19100 
   19101 # Shared library suffix (normally ".so").
   19102 shrext_cmds='$shrext_cmds'
   19103 
   19104 # Executable file suffix (normally "").
   19105 exeext="$exeext"
   19106 
   19107 # Additional compiler flags for building library objects.
   19108 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19109 pic_mode=$pic_mode
   19110 
   19111 # What is the maximum length of a command?
   19112 max_cmd_len=$lt_cv_sys_max_cmd_len
   19113 
   19114 # Does compiler simultaneously support -c and -o options?
   19115 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19116 
   19117 # Must we lock files when doing compilation?
   19118 need_locks=$lt_need_locks
   19119 
   19120 # Do we need the lib prefix for modules?
   19121 need_lib_prefix=$need_lib_prefix
   19122 
   19123 # Do we need a version for libraries?
   19124 need_version=$need_version
   19125 
   19126 # Whether dlopen is supported.
   19127 dlopen_support=$enable_dlopen
   19128 
   19129 # Whether dlopen of programs is supported.
   19130 dlopen_self=$enable_dlopen_self
   19131 
   19132 # Whether dlopen of statically linked programs is supported.
   19133 dlopen_self_static=$enable_dlopen_self_static
   19134 
   19135 # Compiler flag to prevent dynamic linking.
   19136 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19137 
   19138 # Compiler flag to turn off builtin functions.
   19139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19140 
   19141 # Compiler flag to allow reflexive dlopens.
   19142 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19143 
   19144 # Compiler flag to generate shared objects directly from archives.
   19145 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19146 
   19147 # Compiler flag to generate thread-safe objects.
   19148 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19149 
   19150 # Library versioning type.
   19151 version_type=$version_type
   19152 
   19153 # Format of library name prefix.
   19154 libname_spec=$lt_libname_spec
   19155 
   19156 # List of archive names.  First name is the real one, the rest are links.
   19157 # The last name is the one that the linker finds with -lNAME.
   19158 library_names_spec=$lt_library_names_spec
   19159 
   19160 # The coded name of the library, if different from the real name.
   19161 soname_spec=$lt_soname_spec
   19162 
   19163 # Commands used to build and install an old-style archive.
   19164 RANLIB=$lt_RANLIB
   19165 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19166 old_postinstall_cmds=$lt_old_postinstall_cmds
   19167 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19168 
   19169 # Create an old-style archive from a shared archive.
   19170 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19171 
   19172 # Create a temporary old-style archive to link instead of a shared archive.
   19173 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19174 
   19175 # Commands used to build and install a shared archive.
   19176 archive_cmds=$lt_archive_cmds_GCJ
   19177 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19178 postinstall_cmds=$lt_postinstall_cmds
   19179 postuninstall_cmds=$lt_postuninstall_cmds
   19180 
   19181 # Commands used to build a loadable module (assumed same as above if empty)
   19182 module_cmds=$lt_module_cmds_GCJ
   19183 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19184 
   19185 # Commands to strip libraries.
   19186 old_striplib=$lt_old_striplib
   19187 striplib=$lt_striplib
   19188 
   19189 # Dependencies to place before the objects being linked to create a
   19190 # shared library.
   19191 predep_objects=$lt_predep_objects_GCJ
   19192 
   19193 # Dependencies to place after the objects being linked to create a
   19194 # shared library.
   19195 postdep_objects=$lt_postdep_objects_GCJ
   19196 
   19197 # Dependencies to place before the objects being linked to create a
   19198 # shared library.
   19199 predeps=$lt_predeps_GCJ
   19200 
   19201 # Dependencies to place after the objects being linked to create a
   19202 # shared library.
   19203 postdeps=$lt_postdeps_GCJ
   19204 
   19205 # The library search path used internally by the compiler when linking
   19206 # a shared library.
   19207 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19208 
   19209 # Method to check whether dependent libraries are shared objects.
   19210 deplibs_check_method=$lt_deplibs_check_method
   19211 
   19212 # Command to use when deplibs_check_method == file_magic.
   19213 file_magic_cmd=$lt_file_magic_cmd
   19214 
   19215 # Flag that allows shared libraries with undefined symbols to be built.
   19216 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19217 
   19218 # Flag that forces no undefined symbols.
   19219 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19220 
   19221 # Commands used to finish a libtool library installation in a directory.
   19222 finish_cmds=$lt_finish_cmds
   19223 
   19224 # Same as above, but a single script fragment to be evaled but not shown.
   19225 finish_eval=$lt_finish_eval
   19226 
   19227 # Take the output of nm and produce a listing of raw symbols and C names.
   19228 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19229 
   19230 # Transform the output of nm in a proper C declaration
   19231 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19232 
   19233 # Transform the output of nm in a C name address pair
   19234 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19235 
   19236 # This is the shared library runtime path variable.
   19237 runpath_var=$runpath_var
   19238 
   19239 # This is the shared library path variable.
   19240 shlibpath_var=$shlibpath_var
   19241 
   19242 # Is shlibpath searched before the hard-coded library search path?
   19243 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19244 
   19245 # How to hardcode a shared library path into an executable.
   19246 hardcode_action=$hardcode_action_GCJ
   19247 
   19248 # Whether we should hardcode library paths into libraries.
   19249 hardcode_into_libs=$hardcode_into_libs
   19250 
   19251 # Flag to hardcode \$libdir into a binary during linking.
   19252 # This must work even if \$libdir does not exist.
   19253 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19254 
   19255 # If ld is used when linking, flag to hardcode \$libdir into
   19256 # a binary during linking. This must work even if \$libdir does
   19257 # not exist.
   19258 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19259 
   19260 # Whether we need a single -rpath flag with a separated argument.
   19261 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19262 
   19263 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19264 # resulting binary.
   19265 hardcode_direct=$hardcode_direct_GCJ
   19266 
   19267 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19268 # resulting binary.
   19269 hardcode_minus_L=$hardcode_minus_L_GCJ
   19270 
   19271 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19272 # the resulting binary.
   19273 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19274 
   19275 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19276 # and all subsequent libraries and executables linked against it.
   19277 hardcode_automatic=$hardcode_automatic_GCJ
   19278 
   19279 # Variables whose values should be saved in libtool wrapper scripts and
   19280 # restored at relink time.
   19281 variables_saved_for_relink="$variables_saved_for_relink"
   19282 
   19283 # Whether libtool must link a program against all its dependency libraries.
   19284 link_all_deplibs=$link_all_deplibs_GCJ
   19285 
   19286 # Compile-time system search path for libraries
   19287 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19288 
   19289 # Run-time system search path for libraries
   19290 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19291 
   19292 # Fix the shell variable \$srcfile for the compiler.
   19293 fix_srcfile_path="$fix_srcfile_path_GCJ"
   19294 
   19295 # Set to yes if exported symbols are required.
   19296 always_export_symbols=$always_export_symbols_GCJ
   19297 
   19298 # The commands to list exported symbols.
   19299 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19300 
   19301 # The commands to extract the exported symbol list from a shared archive.
   19302 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19303 
   19304 # Symbols that should not be listed in the preloaded symbols.
   19305 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19306 
   19307 # Symbols that must always be exported.
   19308 include_expsyms=$lt_include_expsyms_GCJ
   19309 
   19310 # ### END LIBTOOL TAG CONFIG: $tagname
   19311 
   19312 __EOF__
   19313 
   19314 
   19315 else
   19316   # If there is no Makefile yet, we rely on a make rule to execute
   19317   # `config.status --recheck' to rerun these tests and create the
   19318   # libtool script then.
   19319   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19320   if test -f "$ltmain_in"; then
   19321     test -f Makefile && make "$ltmain"
   19322   fi
   19323 fi
   19324 
   19325 
   19326 ac_ext=c
   19327 ac_cpp='$CPP $CPPFLAGS'
   19328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19331 
   19332 CC="$lt_save_CC"
   19333 
   19334 	else
   19335 	  tagname=""
   19336 	fi
   19337 	;;
   19338 
   19339       RC)
   19340 
   19341 
   19342 # Source file extension for RC test sources.
   19343 ac_ext=rc
   19344 
   19345 # Object file extension for compiled RC test sources.
   19346 objext=o
   19347 objext_RC=$objext
   19348 
   19349 # Code to be used in simple compile tests
   19350 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   19351 
   19352 # Code to be used in simple link tests
   19353 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19354 
   19355 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19356 
   19357 # If no C compiler was specified, use CC.
   19358 LTCC=${LTCC-"$CC"}
   19359 
   19360 # If no C compiler flags were specified, use CFLAGS.
   19361 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19362 
   19363 # Allow CC to be a program name with arguments.
   19364 compiler=$CC
   19365 
   19366 
   19367 # save warnings/boilerplate of simple test code
   19368 ac_outfile=conftest.$ac_objext
   19369 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   19370 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19371 _lt_compiler_boilerplate=`cat conftest.err`
   19372 $rm conftest*
   19373 
   19374 ac_outfile=conftest.$ac_objext
   19375 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   19376 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19377 _lt_linker_boilerplate=`cat conftest.err`
   19378 $rm conftest*
   19379 
   19380 
   19381 # Allow CC to be a program name with arguments.
   19382 lt_save_CC="$CC"
   19383 CC=${RC-"windres"}
   19384 compiler=$CC
   19385 compiler_RC=$CC
   19386 for cc_temp in $compiler""; do
   19387   case $cc_temp in
   19388     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19389     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19390     \-*) ;;
   19391     *) break;;
   19392   esac
   19393 done
   19394 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19395 
   19396 lt_cv_prog_compiler_c_o_RC=yes
   19397 
   19398 # The else clause should only fire when bootstrapping the
   19399 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19400 # with your package, and you will get complaints that there are
   19401 # no rules to generate ltmain.sh.
   19402 if test -f "$ltmain"; then
   19403   # See if we are running on zsh, and set the options which allow our commands through
   19404   # without removal of \ escapes.
   19405   if test -n "${ZSH_VERSION+set}" ; then
   19406     setopt NO_GLOB_SUBST
   19407   fi
   19408   # Now quote all the things that may contain metacharacters while being
   19409   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19410   # variables and quote the copies for generation of the libtool script.
   19411   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19412     SED SHELL STRIP \
   19413     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19414     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19415     deplibs_check_method reload_flag reload_cmds need_locks \
   19416     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19417     lt_cv_sys_global_symbol_to_c_name_address \
   19418     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19419     old_postinstall_cmds old_postuninstall_cmds \
   19420     compiler_RC \
   19421     CC_RC \
   19422     LD_RC \
   19423     lt_prog_compiler_wl_RC \
   19424     lt_prog_compiler_pic_RC \
   19425     lt_prog_compiler_static_RC \
   19426     lt_prog_compiler_no_builtin_flag_RC \
   19427     export_dynamic_flag_spec_RC \
   19428     thread_safe_flag_spec_RC \
   19429     whole_archive_flag_spec_RC \
   19430     enable_shared_with_static_runtimes_RC \
   19431     old_archive_cmds_RC \
   19432     old_archive_from_new_cmds_RC \
   19433     predep_objects_RC \
   19434     postdep_objects_RC \
   19435     predeps_RC \
   19436     postdeps_RC \
   19437     compiler_lib_search_path_RC \
   19438     archive_cmds_RC \
   19439     archive_expsym_cmds_RC \
   19440     postinstall_cmds_RC \
   19441     postuninstall_cmds_RC \
   19442     old_archive_from_expsyms_cmds_RC \
   19443     allow_undefined_flag_RC \
   19444     no_undefined_flag_RC \
   19445     export_symbols_cmds_RC \
   19446     hardcode_libdir_flag_spec_RC \
   19447     hardcode_libdir_flag_spec_ld_RC \
   19448     hardcode_libdir_separator_RC \
   19449     hardcode_automatic_RC \
   19450     module_cmds_RC \
   19451     module_expsym_cmds_RC \
   19452     lt_cv_prog_compiler_c_o_RC \
   19453     exclude_expsyms_RC \
   19454     include_expsyms_RC; do
   19455 
   19456     case $var in
   19457     old_archive_cmds_RC | \
   19458     old_archive_from_new_cmds_RC | \
   19459     archive_cmds_RC | \
   19460     archive_expsym_cmds_RC | \
   19461     module_cmds_RC | \
   19462     module_expsym_cmds_RC | \
   19463     old_archive_from_expsyms_cmds_RC | \
   19464     export_symbols_cmds_RC | \
   19465     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19466     postinstall_cmds | postuninstall_cmds | \
   19467     old_postinstall_cmds | old_postuninstall_cmds | \
   19468     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19469       # Double-quote double-evaled strings.
   19470       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19471       ;;
   19472     *)
   19473       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19474       ;;
   19475     esac
   19476   done
   19477 
   19478   case $lt_echo in
   19479   *'\$0 --fallback-echo"')
   19480     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19481     ;;
   19482   esac
   19483 
   19484 cfgfile="$ofile"
   19485 
   19486   cat <<__EOF__ >> "$cfgfile"
   19487 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19488 
   19489 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19490 
   19491 # Shell to use when invoking shell scripts.
   19492 SHELL=$lt_SHELL
   19493 
   19494 # Whether or not to build shared libraries.
   19495 build_libtool_libs=$enable_shared
   19496 
   19497 # Whether or not to build static libraries.
   19498 build_old_libs=$enable_static
   19499 
   19500 # Whether or not to add -lc for building shared libraries.
   19501 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19502 
   19503 # Whether or not to disallow shared libs when runtime libs are static
   19504 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19505 
   19506 # Whether or not to optimize for fast installation.
   19507 fast_install=$enable_fast_install
   19508 
   19509 # The host system.
   19510 host_alias=$host_alias
   19511 host=$host
   19512 host_os=$host_os
   19513 
   19514 # The build system.
   19515 build_alias=$build_alias
   19516 build=$build
   19517 build_os=$build_os
   19518 
   19519 # An echo program that does not interpret backslashes.
   19520 echo=$lt_echo
   19521 
   19522 # The archiver.
   19523 AR=$lt_AR
   19524 AR_FLAGS=$lt_AR_FLAGS
   19525 
   19526 # A C compiler.
   19527 LTCC=$lt_LTCC
   19528 
   19529 # LTCC compiler flags.
   19530 LTCFLAGS=$lt_LTCFLAGS
   19531 
   19532 # A language-specific compiler.
   19533 CC=$lt_compiler_RC
   19534 
   19535 # Is the compiler the GNU C compiler?
   19536 with_gcc=$GCC_RC
   19537 
   19538 # An ERE matcher.
   19539 EGREP=$lt_EGREP
   19540 
   19541 # The linker used to build libraries.
   19542 LD=$lt_LD_RC
   19543 
   19544 # Whether we need hard or soft links.
   19545 LN_S=$lt_LN_S
   19546 
   19547 # A BSD-compatible nm program.
   19548 NM=$lt_NM
   19549 
   19550 # A symbol stripping program
   19551 STRIP=$lt_STRIP
   19552 
   19553 # Used to examine libraries when file_magic_cmd begins "file"
   19554 MAGIC_CMD=$MAGIC_CMD
   19555 
   19556 # Used on cygwin: DLL creation program.
   19557 DLLTOOL="$DLLTOOL"
   19558 
   19559 # Used on cygwin: object dumper.
   19560 OBJDUMP="$OBJDUMP"
   19561 
   19562 # Used on cygwin: assembler.
   19563 AS="$AS"
   19564 
   19565 # The name of the directory that contains temporary libtool files.
   19566 objdir=$objdir
   19567 
   19568 # How to create reloadable object files.
   19569 reload_flag=$lt_reload_flag
   19570 reload_cmds=$lt_reload_cmds
   19571 
   19572 # How to pass a linker flag through the compiler.
   19573 wl=$lt_lt_prog_compiler_wl_RC
   19574 
   19575 # Object file suffix (normally "o").
   19576 objext="$ac_objext"
   19577 
   19578 # Old archive suffix (normally "a").
   19579 libext="$libext"
   19580 
   19581 # Shared library suffix (normally ".so").
   19582 shrext_cmds='$shrext_cmds'
   19583 
   19584 # Executable file suffix (normally "").
   19585 exeext="$exeext"
   19586 
   19587 # Additional compiler flags for building library objects.
   19588 pic_flag=$lt_lt_prog_compiler_pic_RC
   19589 pic_mode=$pic_mode
   19590 
   19591 # What is the maximum length of a command?
   19592 max_cmd_len=$lt_cv_sys_max_cmd_len
   19593 
   19594 # Does compiler simultaneously support -c and -o options?
   19595 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19596 
   19597 # Must we lock files when doing compilation?
   19598 need_locks=$lt_need_locks
   19599 
   19600 # Do we need the lib prefix for modules?
   19601 need_lib_prefix=$need_lib_prefix
   19602 
   19603 # Do we need a version for libraries?
   19604 need_version=$need_version
   19605 
   19606 # Whether dlopen is supported.
   19607 dlopen_support=$enable_dlopen
   19608 
   19609 # Whether dlopen of programs is supported.
   19610 dlopen_self=$enable_dlopen_self
   19611 
   19612 # Whether dlopen of statically linked programs is supported.
   19613 dlopen_self_static=$enable_dlopen_self_static
   19614 
   19615 # Compiler flag to prevent dynamic linking.
   19616 link_static_flag=$lt_lt_prog_compiler_static_RC
   19617 
   19618 # Compiler flag to turn off builtin functions.
   19619 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19620 
   19621 # Compiler flag to allow reflexive dlopens.
   19622 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19623 
   19624 # Compiler flag to generate shared objects directly from archives.
   19625 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19626 
   19627 # Compiler flag to generate thread-safe objects.
   19628 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19629 
   19630 # Library versioning type.
   19631 version_type=$version_type
   19632 
   19633 # Format of library name prefix.
   19634 libname_spec=$lt_libname_spec
   19635 
   19636 # List of archive names.  First name is the real one, the rest are links.
   19637 # The last name is the one that the linker finds with -lNAME.
   19638 library_names_spec=$lt_library_names_spec
   19639 
   19640 # The coded name of the library, if different from the real name.
   19641 soname_spec=$lt_soname_spec
   19642 
   19643 # Commands used to build and install an old-style archive.
   19644 RANLIB=$lt_RANLIB
   19645 old_archive_cmds=$lt_old_archive_cmds_RC
   19646 old_postinstall_cmds=$lt_old_postinstall_cmds
   19647 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19648 
   19649 # Create an old-style archive from a shared archive.
   19650 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19651 
   19652 # Create a temporary old-style archive to link instead of a shared archive.
   19653 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19654 
   19655 # Commands used to build and install a shared archive.
   19656 archive_cmds=$lt_archive_cmds_RC
   19657 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19658 postinstall_cmds=$lt_postinstall_cmds
   19659 postuninstall_cmds=$lt_postuninstall_cmds
   19660 
   19661 # Commands used to build a loadable module (assumed same as above if empty)
   19662 module_cmds=$lt_module_cmds_RC
   19663 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19664 
   19665 # Commands to strip libraries.
   19666 old_striplib=$lt_old_striplib
   19667 striplib=$lt_striplib
   19668 
   19669 # Dependencies to place before the objects being linked to create a
   19670 # shared library.
   19671 predep_objects=$lt_predep_objects_RC
   19672 
   19673 # Dependencies to place after the objects being linked to create a
   19674 # shared library.
   19675 postdep_objects=$lt_postdep_objects_RC
   19676 
   19677 # Dependencies to place before the objects being linked to create a
   19678 # shared library.
   19679 predeps=$lt_predeps_RC
   19680 
   19681 # Dependencies to place after the objects being linked to create a
   19682 # shared library.
   19683 postdeps=$lt_postdeps_RC
   19684 
   19685 # The library search path used internally by the compiler when linking
   19686 # a shared library.
   19687 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19688 
   19689 # Method to check whether dependent libraries are shared objects.
   19690 deplibs_check_method=$lt_deplibs_check_method
   19691 
   19692 # Command to use when deplibs_check_method == file_magic.
   19693 file_magic_cmd=$lt_file_magic_cmd
   19694 
   19695 # Flag that allows shared libraries with undefined symbols to be built.
   19696 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19697 
   19698 # Flag that forces no undefined symbols.
   19699 no_undefined_flag=$lt_no_undefined_flag_RC
   19700 
   19701 # Commands used to finish a libtool library installation in a directory.
   19702 finish_cmds=$lt_finish_cmds
   19703 
   19704 # Same as above, but a single script fragment to be evaled but not shown.
   19705 finish_eval=$lt_finish_eval
   19706 
   19707 # Take the output of nm and produce a listing of raw symbols and C names.
   19708 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19709 
   19710 # Transform the output of nm in a proper C declaration
   19711 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19712 
   19713 # Transform the output of nm in a C name address pair
   19714 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19715 
   19716 # This is the shared library runtime path variable.
   19717 runpath_var=$runpath_var
   19718 
   19719 # This is the shared library path variable.
   19720 shlibpath_var=$shlibpath_var
   19721 
   19722 # Is shlibpath searched before the hard-coded library search path?
   19723 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19724 
   19725 # How to hardcode a shared library path into an executable.
   19726 hardcode_action=$hardcode_action_RC
   19727 
   19728 # Whether we should hardcode library paths into libraries.
   19729 hardcode_into_libs=$hardcode_into_libs
   19730 
   19731 # Flag to hardcode \$libdir into a binary during linking.
   19732 # This must work even if \$libdir does not exist.
   19733 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19734 
   19735 # If ld is used when linking, flag to hardcode \$libdir into
   19736 # a binary during linking. This must work even if \$libdir does
   19737 # not exist.
   19738 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19739 
   19740 # Whether we need a single -rpath flag with a separated argument.
   19741 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19742 
   19743 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19744 # resulting binary.
   19745 hardcode_direct=$hardcode_direct_RC
   19746 
   19747 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19748 # resulting binary.
   19749 hardcode_minus_L=$hardcode_minus_L_RC
   19750 
   19751 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19752 # the resulting binary.
   19753 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19754 
   19755 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19756 # and all subsequent libraries and executables linked against it.
   19757 hardcode_automatic=$hardcode_automatic_RC
   19758 
   19759 # Variables whose values should be saved in libtool wrapper scripts and
   19760 # restored at relink time.
   19761 variables_saved_for_relink="$variables_saved_for_relink"
   19762 
   19763 # Whether libtool must link a program against all its dependency libraries.
   19764 link_all_deplibs=$link_all_deplibs_RC
   19765 
   19766 # Compile-time system search path for libraries
   19767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19768 
   19769 # Run-time system search path for libraries
   19770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19771 
   19772 # Fix the shell variable \$srcfile for the compiler.
   19773 fix_srcfile_path="$fix_srcfile_path_RC"
   19774 
   19775 # Set to yes if exported symbols are required.
   19776 always_export_symbols=$always_export_symbols_RC
   19777 
   19778 # The commands to list exported symbols.
   19779 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19780 
   19781 # The commands to extract the exported symbol list from a shared archive.
   19782 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19783 
   19784 # Symbols that should not be listed in the preloaded symbols.
   19785 exclude_expsyms=$lt_exclude_expsyms_RC
   19786 
   19787 # Symbols that must always be exported.
   19788 include_expsyms=$lt_include_expsyms_RC
   19789 
   19790 # ### END LIBTOOL TAG CONFIG: $tagname
   19791 
   19792 __EOF__
   19793 
   19794 
   19795 else
   19796   # If there is no Makefile yet, we rely on a make rule to execute
   19797   # `config.status --recheck' to rerun these tests and create the
   19798   # libtool script then.
   19799   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19800   if test -f "$ltmain_in"; then
   19801     test -f Makefile && make "$ltmain"
   19802   fi
   19803 fi
   19804 
   19805 
   19806 ac_ext=c
   19807 ac_cpp='$CPP $CPPFLAGS'
   19808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19811 
   19812 CC="$lt_save_CC"
   19813 
   19814 	;;
   19815 
   19816       *)
   19817 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19818 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19819    { (exit 1); exit 1; }; }
   19820 	;;
   19821       esac
   19822 
   19823       # Append the new tag name to the list of available tags.
   19824       if test -n "$tagname" ; then
   19825       available_tags="$available_tags $tagname"
   19826     fi
   19827     fi
   19828   done
   19829   IFS="$lt_save_ifs"
   19830 
   19831   # Now substitute the updated list of available tags.
   19832   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19833     mv "${ofile}T" "$ofile"
   19834     chmod +x "$ofile"
   19835   else
   19836     rm -f "${ofile}T"
   19837     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19838 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19839    { (exit 1); exit 1; }; }
   19840   fi
   19841 fi
   19842 
   19843 
   19844 
   19845 # This can be used to rebuild libtool when needed
   19846 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19847 
   19848 # Always use our own libtool.
   19849 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19850 
   19851 # Prevent multiple expansion
   19852 
   19853 
   19854 
   19855 
   19856 
   19857 
   19858 
   19859 
   19860 
   19861 
   19862 
   19863 
   19864 
   19865 
   19866 
   19867 
   19868 
   19869 
   19870 
   19871 
   19872 # Find a good install program.  We prefer a C program (faster),
   19873 # so one script is as good as another.  But avoid the broken or
   19874 # incompatible versions:
   19875 # SysV /etc/install, /usr/sbin/install
   19876 # SunOS /usr/etc/install
   19877 # IRIX /sbin/install
   19878 # AIX /bin/install
   19879 # AmigaOS /C/install, which installs bootblocks on floppy discs
   19880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   19881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   19882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   19883 # OS/2's system install, which has a completely different semantic
   19884 # ./install, which can be erroneously created by make from ./install.sh.
   19885 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   19886 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   19887 if test -z "$INSTALL"; then
   19888 if test "${ac_cv_path_install+set}" = set; then
   19889   echo $ECHO_N "(cached) $ECHO_C" >&6
   19890 else
   19891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19892 for as_dir in $PATH
   19893 do
   19894   IFS=$as_save_IFS
   19895   test -z "$as_dir" && as_dir=.
   19896   # Account for people who put trailing slashes in PATH elements.
   19897 case $as_dir/ in
   19898   ./ | .// | /cC/* | \
   19899   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   19900   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   19901   /usr/ucb/* ) ;;
   19902   *)
   19903     # OSF1 and SCO ODT 3.0 have their own names for install.
   19904     # Don't use installbsd from OSF since it installs stuff as root
   19905     # by default.
   19906     for ac_prog in ginstall scoinst install; do
   19907       for ac_exec_ext in '' $ac_executable_extensions; do
   19908 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   19909 	  if test $ac_prog = install &&
   19910 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   19911 	    # AIX install.  It has an incompatible calling convention.
   19912 	    :
   19913 	  elif test $ac_prog = install &&
   19914 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   19915 	    # program-specific install script used by HP pwplus--don't use.
   19916 	    :
   19917 	  else
   19918 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   19919 	    break 3
   19920 	  fi
   19921 	fi
   19922       done
   19923     done
   19924     ;;
   19925 esac
   19926 done
   19927 IFS=$as_save_IFS
   19928 
   19929 
   19930 fi
   19931   if test "${ac_cv_path_install+set}" = set; then
   19932     INSTALL=$ac_cv_path_install
   19933   else
   19934     # As a last resort, use the slow shell script.  Don't cache a
   19935     # value for INSTALL within a source directory, because that will
   19936     # break other packages using the cache if that directory is
   19937     # removed, or if the value is a relative name.
   19938     INSTALL=$ac_install_sh
   19939   fi
   19940 fi
   19941 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   19942 echo "${ECHO_T}$INSTALL" >&6; }
   19943 
   19944 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   19945 # It thinks the first close brace ends the variable substitution.
   19946 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   19947 
   19948 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   19949 
   19950 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   19951 
   19952 
   19953 
   19954 
   19955 for ac_prog in cpp
   19956 do
   19957   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19958 set dummy $ac_prog; ac_word=$2
   19959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19961 if test "${ac_cv_path_RAWCPP+set}" = set; then
   19962   echo $ECHO_N "(cached) $ECHO_C" >&6
   19963 else
   19964   case $RAWCPP in
   19965   [\\/]* | ?:[\\/]*)
   19966   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   19967   ;;
   19968   *)
   19969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19970 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   19971 for as_dir in $as_dummy
   19972 do
   19973   IFS=$as_save_IFS
   19974   test -z "$as_dir" && as_dir=.
   19975   for ac_exec_ext in '' $ac_executable_extensions; do
   19976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19977     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   19978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19979     break 2
   19980   fi
   19981 done
   19982 done
   19983 IFS=$as_save_IFS
   19984 
   19985   ;;
   19986 esac
   19987 fi
   19988 RAWCPP=$ac_cv_path_RAWCPP
   19989 if test -n "$RAWCPP"; then
   19990   { echo "$as_me:$LINENO: result: $RAWCPP" >&5
   19991 echo "${ECHO_T}$RAWCPP" >&6; }
   19992 else
   19993   { echo "$as_me:$LINENO: result: no" >&5
   19994 echo "${ECHO_T}no" >&6; }
   19995 fi
   19996 
   19997 
   19998   test -n "$RAWCPP" && break
   19999 done
   20000 test -n "$RAWCPP" || RAWCPP="${CPP}"
   20001 
   20002 
   20003 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   20004 # which is not the best choice for supporting other OS'es, but covers most
   20005 # of the ones we need for now.
   20006 { echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
   20007 echo $ECHO_N "checking if $RAWCPP requires -undef... $ECHO_C" >&6; }
   20008 cat >conftest.$ac_ext <<_ACEOF
   20009 Does cpp redefine unix ?
   20010 _ACEOF
   20011 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20012 	{ echo "$as_me:$LINENO: result: no" >&5
   20013 echo "${ECHO_T}no" >&6; }
   20014 else
   20015 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20016 		RAWCPPFLAGS=-undef
   20017 		{ echo "$as_me:$LINENO: result: yes" >&5
   20018 echo "${ECHO_T}yes" >&6; }
   20019 	else
   20020 		{ { echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&5
   20021 echo "$as_me: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&2;}
   20022    { (exit 1); exit 1; }; }
   20023 	fi
   20024 fi
   20025 rm -f conftest.$ac_ext
   20026 
   20027 { echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
   20028 echo $ECHO_N "checking if $RAWCPP requires -traditional... $ECHO_C" >&6; }
   20029 cat >conftest.$ac_ext <<_ACEOF
   20030 Does cpp preserve   "whitespace"?
   20031 _ACEOF
   20032 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20033 	{ echo "$as_me:$LINENO: result: no" >&5
   20034 echo "${ECHO_T}no" >&6; }
   20035 else
   20036 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20037 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   20038 		{ echo "$as_me:$LINENO: result: yes" >&5
   20039 echo "${ECHO_T}yes" >&6; }
   20040 	else
   20041 		{ { echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&5
   20042 echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&2;}
   20043    { (exit 1); exit 1; }; }
   20044 	fi
   20045 fi
   20046 rm -f conftest.$ac_ext
   20047 
   20048 
   20049 
   20050 # Check for mktemp to prevent security issue noted in Xorg bug #5898
   20051 # See https://bugs.freedesktop.org/show_bug.cgi?id=5898 for details.
   20052 # Extract the first word of "mktemp", so it can be a program name with args.
   20053 set dummy mktemp; ac_word=$2
   20054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20056 if test "${ac_cv_path_MKTEMP_COMMAND+set}" = set; then
   20057   echo $ECHO_N "(cached) $ECHO_C" >&6
   20058 else
   20059   case $MKTEMP_COMMAND in
   20060   [\\/]* | ?:[\\/]*)
   20061   ac_cv_path_MKTEMP_COMMAND="$MKTEMP_COMMAND" # Let the user override the test with a path.
   20062   ;;
   20063   *)
   20064   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20065 for as_dir in $PATH
   20066 do
   20067   IFS=$as_save_IFS
   20068   test -z "$as_dir" && as_dir=.
   20069   for ac_exec_ext in '' $ac_executable_extensions; do
   20070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20071     ac_cv_path_MKTEMP_COMMAND="$as_dir/$ac_word$ac_exec_ext"
   20072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20073     break 2
   20074   fi
   20075 done
   20076 done
   20077 IFS=$as_save_IFS
   20078 
   20079   ;;
   20080 esac
   20081 fi
   20082 MKTEMP_COMMAND=$ac_cv_path_MKTEMP_COMMAND
   20083 if test -n "$MKTEMP_COMMAND"; then
   20084   { echo "$as_me:$LINENO: result: $MKTEMP_COMMAND" >&5
   20085 echo "${ECHO_T}$MKTEMP_COMMAND" >&6; }
   20086 else
   20087   { echo "$as_me:$LINENO: result: no" >&5
   20088 echo "${ECHO_T}no" >&6; }
   20089 fi
   20090 
   20091 
   20092  if test x$MKTEMP_COMMAND != x; then
   20093   HAVE_MKTEMP_COMMAND_TRUE=
   20094   HAVE_MKTEMP_COMMAND_FALSE='#'
   20095 else
   20096   HAVE_MKTEMP_COMMAND_TRUE='#'
   20097   HAVE_MKTEMP_COMMAND_FALSE=
   20098 fi
   20099 
   20100 
   20101 { echo "$as_me:$LINENO: checking for pid_t" >&5
   20102 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
   20103 if test "${ac_cv_type_pid_t+set}" = set; then
   20104   echo $ECHO_N "(cached) $ECHO_C" >&6
   20105 else
   20106   cat >conftest.$ac_ext <<_ACEOF
   20107 /* confdefs.h.  */
   20108 _ACEOF
   20109 cat confdefs.h >>conftest.$ac_ext
   20110 cat >>conftest.$ac_ext <<_ACEOF
   20111 /* end confdefs.h.  */
   20112 $ac_includes_default
   20113 typedef pid_t ac__type_new_;
   20114 int
   20115 main ()
   20116 {
   20117 if ((ac__type_new_ *) 0)
   20118   return 0;
   20119 if (sizeof (ac__type_new_))
   20120   return 0;
   20121   ;
   20122   return 0;
   20123 }
   20124 _ACEOF
   20125 rm -f conftest.$ac_objext
   20126 if { (ac_try="$ac_compile"
   20127 case "(($ac_try" in
   20128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20129   *) ac_try_echo=$ac_try;;
   20130 esac
   20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20132   (eval "$ac_compile") 2>conftest.er1
   20133   ac_status=$?
   20134   grep -v '^ *+' conftest.er1 >conftest.err
   20135   rm -f conftest.er1
   20136   cat conftest.err >&5
   20137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20138   (exit $ac_status); } && {
   20139 	 test -z "$ac_c_werror_flag" ||
   20140 	 test ! -s conftest.err
   20141        } && test -s conftest.$ac_objext; then
   20142   ac_cv_type_pid_t=yes
   20143 else
   20144   echo "$as_me: failed program was:" >&5
   20145 sed 's/^/| /' conftest.$ac_ext >&5
   20146 
   20147 	ac_cv_type_pid_t=no
   20148 fi
   20149 
   20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20151 fi
   20152 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   20153 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
   20154 if test $ac_cv_type_pid_t = yes; then
   20155   :
   20156 else
   20157 
   20158 cat >>confdefs.h <<_ACEOF
   20159 #define pid_t int
   20160 _ACEOF
   20161 
   20162 fi
   20163 
   20164 
   20165 for ac_header in vfork.h
   20166 do
   20167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20169   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   20170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   20171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20172   echo $ECHO_N "(cached) $ECHO_C" >&6
   20173 fi
   20174 ac_res=`eval echo '${'$as_ac_Header'}'`
   20175 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20176 echo "${ECHO_T}$ac_res" >&6; }
   20177 else
   20178   # Is the header compilable?
   20179 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20180 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   20181 cat >conftest.$ac_ext <<_ACEOF
   20182 /* confdefs.h.  */
   20183 _ACEOF
   20184 cat confdefs.h >>conftest.$ac_ext
   20185 cat >>conftest.$ac_ext <<_ACEOF
   20186 /* end confdefs.h.  */
   20187 $ac_includes_default
   20188 #include <$ac_header>
   20189 _ACEOF
   20190 rm -f conftest.$ac_objext
   20191 if { (ac_try="$ac_compile"
   20192 case "(($ac_try" in
   20193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20194   *) ac_try_echo=$ac_try;;
   20195 esac
   20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20197   (eval "$ac_compile") 2>conftest.er1
   20198   ac_status=$?
   20199   grep -v '^ *+' conftest.er1 >conftest.err
   20200   rm -f conftest.er1
   20201   cat conftest.err >&5
   20202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20203   (exit $ac_status); } && {
   20204 	 test -z "$ac_c_werror_flag" ||
   20205 	 test ! -s conftest.err
   20206        } && test -s conftest.$ac_objext; then
   20207   ac_header_compiler=yes
   20208 else
   20209   echo "$as_me: failed program was:" >&5
   20210 sed 's/^/| /' conftest.$ac_ext >&5
   20211 
   20212 	ac_header_compiler=no
   20213 fi
   20214 
   20215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20216 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20217 echo "${ECHO_T}$ac_header_compiler" >&6; }
   20218 
   20219 # Is the header present?
   20220 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   20222 cat >conftest.$ac_ext <<_ACEOF
   20223 /* confdefs.h.  */
   20224 _ACEOF
   20225 cat confdefs.h >>conftest.$ac_ext
   20226 cat >>conftest.$ac_ext <<_ACEOF
   20227 /* end confdefs.h.  */
   20228 #include <$ac_header>
   20229 _ACEOF
   20230 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20231 case "(($ac_try" in
   20232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20233   *) ac_try_echo=$ac_try;;
   20234 esac
   20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20236   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20237   ac_status=$?
   20238   grep -v '^ *+' conftest.er1 >conftest.err
   20239   rm -f conftest.er1
   20240   cat conftest.err >&5
   20241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20242   (exit $ac_status); } >/dev/null && {
   20243 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20244 	 test ! -s conftest.err
   20245        }; then
   20246   ac_header_preproc=yes
   20247 else
   20248   echo "$as_me: failed program was:" >&5
   20249 sed 's/^/| /' conftest.$ac_ext >&5
   20250 
   20251   ac_header_preproc=no
   20252 fi
   20253 
   20254 rm -f conftest.err conftest.$ac_ext
   20255 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20256 echo "${ECHO_T}$ac_header_preproc" >&6; }
   20257 
   20258 # So?  What about this header?
   20259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20260   yes:no: )
   20261     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20265     ac_header_preproc=yes
   20266     ;;
   20267   no:yes:* )
   20268     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20270     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20271 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20272     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20274     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20275 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20276     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20278     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20280     ( cat <<\_ASBOX
   20281 ## ---------------------------------------------------------------------- ##
   20282 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   20283 ## ---------------------------------------------------------------------- ##
   20284 _ASBOX
   20285      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20286     ;;
   20287 esac
   20288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   20289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   20290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20291   echo $ECHO_N "(cached) $ECHO_C" >&6
   20292 else
   20293   eval "$as_ac_Header=\$ac_header_preproc"
   20294 fi
   20295 ac_res=`eval echo '${'$as_ac_Header'}'`
   20296 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20297 echo "${ECHO_T}$ac_res" >&6; }
   20298 
   20299 fi
   20300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   20301   cat >>confdefs.h <<_ACEOF
   20302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20303 _ACEOF
   20304 
   20305 fi
   20306 
   20307 done
   20308 
   20309 
   20310 
   20311 for ac_func in fork vfork
   20312 do
   20313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   20314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   20315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   20316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   20317   echo $ECHO_N "(cached) $ECHO_C" >&6
   20318 else
   20319   cat >conftest.$ac_ext <<_ACEOF
   20320 /* confdefs.h.  */
   20321 _ACEOF
   20322 cat confdefs.h >>conftest.$ac_ext
   20323 cat >>conftest.$ac_ext <<_ACEOF
   20324 /* end confdefs.h.  */
   20325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   20326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20327 #define $ac_func innocuous_$ac_func
   20328 
   20329 /* System header to define __stub macros and hopefully few prototypes,
   20330     which can conflict with char $ac_func (); below.
   20331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20332     <limits.h> exists even on freestanding compilers.  */
   20333 
   20334 #ifdef __STDC__
   20335 # include <limits.h>
   20336 #else
   20337 # include <assert.h>
   20338 #endif
   20339 
   20340 #undef $ac_func
   20341 
   20342 /* Override any GCC internal prototype to avoid an error.
   20343    Use char because int might match the return type of a GCC
   20344    builtin and then its argument prototype would still apply.  */
   20345 #ifdef __cplusplus
   20346 extern "C"
   20347 #endif
   20348 char $ac_func ();
   20349 /* The GNU C library defines this for functions which it implements
   20350     to always fail with ENOSYS.  Some functions are actually named
   20351     something starting with __ and the normal name is an alias.  */
   20352 #if defined __stub_$ac_func || defined __stub___$ac_func
   20353 choke me
   20354 #endif
   20355 
   20356 int
   20357 main ()
   20358 {
   20359 return $ac_func ();
   20360   ;
   20361   return 0;
   20362 }
   20363 _ACEOF
   20364 rm -f conftest.$ac_objext conftest$ac_exeext
   20365 if { (ac_try="$ac_link"
   20366 case "(($ac_try" in
   20367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20368   *) ac_try_echo=$ac_try;;
   20369 esac
   20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20371   (eval "$ac_link") 2>conftest.er1
   20372   ac_status=$?
   20373   grep -v '^ *+' conftest.er1 >conftest.err
   20374   rm -f conftest.er1
   20375   cat conftest.err >&5
   20376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20377   (exit $ac_status); } && {
   20378 	 test -z "$ac_c_werror_flag" ||
   20379 	 test ! -s conftest.err
   20380        } && test -s conftest$ac_exeext &&
   20381        $as_test_x conftest$ac_exeext; then
   20382   eval "$as_ac_var=yes"
   20383 else
   20384   echo "$as_me: failed program was:" >&5
   20385 sed 's/^/| /' conftest.$ac_ext >&5
   20386 
   20387 	eval "$as_ac_var=no"
   20388 fi
   20389 
   20390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20391       conftest$ac_exeext conftest.$ac_ext
   20392 fi
   20393 ac_res=`eval echo '${'$as_ac_var'}'`
   20394 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20395 echo "${ECHO_T}$ac_res" >&6; }
   20396 if test `eval echo '${'$as_ac_var'}'` = yes; then
   20397   cat >>confdefs.h <<_ACEOF
   20398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   20399 _ACEOF
   20400 
   20401 fi
   20402 done
   20403 
   20404 if test "x$ac_cv_func_fork" = xyes; then
   20405   { echo "$as_me:$LINENO: checking for working fork" >&5
   20406 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
   20407 if test "${ac_cv_func_fork_works+set}" = set; then
   20408   echo $ECHO_N "(cached) $ECHO_C" >&6
   20409 else
   20410   if test "$cross_compiling" = yes; then
   20411   ac_cv_func_fork_works=cross
   20412 else
   20413   cat >conftest.$ac_ext <<_ACEOF
   20414 /* confdefs.h.  */
   20415 _ACEOF
   20416 cat confdefs.h >>conftest.$ac_ext
   20417 cat >>conftest.$ac_ext <<_ACEOF
   20418 /* end confdefs.h.  */
   20419 $ac_includes_default
   20420 int
   20421 main ()
   20422 {
   20423 
   20424 	  /* By Ruediger Kuhlmann. */
   20425 	  return fork () < 0;
   20426 
   20427   ;
   20428   return 0;
   20429 }
   20430 _ACEOF
   20431 rm -f conftest$ac_exeext
   20432 if { (ac_try="$ac_link"
   20433 case "(($ac_try" in
   20434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20435   *) ac_try_echo=$ac_try;;
   20436 esac
   20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20438   (eval "$ac_link") 2>&5
   20439   ac_status=$?
   20440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20441   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20442   { (case "(($ac_try" in
   20443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20444   *) ac_try_echo=$ac_try;;
   20445 esac
   20446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20447   (eval "$ac_try") 2>&5
   20448   ac_status=$?
   20449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20450   (exit $ac_status); }; }; then
   20451   ac_cv_func_fork_works=yes
   20452 else
   20453   echo "$as_me: program exited with status $ac_status" >&5
   20454 echo "$as_me: failed program was:" >&5
   20455 sed 's/^/| /' conftest.$ac_ext >&5
   20456 
   20457 ( exit $ac_status )
   20458 ac_cv_func_fork_works=no
   20459 fi
   20460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20461 fi
   20462 
   20463 
   20464 fi
   20465 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
   20466 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
   20467 
   20468 else
   20469   ac_cv_func_fork_works=$ac_cv_func_fork
   20470 fi
   20471 if test "x$ac_cv_func_fork_works" = xcross; then
   20472   case $host in
   20473     *-*-amigaos* | *-*-msdosdjgpp*)
   20474       # Override, as these systems have only a dummy fork() stub
   20475       ac_cv_func_fork_works=no
   20476       ;;
   20477     *)
   20478       ac_cv_func_fork_works=yes
   20479       ;;
   20480   esac
   20481   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   20482 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   20483 fi
   20484 ac_cv_func_vfork_works=$ac_cv_func_vfork
   20485 if test "x$ac_cv_func_vfork" = xyes; then
   20486   { echo "$as_me:$LINENO: checking for working vfork" >&5
   20487 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
   20488 if test "${ac_cv_func_vfork_works+set}" = set; then
   20489   echo $ECHO_N "(cached) $ECHO_C" >&6
   20490 else
   20491   if test "$cross_compiling" = yes; then
   20492   ac_cv_func_vfork_works=cross
   20493 else
   20494   cat >conftest.$ac_ext <<_ACEOF
   20495 /* confdefs.h.  */
   20496 _ACEOF
   20497 cat confdefs.h >>conftest.$ac_ext
   20498 cat >>conftest.$ac_ext <<_ACEOF
   20499 /* end confdefs.h.  */
   20500 /* Thanks to Paul Eggert for this test.  */
   20501 $ac_includes_default
   20502 #include <sys/wait.h>
   20503 #ifdef HAVE_VFORK_H
   20504 # include <vfork.h>
   20505 #endif
   20506 /* On some sparc systems, changes by the child to local and incoming
   20507    argument registers are propagated back to the parent.  The compiler
   20508    is told about this with #include <vfork.h>, but some compilers
   20509    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   20510    static variable whose address is put into a register that is
   20511    clobbered by the vfork.  */
   20512 static void
   20513 #ifdef __cplusplus
   20514 sparc_address_test (int arg)
   20515 # else
   20516 sparc_address_test (arg) int arg;
   20517 #endif
   20518 {
   20519   static pid_t child;
   20520   if (!child) {
   20521     child = vfork ();
   20522     if (child < 0) {
   20523       perror ("vfork");
   20524       _exit(2);
   20525     }
   20526     if (!child) {
   20527       arg = getpid();
   20528       write(-1, "", 0);
   20529       _exit (arg);
   20530     }
   20531   }
   20532 }
   20533 
   20534 int
   20535 main ()
   20536 {
   20537   pid_t parent = getpid ();
   20538   pid_t child;
   20539 
   20540   sparc_address_test (0);
   20541 
   20542   child = vfork ();
   20543 
   20544   if (child == 0) {
   20545     /* Here is another test for sparc vfork register problems.  This
   20546        test uses lots of local variables, at least as many local
   20547        variables as main has allocated so far including compiler
   20548        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   20549        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   20550        reuse the register of parent for one of the local variables,
   20551        since it will think that parent can't possibly be used any more
   20552        in this routine.  Assigning to the local variable will thus
   20553        munge parent in the parent process.  */
   20554     pid_t
   20555       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   20556       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   20557     /* Convince the compiler that p..p7 are live; otherwise, it might
   20558        use the same hardware register for all 8 local variables.  */
   20559     if (p != p1 || p != p2 || p != p3 || p != p4
   20560 	|| p != p5 || p != p6 || p != p7)
   20561       _exit(1);
   20562 
   20563     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   20564        from child file descriptors.  If the child closes a descriptor
   20565        before it execs or exits, this munges the parent's descriptor
   20566        as well.  Test for this by closing stdout in the child.  */
   20567     _exit(close(fileno(stdout)) != 0);
   20568   } else {
   20569     int status;
   20570     struct stat st;
   20571 
   20572     while (wait(&status) != child)
   20573       ;
   20574     return (
   20575 	 /* Was there some problem with vforking?  */
   20576 	 child < 0
   20577 
   20578 	 /* Did the child fail?  (This shouldn't happen.)  */
   20579 	 || status
   20580 
   20581 	 /* Did the vfork/compiler bug occur?  */
   20582 	 || parent != getpid()
   20583 
   20584 	 /* Did the file descriptor bug occur?  */
   20585 	 || fstat(fileno(stdout), &st) != 0
   20586 	 );
   20587   }
   20588 }
   20589 _ACEOF
   20590 rm -f conftest$ac_exeext
   20591 if { (ac_try="$ac_link"
   20592 case "(($ac_try" in
   20593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20594   *) ac_try_echo=$ac_try;;
   20595 esac
   20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20597   (eval "$ac_link") 2>&5
   20598   ac_status=$?
   20599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20600   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20601   { (case "(($ac_try" in
   20602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20603   *) ac_try_echo=$ac_try;;
   20604 esac
   20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20606   (eval "$ac_try") 2>&5
   20607   ac_status=$?
   20608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20609   (exit $ac_status); }; }; then
   20610   ac_cv_func_vfork_works=yes
   20611 else
   20612   echo "$as_me: program exited with status $ac_status" >&5
   20613 echo "$as_me: failed program was:" >&5
   20614 sed 's/^/| /' conftest.$ac_ext >&5
   20615 
   20616 ( exit $ac_status )
   20617 ac_cv_func_vfork_works=no
   20618 fi
   20619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20620 fi
   20621 
   20622 
   20623 fi
   20624 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
   20625 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
   20626 
   20627 fi;
   20628 if test "x$ac_cv_func_fork_works" = xcross; then
   20629   ac_cv_func_vfork_works=$ac_cv_func_vfork
   20630   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   20631 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   20632 fi
   20633 
   20634 if test "x$ac_cv_func_vfork_works" = xyes; then
   20635 
   20636 cat >>confdefs.h <<\_ACEOF
   20637 #define HAVE_WORKING_VFORK 1
   20638 _ACEOF
   20639 
   20640 else
   20641 
   20642 cat >>confdefs.h <<\_ACEOF
   20643 #define vfork fork
   20644 _ACEOF
   20645 
   20646 fi
   20647 if test "x$ac_cv_func_fork_works" = xyes; then
   20648 
   20649 cat >>confdefs.h <<\_ACEOF
   20650 #define HAVE_WORKING_FORK 1
   20651 _ACEOF
   20652 
   20653 fi
   20654 
   20655 
   20656 { echo "$as_me:$LINENO: checking for mkstemp" >&5
   20657 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6; }
   20658 if test "${ac_cv_func_mkstemp+set}" = set; then
   20659   echo $ECHO_N "(cached) $ECHO_C" >&6
   20660 else
   20661   cat >conftest.$ac_ext <<_ACEOF
   20662 /* confdefs.h.  */
   20663 _ACEOF
   20664 cat confdefs.h >>conftest.$ac_ext
   20665 cat >>conftest.$ac_ext <<_ACEOF
   20666 /* end confdefs.h.  */
   20667 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
   20668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20669 #define mkstemp innocuous_mkstemp
   20670 
   20671 /* System header to define __stub macros and hopefully few prototypes,
   20672     which can conflict with char mkstemp (); below.
   20673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20674     <limits.h> exists even on freestanding compilers.  */
   20675 
   20676 #ifdef __STDC__
   20677 # include <limits.h>
   20678 #else
   20679 # include <assert.h>
   20680 #endif
   20681 
   20682 #undef mkstemp
   20683 
   20684 /* Override any GCC internal prototype to avoid an error.
   20685    Use char because int might match the return type of a GCC
   20686    builtin and then its argument prototype would still apply.  */
   20687 #ifdef __cplusplus
   20688 extern "C"
   20689 #endif
   20690 char mkstemp ();
   20691 /* The GNU C library defines this for functions which it implements
   20692     to always fail with ENOSYS.  Some functions are actually named
   20693     something starting with __ and the normal name is an alias.  */
   20694 #if defined __stub_mkstemp || defined __stub___mkstemp
   20695 choke me
   20696 #endif
   20697 
   20698 int
   20699 main ()
   20700 {
   20701 return mkstemp ();
   20702   ;
   20703   return 0;
   20704 }
   20705 _ACEOF
   20706 rm -f conftest.$ac_objext conftest$ac_exeext
   20707 if { (ac_try="$ac_link"
   20708 case "(($ac_try" in
   20709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20710   *) ac_try_echo=$ac_try;;
   20711 esac
   20712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20713   (eval "$ac_link") 2>conftest.er1
   20714   ac_status=$?
   20715   grep -v '^ *+' conftest.er1 >conftest.err
   20716   rm -f conftest.er1
   20717   cat conftest.err >&5
   20718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20719   (exit $ac_status); } && {
   20720 	 test -z "$ac_c_werror_flag" ||
   20721 	 test ! -s conftest.err
   20722        } && test -s conftest$ac_exeext &&
   20723        $as_test_x conftest$ac_exeext; then
   20724   ac_cv_func_mkstemp=yes
   20725 else
   20726   echo "$as_me: failed program was:" >&5
   20727 sed 's/^/| /' conftest.$ac_ext >&5
   20728 
   20729 	ac_cv_func_mkstemp=no
   20730 fi
   20731 
   20732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20733       conftest$ac_exeext conftest.$ac_ext
   20734 fi
   20735 { echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
   20736 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6; }
   20737 if test $ac_cv_func_mkstemp = yes; then
   20738 
   20739 cat >>confdefs.h <<\_ACEOF
   20740 #define HAS_MKSTEMP 1
   20741 _ACEOF
   20742 
   20743 fi
   20744 
   20745 { echo "$as_me:$LINENO: checking for getifaddrs" >&5
   20746 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; }
   20747 if test "${ac_cv_func_getifaddrs+set}" = set; then
   20748   echo $ECHO_N "(cached) $ECHO_C" >&6
   20749 else
   20750   cat >conftest.$ac_ext <<_ACEOF
   20751 /* confdefs.h.  */
   20752 _ACEOF
   20753 cat confdefs.h >>conftest.$ac_ext
   20754 cat >>conftest.$ac_ext <<_ACEOF
   20755 /* end confdefs.h.  */
   20756 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs.
   20757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20758 #define getifaddrs innocuous_getifaddrs
   20759 
   20760 /* System header to define __stub macros and hopefully few prototypes,
   20761     which can conflict with char getifaddrs (); below.
   20762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20763     <limits.h> exists even on freestanding compilers.  */
   20764 
   20765 #ifdef __STDC__
   20766 # include <limits.h>
   20767 #else
   20768 # include <assert.h>
   20769 #endif
   20770 
   20771 #undef getifaddrs
   20772 
   20773 /* Override any GCC internal prototype to avoid an error.
   20774    Use char because int might match the return type of a GCC
   20775    builtin and then its argument prototype would still apply.  */
   20776 #ifdef __cplusplus
   20777 extern "C"
   20778 #endif
   20779 char getifaddrs ();
   20780 /* The GNU C library defines this for functions which it implements
   20781     to always fail with ENOSYS.  Some functions are actually named
   20782     something starting with __ and the normal name is an alias.  */
   20783 #if defined __stub_getifaddrs || defined __stub___getifaddrs
   20784 choke me
   20785 #endif
   20786 
   20787 int
   20788 main ()
   20789 {
   20790 return getifaddrs ();
   20791   ;
   20792   return 0;
   20793 }
   20794 _ACEOF
   20795 rm -f conftest.$ac_objext conftest$ac_exeext
   20796 if { (ac_try="$ac_link"
   20797 case "(($ac_try" in
   20798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20799   *) ac_try_echo=$ac_try;;
   20800 esac
   20801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20802   (eval "$ac_link") 2>conftest.er1
   20803   ac_status=$?
   20804   grep -v '^ *+' conftest.er1 >conftest.err
   20805   rm -f conftest.er1
   20806   cat conftest.err >&5
   20807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20808   (exit $ac_status); } && {
   20809 	 test -z "$ac_c_werror_flag" ||
   20810 	 test ! -s conftest.err
   20811        } && test -s conftest$ac_exeext &&
   20812        $as_test_x conftest$ac_exeext; then
   20813   ac_cv_func_getifaddrs=yes
   20814 else
   20815   echo "$as_me: failed program was:" >&5
   20816 sed 's/^/| /' conftest.$ac_ext >&5
   20817 
   20818 	ac_cv_func_getifaddrs=no
   20819 fi
   20820 
   20821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20822       conftest$ac_exeext conftest.$ac_ext
   20823 fi
   20824 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
   20825 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; }
   20826 if test $ac_cv_func_getifaddrs = yes; then
   20827 
   20828 cat >>confdefs.h <<\_ACEOF
   20829 #define HAS_GETIFADDRS 1
   20830 _ACEOF
   20831 
   20832 fi
   20833 
   20834 { echo "$as_me:$LINENO: checking for getspnam" >&5
   20835 echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; }
   20836 if test "${ac_cv_func_getspnam+set}" = set; then
   20837   echo $ECHO_N "(cached) $ECHO_C" >&6
   20838 else
   20839   cat >conftest.$ac_ext <<_ACEOF
   20840 /* confdefs.h.  */
   20841 _ACEOF
   20842 cat confdefs.h >>conftest.$ac_ext
   20843 cat >>conftest.$ac_ext <<_ACEOF
   20844 /* end confdefs.h.  */
   20845 /* Define getspnam to an innocuous variant, in case <limits.h> declares getspnam.
   20846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20847 #define getspnam innocuous_getspnam
   20848 
   20849 /* System header to define __stub macros and hopefully few prototypes,
   20850     which can conflict with char getspnam (); below.
   20851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20852     <limits.h> exists even on freestanding compilers.  */
   20853 
   20854 #ifdef __STDC__
   20855 # include <limits.h>
   20856 #else
   20857 # include <assert.h>
   20858 #endif
   20859 
   20860 #undef getspnam
   20861 
   20862 /* Override any GCC internal prototype to avoid an error.
   20863    Use char because int might match the return type of a GCC
   20864    builtin and then its argument prototype would still apply.  */
   20865 #ifdef __cplusplus
   20866 extern "C"
   20867 #endif
   20868 char getspnam ();
   20869 /* The GNU C library defines this for functions which it implements
   20870     to always fail with ENOSYS.  Some functions are actually named
   20871     something starting with __ and the normal name is an alias.  */
   20872 #if defined __stub_getspnam || defined __stub___getspnam
   20873 choke me
   20874 #endif
   20875 
   20876 int
   20877 main ()
   20878 {
   20879 return getspnam ();
   20880   ;
   20881   return 0;
   20882 }
   20883 _ACEOF
   20884 rm -f conftest.$ac_objext conftest$ac_exeext
   20885 if { (ac_try="$ac_link"
   20886 case "(($ac_try" in
   20887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20888   *) ac_try_echo=$ac_try;;
   20889 esac
   20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20891   (eval "$ac_link") 2>conftest.er1
   20892   ac_status=$?
   20893   grep -v '^ *+' conftest.er1 >conftest.err
   20894   rm -f conftest.er1
   20895   cat conftest.err >&5
   20896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20897   (exit $ac_status); } && {
   20898 	 test -z "$ac_c_werror_flag" ||
   20899 	 test ! -s conftest.err
   20900        } && test -s conftest$ac_exeext &&
   20901        $as_test_x conftest$ac_exeext; then
   20902   ac_cv_func_getspnam=yes
   20903 else
   20904   echo "$as_me: failed program was:" >&5
   20905 sed 's/^/| /' conftest.$ac_ext >&5
   20906 
   20907 	ac_cv_func_getspnam=no
   20908 fi
   20909 
   20910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20911       conftest$ac_exeext conftest.$ac_ext
   20912 fi
   20913 { echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
   20914 echo "${ECHO_T}$ac_cv_func_getspnam" >&6; }
   20915 if test $ac_cv_func_getspnam = yes; then
   20916 
   20917 cat >>confdefs.h <<\_ACEOF
   20918 #define USESHADOW 1
   20919 _ACEOF
   20920 
   20921 fi
   20922 
   20923 
   20924 
   20925 # According to the old Imakefile, FreeBSD has this in libutil
   20926 { echo "$as_me:$LINENO: checking for setproctitle" >&5
   20927 echo $ECHO_N "checking for setproctitle... $ECHO_C" >&6; }
   20928 if test "${ac_cv_func_setproctitle+set}" = set; then
   20929   echo $ECHO_N "(cached) $ECHO_C" >&6
   20930 else
   20931   cat >conftest.$ac_ext <<_ACEOF
   20932 /* confdefs.h.  */
   20933 _ACEOF
   20934 cat confdefs.h >>conftest.$ac_ext
   20935 cat >>conftest.$ac_ext <<_ACEOF
   20936 /* end confdefs.h.  */
   20937 /* Define setproctitle to an innocuous variant, in case <limits.h> declares setproctitle.
   20938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20939 #define setproctitle innocuous_setproctitle
   20940 
   20941 /* System header to define __stub macros and hopefully few prototypes,
   20942     which can conflict with char setproctitle (); below.
   20943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20944     <limits.h> exists even on freestanding compilers.  */
   20945 
   20946 #ifdef __STDC__
   20947 # include <limits.h>
   20948 #else
   20949 # include <assert.h>
   20950 #endif
   20951 
   20952 #undef setproctitle
   20953 
   20954 /* Override any GCC internal prototype to avoid an error.
   20955    Use char because int might match the return type of a GCC
   20956    builtin and then its argument prototype would still apply.  */
   20957 #ifdef __cplusplus
   20958 extern "C"
   20959 #endif
   20960 char setproctitle ();
   20961 /* The GNU C library defines this for functions which it implements
   20962     to always fail with ENOSYS.  Some functions are actually named
   20963     something starting with __ and the normal name is an alias.  */
   20964 #if defined __stub_setproctitle || defined __stub___setproctitle
   20965 choke me
   20966 #endif
   20967 
   20968 int
   20969 main ()
   20970 {
   20971 return setproctitle ();
   20972   ;
   20973   return 0;
   20974 }
   20975 _ACEOF
   20976 rm -f conftest.$ac_objext conftest$ac_exeext
   20977 if { (ac_try="$ac_link"
   20978 case "(($ac_try" in
   20979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20980   *) ac_try_echo=$ac_try;;
   20981 esac
   20982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20983   (eval "$ac_link") 2>conftest.er1
   20984   ac_status=$?
   20985   grep -v '^ *+' conftest.er1 >conftest.err
   20986   rm -f conftest.er1
   20987   cat conftest.err >&5
   20988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20989   (exit $ac_status); } && {
   20990 	 test -z "$ac_c_werror_flag" ||
   20991 	 test ! -s conftest.err
   20992        } && test -s conftest$ac_exeext &&
   20993        $as_test_x conftest$ac_exeext; then
   20994   ac_cv_func_setproctitle=yes
   20995 else
   20996   echo "$as_me: failed program was:" >&5
   20997 sed 's/^/| /' conftest.$ac_ext >&5
   20998 
   20999 	ac_cv_func_setproctitle=no
   21000 fi
   21001 
   21002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21003       conftest$ac_exeext conftest.$ac_ext
   21004 fi
   21005 { echo "$as_me:$LINENO: result: $ac_cv_func_setproctitle" >&5
   21006 echo "${ECHO_T}$ac_cv_func_setproctitle" >&6; }
   21007 if test $ac_cv_func_setproctitle = yes; then
   21008   HAS_SETPROCTITLE="yes"
   21009 else
   21010   { echo "$as_me:$LINENO: checking for setproctitle in -lutil" >&5
   21011 echo $ECHO_N "checking for setproctitle in -lutil... $ECHO_C" >&6; }
   21012 if test "${ac_cv_lib_util_setproctitle+set}" = set; then
   21013   echo $ECHO_N "(cached) $ECHO_C" >&6
   21014 else
   21015   ac_check_lib_save_LIBS=$LIBS
   21016 LIBS="-lutil  $LIBS"
   21017 cat >conftest.$ac_ext <<_ACEOF
   21018 /* confdefs.h.  */
   21019 _ACEOF
   21020 cat confdefs.h >>conftest.$ac_ext
   21021 cat >>conftest.$ac_ext <<_ACEOF
   21022 /* end confdefs.h.  */
   21023 
   21024 /* Override any GCC internal prototype to avoid an error.
   21025    Use char because int might match the return type of a GCC
   21026    builtin and then its argument prototype would still apply.  */
   21027 #ifdef __cplusplus
   21028 extern "C"
   21029 #endif
   21030 char setproctitle ();
   21031 int
   21032 main ()
   21033 {
   21034 return setproctitle ();
   21035   ;
   21036   return 0;
   21037 }
   21038 _ACEOF
   21039 rm -f conftest.$ac_objext conftest$ac_exeext
   21040 if { (ac_try="$ac_link"
   21041 case "(($ac_try" in
   21042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21043   *) ac_try_echo=$ac_try;;
   21044 esac
   21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21046   (eval "$ac_link") 2>conftest.er1
   21047   ac_status=$?
   21048   grep -v '^ *+' conftest.er1 >conftest.err
   21049   rm -f conftest.er1
   21050   cat conftest.err >&5
   21051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21052   (exit $ac_status); } && {
   21053 	 test -z "$ac_c_werror_flag" ||
   21054 	 test ! -s conftest.err
   21055        } && test -s conftest$ac_exeext &&
   21056        $as_test_x conftest$ac_exeext; then
   21057   ac_cv_lib_util_setproctitle=yes
   21058 else
   21059   echo "$as_me: failed program was:" >&5
   21060 sed 's/^/| /' conftest.$ac_ext >&5
   21061 
   21062 	ac_cv_lib_util_setproctitle=no
   21063 fi
   21064 
   21065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21066       conftest$ac_exeext conftest.$ac_ext
   21067 LIBS=$ac_check_lib_save_LIBS
   21068 fi
   21069 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_setproctitle" >&5
   21070 echo "${ECHO_T}$ac_cv_lib_util_setproctitle" >&6; }
   21071 if test $ac_cv_lib_util_setproctitle = yes; then
   21072   HAS_SETPROCTITLE="yes" ; XDM_OS_LIBS="$XDM_OS_LIBS -lutil"
   21073 fi
   21074 
   21075 fi
   21076 
   21077 if test "x$HAS_SETPROCTITLE" = "xyes" ; then
   21078 
   21079 cat >>confdefs.h <<\_ACEOF
   21080 #define HAS_SETPROCTITLE 1
   21081 _ACEOF
   21082 
   21083 fi
   21084 
   21085 # According to the old Imakefile, BSD/OS has this in libutil
   21086 { echo "$as_me:$LINENO: checking for setusercontext" >&5
   21087 echo $ECHO_N "checking for setusercontext... $ECHO_C" >&6; }
   21088 if test "${ac_cv_func_setusercontext+set}" = set; then
   21089   echo $ECHO_N "(cached) $ECHO_C" >&6
   21090 else
   21091   cat >conftest.$ac_ext <<_ACEOF
   21092 /* confdefs.h.  */
   21093 _ACEOF
   21094 cat confdefs.h >>conftest.$ac_ext
   21095 cat >>conftest.$ac_ext <<_ACEOF
   21096 /* end confdefs.h.  */
   21097 /* Define setusercontext to an innocuous variant, in case <limits.h> declares setusercontext.
   21098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21099 #define setusercontext innocuous_setusercontext
   21100 
   21101 /* System header to define __stub macros and hopefully few prototypes,
   21102     which can conflict with char setusercontext (); below.
   21103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21104     <limits.h> exists even on freestanding compilers.  */
   21105 
   21106 #ifdef __STDC__
   21107 # include <limits.h>
   21108 #else
   21109 # include <assert.h>
   21110 #endif
   21111 
   21112 #undef setusercontext
   21113 
   21114 /* Override any GCC internal prototype to avoid an error.
   21115    Use char because int might match the return type of a GCC
   21116    builtin and then its argument prototype would still apply.  */
   21117 #ifdef __cplusplus
   21118 extern "C"
   21119 #endif
   21120 char setusercontext ();
   21121 /* The GNU C library defines this for functions which it implements
   21122     to always fail with ENOSYS.  Some functions are actually named
   21123     something starting with __ and the normal name is an alias.  */
   21124 #if defined __stub_setusercontext || defined __stub___setusercontext
   21125 choke me
   21126 #endif
   21127 
   21128 int
   21129 main ()
   21130 {
   21131 return setusercontext ();
   21132   ;
   21133   return 0;
   21134 }
   21135 _ACEOF
   21136 rm -f conftest.$ac_objext conftest$ac_exeext
   21137 if { (ac_try="$ac_link"
   21138 case "(($ac_try" in
   21139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21140   *) ac_try_echo=$ac_try;;
   21141 esac
   21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21143   (eval "$ac_link") 2>conftest.er1
   21144   ac_status=$?
   21145   grep -v '^ *+' conftest.er1 >conftest.err
   21146   rm -f conftest.er1
   21147   cat conftest.err >&5
   21148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21149   (exit $ac_status); } && {
   21150 	 test -z "$ac_c_werror_flag" ||
   21151 	 test ! -s conftest.err
   21152        } && test -s conftest$ac_exeext &&
   21153        $as_test_x conftest$ac_exeext; then
   21154   ac_cv_func_setusercontext=yes
   21155 else
   21156   echo "$as_me: failed program was:" >&5
   21157 sed 's/^/| /' conftest.$ac_ext >&5
   21158 
   21159 	ac_cv_func_setusercontext=no
   21160 fi
   21161 
   21162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21163       conftest$ac_exeext conftest.$ac_ext
   21164 fi
   21165 { echo "$as_me:$LINENO: result: $ac_cv_func_setusercontext" >&5
   21166 echo "${ECHO_T}$ac_cv_func_setusercontext" >&6; }
   21167 if test $ac_cv_func_setusercontext = yes; then
   21168   HAS_SETUSERCONTEXT="yes"
   21169 else
   21170   { echo "$as_me:$LINENO: checking for setusercontext in -lutil" >&5
   21171 echo $ECHO_N "checking for setusercontext in -lutil... $ECHO_C" >&6; }
   21172 if test "${ac_cv_lib_util_setusercontext+set}" = set; then
   21173   echo $ECHO_N "(cached) $ECHO_C" >&6
   21174 else
   21175   ac_check_lib_save_LIBS=$LIBS
   21176 LIBS="-lutil  $LIBS"
   21177 cat >conftest.$ac_ext <<_ACEOF
   21178 /* confdefs.h.  */
   21179 _ACEOF
   21180 cat confdefs.h >>conftest.$ac_ext
   21181 cat >>conftest.$ac_ext <<_ACEOF
   21182 /* end confdefs.h.  */
   21183 
   21184 /* Override any GCC internal prototype to avoid an error.
   21185    Use char because int might match the return type of a GCC
   21186    builtin and then its argument prototype would still apply.  */
   21187 #ifdef __cplusplus
   21188 extern "C"
   21189 #endif
   21190 char setusercontext ();
   21191 int
   21192 main ()
   21193 {
   21194 return setusercontext ();
   21195   ;
   21196   return 0;
   21197 }
   21198 _ACEOF
   21199 rm -f conftest.$ac_objext conftest$ac_exeext
   21200 if { (ac_try="$ac_link"
   21201 case "(($ac_try" in
   21202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21203   *) ac_try_echo=$ac_try;;
   21204 esac
   21205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21206   (eval "$ac_link") 2>conftest.er1
   21207   ac_status=$?
   21208   grep -v '^ *+' conftest.er1 >conftest.err
   21209   rm -f conftest.er1
   21210   cat conftest.err >&5
   21211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21212   (exit $ac_status); } && {
   21213 	 test -z "$ac_c_werror_flag" ||
   21214 	 test ! -s conftest.err
   21215        } && test -s conftest$ac_exeext &&
   21216        $as_test_x conftest$ac_exeext; then
   21217   ac_cv_lib_util_setusercontext=yes
   21218 else
   21219   echo "$as_me: failed program was:" >&5
   21220 sed 's/^/| /' conftest.$ac_ext >&5
   21221 
   21222 	ac_cv_lib_util_setusercontext=no
   21223 fi
   21224 
   21225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21226       conftest$ac_exeext conftest.$ac_ext
   21227 LIBS=$ac_check_lib_save_LIBS
   21228 fi
   21229 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_setusercontext" >&5
   21230 echo "${ECHO_T}$ac_cv_lib_util_setusercontext" >&6; }
   21231 if test $ac_cv_lib_util_setusercontext = yes; then
   21232   HAS_SETUSERCONTEXT="yes" ; XDM_OS_LIBS="$XDM_OS_LIBS -lutil"
   21233 fi
   21234 
   21235 fi
   21236 
   21237 if test "x$HAS_SETUSERCONTEXT" = "xyes" ; then
   21238 
   21239 cat >>confdefs.h <<\_ACEOF
   21240 #define HAS_SETUSERCONTEXT 1
   21241 _ACEOF
   21242 
   21243 fi
   21244 
   21245 
   21246 
   21247 for ac_func in daemon sigaction
   21248 do
   21249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   21251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   21252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21253   echo $ECHO_N "(cached) $ECHO_C" >&6
   21254 else
   21255   cat >conftest.$ac_ext <<_ACEOF
   21256 /* confdefs.h.  */
   21257 _ACEOF
   21258 cat confdefs.h >>conftest.$ac_ext
   21259 cat >>conftest.$ac_ext <<_ACEOF
   21260 /* end confdefs.h.  */
   21261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21263 #define $ac_func innocuous_$ac_func
   21264 
   21265 /* System header to define __stub macros and hopefully few prototypes,
   21266     which can conflict with char $ac_func (); below.
   21267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21268     <limits.h> exists even on freestanding compilers.  */
   21269 
   21270 #ifdef __STDC__
   21271 # include <limits.h>
   21272 #else
   21273 # include <assert.h>
   21274 #endif
   21275 
   21276 #undef $ac_func
   21277 
   21278 /* Override any GCC internal prototype to avoid an error.
   21279    Use char because int might match the return type of a GCC
   21280    builtin and then its argument prototype would still apply.  */
   21281 #ifdef __cplusplus
   21282 extern "C"
   21283 #endif
   21284 char $ac_func ();
   21285 /* The GNU C library defines this for functions which it implements
   21286     to always fail with ENOSYS.  Some functions are actually named
   21287     something starting with __ and the normal name is an alias.  */
   21288 #if defined __stub_$ac_func || defined __stub___$ac_func
   21289 choke me
   21290 #endif
   21291 
   21292 int
   21293 main ()
   21294 {
   21295 return $ac_func ();
   21296   ;
   21297   return 0;
   21298 }
   21299 _ACEOF
   21300 rm -f conftest.$ac_objext conftest$ac_exeext
   21301 if { (ac_try="$ac_link"
   21302 case "(($ac_try" in
   21303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21304   *) ac_try_echo=$ac_try;;
   21305 esac
   21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21307   (eval "$ac_link") 2>conftest.er1
   21308   ac_status=$?
   21309   grep -v '^ *+' conftest.er1 >conftest.err
   21310   rm -f conftest.er1
   21311   cat conftest.err >&5
   21312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21313   (exit $ac_status); } && {
   21314 	 test -z "$ac_c_werror_flag" ||
   21315 	 test ! -s conftest.err
   21316        } && test -s conftest$ac_exeext &&
   21317        $as_test_x conftest$ac_exeext; then
   21318   eval "$as_ac_var=yes"
   21319 else
   21320   echo "$as_me: failed program was:" >&5
   21321 sed 's/^/| /' conftest.$ac_ext >&5
   21322 
   21323 	eval "$as_ac_var=no"
   21324 fi
   21325 
   21326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21327       conftest$ac_exeext conftest.$ac_ext
   21328 fi
   21329 ac_res=`eval echo '${'$as_ac_var'}'`
   21330 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21331 echo "${ECHO_T}$ac_res" >&6; }
   21332 if test `eval echo '${'$as_ac_var'}'` = yes; then
   21333   cat >>confdefs.h <<_ACEOF
   21334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21335 _ACEOF
   21336 
   21337 fi
   21338 done
   21339 
   21340 
   21341 for ac_header in grp.h
   21342 do
   21343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   21344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21345   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   21346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   21347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21348   echo $ECHO_N "(cached) $ECHO_C" >&6
   21349 fi
   21350 ac_res=`eval echo '${'$as_ac_Header'}'`
   21351 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21352 echo "${ECHO_T}$ac_res" >&6; }
   21353 else
   21354   # Is the header compilable?
   21355 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   21356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   21357 cat >conftest.$ac_ext <<_ACEOF
   21358 /* confdefs.h.  */
   21359 _ACEOF
   21360 cat confdefs.h >>conftest.$ac_ext
   21361 cat >>conftest.$ac_ext <<_ACEOF
   21362 /* end confdefs.h.  */
   21363 $ac_includes_default
   21364 #include <$ac_header>
   21365 _ACEOF
   21366 rm -f conftest.$ac_objext
   21367 if { (ac_try="$ac_compile"
   21368 case "(($ac_try" in
   21369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21370   *) ac_try_echo=$ac_try;;
   21371 esac
   21372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21373   (eval "$ac_compile") 2>conftest.er1
   21374   ac_status=$?
   21375   grep -v '^ *+' conftest.er1 >conftest.err
   21376   rm -f conftest.er1
   21377   cat conftest.err >&5
   21378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21379   (exit $ac_status); } && {
   21380 	 test -z "$ac_c_werror_flag" ||
   21381 	 test ! -s conftest.err
   21382        } && test -s conftest.$ac_objext; then
   21383   ac_header_compiler=yes
   21384 else
   21385   echo "$as_me: failed program was:" >&5
   21386 sed 's/^/| /' conftest.$ac_ext >&5
   21387 
   21388 	ac_header_compiler=no
   21389 fi
   21390 
   21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21392 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21393 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21394 
   21395 # Is the header present?
   21396 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   21397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   21398 cat >conftest.$ac_ext <<_ACEOF
   21399 /* confdefs.h.  */
   21400 _ACEOF
   21401 cat confdefs.h >>conftest.$ac_ext
   21402 cat >>conftest.$ac_ext <<_ACEOF
   21403 /* end confdefs.h.  */
   21404 #include <$ac_header>
   21405 _ACEOF
   21406 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21407 case "(($ac_try" in
   21408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21409   *) ac_try_echo=$ac_try;;
   21410 esac
   21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21412   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21413   ac_status=$?
   21414   grep -v '^ *+' conftest.er1 >conftest.err
   21415   rm -f conftest.er1
   21416   cat conftest.err >&5
   21417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21418   (exit $ac_status); } >/dev/null && {
   21419 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21420 	 test ! -s conftest.err
   21421        }; then
   21422   ac_header_preproc=yes
   21423 else
   21424   echo "$as_me: failed program was:" >&5
   21425 sed 's/^/| /' conftest.$ac_ext >&5
   21426 
   21427   ac_header_preproc=no
   21428 fi
   21429 
   21430 rm -f conftest.err conftest.$ac_ext
   21431 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21432 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21433 
   21434 # So?  What about this header?
   21435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21436   yes:no: )
   21437     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   21438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21439     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   21440 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   21441     ac_header_preproc=yes
   21442     ;;
   21443   no:yes:* )
   21444     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   21445 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   21446     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   21447 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   21448     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   21449 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   21450     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   21451 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   21452     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   21453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   21454     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   21455 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   21456     ( cat <<\_ASBOX
   21457 ## ---------------------------------------------------------------------- ##
   21458 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21459 ## ---------------------------------------------------------------------- ##
   21460 _ASBOX
   21461      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21462     ;;
   21463 esac
   21464 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   21465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   21466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21467   echo $ECHO_N "(cached) $ECHO_C" >&6
   21468 else
   21469   eval "$as_ac_Header=\$ac_header_preproc"
   21470 fi
   21471 ac_res=`eval echo '${'$as_ac_Header'}'`
   21472 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21473 echo "${ECHO_T}$ac_res" >&6; }
   21474 
   21475 fi
   21476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   21477   cat >>confdefs.h <<_ACEOF
   21478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   21479 _ACEOF
   21480 
   21481 fi
   21482 
   21483 done
   21484 
   21485 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   21486 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
   21487 if test "${ac_cv_type_signal+set}" = set; then
   21488   echo $ECHO_N "(cached) $ECHO_C" >&6
   21489 else
   21490   cat >conftest.$ac_ext <<_ACEOF
   21491 /* confdefs.h.  */
   21492 _ACEOF
   21493 cat confdefs.h >>conftest.$ac_ext
   21494 cat >>conftest.$ac_ext <<_ACEOF
   21495 /* end confdefs.h.  */
   21496 #include <sys/types.h>
   21497 #include <signal.h>
   21498 
   21499 int
   21500 main ()
   21501 {
   21502 return *(signal (0, 0)) (0) == 1;
   21503   ;
   21504   return 0;
   21505 }
   21506 _ACEOF
   21507 rm -f conftest.$ac_objext
   21508 if { (ac_try="$ac_compile"
   21509 case "(($ac_try" in
   21510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21511   *) ac_try_echo=$ac_try;;
   21512 esac
   21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21514   (eval "$ac_compile") 2>conftest.er1
   21515   ac_status=$?
   21516   grep -v '^ *+' conftest.er1 >conftest.err
   21517   rm -f conftest.er1
   21518   cat conftest.err >&5
   21519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21520   (exit $ac_status); } && {
   21521 	 test -z "$ac_c_werror_flag" ||
   21522 	 test ! -s conftest.err
   21523        } && test -s conftest.$ac_objext; then
   21524   ac_cv_type_signal=int
   21525 else
   21526   echo "$as_me: failed program was:" >&5
   21527 sed 's/^/| /' conftest.$ac_ext >&5
   21528 
   21529 	ac_cv_type_signal=void
   21530 fi
   21531 
   21532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21533 fi
   21534 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   21535 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
   21536 
   21537 cat >>confdefs.h <<_ACEOF
   21538 #define RETSIGTYPE $ac_cv_type_signal
   21539 _ACEOF
   21540 
   21541 
   21542 
   21543 
   21544 
   21545 
   21546  # Check whether --enable-unix-transport was given.
   21547 if test "${enable_unix_transport+set}" = set; then
   21548   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21549 else
   21550   UNIXCONN=yes
   21551 fi
   21552 
   21553  # Check whether --enable-tcp-transport was given.
   21554 if test "${enable_tcp_transport+set}" = set; then
   21555   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21556 else
   21557   TCPCONN=yes
   21558 fi
   21559 
   21560  { echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   21561 echo $ECHO_N "checking if Xtrans should support UNIX socket connections... $ECHO_C" >&6; }
   21562  if test "$UNIXCONN" = "yes"; then
   21563 
   21564 cat >>confdefs.h <<\_ACEOF
   21565 #define UNIXCONN 1
   21566 _ACEOF
   21567 
   21568  fi
   21569  { echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   21570 echo "${ECHO_T}$UNIXCONN" >&6; }
   21571  { echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   21572 echo $ECHO_N "checking if Xtrans should support TCP socket connections... $ECHO_C" >&6; }
   21573  { echo "$as_me:$LINENO: result: $TCPCONN" >&5
   21574 echo "${ECHO_T}$TCPCONN" >&6; }
   21575  if test "$TCPCONN" = "yes"; then
   21576 
   21577 cat >>confdefs.h <<\_ACEOF
   21578 #define TCPCONN 1
   21579 _ACEOF
   21580 
   21581 
   21582  # SVR4 hides these in libraries other than libc
   21583  { echo "$as_me:$LINENO: checking for library containing socket" >&5
   21584 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
   21585 if test "${ac_cv_search_socket+set}" = set; then
   21586   echo $ECHO_N "(cached) $ECHO_C" >&6
   21587 else
   21588   ac_func_search_save_LIBS=$LIBS
   21589 cat >conftest.$ac_ext <<_ACEOF
   21590 /* confdefs.h.  */
   21591 _ACEOF
   21592 cat confdefs.h >>conftest.$ac_ext
   21593 cat >>conftest.$ac_ext <<_ACEOF
   21594 /* end confdefs.h.  */
   21595 
   21596 /* Override any GCC internal prototype to avoid an error.
   21597    Use char because int might match the return type of a GCC
   21598    builtin and then its argument prototype would still apply.  */
   21599 #ifdef __cplusplus
   21600 extern "C"
   21601 #endif
   21602 char socket ();
   21603 int
   21604 main ()
   21605 {
   21606 return socket ();
   21607   ;
   21608   return 0;
   21609 }
   21610 _ACEOF
   21611 for ac_lib in '' socket; do
   21612   if test -z "$ac_lib"; then
   21613     ac_res="none required"
   21614   else
   21615     ac_res=-l$ac_lib
   21616     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21617   fi
   21618   rm -f conftest.$ac_objext conftest$ac_exeext
   21619 if { (ac_try="$ac_link"
   21620 case "(($ac_try" in
   21621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21622   *) ac_try_echo=$ac_try;;
   21623 esac
   21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21625   (eval "$ac_link") 2>conftest.er1
   21626   ac_status=$?
   21627   grep -v '^ *+' conftest.er1 >conftest.err
   21628   rm -f conftest.er1
   21629   cat conftest.err >&5
   21630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21631   (exit $ac_status); } && {
   21632 	 test -z "$ac_c_werror_flag" ||
   21633 	 test ! -s conftest.err
   21634        } && test -s conftest$ac_exeext &&
   21635        $as_test_x conftest$ac_exeext; then
   21636   ac_cv_search_socket=$ac_res
   21637 else
   21638   echo "$as_me: failed program was:" >&5
   21639 sed 's/^/| /' conftest.$ac_ext >&5
   21640 
   21641 
   21642 fi
   21643 
   21644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21645       conftest$ac_exeext
   21646   if test "${ac_cv_search_socket+set}" = set; then
   21647   break
   21648 fi
   21649 done
   21650 if test "${ac_cv_search_socket+set}" = set; then
   21651   :
   21652 else
   21653   ac_cv_search_socket=no
   21654 fi
   21655 rm conftest.$ac_ext
   21656 LIBS=$ac_func_search_save_LIBS
   21657 fi
   21658 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   21659 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
   21660 ac_res=$ac_cv_search_socket
   21661 if test "$ac_res" != no; then
   21662   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21663 
   21664 fi
   21665 
   21666  { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   21667 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
   21668 if test "${ac_cv_search_gethostbyname+set}" = set; then
   21669   echo $ECHO_N "(cached) $ECHO_C" >&6
   21670 else
   21671   ac_func_search_save_LIBS=$LIBS
   21672 cat >conftest.$ac_ext <<_ACEOF
   21673 /* confdefs.h.  */
   21674 _ACEOF
   21675 cat confdefs.h >>conftest.$ac_ext
   21676 cat >>conftest.$ac_ext <<_ACEOF
   21677 /* end confdefs.h.  */
   21678 
   21679 /* Override any GCC internal prototype to avoid an error.
   21680    Use char because int might match the return type of a GCC
   21681    builtin and then its argument prototype would still apply.  */
   21682 #ifdef __cplusplus
   21683 extern "C"
   21684 #endif
   21685 char gethostbyname ();
   21686 int
   21687 main ()
   21688 {
   21689 return gethostbyname ();
   21690   ;
   21691   return 0;
   21692 }
   21693 _ACEOF
   21694 for ac_lib in '' nsl; do
   21695   if test -z "$ac_lib"; then
   21696     ac_res="none required"
   21697   else
   21698     ac_res=-l$ac_lib
   21699     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21700   fi
   21701   rm -f conftest.$ac_objext conftest$ac_exeext
   21702 if { (ac_try="$ac_link"
   21703 case "(($ac_try" in
   21704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21705   *) ac_try_echo=$ac_try;;
   21706 esac
   21707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21708   (eval "$ac_link") 2>conftest.er1
   21709   ac_status=$?
   21710   grep -v '^ *+' conftest.er1 >conftest.err
   21711   rm -f conftest.er1
   21712   cat conftest.err >&5
   21713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21714   (exit $ac_status); } && {
   21715 	 test -z "$ac_c_werror_flag" ||
   21716 	 test ! -s conftest.err
   21717        } && test -s conftest$ac_exeext &&
   21718        $as_test_x conftest$ac_exeext; then
   21719   ac_cv_search_gethostbyname=$ac_res
   21720 else
   21721   echo "$as_me: failed program was:" >&5
   21722 sed 's/^/| /' conftest.$ac_ext >&5
   21723 
   21724 
   21725 fi
   21726 
   21727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21728       conftest$ac_exeext
   21729   if test "${ac_cv_search_gethostbyname+set}" = set; then
   21730   break
   21731 fi
   21732 done
   21733 if test "${ac_cv_search_gethostbyname+set}" = set; then
   21734   :
   21735 else
   21736   ac_cv_search_gethostbyname=no
   21737 fi
   21738 rm conftest.$ac_ext
   21739 LIBS=$ac_func_search_save_LIBS
   21740 fi
   21741 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   21742 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
   21743 ac_res=$ac_cv_search_gethostbyname
   21744 if test "$ac_res" != no; then
   21745   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21746 
   21747 fi
   21748 
   21749 
   21750  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   21751  # Check whether --enable-ipv6 was given.
   21752 if test "${enable_ipv6+set}" = set; then
   21753   enableval=$enable_ipv6; IPV6CONN=$enableval
   21754 else
   21755   { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   21756 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
   21757 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   21758   echo $ECHO_N "(cached) $ECHO_C" >&6
   21759 else
   21760   cat >conftest.$ac_ext <<_ACEOF
   21761 /* confdefs.h.  */
   21762 _ACEOF
   21763 cat confdefs.h >>conftest.$ac_ext
   21764 cat >>conftest.$ac_ext <<_ACEOF
   21765 /* end confdefs.h.  */
   21766 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   21767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21768 #define getaddrinfo innocuous_getaddrinfo
   21769 
   21770 /* System header to define __stub macros and hopefully few prototypes,
   21771     which can conflict with char getaddrinfo (); below.
   21772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21773     <limits.h> exists even on freestanding compilers.  */
   21774 
   21775 #ifdef __STDC__
   21776 # include <limits.h>
   21777 #else
   21778 # include <assert.h>
   21779 #endif
   21780 
   21781 #undef getaddrinfo
   21782 
   21783 /* Override any GCC internal prototype to avoid an error.
   21784    Use char because int might match the return type of a GCC
   21785    builtin and then its argument prototype would still apply.  */
   21786 #ifdef __cplusplus
   21787 extern "C"
   21788 #endif
   21789 char getaddrinfo ();
   21790 /* The GNU C library defines this for functions which it implements
   21791     to always fail with ENOSYS.  Some functions are actually named
   21792     something starting with __ and the normal name is an alias.  */
   21793 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   21794 choke me
   21795 #endif
   21796 
   21797 int
   21798 main ()
   21799 {
   21800 return getaddrinfo ();
   21801   ;
   21802   return 0;
   21803 }
   21804 _ACEOF
   21805 rm -f conftest.$ac_objext conftest$ac_exeext
   21806 if { (ac_try="$ac_link"
   21807 case "(($ac_try" in
   21808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21809   *) ac_try_echo=$ac_try;;
   21810 esac
   21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21812   (eval "$ac_link") 2>conftest.er1
   21813   ac_status=$?
   21814   grep -v '^ *+' conftest.er1 >conftest.err
   21815   rm -f conftest.er1
   21816   cat conftest.err >&5
   21817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21818   (exit $ac_status); } && {
   21819 	 test -z "$ac_c_werror_flag" ||
   21820 	 test ! -s conftest.err
   21821        } && test -s conftest$ac_exeext &&
   21822        $as_test_x conftest$ac_exeext; then
   21823   ac_cv_func_getaddrinfo=yes
   21824 else
   21825   echo "$as_me: failed program was:" >&5
   21826 sed 's/^/| /' conftest.$ac_ext >&5
   21827 
   21828 	ac_cv_func_getaddrinfo=no
   21829 fi
   21830 
   21831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21832       conftest$ac_exeext conftest.$ac_ext
   21833 fi
   21834 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   21835 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
   21836 if test $ac_cv_func_getaddrinfo = yes; then
   21837   IPV6CONN=yes
   21838 else
   21839   IPV6CONN=no
   21840 fi
   21841 
   21842 fi
   21843 
   21844  { echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   21845 echo $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6; }
   21846  if test "$IPV6CONN" = "yes"; then
   21847 
   21848 cat >>confdefs.h <<\_ACEOF
   21849 #define IPv6 1
   21850 _ACEOF
   21851 
   21852  fi
   21853  { echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   21854 echo "${ECHO_T}$IPV6CONN" >&6; }
   21855 
   21856  # 4.3BSD-Reno added a new member to struct sockaddr_in
   21857  { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   21858 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
   21859 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   21860   echo $ECHO_N "(cached) $ECHO_C" >&6
   21861 else
   21862   cat >conftest.$ac_ext <<_ACEOF
   21863 /* confdefs.h.  */
   21864 _ACEOF
   21865 cat confdefs.h >>conftest.$ac_ext
   21866 cat >>conftest.$ac_ext <<_ACEOF
   21867 /* end confdefs.h.  */
   21868 
   21869 #include <sys/types.h>
   21870 #include <sys/socket.h>
   21871 #include <netinet/in.h>
   21872 
   21873 
   21874 int
   21875 main ()
   21876 {
   21877 static struct sockaddr_in ac_aggr;
   21878 if (ac_aggr.sin_len)
   21879 return 0;
   21880   ;
   21881   return 0;
   21882 }
   21883 _ACEOF
   21884 rm -f conftest.$ac_objext
   21885 if { (ac_try="$ac_compile"
   21886 case "(($ac_try" in
   21887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21888   *) ac_try_echo=$ac_try;;
   21889 esac
   21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21891   (eval "$ac_compile") 2>conftest.er1
   21892   ac_status=$?
   21893   grep -v '^ *+' conftest.er1 >conftest.err
   21894   rm -f conftest.er1
   21895   cat conftest.err >&5
   21896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21897   (exit $ac_status); } && {
   21898 	 test -z "$ac_c_werror_flag" ||
   21899 	 test ! -s conftest.err
   21900        } && test -s conftest.$ac_objext; then
   21901   ac_cv_member_struct_sockaddr_in_sin_len=yes
   21902 else
   21903   echo "$as_me: failed program was:" >&5
   21904 sed 's/^/| /' conftest.$ac_ext >&5
   21905 
   21906 	cat >conftest.$ac_ext <<_ACEOF
   21907 /* confdefs.h.  */
   21908 _ACEOF
   21909 cat confdefs.h >>conftest.$ac_ext
   21910 cat >>conftest.$ac_ext <<_ACEOF
   21911 /* end confdefs.h.  */
   21912 
   21913 #include <sys/types.h>
   21914 #include <sys/socket.h>
   21915 #include <netinet/in.h>
   21916 
   21917 
   21918 int
   21919 main ()
   21920 {
   21921 static struct sockaddr_in ac_aggr;
   21922 if (sizeof ac_aggr.sin_len)
   21923 return 0;
   21924   ;
   21925   return 0;
   21926 }
   21927 _ACEOF
   21928 rm -f conftest.$ac_objext
   21929 if { (ac_try="$ac_compile"
   21930 case "(($ac_try" in
   21931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21932   *) ac_try_echo=$ac_try;;
   21933 esac
   21934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21935   (eval "$ac_compile") 2>conftest.er1
   21936   ac_status=$?
   21937   grep -v '^ *+' conftest.er1 >conftest.err
   21938   rm -f conftest.er1
   21939   cat conftest.err >&5
   21940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21941   (exit $ac_status); } && {
   21942 	 test -z "$ac_c_werror_flag" ||
   21943 	 test ! -s conftest.err
   21944        } && test -s conftest.$ac_objext; then
   21945   ac_cv_member_struct_sockaddr_in_sin_len=yes
   21946 else
   21947   echo "$as_me: failed program was:" >&5
   21948 sed 's/^/| /' conftest.$ac_ext >&5
   21949 
   21950 	ac_cv_member_struct_sockaddr_in_sin_len=no
   21951 fi
   21952 
   21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21954 fi
   21955 
   21956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21957 fi
   21958 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   21959 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   21960 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
   21961 
   21962 cat >>confdefs.h <<\_ACEOF
   21963 #define BSD44SOCKETS 1
   21964 _ACEOF
   21965 
   21966 fi
   21967 
   21968 
   21969  fi
   21970  case $host_os in
   21971 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   21972 	*)			localdef="no"  ;;
   21973  esac
   21974  # Check whether --enable-local-transport was given.
   21975 if test "${enable_local_transport+set}" = set; then
   21976   enableval=$enable_local_transport; LOCALCONN=$enableval
   21977 else
   21978   LOCALCONN=$localdef
   21979 fi
   21980 
   21981  { echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   21982 echo $ECHO_N "checking if Xtrans should support os-specific local connections... $ECHO_C" >&6; }
   21983  { echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   21984 echo "${ECHO_T}$LOCALCONN" >&6; }
   21985  if test "$LOCALCONN" = "yes"; then
   21986 
   21987 cat >>confdefs.h <<\_ACEOF
   21988 #define LOCALCONN 1
   21989 _ACEOF
   21990 
   21991  fi
   21992 
   21993 
   21994 
   21995  # Check whether --enable-secure-rpc was given.
   21996 if test "${enable_secure_rpc+set}" = set; then
   21997   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   21998 else
   21999   SECURE_RPC="try"
   22000 fi
   22001 
   22002 
   22003  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   22004 	FOUND_SECURE_RPC="no"
   22005 
   22006 
   22007 for ac_func in authdes_seccreate authdes_create
   22008 do
   22009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   22010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   22011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   22012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   22013   echo $ECHO_N "(cached) $ECHO_C" >&6
   22014 else
   22015   cat >conftest.$ac_ext <<_ACEOF
   22016 /* confdefs.h.  */
   22017 _ACEOF
   22018 cat confdefs.h >>conftest.$ac_ext
   22019 cat >>conftest.$ac_ext <<_ACEOF
   22020 /* end confdefs.h.  */
   22021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   22022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   22023 #define $ac_func innocuous_$ac_func
   22024 
   22025 /* System header to define __stub macros and hopefully few prototypes,
   22026     which can conflict with char $ac_func (); below.
   22027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22028     <limits.h> exists even on freestanding compilers.  */
   22029 
   22030 #ifdef __STDC__
   22031 # include <limits.h>
   22032 #else
   22033 # include <assert.h>
   22034 #endif
   22035 
   22036 #undef $ac_func
   22037 
   22038 /* Override any GCC internal prototype to avoid an error.
   22039    Use char because int might match the return type of a GCC
   22040    builtin and then its argument prototype would still apply.  */
   22041 #ifdef __cplusplus
   22042 extern "C"
   22043 #endif
   22044 char $ac_func ();
   22045 /* The GNU C library defines this for functions which it implements
   22046     to always fail with ENOSYS.  Some functions are actually named
   22047     something starting with __ and the normal name is an alias.  */
   22048 #if defined __stub_$ac_func || defined __stub___$ac_func
   22049 choke me
   22050 #endif
   22051 
   22052 int
   22053 main ()
   22054 {
   22055 return $ac_func ();
   22056   ;
   22057   return 0;
   22058 }
   22059 _ACEOF
   22060 rm -f conftest.$ac_objext conftest$ac_exeext
   22061 if { (ac_try="$ac_link"
   22062 case "(($ac_try" in
   22063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22064   *) ac_try_echo=$ac_try;;
   22065 esac
   22066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22067   (eval "$ac_link") 2>conftest.er1
   22068   ac_status=$?
   22069   grep -v '^ *+' conftest.er1 >conftest.err
   22070   rm -f conftest.er1
   22071   cat conftest.err >&5
   22072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22073   (exit $ac_status); } && {
   22074 	 test -z "$ac_c_werror_flag" ||
   22075 	 test ! -s conftest.err
   22076        } && test -s conftest$ac_exeext &&
   22077        $as_test_x conftest$ac_exeext; then
   22078   eval "$as_ac_var=yes"
   22079 else
   22080   echo "$as_me: failed program was:" >&5
   22081 sed 's/^/| /' conftest.$ac_ext >&5
   22082 
   22083 	eval "$as_ac_var=no"
   22084 fi
   22085 
   22086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22087       conftest$ac_exeext conftest.$ac_ext
   22088 fi
   22089 ac_res=`eval echo '${'$as_ac_var'}'`
   22090 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22091 echo "${ECHO_T}$ac_res" >&6; }
   22092 if test `eval echo '${'$as_ac_var'}'` = yes; then
   22093   cat >>confdefs.h <<_ACEOF
   22094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   22095 _ACEOF
   22096  FOUND_SECURE_RPC="yes"
   22097 fi
   22098 done
   22099 
   22100 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   22101 		if test "x$SECURE_RPC" = "xyes" ; then
   22102 	{ { echo "$as_me:$LINENO: error: Secure RPC requested, but required functions not found" >&5
   22103 echo "$as_me: error: Secure RPC requested, but required functions not found" >&2;}
   22104    { (exit 1); exit 1; }; }
   22105 		fi
   22106 		SECURE_RPC="no"
   22107 	else
   22108 				{ echo "$as_me:$LINENO: checking for library containing getsecretkey" >&5
   22109 echo $ECHO_N "checking for library containing getsecretkey... $ECHO_C" >&6; }
   22110 if test "${ac_cv_search_getsecretkey+set}" = set; then
   22111   echo $ECHO_N "(cached) $ECHO_C" >&6
   22112 else
   22113   ac_func_search_save_LIBS=$LIBS
   22114 cat >conftest.$ac_ext <<_ACEOF
   22115 /* confdefs.h.  */
   22116 _ACEOF
   22117 cat confdefs.h >>conftest.$ac_ext
   22118 cat >>conftest.$ac_ext <<_ACEOF
   22119 /* end confdefs.h.  */
   22120 
   22121 /* Override any GCC internal prototype to avoid an error.
   22122    Use char because int might match the return type of a GCC
   22123    builtin and then its argument prototype would still apply.  */
   22124 #ifdef __cplusplus
   22125 extern "C"
   22126 #endif
   22127 char getsecretkey ();
   22128 int
   22129 main ()
   22130 {
   22131 return getsecretkey ();
   22132   ;
   22133   return 0;
   22134 }
   22135 _ACEOF
   22136 for ac_lib in '' rpcsvc; do
   22137   if test -z "$ac_lib"; then
   22138     ac_res="none required"
   22139   else
   22140     ac_res=-l$ac_lib
   22141     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22142   fi
   22143   rm -f conftest.$ac_objext conftest$ac_exeext
   22144 if { (ac_try="$ac_link"
   22145 case "(($ac_try" in
   22146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22147   *) ac_try_echo=$ac_try;;
   22148 esac
   22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22150   (eval "$ac_link") 2>conftest.er1
   22151   ac_status=$?
   22152   grep -v '^ *+' conftest.er1 >conftest.err
   22153   rm -f conftest.er1
   22154   cat conftest.err >&5
   22155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22156   (exit $ac_status); } && {
   22157 	 test -z "$ac_c_werror_flag" ||
   22158 	 test ! -s conftest.err
   22159        } && test -s conftest$ac_exeext &&
   22160        $as_test_x conftest$ac_exeext; then
   22161   ac_cv_search_getsecretkey=$ac_res
   22162 else
   22163   echo "$as_me: failed program was:" >&5
   22164 sed 's/^/| /' conftest.$ac_ext >&5
   22165 
   22166 
   22167 fi
   22168 
   22169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22170       conftest$ac_exeext
   22171   if test "${ac_cv_search_getsecretkey+set}" = set; then
   22172   break
   22173 fi
   22174 done
   22175 if test "${ac_cv_search_getsecretkey+set}" = set; then
   22176   :
   22177 else
   22178   ac_cv_search_getsecretkey=no
   22179 fi
   22180 rm conftest.$ac_ext
   22181 LIBS=$ac_func_search_save_LIBS
   22182 fi
   22183 { echo "$as_me:$LINENO: result: $ac_cv_search_getsecretkey" >&5
   22184 echo "${ECHO_T}$ac_cv_search_getsecretkey" >&6; }
   22185 ac_res=$ac_cv_search_getsecretkey
   22186 if test "$ac_res" != no; then
   22187   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22188 
   22189 fi
   22190 
   22191 		SECURE_RPC="yes"
   22192 	fi
   22193  fi
   22194  { echo "$as_me:$LINENO: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   22195 echo $ECHO_N "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... $ECHO_C" >&6; }
   22196  if test "x$SECURE_RPC" = "xyes" ; then
   22197 
   22198 cat >>confdefs.h <<\_ACEOF
   22199 #define SECURE_RPC 1
   22200 _ACEOF
   22201 
   22202  fi
   22203  { echo "$as_me:$LINENO: result: $SECURE_RPC" >&5
   22204 echo "${ECHO_T}$SECURE_RPC" >&6; }
   22205 
   22206  if test x$SECURE_RPC = xyes; then
   22207   HAS_SECURE_RPC_TRUE=
   22208   HAS_SECURE_RPC_FALSE='#'
   22209 else
   22210   HAS_SECURE_RPC_TRUE='#'
   22211   HAS_SECURE_RPC_FALSE=
   22212 fi
   22213 
   22214 
   22215 { echo "$as_me:$LINENO: checking whether key_setnet is declared" >&5
   22216 echo $ECHO_N "checking whether key_setnet is declared... $ECHO_C" >&6; }
   22217 if test "${ac_cv_have_decl_key_setnet+set}" = set; then
   22218   echo $ECHO_N "(cached) $ECHO_C" >&6
   22219 else
   22220   cat >conftest.$ac_ext <<_ACEOF
   22221 /* confdefs.h.  */
   22222 _ACEOF
   22223 cat confdefs.h >>conftest.$ac_ext
   22224 cat >>conftest.$ac_ext <<_ACEOF
   22225 /* end confdefs.h.  */
   22226 
   22227 #include <rpc/rpc.h>
   22228 #include <rpc/key_prot.h>
   22229 
   22230 
   22231 int
   22232 main ()
   22233 {
   22234 #ifndef key_setnet
   22235   (void) key_setnet;
   22236 #endif
   22237 
   22238   ;
   22239   return 0;
   22240 }
   22241 _ACEOF
   22242 rm -f conftest.$ac_objext
   22243 if { (ac_try="$ac_compile"
   22244 case "(($ac_try" in
   22245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22246   *) ac_try_echo=$ac_try;;
   22247 esac
   22248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22249   (eval "$ac_compile") 2>conftest.er1
   22250   ac_status=$?
   22251   grep -v '^ *+' conftest.er1 >conftest.err
   22252   rm -f conftest.er1
   22253   cat conftest.err >&5
   22254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22255   (exit $ac_status); } && {
   22256 	 test -z "$ac_c_werror_flag" ||
   22257 	 test ! -s conftest.err
   22258        } && test -s conftest.$ac_objext; then
   22259   ac_cv_have_decl_key_setnet=yes
   22260 else
   22261   echo "$as_me: failed program was:" >&5
   22262 sed 's/^/| /' conftest.$ac_ext >&5
   22263 
   22264 	ac_cv_have_decl_key_setnet=no
   22265 fi
   22266 
   22267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22268 fi
   22269 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_key_setnet" >&5
   22270 echo "${ECHO_T}$ac_cv_have_decl_key_setnet" >&6; }
   22271 if test $ac_cv_have_decl_key_setnet = yes; then
   22272 
   22273 cat >>confdefs.h <<\_ACEOF
   22274 #define HAVE_DECL_KEY_SETNET 1
   22275 _ACEOF
   22276 
   22277 fi
   22278 
   22279 
   22280 # darwin could have PAM support, but not yet
   22281 case $host_os in
   22282     darwin*)
   22283         use_pam_default=no
   22284         ;;
   22285     *)
   22286         use_pam_default=try
   22287         ;;
   22288 esac
   22289 
   22290 # Check for PAM support
   22291 
   22292 # Check whether --with-pam was given.
   22293 if test "${with_pam+set}" = set; then
   22294   withval=$with_pam; USE_PAM=$withval
   22295 else
   22296   USE_PAM=$use_pam_default
   22297 fi
   22298 
   22299 if test "x$USE_PAM" != "xno" ; then
   22300 	{ echo "$as_me:$LINENO: checking for library containing pam_open_session" >&5
   22301 echo $ECHO_N "checking for library containing pam_open_session... $ECHO_C" >&6; }
   22302 if test "${ac_cv_search_pam_open_session+set}" = set; then
   22303   echo $ECHO_N "(cached) $ECHO_C" >&6
   22304 else
   22305   ac_func_search_save_LIBS=$LIBS
   22306 cat >conftest.$ac_ext <<_ACEOF
   22307 /* confdefs.h.  */
   22308 _ACEOF
   22309 cat confdefs.h >>conftest.$ac_ext
   22310 cat >>conftest.$ac_ext <<_ACEOF
   22311 /* end confdefs.h.  */
   22312 
   22313 /* Override any GCC internal prototype to avoid an error.
   22314    Use char because int might match the return type of a GCC
   22315    builtin and then its argument prototype would still apply.  */
   22316 #ifdef __cplusplus
   22317 extern "C"
   22318 #endif
   22319 char pam_open_session ();
   22320 int
   22321 main ()
   22322 {
   22323 return pam_open_session ();
   22324   ;
   22325   return 0;
   22326 }
   22327 _ACEOF
   22328 for ac_lib in '' pam; do
   22329   if test -z "$ac_lib"; then
   22330     ac_res="none required"
   22331   else
   22332     ac_res=-l$ac_lib
   22333     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22334   fi
   22335   rm -f conftest.$ac_objext conftest$ac_exeext
   22336 if { (ac_try="$ac_link"
   22337 case "(($ac_try" in
   22338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22339   *) ac_try_echo=$ac_try;;
   22340 esac
   22341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22342   (eval "$ac_link") 2>conftest.er1
   22343   ac_status=$?
   22344   grep -v '^ *+' conftest.er1 >conftest.err
   22345   rm -f conftest.er1
   22346   cat conftest.err >&5
   22347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22348   (exit $ac_status); } && {
   22349 	 test -z "$ac_c_werror_flag" ||
   22350 	 test ! -s conftest.err
   22351        } && test -s conftest$ac_exeext &&
   22352        $as_test_x conftest$ac_exeext; then
   22353   ac_cv_search_pam_open_session=$ac_res
   22354 else
   22355   echo "$as_me: failed program was:" >&5
   22356 sed 's/^/| /' conftest.$ac_ext >&5
   22357 
   22358 
   22359 fi
   22360 
   22361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22362       conftest$ac_exeext
   22363   if test "${ac_cv_search_pam_open_session+set}" = set; then
   22364   break
   22365 fi
   22366 done
   22367 if test "${ac_cv_search_pam_open_session+set}" = set; then
   22368   :
   22369 else
   22370   ac_cv_search_pam_open_session=no
   22371 fi
   22372 rm conftest.$ac_ext
   22373 LIBS=$ac_func_search_save_LIBS
   22374 fi
   22375 { echo "$as_me:$LINENO: result: $ac_cv_search_pam_open_session" >&5
   22376 echo "${ECHO_T}$ac_cv_search_pam_open_session" >&6; }
   22377 ac_res=$ac_cv_search_pam_open_session
   22378 if test "$ac_res" != no; then
   22379   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22380 
   22381 fi
   22382 
   22383 	{ echo "$as_me:$LINENO: checking for pam_open_session" >&5
   22384 echo $ECHO_N "checking for pam_open_session... $ECHO_C" >&6; }
   22385 if test "${ac_cv_func_pam_open_session+set}" = set; then
   22386   echo $ECHO_N "(cached) $ECHO_C" >&6
   22387 else
   22388   cat >conftest.$ac_ext <<_ACEOF
   22389 /* confdefs.h.  */
   22390 _ACEOF
   22391 cat confdefs.h >>conftest.$ac_ext
   22392 cat >>conftest.$ac_ext <<_ACEOF
   22393 /* end confdefs.h.  */
   22394 /* Define pam_open_session to an innocuous variant, in case <limits.h> declares pam_open_session.
   22395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   22396 #define pam_open_session innocuous_pam_open_session
   22397 
   22398 /* System header to define __stub macros and hopefully few prototypes,
   22399     which can conflict with char pam_open_session (); below.
   22400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22401     <limits.h> exists even on freestanding compilers.  */
   22402 
   22403 #ifdef __STDC__
   22404 # include <limits.h>
   22405 #else
   22406 # include <assert.h>
   22407 #endif
   22408 
   22409 #undef pam_open_session
   22410 
   22411 /* Override any GCC internal prototype to avoid an error.
   22412    Use char because int might match the return type of a GCC
   22413    builtin and then its argument prototype would still apply.  */
   22414 #ifdef __cplusplus
   22415 extern "C"
   22416 #endif
   22417 char pam_open_session ();
   22418 /* The GNU C library defines this for functions which it implements
   22419     to always fail with ENOSYS.  Some functions are actually named
   22420     something starting with __ and the normal name is an alias.  */
   22421 #if defined __stub_pam_open_session || defined __stub___pam_open_session
   22422 choke me
   22423 #endif
   22424 
   22425 int
   22426 main ()
   22427 {
   22428 return pam_open_session ();
   22429   ;
   22430   return 0;
   22431 }
   22432 _ACEOF
   22433 rm -f conftest.$ac_objext conftest$ac_exeext
   22434 if { (ac_try="$ac_link"
   22435 case "(($ac_try" in
   22436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22437   *) ac_try_echo=$ac_try;;
   22438 esac
   22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22440   (eval "$ac_link") 2>conftest.er1
   22441   ac_status=$?
   22442   grep -v '^ *+' conftest.er1 >conftest.err
   22443   rm -f conftest.er1
   22444   cat conftest.err >&5
   22445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22446   (exit $ac_status); } && {
   22447 	 test -z "$ac_c_werror_flag" ||
   22448 	 test ! -s conftest.err
   22449        } && test -s conftest$ac_exeext &&
   22450        $as_test_x conftest$ac_exeext; then
   22451   ac_cv_func_pam_open_session=yes
   22452 else
   22453   echo "$as_me: failed program was:" >&5
   22454 sed 's/^/| /' conftest.$ac_ext >&5
   22455 
   22456 	ac_cv_func_pam_open_session=no
   22457 fi
   22458 
   22459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22460       conftest$ac_exeext conftest.$ac_ext
   22461 fi
   22462 { echo "$as_me:$LINENO: result: $ac_cv_func_pam_open_session" >&5
   22463 echo "${ECHO_T}$ac_cv_func_pam_open_session" >&6; }
   22464 if test $ac_cv_func_pam_open_session = yes; then
   22465 
   22466 cat >>confdefs.h <<\_ACEOF
   22467 #define USE_PAM 1
   22468 _ACEOF
   22469 
   22470 else
   22471   if test "x$USE_PAM" != "xtry" ; then
   22472 			{ { echo "$as_me:$LINENO: error: PAM support requested, but pam_open_session not found." >&5
   22473 echo "$as_me: error: PAM support requested, but pam_open_session not found." >&2;}
   22474    { (exit 1); exit 1; }; }
   22475 		 fi
   22476 fi
   22477 
   22478 fi
   22479 
   22480 # FIXME: Find better test for which OS'es use su -m  - for now, just try to
   22481 # mirror the Imakefile setting of:
   22482 # if  defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) || defined(DarwinArchitecture)
   22483 
   22484 
   22485 case $host_os in
   22486     linux*|gnu*|*-gnu)
   22487         OS_CFLAGS="-D_XOPEN_SOURCE"
   22488 	SU="su"
   22489         ;;
   22490     darwin*)
   22491         OS_CFLAGS="-D__DARWIN__ -DNO_LASTLOG"
   22492 	SU="su -m"
   22493         ;;
   22494     *bsd*|dragonfly*)
   22495         OS_CFLAGS="-DCSRG_BASED"
   22496 	SU="su -m"
   22497         ;;
   22498     solaris*|sysv4*)
   22499 	OS_CFLAGS=""
   22500 	SU="su"
   22501 	;;
   22502     *)
   22503         OS_CFLAGS=
   22504 	SU="su"
   22505         ;;
   22506 esac
   22507 
   22508 
   22509 # Check for /dev/random or /dev/urandom
   22510 
   22511 # Check whether --with-random-device was given.
   22512 if test "${with_random_device+set}" = set; then
   22513   withval=$with_random_device; RANDOM_DEVICE="$withval"
   22514 else
   22515   RANDOM_DEVICE="try"
   22516 fi
   22517 
   22518 
   22519 if test x$RANDOM_DEVICE = xyes -o x$RANDOM_DEVICE = xtry ; then
   22520 	{ echo "$as_me:$LINENO: checking for /dev/urandom" >&5
   22521 echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6; }
   22522 if test "${ac_cv_file__dev_urandom+set}" = set; then
   22523   echo $ECHO_N "(cached) $ECHO_C" >&6
   22524 else
   22525   test "$cross_compiling" = yes &&
   22526   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22527 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22528    { (exit 1); exit 1; }; }
   22529 if test -r "/dev/urandom"; then
   22530   ac_cv_file__dev_urandom=yes
   22531 else
   22532   ac_cv_file__dev_urandom=no
   22533 fi
   22534 fi
   22535 { echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&5
   22536 echo "${ECHO_T}$ac_cv_file__dev_urandom" >&6; }
   22537 if test $ac_cv_file__dev_urandom = yes; then
   22538   RANDOM_DEVICE=/dev/urandom
   22539 else
   22540   { echo "$as_me:$LINENO: checking for /dev/random" >&5
   22541 echo $ECHO_N "checking for /dev/random... $ECHO_C" >&6; }
   22542 if test "${ac_cv_file__dev_random+set}" = set; then
   22543   echo $ECHO_N "(cached) $ECHO_C" >&6
   22544 else
   22545   test "$cross_compiling" = yes &&
   22546   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22547 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22548    { (exit 1); exit 1; }; }
   22549 if test -r "/dev/random"; then
   22550   ac_cv_file__dev_random=yes
   22551 else
   22552   ac_cv_file__dev_random=no
   22553 fi
   22554 fi
   22555 { echo "$as_me:$LINENO: result: $ac_cv_file__dev_random" >&5
   22556 echo "${ECHO_T}$ac_cv_file__dev_random" >&6; }
   22557 if test $ac_cv_file__dev_random = yes; then
   22558   RANDOM_DEVICE=/dev/random
   22559 fi
   22560 
   22561 fi
   22562 
   22563 	if test x$RANDOM_DEVICE = xyes ; then
   22564 		{ { echo "$as_me:$LINENO: error: random device support requested, but no random device was found." >&5
   22565 echo "$as_me: error: random device support requested, but no random device was found." >&2;}
   22566    { (exit 1); exit 1; }; }
   22567 	else
   22568 		if test x$RANDOM_DEVICE = xtry ; then
   22569 			RANDOM_DEVICE="no"
   22570 		fi
   22571 	fi
   22572 fi
   22573 
   22574 if test x$RANDOM_DEVICE != xno ; then
   22575 
   22576 cat >>confdefs.h <<_ACEOF
   22577 #define DEV_RANDOM "$RANDOM_DEVICE"
   22578 _ACEOF
   22579 
   22580 	RANDOMMANDEFS="$RANDOMMANDEFS -DDEV_RANDOM=\\\"$RANDOM_DEVICE\\\""
   22581 fi
   22582 
   22583 
   22584 { echo "$as_me:$LINENO: checking for arc4random" >&5
   22585 echo $ECHO_N "checking for arc4random... $ECHO_C" >&6; }
   22586 if test "${ac_cv_func_arc4random+set}" = set; then
   22587   echo $ECHO_N "(cached) $ECHO_C" >&6
   22588 else
   22589   cat >conftest.$ac_ext <<_ACEOF
   22590 /* confdefs.h.  */
   22591 _ACEOF
   22592 cat confdefs.h >>conftest.$ac_ext
   22593 cat >>conftest.$ac_ext <<_ACEOF
   22594 /* end confdefs.h.  */
   22595 /* Define arc4random to an innocuous variant, in case <limits.h> declares arc4random.
   22596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   22597 #define arc4random innocuous_arc4random
   22598 
   22599 /* System header to define __stub macros and hopefully few prototypes,
   22600     which can conflict with char arc4random (); below.
   22601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22602     <limits.h> exists even on freestanding compilers.  */
   22603 
   22604 #ifdef __STDC__
   22605 # include <limits.h>
   22606 #else
   22607 # include <assert.h>
   22608 #endif
   22609 
   22610 #undef arc4random
   22611 
   22612 /* Override any GCC internal prototype to avoid an error.
   22613    Use char because int might match the return type of a GCC
   22614    builtin and then its argument prototype would still apply.  */
   22615 #ifdef __cplusplus
   22616 extern "C"
   22617 #endif
   22618 char arc4random ();
   22619 /* The GNU C library defines this for functions which it implements
   22620     to always fail with ENOSYS.  Some functions are actually named
   22621     something starting with __ and the normal name is an alias.  */
   22622 #if defined __stub_arc4random || defined __stub___arc4random
   22623 choke me
   22624 #endif
   22625 
   22626 int
   22627 main ()
   22628 {
   22629 return arc4random ();
   22630   ;
   22631   return 0;
   22632 }
   22633 _ACEOF
   22634 rm -f conftest.$ac_objext conftest$ac_exeext
   22635 if { (ac_try="$ac_link"
   22636 case "(($ac_try" in
   22637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22638   *) ac_try_echo=$ac_try;;
   22639 esac
   22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22641   (eval "$ac_link") 2>conftest.er1
   22642   ac_status=$?
   22643   grep -v '^ *+' conftest.er1 >conftest.err
   22644   rm -f conftest.er1
   22645   cat conftest.err >&5
   22646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22647   (exit $ac_status); } && {
   22648 	 test -z "$ac_c_werror_flag" ||
   22649 	 test ! -s conftest.err
   22650        } && test -s conftest$ac_exeext &&
   22651        $as_test_x conftest$ac_exeext; then
   22652   ac_cv_func_arc4random=yes
   22653 else
   22654   echo "$as_me: failed program was:" >&5
   22655 sed 's/^/| /' conftest.$ac_ext >&5
   22656 
   22657 	ac_cv_func_arc4random=no
   22658 fi
   22659 
   22660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22661       conftest$ac_exeext conftest.$ac_ext
   22662 fi
   22663 { echo "$as_me:$LINENO: result: $ac_cv_func_arc4random" >&5
   22664 echo "${ECHO_T}$ac_cv_func_arc4random" >&6; }
   22665 if test $ac_cv_func_arc4random = yes; then
   22666   HAS_ARC4_RANDOM="yes"
   22667 else
   22668   HAS_ARC4_RANDOM="no"
   22669 fi
   22670 
   22671  if test x$HAS_ARC4_RANDOM = xyes; then
   22672   HAS_ARC4_RANDOM_TRUE=
   22673   HAS_ARC4_RANDOM_FALSE='#'
   22674 else
   22675   HAS_ARC4_RANDOM_TRUE='#'
   22676   HAS_ARC4_RANDOM_FALSE=
   22677 fi
   22678 
   22679 if test x$HAS_ARC4_RANDOM = xyes ; then
   22680 
   22681 cat >>confdefs.h <<\_ACEOF
   22682 #define ARC4_RANDOM 1
   22683 _ACEOF
   22684 
   22685 	RANDOMMANDEFS="$RANDOMMANDEFS -DARC4_RANDOM"
   22686 fi
   22687 
   22688 
   22689 
   22690 # FIXME: find out how to check for these things. Note that Kerberos was
   22691 # turned off everywhere but on OpenBSD.
   22692  if false; then
   22693   HAS_KERBEROS_FIVE_TRUE=
   22694   HAS_KERBEROS_FIVE_FALSE='#'
   22695 else
   22696   HAS_KERBEROS_FIVE_TRUE='#'
   22697   HAS_KERBEROS_FIVE_FALSE=
   22698 fi
   22699 
   22700 
   22701 
   22702 # Figure out where everything goes in the filesystem
   22703 
   22704 
   22705 # Check whether --with-xdmlibdir was given.
   22706 if test "${with_xdmlibdir+set}" = set; then
   22707   withval=$with_xdmlibdir; XDMLIBDIR="$withval"
   22708 else
   22709   XDMLIBDIR="${libdir}/X11/xdm"
   22710 fi
   22711 
   22712 
   22713 
   22714 
   22715 # Check whether --with-xdmconfigdir was given.
   22716 if test "${with_xdmconfigdir+set}" = set; then
   22717   withval=$with_xdmconfigdir; XDMCONFIGDIR="$withval"
   22718 else
   22719   XDMCONFIGDIR="${XDMLIBDIR}"
   22720 fi
   22721 
   22722 
   22723 
   22724 
   22725 # Check whether --with-xdmscriptdir was given.
   22726 if test "${with_xdmscriptdir+set}" = set; then
   22727   withval=$with_xdmscriptdir; XDMSCRIPTDIR="$withval"
   22728 else
   22729   XDMSCRIPTDIR="${XDMLIBDIR}"
   22730 fi
   22731 
   22732 
   22733 
   22734 
   22735 # Check whether --with-logdir was given.
   22736 if test "${with_logdir+set}" = set; then
   22737   withval=$with_logdir; XDMLOGDIR="$withval"
   22738 else
   22739   XDMLOGDIR="/var/log"
   22740 fi
   22741 
   22742 
   22743 
   22744 
   22745 # Check whether --with-piddir was given.
   22746 if test "${with_piddir+set}" = set; then
   22747   withval=$with_piddir; XDMPIDDIR="$withval"
   22748 else
   22749   XDMPIDDIR="/var/run"
   22750 fi
   22751 
   22752 
   22753 
   22754 
   22755 # Check whether --with-default-vt was given.
   22756 if test "${with_default_vt+set}" = set; then
   22757   withval=$with_default_vt; DEFAULTVT="$withval"
   22758 else
   22759   DEFAULTVT=""
   22760 fi
   22761 
   22762 
   22763 
   22764 
   22765 # Check whether --with-config-type was given.
   22766 if test "${with_config_type+set}" = set; then
   22767   withval=$with_config_type; SERVERSTYPE="$withval"
   22768 else
   22769   SERVERSTYPE="ws"
   22770 fi
   22771 
   22772 
   22773 
   22774 case $host_os in
   22775     *sco*|*solaris*)
   22776 		SHELL_CMD="/bin/ksh"	;;
   22777     *)		SHELL_CMD="/bin/sh"	;;
   22778 esac
   22779 
   22780 
   22781 # Checks for pkg-config packages
   22782 
   22783 
   22784 
   22785 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22786 	if test -n "$ac_tool_prefix"; then
   22787   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22788 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   22790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   22791 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   22792   echo $ECHO_N "(cached) $ECHO_C" >&6
   22793 else
   22794   case $PKG_CONFIG in
   22795   [\\/]* | ?:[\\/]*)
   22796   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22797   ;;
   22798   *)
   22799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22800 for as_dir in $PATH
   22801 do
   22802   IFS=$as_save_IFS
   22803   test -z "$as_dir" && as_dir=.
   22804   for ac_exec_ext in '' $ac_executable_extensions; do
   22805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22806     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   22807     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22808     break 2
   22809   fi
   22810 done
   22811 done
   22812 IFS=$as_save_IFS
   22813 
   22814   ;;
   22815 esac
   22816 fi
   22817 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22818 if test -n "$PKG_CONFIG"; then
   22819   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   22820 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   22821 else
   22822   { echo "$as_me:$LINENO: result: no" >&5
   22823 echo "${ECHO_T}no" >&6; }
   22824 fi
   22825 
   22826 
   22827 fi
   22828 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22829   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22830   # Extract the first word of "pkg-config", so it can be a program name with args.
   22831 set dummy pkg-config; ac_word=$2
   22832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   22833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   22834 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   22835   echo $ECHO_N "(cached) $ECHO_C" >&6
   22836 else
   22837   case $ac_pt_PKG_CONFIG in
   22838   [\\/]* | ?:[\\/]*)
   22839   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22840   ;;
   22841   *)
   22842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22843 for as_dir in $PATH
   22844 do
   22845   IFS=$as_save_IFS
   22846   test -z "$as_dir" && as_dir=.
   22847   for ac_exec_ext in '' $ac_executable_extensions; do
   22848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22849     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   22850     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22851     break 2
   22852   fi
   22853 done
   22854 done
   22855 IFS=$as_save_IFS
   22856 
   22857   ;;
   22858 esac
   22859 fi
   22860 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22861 if test -n "$ac_pt_PKG_CONFIG"; then
   22862   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   22863 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   22864 else
   22865   { echo "$as_me:$LINENO: result: no" >&5
   22866 echo "${ECHO_T}no" >&6; }
   22867 fi
   22868 
   22869   if test "x$ac_pt_PKG_CONFIG" = x; then
   22870     PKG_CONFIG=""
   22871   else
   22872     case $cross_compiling:$ac_tool_warned in
   22873 yes:)
   22874 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   22875 whose name does not start with the host triplet.  If you think this
   22876 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   22877 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   22878 whose name does not start with the host triplet.  If you think this
   22879 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   22880 ac_tool_warned=yes ;;
   22881 esac
   22882     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22883   fi
   22884 else
   22885   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22886 fi
   22887 
   22888 fi
   22889 if test -n "$PKG_CONFIG"; then
   22890 	_pkg_min_version=0.9.0
   22891 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   22892 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   22893 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22894 		{ echo "$as_me:$LINENO: result: yes" >&5
   22895 echo "${ECHO_T}yes" >&6; }
   22896 	else
   22897 		{ echo "$as_me:$LINENO: result: no" >&5
   22898 echo "${ECHO_T}no" >&6; }
   22899 		PKG_CONFIG=""
   22900 	fi
   22901 
   22902 fi
   22903 
   22904 pkg_failed=no
   22905 { echo "$as_me:$LINENO: checking for XDM" >&5
   22906 echo $ECHO_N "checking for XDM... $ECHO_C" >&6; }
   22907 
   22908 if test -n "$PKG_CONFIG"; then
   22909         if test -n "$PKG_CONFIG" && \
   22910     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmu x11 xau\"") >&5
   22911   ($PKG_CONFIG --exists --print-errors "xmu x11 xau") 2>&5
   22912   ac_status=$?
   22913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22914   (exit $ac_status); }; then
   22915   pkg_cv_XDM_CFLAGS=`$PKG_CONFIG --cflags "xmu x11 xau" 2>/dev/null`
   22916 else
   22917   pkg_failed=yes
   22918 fi
   22919 else
   22920 	pkg_failed=untried
   22921 fi
   22922 if test -n "$PKG_CONFIG"; then
   22923         if test -n "$PKG_CONFIG" && \
   22924     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmu x11 xau\"") >&5
   22925   ($PKG_CONFIG --exists --print-errors "xmu x11 xau") 2>&5
   22926   ac_status=$?
   22927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22928   (exit $ac_status); }; then
   22929   pkg_cv_XDM_LIBS=`$PKG_CONFIG --libs "xmu x11 xau" 2>/dev/null`
   22930 else
   22931   pkg_failed=yes
   22932 fi
   22933 else
   22934 	pkg_failed=untried
   22935 fi
   22936 
   22937 if test $pkg_failed = yes; then
   22938 	XDM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmu x11 xau"`
   22939 	# Put the nasty error message in config.log where it belongs
   22940 	echo "$XDM_PKG_ERRORS" 1>&5
   22941 
   22942 	{ { echo "$as_me:$LINENO: error: Package requirements (xmu x11 xau) were not met.
   22943 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22944 installed software in a non-standard prefix.
   22945 
   22946 Alternatively you may set the XDM_CFLAGS and XDM_LIBS environment variables
   22947 to avoid the need to call pkg-config.  See the pkg-config man page for
   22948 more details." >&5
   22949 echo "$as_me: error: Package requirements (xmu x11 xau) were not met.
   22950 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22951 installed software in a non-standard prefix.
   22952 
   22953 Alternatively you may set the XDM_CFLAGS and XDM_LIBS environment variables
   22954 to avoid the need to call pkg-config.  See the pkg-config man page for
   22955 more details." >&2;}
   22956    { (exit 1); exit 1; }; }
   22957 elif test $pkg_failed = untried; then
   22958 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22959 is in your PATH or set the PKG_CONFIG environment variable to the full
   22960 path to pkg-config.
   22961 
   22962 Alternatively you may set the XDM_CFLAGS and XDM_LIBS environment variables
   22963 to avoid the need to call pkg-config.  See the pkg-config man page for
   22964 more details.
   22965 
   22966 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   22967 See \`config.log' for more details." >&5
   22968 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22969 is in your PATH or set the PKG_CONFIG environment variable to the full
   22970 path to pkg-config.
   22971 
   22972 Alternatively you may set the XDM_CFLAGS and XDM_LIBS environment variables
   22973 to avoid the need to call pkg-config.  See the pkg-config man page for
   22974 more details.
   22975 
   22976 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   22977 See \`config.log' for more details." >&2;}
   22978    { (exit 1); exit 1; }; }
   22979 else
   22980 	XDM_CFLAGS=$pkg_cv_XDM_CFLAGS
   22981 	XDM_LIBS=$pkg_cv_XDM_LIBS
   22982         { echo "$as_me:$LINENO: result: yes" >&5
   22983 echo "${ECHO_T}yes" >&6; }
   22984 	:
   22985 fi
   22986 
   22987 XDM_LIBS="$XDM_LIBS $XDM_OS_LIBS"
   22988 
   22989 if test -n "$PKG_CONFIG" && \
   22990     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xinerama\"") >&5
   22991   ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
   22992   ac_status=$?
   22993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22994   (exit $ac_status); }; then
   22995 
   22996 
   22997 cat >>confdefs.h <<\_ACEOF
   22998 #define USE_XINERAMA 1
   22999 _ACEOF
   23000 
   23001 
   23002 pkg_failed=no
   23003 { echo "$as_me:$LINENO: checking for XINERAMA" >&5
   23004 echo $ECHO_N "checking for XINERAMA... $ECHO_C" >&6; }
   23005 
   23006 if test -n "$PKG_CONFIG"; then
   23007         if test -n "$PKG_CONFIG" && \
   23008     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xinerama\"") >&5
   23009   ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
   23010   ac_status=$?
   23011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23012   (exit $ac_status); }; then
   23013   pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama" 2>/dev/null`
   23014 else
   23015   pkg_failed=yes
   23016 fi
   23017 else
   23018 	pkg_failed=untried
   23019 fi
   23020 if test -n "$PKG_CONFIG"; then
   23021         if test -n "$PKG_CONFIG" && \
   23022     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xinerama\"") >&5
   23023   ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
   23024   ac_status=$?
   23025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23026   (exit $ac_status); }; then
   23027   pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama" 2>/dev/null`
   23028 else
   23029   pkg_failed=yes
   23030 fi
   23031 else
   23032 	pkg_failed=untried
   23033 fi
   23034 
   23035 if test $pkg_failed = yes; then
   23036 	XINERAMA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xinerama"`
   23037 	# Put the nasty error message in config.log where it belongs
   23038 	echo "$XINERAMA_PKG_ERRORS" 1>&5
   23039 
   23040 	{ { echo "$as_me:$LINENO: error: Package requirements (xinerama) were not met.
   23041 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23042 installed software in a non-standard prefix.
   23043 
   23044 Alternatively you may set the XINERAMA_CFLAGS and XINERAMA_LIBS environment variables
   23045 to avoid the need to call pkg-config.  See the pkg-config man page for
   23046 more details." >&5
   23047 echo "$as_me: error: Package requirements (xinerama) were not met.
   23048 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23049 installed software in a non-standard prefix.
   23050 
   23051 Alternatively you may set the XINERAMA_CFLAGS and XINERAMA_LIBS environment variables
   23052 to avoid the need to call pkg-config.  See the pkg-config man page for
   23053 more details." >&2;}
   23054    { (exit 1); exit 1; }; }
   23055 elif test $pkg_failed = untried; then
   23056 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23057 is in your PATH or set the PKG_CONFIG environment variable to the full
   23058 path to pkg-config.
   23059 
   23060 Alternatively you may set the XINERAMA_CFLAGS and XINERAMA_LIBS environment variables
   23061 to avoid the need to call pkg-config.  See the pkg-config man page for
   23062 more details.
   23063 
   23064 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23065 See \`config.log' for more details." >&5
   23066 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23067 is in your PATH or set the PKG_CONFIG environment variable to the full
   23068 path to pkg-config.
   23069 
   23070 Alternatively you may set the XINERAMA_CFLAGS and XINERAMA_LIBS environment variables
   23071 to avoid the need to call pkg-config.  See the pkg-config man page for
   23072 more details.
   23073 
   23074 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23075 See \`config.log' for more details." >&2;}
   23076    { (exit 1); exit 1; }; }
   23077 else
   23078 	XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS
   23079 	XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS
   23080         { echo "$as_me:$LINENO: result: yes" >&5
   23081 echo "${ECHO_T}yes" >&6; }
   23082 	:
   23083 fi
   23084 	XDM_CFLAGS="$XDM_CFLAGS $XINERAMA_CFLAGS"
   23085 	XDM_LIBS="$XDM_LIBS $XINERAMA_LIBS"
   23086 	CHOOSER_CFLAGS="$CHOOSER_CFLAGS $XINERAMA_CFLAGS"
   23087 	CHOOSER_LIBS="$CHOOSER_LIBS $XINERAMA_LIBS"
   23088 	GREETER_CFLAGS="$GREETER_CFLAGS $XINERAMA_CFLAGS"
   23089 	GREETER_LIBS="$GREETER_LIBS $XINERAMA_LIBS"
   23090 
   23091 fi
   23092 
   23093 # Xft text drawing for the greeter screen
   23094 
   23095 # Check whether --with-xft was given.
   23096 if test "${with_xft+set}" = set; then
   23097   withval=$with_xft; USE_XFT="$withval"
   23098 else
   23099   if test -n "$PKG_CONFIG" && \
   23100     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft\"") >&5
   23101   ($PKG_CONFIG --exists --print-errors "xft") 2>&5
   23102   ac_status=$?
   23103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23104   (exit $ac_status); }; then
   23105   USE_XFT="yes"
   23106 else
   23107   USE_XFT="no"
   23108 fi
   23109 fi
   23110 
   23111 
   23112 if test "x$USE_XFT" = "xyes" ; then
   23113 
   23114 pkg_failed=no
   23115 { echo "$as_me:$LINENO: checking for XFT" >&5
   23116 echo $ECHO_N "checking for XFT... $ECHO_C" >&6; }
   23117 
   23118 if test -n "$PKG_CONFIG"; then
   23119         if test -n "$PKG_CONFIG" && \
   23120     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft\"") >&5
   23121   ($PKG_CONFIG --exists --print-errors "xft") 2>&5
   23122   ac_status=$?
   23123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23124   (exit $ac_status); }; then
   23125   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft" 2>/dev/null`
   23126 else
   23127   pkg_failed=yes
   23128 fi
   23129 else
   23130 	pkg_failed=untried
   23131 fi
   23132 if test -n "$PKG_CONFIG"; then
   23133         if test -n "$PKG_CONFIG" && \
   23134     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft\"") >&5
   23135   ($PKG_CONFIG --exists --print-errors "xft") 2>&5
   23136   ac_status=$?
   23137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23138   (exit $ac_status); }; then
   23139   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft" 2>/dev/null`
   23140 else
   23141   pkg_failed=yes
   23142 fi
   23143 else
   23144 	pkg_failed=untried
   23145 fi
   23146 
   23147 if test $pkg_failed = yes; then
   23148 	XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft"`
   23149 	# Put the nasty error message in config.log where it belongs
   23150 	echo "$XFT_PKG_ERRORS" 1>&5
   23151 
   23152 	{ { echo "$as_me:$LINENO: error: Package requirements (xft) were not met.
   23153 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23154 installed software in a non-standard prefix.
   23155 
   23156 Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
   23157 to avoid the need to call pkg-config.  See the pkg-config man page for
   23158 more details." >&5
   23159 echo "$as_me: error: Package requirements (xft) were not met.
   23160 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23161 installed software in a non-standard prefix.
   23162 
   23163 Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
   23164 to avoid the need to call pkg-config.  See the pkg-config man page for
   23165 more details." >&2;}
   23166    { (exit 1); exit 1; }; }
   23167 elif test $pkg_failed = untried; then
   23168 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23169 is in your PATH or set the PKG_CONFIG environment variable to the full
   23170 path to pkg-config.
   23171 
   23172 Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
   23173 to avoid the need to call pkg-config.  See the pkg-config man page for
   23174 more details.
   23175 
   23176 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23177 See \`config.log' for more details." >&5
   23178 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23179 is in your PATH or set the PKG_CONFIG environment variable to the full
   23180 path to pkg-config.
   23181 
   23182 Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
   23183 to avoid the need to call pkg-config.  See the pkg-config man page for
   23184 more details.
   23185 
   23186 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23187 See \`config.log' for more details." >&2;}
   23188    { (exit 1); exit 1; }; }
   23189 else
   23190 	XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
   23191 	XFT_LIBS=$pkg_cv_XFT_LIBS
   23192         { echo "$as_me:$LINENO: result: yes" >&5
   23193 echo "${ECHO_T}yes" >&6; }
   23194 	:
   23195 fi
   23196 	GREETER_CFLAGS="$GREETER_CFLAGS $XFT_CFLAGS"
   23197 	GREETER_LIBS="$GREETER_LIBS $XFT_LIBS"
   23198 
   23199 cat >>confdefs.h <<\_ACEOF
   23200 #define USE_XFT 1
   23201 _ACEOF
   23202 
   23203 fi
   23204 
   23205 # XPM logos for the greeter screen
   23206 # Check whether --enable-xpm-logos was given.
   23207 if test "${enable_xpm_logos+set}" = set; then
   23208   enableval=$enable_xpm_logos; USE_XPM="$enableval"
   23209 else
   23210   if test -n "$PKG_CONFIG" && \
   23211     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xpm\"") >&5
   23212   ($PKG_CONFIG --exists --print-errors "xpm") 2>&5
   23213   ac_status=$?
   23214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23215   (exit $ac_status); }; then
   23216   USE_XPM="yes"
   23217 else
   23218   USE_XPM="no"
   23219 fi
   23220 fi
   23221 
   23222 if test "x$USE_XPM" = "xyes" ; then
   23223 
   23224 pkg_failed=no
   23225 { echo "$as_me:$LINENO: checking for XPM" >&5
   23226 echo $ECHO_N "checking for XPM... $ECHO_C" >&6; }
   23227 
   23228 if test -n "$PKG_CONFIG"; then
   23229         if test -n "$PKG_CONFIG" && \
   23230     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xpm\"") >&5
   23231   ($PKG_CONFIG --exists --print-errors "xpm") 2>&5
   23232   ac_status=$?
   23233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23234   (exit $ac_status); }; then
   23235   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xpm" 2>/dev/null`
   23236 else
   23237   pkg_failed=yes
   23238 fi
   23239 else
   23240 	pkg_failed=untried
   23241 fi
   23242 if test -n "$PKG_CONFIG"; then
   23243         if test -n "$PKG_CONFIG" && \
   23244     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xpm\"") >&5
   23245   ($PKG_CONFIG --exists --print-errors "xpm") 2>&5
   23246   ac_status=$?
   23247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23248   (exit $ac_status); }; then
   23249   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xpm" 2>/dev/null`
   23250 else
   23251   pkg_failed=yes
   23252 fi
   23253 else
   23254 	pkg_failed=untried
   23255 fi
   23256 
   23257 if test $pkg_failed = yes; then
   23258 	XPM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xpm"`
   23259 	# Put the nasty error message in config.log where it belongs
   23260 	echo "$XPM_PKG_ERRORS" 1>&5
   23261 
   23262 	{ { echo "$as_me:$LINENO: error: Package requirements (xpm) were not met.
   23263 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23264 installed software in a non-standard prefix.
   23265 
   23266 Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
   23267 to avoid the need to call pkg-config.  See the pkg-config man page for
   23268 more details." >&5
   23269 echo "$as_me: error: Package requirements (xpm) were not met.
   23270 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23271 installed software in a non-standard prefix.
   23272 
   23273 Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
   23274 to avoid the need to call pkg-config.  See the pkg-config man page for
   23275 more details." >&2;}
   23276    { (exit 1); exit 1; }; }
   23277 elif test $pkg_failed = untried; then
   23278 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23279 is in your PATH or set the PKG_CONFIG environment variable to the full
   23280 path to pkg-config.
   23281 
   23282 Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
   23283 to avoid the need to call pkg-config.  See the pkg-config man page for
   23284 more details.
   23285 
   23286 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23287 See \`config.log' for more details." >&5
   23288 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23289 is in your PATH or set the PKG_CONFIG environment variable to the full
   23290 path to pkg-config.
   23291 
   23292 Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
   23293 to avoid the need to call pkg-config.  See the pkg-config man page for
   23294 more details.
   23295 
   23296 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23297 See \`config.log' for more details." >&2;}
   23298    { (exit 1); exit 1; }; }
   23299 else
   23300 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   23301 	XPM_LIBS=$pkg_cv_XPM_LIBS
   23302         { echo "$as_me:$LINENO: result: yes" >&5
   23303 echo "${ECHO_T}yes" >&6; }
   23304 	:
   23305 fi
   23306 	XDM_CFLAGS="$XDM_CFLAGS $XPM_CFLAGS"
   23307 	XDM_LIBS="$XDM_LIBS $XPM_LIBS"
   23308 	GREETER_CFLAGS="$GREETER_CFLAGS $XPM_CFLAGS"
   23309 	GREETER_LIBS="$GREETER_LIBS $XPM_LIBS"
   23310 
   23311 cat >>confdefs.h <<\_ACEOF
   23312 #define XPM 1
   23313 _ACEOF
   23314 
   23315 fi
   23316  if test "x$USE_XPM" = "xyes"; then
   23317   USE_XPM_TRUE=
   23318   USE_XPM_FALSE='#'
   23319 else
   23320   USE_XPM_TRUE='#'
   23321   USE_XPM_FALSE=
   23322 fi
   23323 
   23324 
   23325 
   23326 # Check whether --with-color-pixmap was given.
   23327 if test "${with_color_pixmap+set}" = set; then
   23328   withval=$with_color_pixmap; XDM_PIXMAP="$withval"
   23329 else
   23330   XDM_PIXMAP="xorg.xpm"
   23331 fi
   23332 
   23333 
   23334 # Check whether --with-bw-pixmap was given.
   23335 if test "${with_bw_pixmap+set}" = set; then
   23336   withval=$with_bw_pixmap; XDM_BWPIXMAP="$withval"
   23337 else
   23338   XDM_BWPIXMAP="xorg-bw.xpm"
   23339 fi
   23340 
   23341 
   23342 # Check whether --with-pixmapdir was given.
   23343 if test "${with_pixmapdir+set}" = set; then
   23344   withval=$with_pixmapdir; XDM_PIXMAPDIR="$withval"
   23345 else
   23346   XDM_PIXMAPDIR='${XDMLIBDIR}/pixmaps'
   23347 fi
   23348 
   23349 
   23350 
   23351 
   23352 
   23353 
   23354 # Packages used by multiple programs
   23355 
   23356 
   23357 	# Check whether --enable-xprint was given.
   23358 if test "${enable_xprint+set}" = set; then
   23359   enableval=$enable_xprint; use_xprint=$enableval
   23360 else
   23361   use_xprint=auto
   23362 fi
   23363 
   23364 	if test "x$use_xprint" = "xyes"; then
   23365 		TMP_CHECK1=xaw8
   23366 		TMP_CHECK2=
   23367 		xaw_use_xprint=yes
   23368 	elif test "x$use_xprint" = "xno"; then
   23369 		TMP_CHECK1=xaw7
   23370 		TMP_CHECK2=
   23371 		xaw_use_xprint=no
   23372 	else
   23373 		TMP_CHECK1=xaw8
   23374 		TMP_CHECK2=xaw7
   23375 		xaw_use_xprint=yes
   23376 	fi
   23377 
   23378 
   23379 pkg_failed=no
   23380 { echo "$as_me:$LINENO: checking for TMP_XAW" >&5
   23381 echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
   23382 
   23383 if test -n "$PKG_CONFIG"; then
   23384         if test -n "$PKG_CONFIG" && \
   23385     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
   23386   ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
   23387   ac_status=$?
   23388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23389   (exit $ac_status); }; then
   23390   pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
   23391 else
   23392   pkg_failed=yes
   23393 fi
   23394 else
   23395 	pkg_failed=untried
   23396 fi
   23397 if test -n "$PKG_CONFIG"; then
   23398         if test -n "$PKG_CONFIG" && \
   23399     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
   23400   ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
   23401   ac_status=$?
   23402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23403   (exit $ac_status); }; then
   23404   pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
   23405 else
   23406   pkg_failed=yes
   23407 fi
   23408 else
   23409 	pkg_failed=untried
   23410 fi
   23411 
   23412 if test $pkg_failed = yes; then
   23413 	TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
   23414 	# Put the nasty error message in config.log where it belongs
   23415 	echo "$TMP_XAW_PKG_ERRORS" 1>&5
   23416 
   23417 	success=no
   23418 elif test $pkg_failed = untried; then
   23419 	success=no
   23420 else
   23421 	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
   23422 	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
   23423         { echo "$as_me:$LINENO: result: yes" >&5
   23424 echo "${ECHO_T}yes" >&6; }
   23425 	success=yes
   23426 fi
   23427 	if [ ! -z $TMP_CHECK2 ] ; then
   23428 		if test $success = no ; then
   23429 
   23430 pkg_failed=no
   23431 { echo "$as_me:$LINENO: checking for TMP_XAW" >&5
   23432 echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
   23433 
   23434 if test -n "$PKG_CONFIG"; then
   23435         if test -n "$PKG_CONFIG" && \
   23436     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
   23437   ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
   23438   ac_status=$?
   23439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23440   (exit $ac_status); }; then
   23441   pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
   23442 else
   23443   pkg_failed=yes
   23444 fi
   23445 else
   23446 	pkg_failed=untried
   23447 fi
   23448 if test -n "$PKG_CONFIG"; then
   23449         if test -n "$PKG_CONFIG" && \
   23450     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
   23451   ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
   23452   ac_status=$?
   23453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23454   (exit $ac_status); }; then
   23455   pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
   23456 else
   23457   pkg_failed=yes
   23458 fi
   23459 else
   23460 	pkg_failed=untried
   23461 fi
   23462 
   23463 if test $pkg_failed = yes; then
   23464 	TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
   23465 	# Put the nasty error message in config.log where it belongs
   23466 	echo "$TMP_XAW_PKG_ERRORS" 1>&5
   23467 
   23468 	success=no
   23469 elif test $pkg_failed = untried; then
   23470 	success=no
   23471 else
   23472 	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
   23473 	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
   23474         { echo "$as_me:$LINENO: result: yes" >&5
   23475 echo "${ECHO_T}yes" >&6; }
   23476 	success=yes
   23477 fi
   23478 			xaw_use_xprint=no
   23479 		fi
   23480 	fi
   23481 
   23482 	if test "x$success" = "xyes"; then
   23483 		XDM_PRINT_CFLAGS=$TMP_XAW_CFLAGS
   23484 		XDM_PRINT_LIBS=$TMP_XAW_LIBS
   23485 
   23486 		 if test "x$xaw_use_xprint" = "xyes"; then
   23487   XAW_USE_XPRINT_TRUE=
   23488   XAW_USE_XPRINT_FALSE='#'
   23489 else
   23490   XAW_USE_XPRINT_TRUE='#'
   23491   XAW_USE_XPRINT_FALSE=
   23492 fi
   23493 
   23494 	else
   23495 		{ { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
   23496 echo "$as_me: error: No suitable version of Xaw found" >&2;}
   23497    { (exit 1); exit 1; }; }
   23498 	fi
   23499 
   23500 
   23501 pkg_failed=no
   23502 { echo "$as_me:$LINENO: checking for DMCP" >&5
   23503 echo $ECHO_N "checking for DMCP... $ECHO_C" >&6; }
   23504 
   23505 if test -n "$PKG_CONFIG"; then
   23506         if test -n "$PKG_CONFIG" && \
   23507     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xdmcp\"") >&5
   23508   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   23509   ac_status=$?
   23510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23511   (exit $ac_status); }; then
   23512   pkg_cv_DMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   23513 else
   23514   pkg_failed=yes
   23515 fi
   23516 else
   23517 	pkg_failed=untried
   23518 fi
   23519 if test -n "$PKG_CONFIG"; then
   23520         if test -n "$PKG_CONFIG" && \
   23521     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xdmcp\"") >&5
   23522   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   23523   ac_status=$?
   23524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23525   (exit $ac_status); }; then
   23526   pkg_cv_DMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   23527 else
   23528   pkg_failed=yes
   23529 fi
   23530 else
   23531 	pkg_failed=untried
   23532 fi
   23533 
   23534 if test $pkg_failed = yes; then
   23535 	DMCP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xdmcp"`
   23536 	# Put the nasty error message in config.log where it belongs
   23537 	echo "$DMCP_PKG_ERRORS" 1>&5
   23538 
   23539 	{ { echo "$as_me:$LINENO: error: Package requirements (xdmcp) were not met.
   23540 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23541 installed software in a non-standard prefix.
   23542 
   23543 Alternatively you may set the DMCP_CFLAGS and DMCP_LIBS environment variables
   23544 to avoid the need to call pkg-config.  See the pkg-config man page for
   23545 more details." >&5
   23546 echo "$as_me: error: Package requirements (xdmcp) were not met.
   23547 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23548 installed software in a non-standard prefix.
   23549 
   23550 Alternatively you may set the DMCP_CFLAGS and DMCP_LIBS environment variables
   23551 to avoid the need to call pkg-config.  See the pkg-config man page for
   23552 more details." >&2;}
   23553    { (exit 1); exit 1; }; }
   23554 elif test $pkg_failed = untried; then
   23555 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23556 is in your PATH or set the PKG_CONFIG environment variable to the full
   23557 path to pkg-config.
   23558 
   23559 Alternatively you may set the DMCP_CFLAGS and DMCP_LIBS environment variables
   23560 to avoid the need to call pkg-config.  See the pkg-config man page for
   23561 more details.
   23562 
   23563 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23564 See \`config.log' for more details." >&5
   23565 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23566 is in your PATH or set the PKG_CONFIG environment variable to the full
   23567 path to pkg-config.
   23568 
   23569 Alternatively you may set the DMCP_CFLAGS and DMCP_LIBS environment variables
   23570 to avoid the need to call pkg-config.  See the pkg-config man page for
   23571 more details.
   23572 
   23573 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23574 See \`config.log' for more details." >&2;}
   23575    { (exit 1); exit 1; }; }
   23576 else
   23577 	DMCP_CFLAGS=$pkg_cv_DMCP_CFLAGS
   23578 	DMCP_LIBS=$pkg_cv_DMCP_LIBS
   23579         { echo "$as_me:$LINENO: result: yes" >&5
   23580 echo "${ECHO_T}yes" >&6; }
   23581 	:
   23582 fi
   23583 
   23584 pkg_failed=no
   23585 { echo "$as_me:$LINENO: checking for XLIB" >&5
   23586 echo $ECHO_N "checking for XLIB... $ECHO_C" >&6; }
   23587 
   23588 if test -n "$PKG_CONFIG"; then
   23589         if test -n "$PKG_CONFIG" && \
   23590     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   23591   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   23592   ac_status=$?
   23593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23594   (exit $ac_status); }; then
   23595   pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   23596 else
   23597   pkg_failed=yes
   23598 fi
   23599 else
   23600 	pkg_failed=untried
   23601 fi
   23602 if test -n "$PKG_CONFIG"; then
   23603         if test -n "$PKG_CONFIG" && \
   23604     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   23605   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   23606   ac_status=$?
   23607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23608   (exit $ac_status); }; then
   23609   pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   23610 else
   23611   pkg_failed=yes
   23612 fi
   23613 else
   23614 	pkg_failed=untried
   23615 fi
   23616 
   23617 if test $pkg_failed = yes; then
   23618 	XLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
   23619 	# Put the nasty error message in config.log where it belongs
   23620 	echo "$XLIB_PKG_ERRORS" 1>&5
   23621 
   23622 	{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met.
   23623 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23624 installed software in a non-standard prefix.
   23625 
   23626 Alternatively you may set the XLIB_CFLAGS and XLIB_LIBS environment variables
   23627 to avoid the need to call pkg-config.  See the pkg-config man page for
   23628 more details." >&5
   23629 echo "$as_me: error: Package requirements (x11) were not met.
   23630 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23631 installed software in a non-standard prefix.
   23632 
   23633 Alternatively you may set the XLIB_CFLAGS and XLIB_LIBS environment variables
   23634 to avoid the need to call pkg-config.  See the pkg-config man page for
   23635 more details." >&2;}
   23636    { (exit 1); exit 1; }; }
   23637 elif test $pkg_failed = untried; then
   23638 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23639 is in your PATH or set the PKG_CONFIG environment variable to the full
   23640 path to pkg-config.
   23641 
   23642 Alternatively you may set the XLIB_CFLAGS and XLIB_LIBS environment variables
   23643 to avoid the need to call pkg-config.  See the pkg-config man page for
   23644 more details.
   23645 
   23646 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23647 See \`config.log' for more details." >&5
   23648 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23649 is in your PATH or set the PKG_CONFIG environment variable to the full
   23650 path to pkg-config.
   23651 
   23652 Alternatively you may set the XLIB_CFLAGS and XLIB_LIBS environment variables
   23653 to avoid the need to call pkg-config.  See the pkg-config man page for
   23654 more details.
   23655 
   23656 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23657 See \`config.log' for more details." >&2;}
   23658    { (exit 1); exit 1; }; }
   23659 else
   23660 	XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
   23661 	XLIB_LIBS=$pkg_cv_XLIB_LIBS
   23662         { echo "$as_me:$LINENO: result: yes" >&5
   23663 echo "${ECHO_T}yes" >&6; }
   23664 	:
   23665 fi
   23666 
   23667 pkg_failed=no
   23668 { echo "$as_me:$LINENO: checking for AUTH" >&5
   23669 echo $ECHO_N "checking for AUTH... $ECHO_C" >&6; }
   23670 
   23671 if test -n "$PKG_CONFIG"; then
   23672         if test -n "$PKG_CONFIG" && \
   23673     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xau\"") >&5
   23674   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   23675   ac_status=$?
   23676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23677   (exit $ac_status); }; then
   23678   pkg_cv_AUTH_CFLAGS=`$PKG_CONFIG --cflags "xau" 2>/dev/null`
   23679 else
   23680   pkg_failed=yes
   23681 fi
   23682 else
   23683 	pkg_failed=untried
   23684 fi
   23685 if test -n "$PKG_CONFIG"; then
   23686         if test -n "$PKG_CONFIG" && \
   23687     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xau\"") >&5
   23688   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   23689   ac_status=$?
   23690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23691   (exit $ac_status); }; then
   23692   pkg_cv_AUTH_LIBS=`$PKG_CONFIG --libs "xau" 2>/dev/null`
   23693 else
   23694   pkg_failed=yes
   23695 fi
   23696 else
   23697 	pkg_failed=untried
   23698 fi
   23699 
   23700 if test $pkg_failed = yes; then
   23701 	AUTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xau"`
   23702 	# Put the nasty error message in config.log where it belongs
   23703 	echo "$AUTH_PKG_ERRORS" 1>&5
   23704 
   23705 	{ { echo "$as_me:$LINENO: error: Package requirements (xau) were not met.
   23706 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23707 installed software in a non-standard prefix.
   23708 
   23709 Alternatively you may set the AUTH_CFLAGS and AUTH_LIBS environment variables
   23710 to avoid the need to call pkg-config.  See the pkg-config man page for
   23711 more details." >&5
   23712 echo "$as_me: error: Package requirements (xau) were not met.
   23713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23714 installed software in a non-standard prefix.
   23715 
   23716 Alternatively you may set the AUTH_CFLAGS and AUTH_LIBS environment variables
   23717 to avoid the need to call pkg-config.  See the pkg-config man page for
   23718 more details." >&2;}
   23719    { (exit 1); exit 1; }; }
   23720 elif test $pkg_failed = untried; then
   23721 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23722 is in your PATH or set the PKG_CONFIG environment variable to the full
   23723 path to pkg-config.
   23724 
   23725 Alternatively you may set the AUTH_CFLAGS and AUTH_LIBS environment variables
   23726 to avoid the need to call pkg-config.  See the pkg-config man page for
   23727 more details.
   23728 
   23729 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23730 See \`config.log' for more details." >&5
   23731 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23732 is in your PATH or set the PKG_CONFIG environment variable to the full
   23733 path to pkg-config.
   23734 
   23735 Alternatively you may set the AUTH_CFLAGS and AUTH_LIBS environment variables
   23736 to avoid the need to call pkg-config.  See the pkg-config man page for
   23737 more details.
   23738 
   23739 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23740 See \`config.log' for more details." >&2;}
   23741    { (exit 1); exit 1; }; }
   23742 else
   23743 	AUTH_CFLAGS=$pkg_cv_AUTH_CFLAGS
   23744 	AUTH_LIBS=$pkg_cv_AUTH_LIBS
   23745         { echo "$as_me:$LINENO: result: yes" >&5
   23746 echo "${ECHO_T}yes" >&6; }
   23747 	:
   23748 fi
   23749 
   23750 #
   23751 # Greeter
   23752 #
   23753 
   23754 { echo "$as_me:$LINENO: checking if the greeter should be built as a dynamically loaded shared object" >&5
   23755 echo $ECHO_N "checking if the greeter should be built as a dynamically loaded shared object... $ECHO_C" >&6; }
   23756 
   23757 # Check whether --enable-dynamic-greeter was given.
   23758 if test "${enable_dynamic_greeter+set}" = set; then
   23759   enableval=$enable_dynamic_greeter; DYNAMIC_GREETER="$enableval"
   23760 else
   23761   DYNAMIC_GREETER="auto"
   23762 fi
   23763 
   23764 
   23765 # Not all OS'es built dynamic greeter in monolith, but all the ones supported
   23766 # in the modular tree should be able to use it.   We'll leave this here in case
   23767 # some are found that can't.
   23768 if test "x$DYNAMIC_GREETER" = "xauto" ; then
   23769 	case $host_os in
   23770 	    *)	DYNAMIC_GREETER="yes" ;;
   23771 	esac
   23772 fi
   23773 
   23774 { echo "$as_me:$LINENO: result: $DYNAMIC_GREETER" >&5
   23775 echo "${ECHO_T}$DYNAMIC_GREETER" >&6; }
   23776 
   23777 if test "x$DYNAMIC_GREETER" = "xyes" ; then
   23778 
   23779 	GREETER_CFLAGS="$GREETER_CFLAGS -DGREET_LIB"
   23780 
   23781 	# The xdm binary needs to export symbols so that they can be used from
   23782 	# libXdmGreet.so.  Some platforms require extra flags to do this.
   23783 	# gcc should set these flags when -rdynamic is passed to it, other
   23784 	# compilers/linkers may need to be added
   23785 	if test "x$GCC" = "xyes"; then
   23786 		XDM_LDFLAGS="$XDM_LDFLAGS -rdynamic"
   23787 	fi
   23788 
   23789 
   23790 pkg_failed=no
   23791 { echo "$as_me:$LINENO: checking for XDMGREET" >&5
   23792 echo $ECHO_N "checking for XDMGREET... $ECHO_C" >&6; }
   23793 
   23794 if test -n "$PKG_CONFIG"; then
   23795         if test -n "$PKG_CONFIG" && \
   23796     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt x11 xext\"") >&5
   23797   ($PKG_CONFIG --exists --print-errors "xt x11 xext") 2>&5
   23798   ac_status=$?
   23799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23800   (exit $ac_status); }; then
   23801   pkg_cv_XDMGREET_CFLAGS=`$PKG_CONFIG --cflags "xt x11 xext" 2>/dev/null`
   23802 else
   23803   pkg_failed=yes
   23804 fi
   23805 else
   23806 	pkg_failed=untried
   23807 fi
   23808 if test -n "$PKG_CONFIG"; then
   23809         if test -n "$PKG_CONFIG" && \
   23810     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt x11 xext\"") >&5
   23811   ($PKG_CONFIG --exists --print-errors "xt x11 xext") 2>&5
   23812   ac_status=$?
   23813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23814   (exit $ac_status); }; then
   23815   pkg_cv_XDMGREET_LIBS=`$PKG_CONFIG --libs "xt x11 xext" 2>/dev/null`
   23816 else
   23817   pkg_failed=yes
   23818 fi
   23819 else
   23820 	pkg_failed=untried
   23821 fi
   23822 
   23823 if test $pkg_failed = yes; then
   23824 	XDMGREET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt x11 xext"`
   23825 	# Put the nasty error message in config.log where it belongs
   23826 	echo "$XDMGREET_PKG_ERRORS" 1>&5
   23827 
   23828 	{ { echo "$as_me:$LINENO: error: Package requirements (xt x11 xext) were not met.
   23829 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23830 installed software in a non-standard prefix.
   23831 
   23832 Alternatively you may set the XDMGREET_CFLAGS and XDMGREET_LIBS environment variables
   23833 to avoid the need to call pkg-config.  See the pkg-config man page for
   23834 more details." >&5
   23835 echo "$as_me: error: Package requirements (xt x11 xext) were not met.
   23836 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23837 installed software in a non-standard prefix.
   23838 
   23839 Alternatively you may set the XDMGREET_CFLAGS and XDMGREET_LIBS environment variables
   23840 to avoid the need to call pkg-config.  See the pkg-config man page for
   23841 more details." >&2;}
   23842    { (exit 1); exit 1; }; }
   23843 elif test $pkg_failed = untried; then
   23844 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   23845 is in your PATH or set the PKG_CONFIG environment variable to the full
   23846 path to pkg-config.
   23847 
   23848 Alternatively you may set the XDMGREET_CFLAGS and XDMGREET_LIBS environment variables
   23849 to avoid the need to call pkg-config.  See the pkg-config man page for
   23850 more details.
   23851 
   23852 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23853 See \`config.log' for more details." >&5
   23854 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   23855 is in your PATH or set the PKG_CONFIG environment variable to the full
   23856 path to pkg-config.
   23857 
   23858 Alternatively you may set the XDMGREET_CFLAGS and XDMGREET_LIBS environment variables
   23859 to avoid the need to call pkg-config.  See the pkg-config man page for
   23860 more details.
   23861 
   23862 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   23863 See \`config.log' for more details." >&2;}
   23864    { (exit 1); exit 1; }; }
   23865 else
   23866 	XDMGREET_CFLAGS=$pkg_cv_XDMGREET_CFLAGS
   23867 	XDMGREET_LIBS=$pkg_cv_XDMGREET_LIBS
   23868         { echo "$as_me:$LINENO: result: yes" >&5
   23869 echo "${ECHO_T}yes" >&6; }
   23870 	:
   23871 fi
   23872 
   23873 	GREETERLIB="${XDMLIBDIR}/libXdmGreet.so"
   23874 
   23875   prefix_NONE=
   23876   exec_prefix_NONE=
   23877   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23878   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23879   eval ac_define_dir="\"$GREETERLIB\""
   23880   eval ac_define_dir="\"$ac_define_dir\""
   23881   DEF_GREETER_LIB="$ac_define_dir"
   23882 
   23883 
   23884 cat >>confdefs.h <<_ACEOF
   23885 #define DEF_GREETER_LIB "$ac_define_dir"
   23886 _ACEOF
   23887 
   23888   test "$prefix_NONE" && prefix=NONE
   23889   test "$exec_prefix_NONE" && exec_prefix=NONE
   23890 
   23891 
   23892 	XDMGREET_CFLAGS="$XDMGREET_CFLAGS $XDM_PRINT_CFLAGS $DMCP_CFLAGS $XLIB_CFLAGS $OS_CFLAGS $GREETER_CFLAGS $AUTH_CFLAGS"
   23893 	XDMGREET_LIBS="$XDMGREET_LIBS $XDM_PRINT_LIBS $DMCP_LIBS $GREETER_LIBS"
   23894 
   23895 
   23896 
   23897 else
   23898 	XDM_CFLAGS="$XDM_CFLAGS $XDM_PRINT_CFLAGS $GREETER_CFLAGS -DGREET_USER_STATIC"
   23899 	XDM_LIBS="$XDM_LIBS $XDM_PRINT_LIBS $GREETER_LIBS"
   23900 fi
   23901 
   23902  if test x$DYNAMIC_GREETER = xyes; then
   23903   DYNAMIC_GREETER_TRUE=
   23904   DYNAMIC_GREETER_FALSE='#'
   23905 else
   23906   DYNAMIC_GREETER_TRUE='#'
   23907   DYNAMIC_GREETER_FALSE=
   23908 fi
   23909 
   23910 
   23911 #
   23912 #  XDM
   23913 #
   23914 
   23915 XDM_CFLAGS="$XDM_CFLAGS $DMCP_CFLAGS $XLIB_CFLAGS $OS_CFLAGS $AUTH_CFLAGS"
   23916 XDM_LIBS="$XDM_LIBS $DMCP_LIBS"
   23917 
   23918 { echo "$as_me:$LINENO: checking for XdmcpWrap in -lXdmcp" >&5
   23919 echo $ECHO_N "checking for XdmcpWrap in -lXdmcp... $ECHO_C" >&6; }
   23920 if test "${ac_cv_lib_Xdmcp_XdmcpWrap+set}" = set; then
   23921   echo $ECHO_N "(cached) $ECHO_C" >&6
   23922 else
   23923   ac_check_lib_save_LIBS=$LIBS
   23924 LIBS="-lXdmcp $DMCP_LIBS $LIBS"
   23925 cat >conftest.$ac_ext <<_ACEOF
   23926 /* confdefs.h.  */
   23927 _ACEOF
   23928 cat confdefs.h >>conftest.$ac_ext
   23929 cat >>conftest.$ac_ext <<_ACEOF
   23930 /* end confdefs.h.  */
   23931 
   23932 /* Override any GCC internal prototype to avoid an error.
   23933    Use char because int might match the return type of a GCC
   23934    builtin and then its argument prototype would still apply.  */
   23935 #ifdef __cplusplus
   23936 extern "C"
   23937 #endif
   23938 char XdmcpWrap ();
   23939 int
   23940 main ()
   23941 {
   23942 return XdmcpWrap ();
   23943   ;
   23944   return 0;
   23945 }
   23946 _ACEOF
   23947 rm -f conftest.$ac_objext conftest$ac_exeext
   23948 if { (ac_try="$ac_link"
   23949 case "(($ac_try" in
   23950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23951   *) ac_try_echo=$ac_try;;
   23952 esac
   23953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   23954   (eval "$ac_link") 2>conftest.er1
   23955   ac_status=$?
   23956   grep -v '^ *+' conftest.er1 >conftest.err
   23957   rm -f conftest.er1
   23958   cat conftest.err >&5
   23959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23960   (exit $ac_status); } && {
   23961 	 test -z "$ac_c_werror_flag" ||
   23962 	 test ! -s conftest.err
   23963        } && test -s conftest$ac_exeext &&
   23964        $as_test_x conftest$ac_exeext; then
   23965   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   23966 else
   23967   echo "$as_me: failed program was:" >&5
   23968 sed 's/^/| /' conftest.$ac_ext >&5
   23969 
   23970 	ac_cv_lib_Xdmcp_XdmcpWrap=no
   23971 fi
   23972 
   23973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   23974       conftest$ac_exeext conftest.$ac_ext
   23975 LIBS=$ac_check_lib_save_LIBS
   23976 fi
   23977 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   23978 echo "${ECHO_T}$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   23979 if test $ac_cv_lib_Xdmcp_XdmcpWrap = yes; then
   23980   xdmauth="yes"
   23981 else
   23982   xdmauth="no"
   23983 fi
   23984 
   23985 
   23986 # Check whether --enable-xdm-auth was given.
   23987 if test "${enable_xdm_auth+set}" = set; then
   23988   enableval=$enable_xdm_auth; xdmauth_enable="$enableval"
   23989 else
   23990   xdmauth_enable="auto"
   23991 fi
   23992 
   23993 if test "x$xdmauth_enable" = "xyes" -a "x$xdmauth" = "xno" ; then
   23994 	{ { echo "$as_me:$LINENO: error: XDM-AUTH support requested, but XdmcpWrap not found in libXdmcp." >&5
   23995 echo "$as_me: error: XDM-AUTH support requested, but XdmcpWrap not found in libXdmcp." >&2;}
   23996    { (exit 1); exit 1; }; }
   23997 fi
   23998 
   23999  if test x$xdmauth = xyes -a x$xdmauth_enable != xno; then
   24000   HAS_XDM_AUTH_TRUE=
   24001   HAS_XDM_AUTH_FALSE='#'
   24002 else
   24003   HAS_XDM_AUTH_TRUE='#'
   24004   HAS_XDM_AUTH_FALSE=
   24005 fi
   24006 
   24007 
   24008 { echo "$as_me:$LINENO: checking for library containing crypt" >&5
   24009 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; }
   24010 if test "${ac_cv_search_crypt+set}" = set; then
   24011   echo $ECHO_N "(cached) $ECHO_C" >&6
   24012 else
   24013   ac_func_search_save_LIBS=$LIBS
   24014 cat >conftest.$ac_ext <<_ACEOF
   24015 /* confdefs.h.  */
   24016 _ACEOF
   24017 cat confdefs.h >>conftest.$ac_ext
   24018 cat >>conftest.$ac_ext <<_ACEOF
   24019 /* end confdefs.h.  */
   24020 
   24021 /* Override any GCC internal prototype to avoid an error.
   24022    Use char because int might match the return type of a GCC
   24023    builtin and then its argument prototype would still apply.  */
   24024 #ifdef __cplusplus
   24025 extern "C"
   24026 #endif
   24027 char crypt ();
   24028 int
   24029 main ()
   24030 {
   24031 return crypt ();
   24032   ;
   24033   return 0;
   24034 }
   24035 _ACEOF
   24036 for ac_lib in '' crypt; do
   24037   if test -z "$ac_lib"; then
   24038     ac_res="none required"
   24039   else
   24040     ac_res=-l$ac_lib
   24041     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   24042   fi
   24043   rm -f conftest.$ac_objext conftest$ac_exeext
   24044 if { (ac_try="$ac_link"
   24045 case "(($ac_try" in
   24046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24047   *) ac_try_echo=$ac_try;;
   24048 esac
   24049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   24050   (eval "$ac_link") 2>conftest.er1
   24051   ac_status=$?
   24052   grep -v '^ *+' conftest.er1 >conftest.err
   24053   rm -f conftest.er1
   24054   cat conftest.err >&5
   24055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24056   (exit $ac_status); } && {
   24057 	 test -z "$ac_c_werror_flag" ||
   24058 	 test ! -s conftest.err
   24059        } && test -s conftest$ac_exeext &&
   24060        $as_test_x conftest$ac_exeext; then
   24061   ac_cv_search_crypt=$ac_res
   24062 else
   24063   echo "$as_me: failed program was:" >&5
   24064 sed 's/^/| /' conftest.$ac_ext >&5
   24065 
   24066 
   24067 fi
   24068 
   24069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   24070       conftest$ac_exeext
   24071   if test "${ac_cv_search_crypt+set}" = set; then
   24072   break
   24073 fi
   24074 done
   24075 if test "${ac_cv_search_crypt+set}" = set; then
   24076   :
   24077 else
   24078   ac_cv_search_crypt=no
   24079 fi
   24080 rm conftest.$ac_ext
   24081 LIBS=$ac_func_search_save_LIBS
   24082 fi
   24083 { echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
   24084 echo "${ECHO_T}$ac_cv_search_crypt" >&6; }
   24085 ac_res=$ac_cv_search_crypt
   24086 if test "$ac_res" != no; then
   24087   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   24088 
   24089 fi
   24090 
   24091 
   24092 
   24093 
   24094 
   24095 
   24096 #
   24097 # xdmshell
   24098 #
   24099 
   24100 
   24101 pkg_failed=no
   24102 { echo "$as_me:$LINENO: checking for XT" >&5
   24103 echo $ECHO_N "checking for XT... $ECHO_C" >&6; }
   24104 
   24105 if test -n "$PKG_CONFIG"; then
   24106         if test -n "$PKG_CONFIG" && \
   24107     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
   24108   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   24109   ac_status=$?
   24110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24111   (exit $ac_status); }; then
   24112   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   24113 else
   24114   pkg_failed=yes
   24115 fi
   24116 else
   24117 	pkg_failed=untried
   24118 fi
   24119 if test -n "$PKG_CONFIG"; then
   24120         if test -n "$PKG_CONFIG" && \
   24121     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
   24122   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   24123   ac_status=$?
   24124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24125   (exit $ac_status); }; then
   24126   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   24127 else
   24128   pkg_failed=yes
   24129 fi
   24130 else
   24131 	pkg_failed=untried
   24132 fi
   24133 
   24134 if test $pkg_failed = yes; then
   24135 	XT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
   24136 	# Put the nasty error message in config.log where it belongs
   24137 	echo "$XT_PKG_ERRORS" 1>&5
   24138 
   24139 	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met.
   24140 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24141 installed software in a non-standard prefix.
   24142 
   24143 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   24144 to avoid the need to call pkg-config.  See the pkg-config man page for
   24145 more details." >&5
   24146 echo "$as_me: error: Package requirements (xt) were not met.
   24147 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24148 installed software in a non-standard prefix.
   24149 
   24150 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   24151 to avoid the need to call pkg-config.  See the pkg-config man page for
   24152 more details." >&2;}
   24153    { (exit 1); exit 1; }; }
   24154 elif test $pkg_failed = untried; then
   24155 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   24156 is in your PATH or set the PKG_CONFIG environment variable to the full
   24157 path to pkg-config.
   24158 
   24159 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   24160 to avoid the need to call pkg-config.  See the pkg-config man page for
   24161 more details.
   24162 
   24163 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   24164 See \`config.log' for more details." >&5
   24165 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   24166 is in your PATH or set the PKG_CONFIG environment variable to the full
   24167 path to pkg-config.
   24168 
   24169 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   24170 to avoid the need to call pkg-config.  See the pkg-config man page for
   24171 more details.
   24172 
   24173 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   24174 See \`config.log' for more details." >&2;}
   24175    { (exit 1); exit 1; }; }
   24176 else
   24177 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   24178 	XT_LIBS=$pkg_cv_XT_LIBS
   24179         { echo "$as_me:$LINENO: result: yes" >&5
   24180 echo "${ECHO_T}yes" >&6; }
   24181 	:
   24182 fi
   24183 XDMSHELL_CFLAGS="$XDM_CFLAGS $XDM_PRINT_CFLAGS $AUTH_CFLAGS $DMCP_CFLAGS $XLIB_CFLAGS $XT_CFLAGS $OS_CFLAGS"
   24184 XDMSHELL_LIBS="$XDM_LIBS $XDM_PRINT_LIBS $DMCP_LIBS"
   24185 
   24186 
   24187 
   24188 
   24189 #
   24190 # Chooser
   24191 #
   24192 
   24193 CHOOSER_CFLAGS="-D_BSD_SOURCE $CHOOSER_CFLAGS $XDM_PRINT_CFLAGS $XLIB_CFLAGS $DMCP_CFLAGS $AUTH_CFLAGS"
   24194 CHOOSER_LIBS="$CHOOSER_LIBS $XDM_PRINT_LIBS $DMCP_LIBS"
   24195 
   24196 
   24197 
   24198 
   24199 # Defaults for X session - should probably be configure --with-* flags
   24200 # Currently just trying to mirror what defaults were set in Imake
   24201 
   24202 # -DDEF_SERVER_LINE=":0 local $(DEF_SERVER) :0"
   24203 if test -z "$DEF_SERVER" ; then
   24204 	DEF_SERVER="${bindir}/X"
   24205 fi
   24206 if test -z "$DEF_SERVER_LINE" ; then
   24207 	DEF_SERVER_LINE=":0 local ${DEF_SERVER} :0"
   24208 fi
   24209 
   24210   prefix_NONE=
   24211   exec_prefix_NONE=
   24212   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24213   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24214   eval ac_define_dir="\"$DEF_SERVER_LINE\""
   24215   eval ac_define_dir="\"$ac_define_dir\""
   24216   DEF_SERVER_LINE="$ac_define_dir"
   24217 
   24218 
   24219 cat >>confdefs.h <<_ACEOF
   24220 #define DEF_SERVER_LINE "$ac_define_dir"
   24221 _ACEOF
   24222 
   24223   test "$prefix_NONE" && prefix=NONE
   24224   test "$exec_prefix_NONE" && exec_prefix=NONE
   24225 
   24226 
   24227 # -DXRDB_PROGRAM="$(BINDIR)/xrdb"
   24228 
   24229 # Check whether --with-xrdb was given.
   24230 if test "${with_xrdb+set}" = set; then
   24231   withval=$with_xrdb; XRDB=$withval
   24232 else
   24233   XRDB=${bindir}/xrdb
   24234 fi
   24235 
   24236 
   24237   prefix_NONE=
   24238   exec_prefix_NONE=
   24239   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24240   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24241   eval ac_define_dir="\"$XRDB\""
   24242   eval ac_define_dir="\"$ac_define_dir\""
   24243   XRDB_PROGRAM="$ac_define_dir"
   24244 
   24245 
   24246 cat >>confdefs.h <<_ACEOF
   24247 #define XRDB_PROGRAM "$ac_define_dir"
   24248 _ACEOF
   24249 
   24250   test "$prefix_NONE" && prefix=NONE
   24251   test "$exec_prefix_NONE" && exec_prefix=NONE
   24252 
   24253 
   24254 # -DDEF_SESSION="$(BINDIR)/xterm -ls"
   24255 
   24256 # Check whether --with-default-session was given.
   24257 if test "${with_default_session+set}" = set; then
   24258   withval=$with_default_session; DEF_SESSION=$withval
   24259 else
   24260   DEF_SESSION="${bindir}/xterm -ls"
   24261 fi
   24262 
   24263 
   24264   prefix_NONE=
   24265   exec_prefix_NONE=
   24266   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24267   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24268   eval ac_define_dir="\"$DEF_SESSION\""
   24269   eval ac_define_dir="\"$ac_define_dir\""
   24270   DEF_SESSION="$ac_define_dir"
   24271 
   24272 
   24273 cat >>confdefs.h <<_ACEOF
   24274 #define DEF_SESSION "$ac_define_dir"
   24275 _ACEOF
   24276 
   24277   test "$prefix_NONE" && prefix=NONE
   24278   test "$exec_prefix_NONE" && exec_prefix=NONE
   24279 
   24280 
   24281 # -DDEF_USER_PATH="$(DEF_USER_PATH)"
   24282 # Default values taken from DefaultUserPath setting in the
   24283 # old Imake *.cf files for each platform
   24284 if test -z "$DEF_USER_PATH" ; then
   24285 	case $host_os in
   24286 	    dragonfly*)
   24287 		DEF_USER_PATH="/bin:/usr/bin:/sbin:/usr/sbin:${bindir}:/usr/local/bin"
   24288 		;;
   24289 	    freebsd*)
   24290 		DEF_USER_PATH="/bin:/usr/bin:/sbin:/usr/sbin:${bindir}:/usr/gnu/bin:/usr/local/bin"
   24291 		;;
   24292 	    netbsd*)
   24293 		DEF_USER_PATH="/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:${bindir}"
   24294 		;;
   24295 	    openbsd*|bsdi*)
   24296 		DEF_USER_PATH="/bin:/usr/bin:/usr/local/bin:${bindir}"
   24297 		;;
   24298 	    solaris*)
   24299 		DEF_USER_PATH="/usr/bin:${bindir}"
   24300 		;;
   24301 	    *)
   24302 		DEF_USER_PATH="/bin:/usr/bin:${bindir}:/usr/ucb"
   24303 		;;
   24304 	esac
   24305 fi
   24306 
   24307   prefix_NONE=
   24308   exec_prefix_NONE=
   24309   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24310   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24311   eval ac_define_dir="\"$DEF_USER_PATH\""
   24312   eval ac_define_dir="\"$ac_define_dir\""
   24313   DEF_USER_PATH="$ac_define_dir"
   24314 
   24315 
   24316 cat >>confdefs.h <<_ACEOF
   24317 #define DEF_USER_PATH "$ac_define_dir"
   24318 _ACEOF
   24319 
   24320   test "$prefix_NONE" && prefix=NONE
   24321   test "$exec_prefix_NONE" && exec_prefix=NONE
   24322 
   24323 
   24324 # -DDEF_SYSTEM_PATH="$(DEF_SYSTEM_PATH)"
   24325 # Default values taken from DefaultSystemPath setting in the
   24326 # old Imake *.cf files for each platform
   24327 if test -z "$DEF_SYSTEM_PATH" ; then
   24328 	case $host_os in
   24329 	    freebsd*|dragonfly*)
   24330 		DEF_SYSTEM_PATH="/bin:/usr/bin:/sbin:/usr/sbin:${bindir}"
   24331 		;;
   24332 	    netbsd*|openbsd*|bsdi*)
   24333 		DEF_SYSTEM_PATH="/sbin:/usr/sbin:/bin:/usr/bin:${bindir}"
   24334 		;;
   24335 	    solaris*)
   24336 		DEF_SYSTEM_PATH="/sbin:/usr/sbin:/usr/bin:${bindir}"
   24337 		;;
   24338 	    *)
   24339 		DEF_SYSTEM_PATH="/etc:/bin:/usr/bin:${bindir}:/usr/ucb"
   24340 		;;
   24341 	esac
   24342 fi
   24343 
   24344   prefix_NONE=
   24345   exec_prefix_NONE=
   24346   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24347   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24348   eval ac_define_dir="\"$DEF_SYSTEM_PATH\""
   24349   eval ac_define_dir="\"$ac_define_dir\""
   24350   DEF_SYSTEM_PATH="$ac_define_dir"
   24351 
   24352 
   24353 cat >>confdefs.h <<_ACEOF
   24354 #define DEF_SYSTEM_PATH "$ac_define_dir"
   24355 _ACEOF
   24356 
   24357   test "$prefix_NONE" && prefix=NONE
   24358   test "$exec_prefix_NONE" && exec_prefix=NONE
   24359 
   24360 
   24361 # -DDEF_SYSTEM_SHELL="$(BOURNE_SHELL)"
   24362 if test -z "$BOURNE_SHELL" ; then
   24363 	BOURNE_SHELL=/bin/sh
   24364 fi
   24365 
   24366   prefix_NONE=
   24367   exec_prefix_NONE=
   24368   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24369   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24370   eval ac_define_dir="\"$BOURNE_SHELL\""
   24371   eval ac_define_dir="\"$ac_define_dir\""
   24372   DEF_SYSTEM_SHELL="$ac_define_dir"
   24373 
   24374 
   24375 cat >>confdefs.h <<_ACEOF
   24376 #define DEF_SYSTEM_SHELL "$ac_define_dir"
   24377 _ACEOF
   24378 
   24379   test "$prefix_NONE" && prefix=NONE
   24380   test "$exec_prefix_NONE" && exec_prefix=NONE
   24381 
   24382 
   24383 # -DDEF_FAILSAFE_CLIENT="$(BINDIR)/xterm"
   24384 
   24385 
   24386   prefix_NONE=
   24387   exec_prefix_NONE=
   24388   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24389   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24390   eval ac_define_dir="\"$bindir/xterm\""
   24391   eval ac_define_dir="\"$ac_define_dir\""
   24392   DEF_FAILSAFE_CLIENT="$ac_define_dir"
   24393 
   24394 
   24395 cat >>confdefs.h <<_ACEOF
   24396 #define DEF_FAILSAFE_CLIENT "$ac_define_dir"
   24397 _ACEOF
   24398 
   24399   test "$prefix_NONE" && prefix=NONE
   24400   test "$exec_prefix_NONE" && exec_prefix=NONE
   24401 
   24402 
   24403 # -DDEF_XDM_CONFIG="$(XDMDIR)/xdm-config"
   24404 
   24405 
   24406   prefix_NONE=
   24407   exec_prefix_NONE=
   24408   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24409   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24410   eval ac_define_dir="\"$XDMCONFIGDIR/xdm-config\""
   24411   eval ac_define_dir="\"$ac_define_dir\""
   24412   DEF_XDM_CONFIG="$ac_define_dir"
   24413 
   24414 
   24415 cat >>confdefs.h <<_ACEOF
   24416 #define DEF_XDM_CONFIG "$ac_define_dir"
   24417 _ACEOF
   24418 
   24419   test "$prefix_NONE" && prefix=NONE
   24420   test "$exec_prefix_NONE" && exec_prefix=NONE
   24421 
   24422 
   24423 # -DDEF_CHOOSER="$(CHOOSERPATH)"
   24424 
   24425 
   24426   prefix_NONE=
   24427   exec_prefix_NONE=
   24428   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24429   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24430   eval ac_define_dir="\"$XDMLIBDIR/chooser\""
   24431   eval ac_define_dir="\"$ac_define_dir\""
   24432   DEF_CHOOSER="$ac_define_dir"
   24433 
   24434 
   24435 cat >>confdefs.h <<_ACEOF
   24436 #define DEF_CHOOSER "$ac_define_dir"
   24437 _ACEOF
   24438 
   24439   test "$prefix_NONE" && prefix=NONE
   24440   test "$exec_prefix_NONE" && exec_prefix=NONE
   24441 
   24442 
   24443 # -DDEF_AUTH_DIR="$(XDMDIR)"
   24444 
   24445 
   24446   prefix_NONE=
   24447   exec_prefix_NONE=
   24448   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24449   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24450   eval ac_define_dir="\"$XDMCONFIGDIR\""
   24451   eval ac_define_dir="\"$ac_define_dir\""
   24452   DEF_AUTH_DIR="$ac_define_dir"
   24453 
   24454 
   24455 cat >>confdefs.h <<_ACEOF
   24456 #define DEF_AUTH_DIR "$ac_define_dir"
   24457 _ACEOF
   24458 
   24459   test "$prefix_NONE" && prefix=NONE
   24460   test "$exec_prefix_NONE" && exec_prefix=NONE
   24461 
   24462 
   24463 # -DDEF_GREETER_LIB="$(XDMDIR)/libXdmGreet.so"
   24464 
   24465 
   24466   prefix_NONE=
   24467   exec_prefix_NONE=
   24468   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24469   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24470   eval ac_define_dir="\"$XDMLIBDIR/libXdmGreet.so\""
   24471   eval ac_define_dir="\"$ac_define_dir\""
   24472   DEF_GREETER_LIB="$ac_define_dir"
   24473 
   24474 
   24475 cat >>confdefs.h <<_ACEOF
   24476 #define DEF_GREETER_LIB "$ac_define_dir"
   24477 _ACEOF
   24478 
   24479   test "$prefix_NONE" && prefix=NONE
   24480   test "$exec_prefix_NONE" && exec_prefix=NONE
   24481 
   24482 
   24483 
   24484 pkg_failed=no
   24485 { echo "$as_me:$LINENO: checking for APPDEFS" >&5
   24486 echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; }
   24487 
   24488 if test -n "$PKG_CONFIG"; then
   24489         if test -n "$PKG_CONFIG" && \
   24490     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
   24491   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   24492   ac_status=$?
   24493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24494   (exit $ac_status); }; then
   24495   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   24496 else
   24497   pkg_failed=yes
   24498 fi
   24499 else
   24500 	pkg_failed=untried
   24501 fi
   24502 if test -n "$PKG_CONFIG"; then
   24503         if test -n "$PKG_CONFIG" && \
   24504     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
   24505   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   24506   ac_status=$?
   24507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24508   (exit $ac_status); }; then
   24509   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   24510 else
   24511   pkg_failed=yes
   24512 fi
   24513 else
   24514 	pkg_failed=untried
   24515 fi
   24516 
   24517 if test $pkg_failed = yes; then
   24518 	APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
   24519 	# Put the nasty error message in config.log where it belongs
   24520 	echo "$APPDEFS_PKG_ERRORS" 1>&5
   24521 
   24522 	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met.
   24523 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24524 installed software in a non-standard prefix.
   24525 
   24526 Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
   24527 to avoid the need to call pkg-config.  See the pkg-config man page for
   24528 more details." >&5
   24529 echo "$as_me: error: Package requirements (xt) were not met.
   24530 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24531 installed software in a non-standard prefix.
   24532 
   24533 Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
   24534 to avoid the need to call pkg-config.  See the pkg-config man page for
   24535 more details." >&2;}
   24536    { (exit 1); exit 1; }; }
   24537 elif test $pkg_failed = untried; then
   24538 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   24539 is in your PATH or set the PKG_CONFIG environment variable to the full
   24540 path to pkg-config.
   24541 
   24542 Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
   24543 to avoid the need to call pkg-config.  See the pkg-config man page for
   24544 more details.
   24545 
   24546 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   24547 See \`config.log' for more details." >&5
   24548 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   24549 is in your PATH or set the PKG_CONFIG environment variable to the full
   24550 path to pkg-config.
   24551 
   24552 Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
   24553 to avoid the need to call pkg-config.  See the pkg-config man page for
   24554 more details.
   24555 
   24556 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   24557 See \`config.log' for more details." >&2;}
   24558    { (exit 1); exit 1; }; }
   24559 else
   24560 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   24561 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   24562         { echo "$as_me:$LINENO: result: yes" >&5
   24563 echo "${ECHO_T}yes" >&6; }
   24564 	:
   24565 fi
   24566 appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
   24567 
   24568 
   24569 
   24570 
   24571 
   24572 # Allow checking code with lint, sparse, etc.
   24573 
   24574 # Check whether --with-lint was given.
   24575 if test "${with_lint+set}" = set; then
   24576   withval=$with_lint; use_lint=$withval
   24577 else
   24578   use_lint=no
   24579 fi
   24580 
   24581 if test "x$use_lint" = "xyes" ; then
   24582 	LINT="lint"
   24583 else
   24584 	LINT="$use_lint"
   24585 fi
   24586 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   24587     case $LINT in
   24588 	lint|*/lint)
   24589 	    case $host_os in
   24590 		solaris*)
   24591 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   24592 			;;
   24593 	    esac
   24594 	    ;;
   24595     esac
   24596 fi
   24597 
   24598 
   24599 
   24600  if test x$LINT != xno; then
   24601   LINT_TRUE=
   24602   LINT_FALSE='#'
   24603 else
   24604   LINT_TRUE='#'
   24605   LINT_FALSE=
   24606 fi
   24607 
   24608 
   24609 
   24610 
   24611 
   24612 
   24613 if test x$APP_MAN_SUFFIX = x    ; then
   24614     APP_MAN_SUFFIX=1
   24615 fi
   24616 if test x$APP_MAN_DIR = x    ; then
   24617     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   24618 fi
   24619 
   24620 if test x$LIB_MAN_SUFFIX = x    ; then
   24621     LIB_MAN_SUFFIX=3
   24622 fi
   24623 if test x$LIB_MAN_DIR = x    ; then
   24624     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   24625 fi
   24626 
   24627 if test x$FILE_MAN_SUFFIX = x    ; then
   24628     case $host_os in
   24629 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   24630 	*)		FILE_MAN_SUFFIX=5  ;;
   24631     esac
   24632 fi
   24633 if test x$FILE_MAN_DIR = x    ; then
   24634     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   24635 fi
   24636 
   24637 if test x$MISC_MAN_SUFFIX = x    ; then
   24638     case $host_os in
   24639 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   24640 	*)		MISC_MAN_SUFFIX=7  ;;
   24641     esac
   24642 fi
   24643 if test x$MISC_MAN_DIR = x    ; then
   24644     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   24645 fi
   24646 
   24647 if test x$DRIVER_MAN_SUFFIX = x    ; then
   24648     case $host_os in
   24649 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   24650 	*)		DRIVER_MAN_SUFFIX=4  ;;
   24651     esac
   24652 fi
   24653 if test x$DRIVER_MAN_DIR = x    ; then
   24654     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   24655 fi
   24656 
   24657 if test x$ADMIN_MAN_SUFFIX = x    ; then
   24658     case $host_os in
   24659 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   24660 	*)		ADMIN_MAN_SUFFIX=8  ;;
   24661     esac
   24662 fi
   24663 if test x$ADMIN_MAN_DIR = x    ; then
   24664     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   24665 fi
   24666 
   24667 
   24668 
   24669 
   24670 
   24671 
   24672 
   24673 
   24674 
   24675 
   24676 
   24677 
   24678 
   24679 
   24680 
   24681 
   24682 
   24683 # Check whether --with-release-version was given.
   24684 if test "${with_release_version+set}" = set; then
   24685   withval=$with_release_version; RELEASE_VERSION="$withval"
   24686 else
   24687   RELEASE_VERSION=""
   24688 fi
   24689 
   24690 	if test "x$RELEASE_VERSION" != "x"; then
   24691 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   24692 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   24693 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   24694 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   24695 	fi
   24696 
   24697 cat >>confdefs.h <<_ACEOF
   24698 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   24699 _ACEOF
   24700 
   24701 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   24702 	if test "x$PVM" = "x"; then
   24703 		PVM="0"
   24704 	fi
   24705 
   24706 cat >>confdefs.h <<_ACEOF
   24707 #define PACKAGE_VERSION_MINOR $PVM
   24708 _ACEOF
   24709 
   24710 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   24711 	if test "x$PVP" = "x"; then
   24712 		PVP="0"
   24713 	fi
   24714 
   24715 cat >>confdefs.h <<_ACEOF
   24716 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   24717 _ACEOF
   24718 
   24719 
   24720 
   24721 ac_config_files="$ac_config_files Makefile config/Makefile greeter/Makefile"
   24722 
   24723 cat >confcache <<\_ACEOF
   24724 # This file is a shell script that caches the results of configure
   24725 # tests run on this system so they can be shared between configure
   24726 # scripts and configure runs, see configure's option --config-cache.
   24727 # It is not useful on other systems.  If it contains results you don't
   24728 # want to keep, you may remove or edit it.
   24729 #
   24730 # config.status only pays attention to the cache file if you give it
   24731 # the --recheck option to rerun configure.
   24732 #
   24733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   24734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   24735 # following values.
   24736 
   24737 _ACEOF
   24738 
   24739 # The following way of writing the cache mishandles newlines in values,
   24740 # but we know of no workaround that is simple, portable, and efficient.
   24741 # So, we kill variables containing newlines.
   24742 # Ultrix sh set writes to stderr and can't be redirected directly,
   24743 # and sets the high bit in the cache file unless we assign to the vars.
   24744 (
   24745   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24746     eval ac_val=\$$ac_var
   24747     case $ac_val in #(
   24748     *${as_nl}*)
   24749       case $ac_var in #(
   24750       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   24751 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   24752       esac
   24753       case $ac_var in #(
   24754       _ | IFS | as_nl) ;; #(
   24755       *) $as_unset $ac_var ;;
   24756       esac ;;
   24757     esac
   24758   done
   24759 
   24760   (set) 2>&1 |
   24761     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   24762     *${as_nl}ac_space=\ *)
   24763       # `set' does not quote correctly, so add quotes (double-quote
   24764       # substitution turns \\\\ into \\, and sed turns \\ into \).
   24765       sed -n \
   24766 	"s/'/'\\\\''/g;
   24767 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   24768       ;; #(
   24769     *)
   24770       # `set' quotes correctly as required by POSIX, so do not add quotes.
   24771       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   24772       ;;
   24773     esac |
   24774     sort
   24775 ) |
   24776   sed '
   24777      /^ac_cv_env_/b end
   24778      t clear
   24779      :clear
   24780      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   24781      t end
   24782      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24783      :end' >>confcache
   24784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24785   if test -w "$cache_file"; then
   24786     test "x$cache_file" != "x/dev/null" &&
   24787       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   24788 echo "$as_me: updating cache $cache_file" >&6;}
   24789     cat confcache >$cache_file
   24790   else
   24791     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   24792 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   24793   fi
   24794 fi
   24795 rm -f confcache
   24796 
   24797 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24798 # Let make expand exec_prefix.
   24799 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24800 
   24801 DEFS=-DHAVE_CONFIG_H
   24802 
   24803 ac_libobjs=
   24804 ac_ltlibobjs=
   24805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24806   # 1. Remove the extension, and $U if already installed.
   24807   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24808   ac_i=`echo "$ac_i" | sed "$ac_script"`
   24809   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24810   #    will be set to the directory where LIBOBJS objects are built.
   24811   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24812   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   24813 done
   24814 LIBOBJS=$ac_libobjs
   24815 
   24816 LTLIBOBJS=$ac_ltlibobjs
   24817 
   24818 
   24819 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   24820   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   24821 Usually this means the macro was only invoked conditionally." >&5
   24822 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   24823 Usually this means the macro was only invoked conditionally." >&2;}
   24824    { (exit 1); exit 1; }; }
   24825 fi
   24826 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24827   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   24828 Usually this means the macro was only invoked conditionally." >&5
   24829 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   24830 Usually this means the macro was only invoked conditionally." >&2;}
   24831    { (exit 1); exit 1; }; }
   24832 fi
   24833 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24834   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   24835 Usually this means the macro was only invoked conditionally." >&5
   24836 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   24837 Usually this means the macro was only invoked conditionally." >&2;}
   24838    { (exit 1); exit 1; }; }
   24839 fi
   24840 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   24841   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   24842 Usually this means the macro was only invoked conditionally." >&5
   24843 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   24844 Usually this means the macro was only invoked conditionally." >&2;}
   24845    { (exit 1); exit 1; }; }
   24846 fi
   24847 if test -z "${HAVE_MKTEMP_COMMAND_TRUE}" && test -z "${HAVE_MKTEMP_COMMAND_FALSE}"; then
   24848   { { echo "$as_me:$LINENO: error: conditional \"HAVE_MKTEMP_COMMAND\" was never defined.
   24849 Usually this means the macro was only invoked conditionally." >&5
   24850 echo "$as_me: error: conditional \"HAVE_MKTEMP_COMMAND\" was never defined.
   24851 Usually this means the macro was only invoked conditionally." >&2;}
   24852    { (exit 1); exit 1; }; }
   24853 fi
   24854 if test -z "${HAS_SECURE_RPC_TRUE}" && test -z "${HAS_SECURE_RPC_FALSE}"; then
   24855   { { echo "$as_me:$LINENO: error: conditional \"HAS_SECURE_RPC\" was never defined.
   24856 Usually this means the macro was only invoked conditionally." >&5
   24857 echo "$as_me: error: conditional \"HAS_SECURE_RPC\" was never defined.
   24858 Usually this means the macro was only invoked conditionally." >&2;}
   24859    { (exit 1); exit 1; }; }
   24860 fi
   24861 if test -z "${HAS_ARC4_RANDOM_TRUE}" && test -z "${HAS_ARC4_RANDOM_FALSE}"; then
   24862   { { echo "$as_me:$LINENO: error: conditional \"HAS_ARC4_RANDOM\" was never defined.
   24863 Usually this means the macro was only invoked conditionally." >&5
   24864 echo "$as_me: error: conditional \"HAS_ARC4_RANDOM\" was never defined.
   24865 Usually this means the macro was only invoked conditionally." >&2;}
   24866    { (exit 1); exit 1; }; }
   24867 fi
   24868 if test -z "${HAS_KERBEROS_FIVE_TRUE}" && test -z "${HAS_KERBEROS_FIVE_FALSE}"; then
   24869   { { echo "$as_me:$LINENO: error: conditional \"HAS_KERBEROS_FIVE\" was never defined.
   24870 Usually this means the macro was only invoked conditionally." >&5
   24871 echo "$as_me: error: conditional \"HAS_KERBEROS_FIVE\" was never defined.
   24872 Usually this means the macro was only invoked conditionally." >&2;}
   24873    { (exit 1); exit 1; }; }
   24874 fi
   24875 if test -z "${USE_XPM_TRUE}" && test -z "${USE_XPM_FALSE}"; then
   24876   { { echo "$as_me:$LINENO: error: conditional \"USE_XPM\" was never defined.
   24877 Usually this means the macro was only invoked conditionally." >&5
   24878 echo "$as_me: error: conditional \"USE_XPM\" was never defined.
   24879 Usually this means the macro was only invoked conditionally." >&2;}
   24880    { (exit 1); exit 1; }; }
   24881 fi
   24882 if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
   24883   { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
   24884 Usually this means the macro was only invoked conditionally." >&5
   24885 echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
   24886 Usually this means the macro was only invoked conditionally." >&2;}
   24887    { (exit 1); exit 1; }; }
   24888 fi
   24889 if test -z "${DYNAMIC_GREETER_TRUE}" && test -z "${DYNAMIC_GREETER_FALSE}"; then
   24890   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_GREETER\" was never defined.
   24891 Usually this means the macro was only invoked conditionally." >&5
   24892 echo "$as_me: error: conditional \"DYNAMIC_GREETER\" was never defined.
   24893 Usually this means the macro was only invoked conditionally." >&2;}
   24894    { (exit 1); exit 1; }; }
   24895 fi
   24896 if test -z "${HAS_XDM_AUTH_TRUE}" && test -z "${HAS_XDM_AUTH_FALSE}"; then
   24897   { { echo "$as_me:$LINENO: error: conditional \"HAS_XDM_AUTH\" was never defined.
   24898 Usually this means the macro was only invoked conditionally." >&5
   24899 echo "$as_me: error: conditional \"HAS_XDM_AUTH\" was never defined.
   24900 Usually this means the macro was only invoked conditionally." >&2;}
   24901    { (exit 1); exit 1; }; }
   24902 fi
   24903 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   24904   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   24905 Usually this means the macro was only invoked conditionally." >&5
   24906 echo "$as_me: error: conditional \"LINT\" was never defined.
   24907 Usually this means the macro was only invoked conditionally." >&2;}
   24908    { (exit 1); exit 1; }; }
   24909 fi
   24910 
   24911 : ${CONFIG_STATUS=./config.status}
   24912 ac_clean_files_save=$ac_clean_files
   24913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   24914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   24915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   24916 cat >$CONFIG_STATUS <<_ACEOF
   24917 #! $SHELL
   24918 # Generated by $as_me.
   24919 # Run this file to recreate the current configuration.
   24920 # Compiler output produced by configure, useful for debugging
   24921 # configure, is in config.log if it exists.
   24922 
   24923 debug=false
   24924 ac_cs_recheck=false
   24925 ac_cs_silent=false
   24926 SHELL=\${CONFIG_SHELL-$SHELL}
   24927 _ACEOF
   24928 
   24929 cat >>$CONFIG_STATUS <<\_ACEOF
   24930 ## --------------------- ##
   24931 ## M4sh Initialization.  ##
   24932 ## --------------------- ##
   24933 
   24934 # Be more Bourne compatible
   24935 DUALCASE=1; export DUALCASE # for MKS sh
   24936 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   24937   emulate sh
   24938   NULLCMD=:
   24939   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   24940   # is contrary to our usage.  Disable this feature.
   24941   alias -g '${1+"$@"}'='"$@"'
   24942   setopt NO_GLOB_SUBST
   24943 else
   24944   case `(set -o) 2>/dev/null` in
   24945   *posix*) set -o posix ;;
   24946 esac
   24947 
   24948 fi
   24949 
   24950 
   24951 
   24952 
   24953 # PATH needs CR
   24954 # Avoid depending upon Character Ranges.
   24955 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24956 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24957 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24958 as_cr_digits='0123456789'
   24959 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24960 
   24961 # The user is always right.
   24962 if test "${PATH_SEPARATOR+set}" != set; then
   24963   echo "#! /bin/sh" >conf$$.sh
   24964   echo  "exit 0"   >>conf$$.sh
   24965   chmod +x conf$$.sh
   24966   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   24967     PATH_SEPARATOR=';'
   24968   else
   24969     PATH_SEPARATOR=:
   24970   fi
   24971   rm -f conf$$.sh
   24972 fi
   24973 
   24974 # Support unset when possible.
   24975 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   24976   as_unset=unset
   24977 else
   24978   as_unset=false
   24979 fi
   24980 
   24981 
   24982 # IFS
   24983 # We need space, tab and new line, in precisely that order.  Quoting is
   24984 # there to prevent editors from complaining about space-tab.
   24985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   24986 # splitting by setting IFS to empty value.)
   24987 as_nl='
   24988 '
   24989 IFS=" ""	$as_nl"
   24990 
   24991 # Find who we are.  Look in the path if we contain no directory separator.
   24992 case $0 in
   24993   *[\\/]* ) as_myself=$0 ;;
   24994   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24995 for as_dir in $PATH
   24996 do
   24997   IFS=$as_save_IFS
   24998   test -z "$as_dir" && as_dir=.
   24999   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   25000 done
   25001 IFS=$as_save_IFS
   25002 
   25003      ;;
   25004 esac
   25005 # We did not find ourselves, most probably we were run as `sh COMMAND'
   25006 # in which case we are not to be found in the path.
   25007 if test "x$as_myself" = x; then
   25008   as_myself=$0
   25009 fi
   25010 if test ! -f "$as_myself"; then
   25011   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   25012   { (exit 1); exit 1; }
   25013 fi
   25014 
   25015 # Work around bugs in pre-3.0 UWIN ksh.
   25016 for as_var in ENV MAIL MAILPATH
   25017 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   25018 done
   25019 PS1='$ '
   25020 PS2='> '
   25021 PS4='+ '
   25022 
   25023 # NLS nuisances.
   25024 for as_var in \
   25025   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   25026   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   25027   LC_TELEPHONE LC_TIME
   25028 do
   25029   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   25030     eval $as_var=C; export $as_var
   25031   else
   25032     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   25033   fi
   25034 done
   25035 
   25036 # Required to use basename.
   25037 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25038    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25039   as_expr=expr
   25040 else
   25041   as_expr=false
   25042 fi
   25043 
   25044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   25045   as_basename=basename
   25046 else
   25047   as_basename=false
   25048 fi
   25049 
   25050 
   25051 # Name of the executable.
   25052 as_me=`$as_basename -- "$0" ||
   25053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   25054 	 X"$0" : 'X\(//\)$' \| \
   25055 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   25056 echo X/"$0" |
   25057     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25058 	    s//\1/
   25059 	    q
   25060 	  }
   25061 	  /^X\/\(\/\/\)$/{
   25062 	    s//\1/
   25063 	    q
   25064 	  }
   25065 	  /^X\/\(\/\).*/{
   25066 	    s//\1/
   25067 	    q
   25068 	  }
   25069 	  s/.*/./; q'`
   25070 
   25071 # CDPATH.
   25072 $as_unset CDPATH
   25073 
   25074 
   25075 
   25076   as_lineno_1=$LINENO
   25077   as_lineno_2=$LINENO
   25078   test "x$as_lineno_1" != "x$as_lineno_2" &&
   25079   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   25080 
   25081   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   25082   # uniformly replaced by the line number.  The first 'sed' inserts a
   25083   # line-number line after each line using $LINENO; the second 'sed'
   25084   # does the real work.  The second script uses 'N' to pair each
   25085   # line-number line with the line containing $LINENO, and appends
   25086   # trailing '-' during substitution so that $LINENO is not a special
   25087   # case at line end.
   25088   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   25089   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   25090   # E. McMahon (1931-1989) for sed's syntax.  :-)
   25091   sed -n '
   25092     p
   25093     /[$]LINENO/=
   25094   ' <$as_myself |
   25095     sed '
   25096       s/[$]LINENO.*/&-/
   25097       t lineno
   25098       b
   25099       :lineno
   25100       N
   25101       :loop
   25102       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   25103       t loop
   25104       s/-\n.*//
   25105     ' >$as_me.lineno &&
   25106   chmod +x "$as_me.lineno" ||
   25107     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   25108    { (exit 1); exit 1; }; }
   25109 
   25110   # Don't try to exec as it changes $[0], causing all sort of problems
   25111   # (the dirname of $[0] is not the place where we might find the
   25112   # original and so on.  Autoconf is especially sensitive to this).
   25113   . "./$as_me.lineno"
   25114   # Exit status is that of the last command.
   25115   exit
   25116 }
   25117 
   25118 
   25119 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25120   as_dirname=dirname
   25121 else
   25122   as_dirname=false
   25123 fi
   25124 
   25125 ECHO_C= ECHO_N= ECHO_T=
   25126 case `echo -n x` in
   25127 -n*)
   25128   case `echo 'x\c'` in
   25129   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   25130   *)   ECHO_C='\c';;
   25131   esac;;
   25132 *)
   25133   ECHO_N='-n';;
   25134 esac
   25135 
   25136 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25137    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25138   as_expr=expr
   25139 else
   25140   as_expr=false
   25141 fi
   25142 
   25143 rm -f conf$$ conf$$.exe conf$$.file
   25144 if test -d conf$$.dir; then
   25145   rm -f conf$$.dir/conf$$.file
   25146 else
   25147   rm -f conf$$.dir
   25148   mkdir conf$$.dir
   25149 fi
   25150 echo >conf$$.file
   25151 if ln -s conf$$.file conf$$ 2>/dev/null; then
   25152   as_ln_s='ln -s'
   25153   # ... but there are two gotchas:
   25154   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   25155   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   25156   # In both cases, we have to default to `cp -p'.
   25157   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25158     as_ln_s='cp -p'
   25159 elif ln conf$$.file conf$$ 2>/dev/null; then
   25160   as_ln_s=ln
   25161 else
   25162   as_ln_s='cp -p'
   25163 fi
   25164 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25165 rmdir conf$$.dir 2>/dev/null
   25166 
   25167 if mkdir -p . 2>/dev/null; then
   25168   as_mkdir_p=:
   25169 else
   25170   test -d ./-p && rmdir ./-p
   25171   as_mkdir_p=false
   25172 fi
   25173 
   25174 if test -x / >/dev/null 2>&1; then
   25175   as_test_x='test -x'
   25176 else
   25177   if ls -dL / >/dev/null 2>&1; then
   25178     as_ls_L_option=L
   25179   else
   25180     as_ls_L_option=
   25181   fi
   25182   as_test_x='
   25183     eval sh -c '\''
   25184       if test -d "$1"; then
   25185         test -d "$1/.";
   25186       else
   25187 	case $1 in
   25188         -*)set "./$1";;
   25189 	esac;
   25190 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   25191 	???[sx]*):;;*)false;;esac;fi
   25192     '\'' sh
   25193   '
   25194 fi
   25195 as_executable_p=$as_test_x
   25196 
   25197 # Sed expression to map a string onto a valid CPP name.
   25198 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   25199 
   25200 # Sed expression to map a string onto a valid variable name.
   25201 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   25202 
   25203 
   25204 exec 6>&1
   25205 
   25206 # Save the log message, to keep $[0] and so on meaningful, and to
   25207 # report actual input values of CONFIG_FILES etc. instead of their
   25208 # values after options handling.
   25209 ac_log="
   25210 This file was extended by xdm $as_me 1.1.6, which was
   25211 generated by GNU Autoconf 2.61.  Invocation command line was
   25212 
   25213   CONFIG_FILES    = $CONFIG_FILES
   25214   CONFIG_HEADERS  = $CONFIG_HEADERS
   25215   CONFIG_LINKS    = $CONFIG_LINKS
   25216   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25217   $ $0 $@
   25218 
   25219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25220 "
   25221 
   25222 _ACEOF
   25223 
   25224 cat >>$CONFIG_STATUS <<_ACEOF
   25225 # Files that config.status was made for.
   25226 config_files="$ac_config_files"
   25227 config_headers="$ac_config_headers"
   25228 config_commands="$ac_config_commands"
   25229 
   25230 _ACEOF
   25231 
   25232 cat >>$CONFIG_STATUS <<\_ACEOF
   25233 ac_cs_usage="\
   25234 \`$as_me' instantiates files from templates according to the
   25235 current configuration.
   25236 
   25237 Usage: $0 [OPTIONS] [FILE]...
   25238 
   25239   -h, --help       print this help, then exit
   25240   -V, --version    print version number and configuration settings, then exit
   25241   -q, --quiet      do not print progress messages
   25242   -d, --debug      don't remove temporary files
   25243       --recheck    update $as_me by reconfiguring in the same conditions
   25244   --file=FILE[:TEMPLATE]
   25245 		   instantiate the configuration file FILE
   25246   --header=FILE[:TEMPLATE]
   25247 		   instantiate the configuration header FILE
   25248 
   25249 Configuration files:
   25250 $config_files
   25251 
   25252 Configuration headers:
   25253 $config_headers
   25254 
   25255 Configuration commands:
   25256 $config_commands
   25257 
   25258 Report bugs to <bug-autoconf (at] gnu.org>."
   25259 
   25260 _ACEOF
   25261 cat >>$CONFIG_STATUS <<_ACEOF
   25262 ac_cs_version="\\
   25263 xdm config.status 1.1.6
   25264 configured by $0, generated by GNU Autoconf 2.61,
   25265   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   25266 
   25267 Copyright (C) 2006 Free Software Foundation, Inc.
   25268 This config.status script is free software; the Free Software Foundation
   25269 gives unlimited permission to copy, distribute and modify it."
   25270 
   25271 ac_pwd='$ac_pwd'
   25272 srcdir='$srcdir'
   25273 INSTALL='$INSTALL'
   25274 MKDIR_P='$MKDIR_P'
   25275 _ACEOF
   25276 
   25277 cat >>$CONFIG_STATUS <<\_ACEOF
   25278 # If no file are specified by the user, then we need to provide default
   25279 # value.  By we need to know if files were specified by the user.
   25280 ac_need_defaults=:
   25281 while test $# != 0
   25282 do
   25283   case $1 in
   25284   --*=*)
   25285     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25286     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25287     ac_shift=:
   25288     ;;
   25289   *)
   25290     ac_option=$1
   25291     ac_optarg=$2
   25292     ac_shift=shift
   25293     ;;
   25294   esac
   25295 
   25296   case $ac_option in
   25297   # Handling of the options.
   25298   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25299     ac_cs_recheck=: ;;
   25300   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25301     echo "$ac_cs_version"; exit ;;
   25302   --debug | --debu | --deb | --de | --d | -d )
   25303     debug=: ;;
   25304   --file | --fil | --fi | --f )
   25305     $ac_shift
   25306     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   25307     ac_need_defaults=false;;
   25308   --header | --heade | --head | --hea )
   25309     $ac_shift
   25310     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   25311     ac_need_defaults=false;;
   25312   --he | --h)
   25313     # Conflict between --help and --header
   25314     { echo "$as_me: error: ambiguous option: $1
   25315 Try \`$0 --help' for more information." >&2
   25316    { (exit 1); exit 1; }; };;
   25317   --help | --hel | -h )
   25318     echo "$ac_cs_usage"; exit ;;
   25319   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25320   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25321     ac_cs_silent=: ;;
   25322 
   25323   # This is an error.
   25324   -*) { echo "$as_me: error: unrecognized option: $1
   25325 Try \`$0 --help' for more information." >&2
   25326    { (exit 1); exit 1; }; } ;;
   25327 
   25328   *) ac_config_targets="$ac_config_targets $1"
   25329      ac_need_defaults=false ;;
   25330 
   25331   esac
   25332   shift
   25333 done
   25334 
   25335 ac_configure_extra_args=
   25336 
   25337 if $ac_cs_silent; then
   25338   exec 6>/dev/null
   25339   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25340 fi
   25341 
   25342 _ACEOF
   25343 cat >>$CONFIG_STATUS <<_ACEOF
   25344 if \$ac_cs_recheck; then
   25345   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   25346   CONFIG_SHELL=$SHELL
   25347   export CONFIG_SHELL
   25348   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25349 fi
   25350 
   25351 _ACEOF
   25352 cat >>$CONFIG_STATUS <<\_ACEOF
   25353 exec 5>>config.log
   25354 {
   25355   echo
   25356   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25357 ## Running $as_me. ##
   25358 _ASBOX
   25359   echo "$ac_log"
   25360 } >&5
   25361 
   25362 _ACEOF
   25363 cat >>$CONFIG_STATUS <<_ACEOF
   25364 #
   25365 # INIT-COMMANDS
   25366 #
   25367 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   25368 
   25369 _ACEOF
   25370 
   25371 cat >>$CONFIG_STATUS <<\_ACEOF
   25372 
   25373 # Handling of arguments.
   25374 for ac_config_target in $ac_config_targets
   25375 do
   25376   case $ac_config_target in
   25377     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   25378     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25379     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25380     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   25381     "greeter/Makefile") CONFIG_FILES="$CONFIG_FILES greeter/Makefile" ;;
   25382 
   25383   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   25384 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   25385    { (exit 1); exit 1; }; };;
   25386   esac
   25387 done
   25388 
   25389 
   25390 # If the user did not use the arguments to specify the items to instantiate,
   25391 # then the envvar interface is used.  Set only those that are not.
   25392 # We use the long form for the default assignment because of an extremely
   25393 # bizarre bug on SunOS 4.1.3.
   25394 if $ac_need_defaults; then
   25395   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   25396   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   25397   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   25398 fi
   25399 
   25400 # Have a temporary directory for convenience.  Make it in the build tree
   25401 # simply because there is no reason against having it here, and in addition,
   25402 # creating and moving files from /tmp can sometimes cause problems.
   25403 # Hook for its removal unless debugging.
   25404 # Note that there is a small window in which the directory will not be cleaned:
   25405 # after its creation but before its name has been assigned to `$tmp'.
   25406 $debug ||
   25407 {
   25408   tmp=
   25409   trap 'exit_status=$?
   25410   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   25411 ' 0
   25412   trap '{ (exit 1); exit 1; }' 1 2 13 15
   25413 }
   25414 # Create a (secure) tmp directory for tmp files.
   25415 
   25416 {
   25417   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25418   test -n "$tmp" && test -d "$tmp"
   25419 }  ||
   25420 {
   25421   tmp=./conf$$-$RANDOM
   25422   (umask 077 && mkdir "$tmp")
   25423 } ||
   25424 {
   25425    echo "$me: cannot create a temporary directory in ." >&2
   25426    { (exit 1); exit 1; }
   25427 }
   25428 
   25429 #
   25430 # Set up the sed scripts for CONFIG_FILES section.
   25431 #
   25432 
   25433 # No need to generate the scripts if there are no CONFIG_FILES.
   25434 # This happens for instance when ./config.status config.h
   25435 if test -n "$CONFIG_FILES"; then
   25436 
   25437 _ACEOF
   25438 
   25439 
   25440 
   25441 ac_delim='%!_!# '
   25442 for ac_last_try in false false false false false :; do
   25443   cat >conf$$subs.sed <<_ACEOF
   25444 SHELL!$SHELL$ac_delim
   25445 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   25446 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   25447 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   25448 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   25449 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   25450 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   25451 exec_prefix!$exec_prefix$ac_delim
   25452 prefix!$prefix$ac_delim
   25453 program_transform_name!$program_transform_name$ac_delim
   25454 bindir!$bindir$ac_delim
   25455 sbindir!$sbindir$ac_delim
   25456 libexecdir!$libexecdir$ac_delim
   25457 datarootdir!$datarootdir$ac_delim
   25458 datadir!$datadir$ac_delim
   25459 sysconfdir!$sysconfdir$ac_delim
   25460 sharedstatedir!$sharedstatedir$ac_delim
   25461 localstatedir!$localstatedir$ac_delim
   25462 includedir!$includedir$ac_delim
   25463 oldincludedir!$oldincludedir$ac_delim
   25464 docdir!$docdir$ac_delim
   25465 infodir!$infodir$ac_delim
   25466 htmldir!$htmldir$ac_delim
   25467 dvidir!$dvidir$ac_delim
   25468 pdfdir!$pdfdir$ac_delim
   25469 psdir!$psdir$ac_delim
   25470 libdir!$libdir$ac_delim
   25471 localedir!$localedir$ac_delim
   25472 mandir!$mandir$ac_delim
   25473 DEFS!$DEFS$ac_delim
   25474 ECHO_C!$ECHO_C$ac_delim
   25475 ECHO_N!$ECHO_N$ac_delim
   25476 ECHO_T!$ECHO_T$ac_delim
   25477 LIBS!$LIBS$ac_delim
   25478 build_alias!$build_alias$ac_delim
   25479 host_alias!$host_alias$ac_delim
   25480 target_alias!$target_alias$ac_delim
   25481 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   25482 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   25483 INSTALL_DATA!$INSTALL_DATA$ac_delim
   25484 am__isrc!$am__isrc$ac_delim
   25485 CYGPATH_W!$CYGPATH_W$ac_delim
   25486 PACKAGE!$PACKAGE$ac_delim
   25487 VERSION!$VERSION$ac_delim
   25488 ACLOCAL!$ACLOCAL$ac_delim
   25489 AUTOCONF!$AUTOCONF$ac_delim
   25490 AUTOMAKE!$AUTOMAKE$ac_delim
   25491 AUTOHEADER!$AUTOHEADER$ac_delim
   25492 MAKEINFO!$MAKEINFO$ac_delim
   25493 install_sh!$install_sh$ac_delim
   25494 STRIP!$STRIP$ac_delim
   25495 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   25496 mkdir_p!$mkdir_p$ac_delim
   25497 AWK!$AWK$ac_delim
   25498 SET_MAKE!$SET_MAKE$ac_delim
   25499 am__leading_dot!$am__leading_dot$ac_delim
   25500 AMTAR!$AMTAR$ac_delim
   25501 am__tar!$am__tar$ac_delim
   25502 am__untar!$am__untar$ac_delim
   25503 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   25504 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   25505 MAINT!$MAINT$ac_delim
   25506 CC!$CC$ac_delim
   25507 CFLAGS!$CFLAGS$ac_delim
   25508 LDFLAGS!$LDFLAGS$ac_delim
   25509 CPPFLAGS!$CPPFLAGS$ac_delim
   25510 ac_ct_CC!$ac_ct_CC$ac_delim
   25511 EXEEXT!$EXEEXT$ac_delim
   25512 OBJEXT!$OBJEXT$ac_delim
   25513 DEPDIR!$DEPDIR$ac_delim
   25514 am__include!$am__include$ac_delim
   25515 am__quote!$am__quote$ac_delim
   25516 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   25517 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   25518 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   25519 CCDEPMODE!$CCDEPMODE$ac_delim
   25520 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   25521 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   25522 build!$build$ac_delim
   25523 build_cpu!$build_cpu$ac_delim
   25524 build_vendor!$build_vendor$ac_delim
   25525 build_os!$build_os$ac_delim
   25526 host!$host$ac_delim
   25527 host_cpu!$host_cpu$ac_delim
   25528 host_vendor!$host_vendor$ac_delim
   25529 host_os!$host_os$ac_delim
   25530 GREP!$GREP$ac_delim
   25531 EGREP!$EGREP$ac_delim
   25532 LN_S!$LN_S$ac_delim
   25533 ECHO!$ECHO$ac_delim
   25534 AR!$AR$ac_delim
   25535 RANLIB!$RANLIB$ac_delim
   25536 DLLTOOL!$DLLTOOL$ac_delim
   25537 AS!$AS$ac_delim
   25538 OBJDUMP!$OBJDUMP$ac_delim
   25539 CPP!$CPP$ac_delim
   25540 CXX!$CXX$ac_delim
   25541 _ACEOF
   25542 
   25543   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   25544     break
   25545   elif $ac_last_try; then
   25546     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25547 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25548    { (exit 1); exit 1; }; }
   25549   else
   25550     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25551   fi
   25552 done
   25553 
   25554 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   25555 if test -n "$ac_eof"; then
   25556   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   25557   ac_eof=`expr $ac_eof + 1`
   25558 fi
   25559 
   25560 cat >>$CONFIG_STATUS <<_ACEOF
   25561 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   25562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25563 _ACEOF
   25564 sed '
   25565 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   25566 s/^/s,@/; s/!/@,|#_!!_#|/
   25567 :n
   25568 t n
   25569 s/'"$ac_delim"'$/,g/; t
   25570 s/$/\\/; p
   25571 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   25572 ' >>$CONFIG_STATUS <conf$$subs.sed
   25573 rm -f conf$$subs.sed
   25574 cat >>$CONFIG_STATUS <<_ACEOF
   25575 CEOF$ac_eof
   25576 _ACEOF
   25577 
   25578 
   25579 ac_delim='%!_!# '
   25580 for ac_last_try in false false false false false :; do
   25581   cat >conf$$subs.sed <<_ACEOF
   25582 CXXFLAGS!$CXXFLAGS$ac_delim
   25583 ac_ct_CXX!$ac_ct_CXX$ac_delim
   25584 CXXDEPMODE!$CXXDEPMODE$ac_delim
   25585 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   25586 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   25587 CXXCPP!$CXXCPP$ac_delim
   25588 F77!$F77$ac_delim
   25589 FFLAGS!$FFLAGS$ac_delim
   25590 ac_ct_F77!$ac_ct_F77$ac_delim
   25591 LIBTOOL!$LIBTOOL$ac_delim
   25592 RAWCPP!$RAWCPP$ac_delim
   25593 RAWCPPFLAGS!$RAWCPPFLAGS$ac_delim
   25594 MKTEMP_COMMAND!$MKTEMP_COMMAND$ac_delim
   25595 HAVE_MKTEMP_COMMAND_TRUE!$HAVE_MKTEMP_COMMAND_TRUE$ac_delim
   25596 HAVE_MKTEMP_COMMAND_FALSE!$HAVE_MKTEMP_COMMAND_FALSE$ac_delim
   25597 HAS_SECURE_RPC_TRUE!$HAS_SECURE_RPC_TRUE$ac_delim
   25598 HAS_SECURE_RPC_FALSE!$HAS_SECURE_RPC_FALSE$ac_delim
   25599 SU!$SU$ac_delim
   25600 HAS_ARC4_RANDOM_TRUE!$HAS_ARC4_RANDOM_TRUE$ac_delim
   25601 HAS_ARC4_RANDOM_FALSE!$HAS_ARC4_RANDOM_FALSE$ac_delim
   25602 RANDOMMANDEFS!$RANDOMMANDEFS$ac_delim
   25603 HAS_KERBEROS_FIVE_TRUE!$HAS_KERBEROS_FIVE_TRUE$ac_delim
   25604 HAS_KERBEROS_FIVE_FALSE!$HAS_KERBEROS_FIVE_FALSE$ac_delim
   25605 XDMLIBDIR!$XDMLIBDIR$ac_delim
   25606 XDMCONFIGDIR!$XDMCONFIGDIR$ac_delim
   25607 XDMSCRIPTDIR!$XDMSCRIPTDIR$ac_delim
   25608 XDMLOGDIR!$XDMLOGDIR$ac_delim
   25609 XDMPIDDIR!$XDMPIDDIR$ac_delim
   25610 DEFAULTVT!$DEFAULTVT$ac_delim
   25611 SERVERSTYPE!$SERVERSTYPE$ac_delim
   25612 SHELL_CMD!$SHELL_CMD$ac_delim
   25613 PKG_CONFIG!$PKG_CONFIG$ac_delim
   25614 XDM_CFLAGS!$XDM_CFLAGS$ac_delim
   25615 XDM_LIBS!$XDM_LIBS$ac_delim
   25616 XINERAMA_CFLAGS!$XINERAMA_CFLAGS$ac_delim
   25617 XINERAMA_LIBS!$XINERAMA_LIBS$ac_delim
   25618 XFT_CFLAGS!$XFT_CFLAGS$ac_delim
   25619 XFT_LIBS!$XFT_LIBS$ac_delim
   25620 XPM_CFLAGS!$XPM_CFLAGS$ac_delim
   25621 XPM_LIBS!$XPM_LIBS$ac_delim
   25622 USE_XPM_TRUE!$USE_XPM_TRUE$ac_delim
   25623 USE_XPM_FALSE!$USE_XPM_FALSE$ac_delim
   25624 XDM_PIXMAP!$XDM_PIXMAP$ac_delim
   25625 XDM_BWPIXMAP!$XDM_BWPIXMAP$ac_delim
   25626 XDM_PIXMAPDIR!$XDM_PIXMAPDIR$ac_delim
   25627 TMP_XAW_CFLAGS!$TMP_XAW_CFLAGS$ac_delim
   25628 TMP_XAW_LIBS!$TMP_XAW_LIBS$ac_delim
   25629 XAW_USE_XPRINT_TRUE!$XAW_USE_XPRINT_TRUE$ac_delim
   25630 XAW_USE_XPRINT_FALSE!$XAW_USE_XPRINT_FALSE$ac_delim
   25631 DMCP_CFLAGS!$DMCP_CFLAGS$ac_delim
   25632 DMCP_LIBS!$DMCP_LIBS$ac_delim
   25633 XLIB_CFLAGS!$XLIB_CFLAGS$ac_delim
   25634 XLIB_LIBS!$XLIB_LIBS$ac_delim
   25635 AUTH_CFLAGS!$AUTH_CFLAGS$ac_delim
   25636 AUTH_LIBS!$AUTH_LIBS$ac_delim
   25637 XDMGREET_CFLAGS!$XDMGREET_CFLAGS$ac_delim
   25638 XDMGREET_LIBS!$XDMGREET_LIBS$ac_delim
   25639 DEF_GREETER_LIB!$DEF_GREETER_LIB$ac_delim
   25640 DYNAMIC_GREETER_TRUE!$DYNAMIC_GREETER_TRUE$ac_delim
   25641 DYNAMIC_GREETER_FALSE!$DYNAMIC_GREETER_FALSE$ac_delim
   25642 HAS_XDM_AUTH_TRUE!$HAS_XDM_AUTH_TRUE$ac_delim
   25643 HAS_XDM_AUTH_FALSE!$HAS_XDM_AUTH_FALSE$ac_delim
   25644 XDM_LDFLAGS!$XDM_LDFLAGS$ac_delim
   25645 XT_CFLAGS!$XT_CFLAGS$ac_delim
   25646 XT_LIBS!$XT_LIBS$ac_delim
   25647 XDMSHELL_CFLAGS!$XDMSHELL_CFLAGS$ac_delim
   25648 XDMSHELL_LIBS!$XDMSHELL_LIBS$ac_delim
   25649 CHOOSER_CFLAGS!$CHOOSER_CFLAGS$ac_delim
   25650 CHOOSER_LIBS!$CHOOSER_LIBS$ac_delim
   25651 DEF_SERVER_LINE!$DEF_SERVER_LINE$ac_delim
   25652 XRDB_PROGRAM!$XRDB_PROGRAM$ac_delim
   25653 DEF_SESSION!$DEF_SESSION$ac_delim
   25654 DEF_USER_PATH!$DEF_USER_PATH$ac_delim
   25655 DEF_SYSTEM_PATH!$DEF_SYSTEM_PATH$ac_delim
   25656 DEF_SYSTEM_SHELL!$DEF_SYSTEM_SHELL$ac_delim
   25657 DEF_FAILSAFE_CLIENT!$DEF_FAILSAFE_CLIENT$ac_delim
   25658 DEF_XDM_CONFIG!$DEF_XDM_CONFIG$ac_delim
   25659 DEF_CHOOSER!$DEF_CHOOSER$ac_delim
   25660 DEF_AUTH_DIR!$DEF_AUTH_DIR$ac_delim
   25661 APPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim
   25662 APPDEFS_LIBS!$APPDEFS_LIBS$ac_delim
   25663 appdefaultdir!$appdefaultdir$ac_delim
   25664 LINT!$LINT$ac_delim
   25665 LINT_FLAGS!$LINT_FLAGS$ac_delim
   25666 LINT_TRUE!$LINT_TRUE$ac_delim
   25667 LINT_FALSE!$LINT_FALSE$ac_delim
   25668 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   25669 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   25670 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   25671 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   25672 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   25673 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   25674 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   25675 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   25676 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   25677 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   25678 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   25679 _ACEOF
   25680 
   25681   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   25682     break
   25683   elif $ac_last_try; then
   25684     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25685 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25686    { (exit 1); exit 1; }; }
   25687   else
   25688     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25689   fi
   25690 done
   25691 
   25692 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   25693 if test -n "$ac_eof"; then
   25694   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   25695   ac_eof=`expr $ac_eof + 1`
   25696 fi
   25697 
   25698 cat >>$CONFIG_STATUS <<_ACEOF
   25699 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   25700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25701 _ACEOF
   25702 sed '
   25703 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   25704 s/^/s,@/; s/!/@,|#_!!_#|/
   25705 :n
   25706 t n
   25707 s/'"$ac_delim"'$/,g/; t
   25708 s/$/\\/; p
   25709 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   25710 ' >>$CONFIG_STATUS <conf$$subs.sed
   25711 rm -f conf$$subs.sed
   25712 cat >>$CONFIG_STATUS <<_ACEOF
   25713 CEOF$ac_eof
   25714 _ACEOF
   25715 
   25716 
   25717 ac_delim='%!_!# '
   25718 for ac_last_try in false false false false false :; do
   25719   cat >conf$$subs.sed <<_ACEOF
   25720 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   25721 LIBOBJS!$LIBOBJS$ac_delim
   25722 LTLIBOBJS!$LTLIBOBJS$ac_delim
   25723 _ACEOF
   25724 
   25725   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then
   25726     break
   25727   elif $ac_last_try; then
   25728     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25729 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25730    { (exit 1); exit 1; }; }
   25731   else
   25732     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25733   fi
   25734 done
   25735 
   25736 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   25737 if test -n "$ac_eof"; then
   25738   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   25739   ac_eof=`expr $ac_eof + 1`
   25740 fi
   25741 
   25742 cat >>$CONFIG_STATUS <<_ACEOF
   25743 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
   25744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   25745 _ACEOF
   25746 sed '
   25747 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   25748 s/^/s,@/; s/!/@,|#_!!_#|/
   25749 :n
   25750 t n
   25751 s/'"$ac_delim"'$/,g/; t
   25752 s/$/\\/; p
   25753 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   25754 ' >>$CONFIG_STATUS <conf$$subs.sed
   25755 rm -f conf$$subs.sed
   25756 cat >>$CONFIG_STATUS <<_ACEOF
   25757 :end
   25758 s/|#_!!_#|//g
   25759 CEOF$ac_eof
   25760 _ACEOF
   25761 
   25762 
   25763 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   25764 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   25765 # trailing colons and then remove the whole line if VPATH becomes empty
   25766 # (actually we leave an empty line to preserve line numbers).
   25767 if test "x$srcdir" = x.; then
   25768   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   25769 s/:*\$(srcdir):*/:/
   25770 s/:*\${srcdir}:*/:/
   25771 s/:*@srcdir@:*/:/
   25772 s/^\([^=]*=[	 ]*\):*/\1/
   25773 s/:*$//
   25774 s/^[^=]*=[	 ]*$//
   25775 }'
   25776 fi
   25777 
   25778 cat >>$CONFIG_STATUS <<\_ACEOF
   25779 fi # test -n "$CONFIG_FILES"
   25780 
   25781 
   25782 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   25783 do
   25784   case $ac_tag in
   25785   :[FHLC]) ac_mode=$ac_tag; continue;;
   25786   esac
   25787   case $ac_mode$ac_tag in
   25788   :[FHL]*:*);;
   25789   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   25790 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   25791    { (exit 1); exit 1; }; };;
   25792   :[FH]-) ac_tag=-:-;;
   25793   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25794   esac
   25795   ac_save_IFS=$IFS
   25796   IFS=:
   25797   set x $ac_tag
   25798   IFS=$ac_save_IFS
   25799   shift
   25800   ac_file=$1
   25801   shift
   25802 
   25803   case $ac_mode in
   25804   :L) ac_source=$1;;
   25805   :[FH])
   25806     ac_file_inputs=
   25807     for ac_f
   25808     do
   25809       case $ac_f in
   25810       -) ac_f="$tmp/stdin";;
   25811       *) # Look for the file first in the build tree, then in the source tree
   25812 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25813 	 # because $ac_f cannot contain `:'.
   25814 	 test -f "$ac_f" ||
   25815 	   case $ac_f in
   25816 	   [\\/$]*) false;;
   25817 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25818 	   esac ||
   25819 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   25820 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   25821    { (exit 1); exit 1; }; };;
   25822       esac
   25823       ac_file_inputs="$ac_file_inputs $ac_f"
   25824     done
   25825 
   25826     # Let's still pretend it is `configure' which instantiates (i.e., don't
   25827     # use $as_me), people would be surprised to read:
   25828     #    /* config.h.  Generated by config.status.  */
   25829     configure_input="Generated from "`IFS=:
   25830 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   25831     if test x"$ac_file" != x-; then
   25832       configure_input="$ac_file.  $configure_input"
   25833       { echo "$as_me:$LINENO: creating $ac_file" >&5
   25834 echo "$as_me: creating $ac_file" >&6;}
   25835     fi
   25836 
   25837     case $ac_tag in
   25838     *:-:* | *:-) cat >"$tmp/stdin";;
   25839     esac
   25840     ;;
   25841   esac
   25842 
   25843   ac_dir=`$as_dirname -- "$ac_file" ||
   25844 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25845 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25846 	 X"$ac_file" : 'X\(//\)$' \| \
   25847 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25848 echo X"$ac_file" |
   25849     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25850 	    s//\1/
   25851 	    q
   25852 	  }
   25853 	  /^X\(\/\/\)[^/].*/{
   25854 	    s//\1/
   25855 	    q
   25856 	  }
   25857 	  /^X\(\/\/\)$/{
   25858 	    s//\1/
   25859 	    q
   25860 	  }
   25861 	  /^X\(\/\).*/{
   25862 	    s//\1/
   25863 	    q
   25864 	  }
   25865 	  s/.*/./; q'`
   25866   { as_dir="$ac_dir"
   25867   case $as_dir in #(
   25868   -*) as_dir=./$as_dir;;
   25869   esac
   25870   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   25871     as_dirs=
   25872     while :; do
   25873       case $as_dir in #(
   25874       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   25875       *) as_qdir=$as_dir;;
   25876       esac
   25877       as_dirs="'$as_qdir' $as_dirs"
   25878       as_dir=`$as_dirname -- "$as_dir" ||
   25879 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25880 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25881 	 X"$as_dir" : 'X\(//\)$' \| \
   25882 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25883 echo X"$as_dir" |
   25884     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25885 	    s//\1/
   25886 	    q
   25887 	  }
   25888 	  /^X\(\/\/\)[^/].*/{
   25889 	    s//\1/
   25890 	    q
   25891 	  }
   25892 	  /^X\(\/\/\)$/{
   25893 	    s//\1/
   25894 	    q
   25895 	  }
   25896 	  /^X\(\/\).*/{
   25897 	    s//\1/
   25898 	    q
   25899 	  }
   25900 	  s/.*/./; q'`
   25901       test -d "$as_dir" && break
   25902     done
   25903     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25904   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   25905 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   25906    { (exit 1); exit 1; }; }; }
   25907   ac_builddir=.
   25908 
   25909 case "$ac_dir" in
   25910 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25911 *)
   25912   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   25913   # A ".." for each directory in $ac_dir_suffix.
   25914   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   25915   case $ac_top_builddir_sub in
   25916   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25917   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25918   esac ;;
   25919 esac
   25920 ac_abs_top_builddir=$ac_pwd
   25921 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25922 # for backward compatibility:
   25923 ac_top_builddir=$ac_top_build_prefix
   25924 
   25925 case $srcdir in
   25926   .)  # We are building in place.
   25927     ac_srcdir=.
   25928     ac_top_srcdir=$ac_top_builddir_sub
   25929     ac_abs_top_srcdir=$ac_pwd ;;
   25930   [\\/]* | ?:[\\/]* )  # Absolute name.
   25931     ac_srcdir=$srcdir$ac_dir_suffix;
   25932     ac_top_srcdir=$srcdir
   25933     ac_abs_top_srcdir=$srcdir ;;
   25934   *) # Relative name.
   25935     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25936     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25937     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25938 esac
   25939 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25940 
   25941 
   25942   case $ac_mode in
   25943   :F)
   25944   #
   25945   # CONFIG_FILE
   25946   #
   25947 
   25948   case $INSTALL in
   25949   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25950   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25951   esac
   25952   ac_MKDIR_P=$MKDIR_P
   25953   case $MKDIR_P in
   25954   [\\/$]* | ?:[\\/]* ) ;;
   25955   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25956   esac
   25957 _ACEOF
   25958 
   25959 cat >>$CONFIG_STATUS <<\_ACEOF
   25960 # If the template does not know about datarootdir, expand it.
   25961 # FIXME: This hack should be removed a few years after 2.60.
   25962 ac_datarootdir_hack=; ac_datarootdir_seen=
   25963 
   25964 case `sed -n '/datarootdir/ {
   25965   p
   25966   q
   25967 }
   25968 /@datadir@/p
   25969 /@docdir@/p
   25970 /@infodir@/p
   25971 /@localedir@/p
   25972 /@mandir@/p
   25973 ' $ac_file_inputs` in
   25974 *datarootdir*) ac_datarootdir_seen=yes;;
   25975 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25976   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25977 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25978 _ACEOF
   25979 cat >>$CONFIG_STATUS <<_ACEOF
   25980   ac_datarootdir_hack='
   25981   s&@datadir@&$datadir&g
   25982   s&@docdir@&$docdir&g
   25983   s&@infodir@&$infodir&g
   25984   s&@localedir@&$localedir&g
   25985   s&@mandir@&$mandir&g
   25986     s&\\\${datarootdir}&$datarootdir&g' ;;
   25987 esac
   25988 _ACEOF
   25989 
   25990 # Neutralize VPATH when `$srcdir' = `.'.
   25991 # Shell code in configure.ac might set extrasub.
   25992 # FIXME: do we really want to maintain this feature?
   25993 cat >>$CONFIG_STATUS <<_ACEOF
   25994   sed "$ac_vpsub
   25995 $extrasub
   25996 _ACEOF
   25997 cat >>$CONFIG_STATUS <<\_ACEOF
   25998 :t
   25999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   26000 s&@configure_input@&$configure_input&;t t
   26001 s&@top_builddir@&$ac_top_builddir_sub&;t t
   26002 s&@srcdir@&$ac_srcdir&;t t
   26003 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   26004 s&@top_srcdir@&$ac_top_srcdir&;t t
   26005 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   26006 s&@builddir@&$ac_builddir&;t t
   26007 s&@abs_builddir@&$ac_abs_builddir&;t t
   26008 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   26009 s&@INSTALL@&$ac_INSTALL&;t t
   26010 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   26011 $ac_datarootdir_hack
   26012 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
   26013 
   26014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   26015   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   26016   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   26017   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26018 which seems to be undefined.  Please make sure it is defined." >&5
   26019 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26020 which seems to be undefined.  Please make sure it is defined." >&2;}
   26021 
   26022   rm -f "$tmp/stdin"
   26023   case $ac_file in
   26024   -) cat "$tmp/out"; rm -f "$tmp/out";;
   26025   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   26026   esac
   26027  ;;
   26028   :H)
   26029   #
   26030   # CONFIG_HEADER
   26031   #
   26032 _ACEOF
   26033 
   26034 # Transform confdefs.h into a sed script `conftest.defines', that
   26035 # substitutes the proper values into config.h.in to produce config.h.
   26036 rm -f conftest.defines conftest.tail
   26037 # First, append a space to every undef/define line, to ease matching.
   26038 echo 's/$/ /' >conftest.defines
   26039 # Then, protect against being on the right side of a sed subst, or in
   26040 # an unquoted here document, in config.status.  If some macros were
   26041 # called several times there might be several #defines for the same
   26042 # symbol, which is useless.  But do not sort them, since the last
   26043 # AC_DEFINE must be honored.
   26044 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   26045 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   26046 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   26047 # PARAMS is the parameter list in the macro definition--in most cases, it's
   26048 # just an empty string.
   26049 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   26050 ac_dB='\\)[	 (].*,\\1define\\2'
   26051 ac_dC=' '
   26052 ac_dD=' ,'
   26053 
   26054 uniq confdefs.h |
   26055   sed -n '
   26056 	t rset
   26057 	:rset
   26058 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   26059 	t ok
   26060 	d
   26061 	:ok
   26062 	s/[\\&,]/\\&/g
   26063 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   26064 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   26065   ' >>conftest.defines
   26066 
   26067 # Remove the space that was appended to ease matching.
   26068 # Then replace #undef with comments.  This is necessary, for
   26069 # example, in the case of _POSIX_SOURCE, which is predefined and required
   26070 # on some systems where configure will not decide to define it.
   26071 # (The regexp can be short, since the line contains either #define or #undef.)
   26072 echo 's/ $//
   26073 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   26074 
   26075 # Break up conftest.defines:
   26076 ac_max_sed_lines=50
   26077 
   26078 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   26079 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   26080 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   26081 # et cetera.
   26082 ac_in='$ac_file_inputs'
   26083 ac_out='"$tmp/out1"'
   26084 ac_nxt='"$tmp/out2"'
   26085 
   26086 while :
   26087 do
   26088   # Write a here document:
   26089     cat >>$CONFIG_STATUS <<_ACEOF
   26090     # First, check the format of the line:
   26091     cat >"\$tmp/defines.sed" <<\\CEOF
   26092 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   26093 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   26094 b
   26095 :def
   26096 _ACEOF
   26097   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   26098   echo 'CEOF
   26099     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   26100   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   26101   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   26102   grep . conftest.tail >/dev/null || break
   26103   rm -f conftest.defines
   26104   mv conftest.tail conftest.defines
   26105 done
   26106 rm -f conftest.defines conftest.tail
   26107 
   26108 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   26109 cat >>$CONFIG_STATUS <<\_ACEOF
   26110   if test x"$ac_file" != x-; then
   26111     echo "/* $configure_input  */" >"$tmp/config.h"
   26112     cat "$ac_result" >>"$tmp/config.h"
   26113     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   26114       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   26115 echo "$as_me: $ac_file is unchanged" >&6;}
   26116     else
   26117       rm -f $ac_file
   26118       mv "$tmp/config.h" $ac_file
   26119     fi
   26120   else
   26121     echo "/* $configure_input  */"
   26122     cat "$ac_result"
   26123   fi
   26124   rm -f "$tmp/out12"
   26125 # Compute $ac_file's index in $config_headers.
   26126 _am_stamp_count=1
   26127 for _am_header in $config_headers :; do
   26128   case $_am_header in
   26129     $ac_file | $ac_file:* )
   26130       break ;;
   26131     * )
   26132       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26133   esac
   26134 done
   26135 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   26136 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26137 	 X$ac_file : 'X\(//\)[^/]' \| \
   26138 	 X$ac_file : 'X\(//\)$' \| \
   26139 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   26140 echo X$ac_file |
   26141     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26142 	    s//\1/
   26143 	    q
   26144 	  }
   26145 	  /^X\(\/\/\)[^/].*/{
   26146 	    s//\1/
   26147 	    q
   26148 	  }
   26149 	  /^X\(\/\/\)$/{
   26150 	    s//\1/
   26151 	    q
   26152 	  }
   26153 	  /^X\(\/\).*/{
   26154 	    s//\1/
   26155 	    q
   26156 	  }
   26157 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26158  ;;
   26159 
   26160   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   26161 echo "$as_me: executing $ac_file commands" >&6;}
   26162  ;;
   26163   esac
   26164 
   26165 
   26166   case $ac_file$ac_mode in
   26167     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   26168   # Strip MF so we end up with the name of the file.
   26169   mf=`echo "$mf" | sed -e 's/:.*$//'`
   26170   # Check whether this is an Automake generated Makefile or not.
   26171   # We used to match only the files named `Makefile.in', but
   26172   # some people rename them; so instead we look at the file content.
   26173   # Grep'ing the first line is not enough: some people post-process
   26174   # each Makefile.in and add a new line on top of each file to say so.
   26175   # Grep'ing the whole file is not good either: AIX grep has a line
   26176   # limit of 2048, but all sed's we know have understand at least 4000.
   26177   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   26178     dirpart=`$as_dirname -- "$mf" ||
   26179 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26180 	 X"$mf" : 'X\(//\)[^/]' \| \
   26181 	 X"$mf" : 'X\(//\)$' \| \
   26182 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   26183 echo X"$mf" |
   26184     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26185 	    s//\1/
   26186 	    q
   26187 	  }
   26188 	  /^X\(\/\/\)[^/].*/{
   26189 	    s//\1/
   26190 	    q
   26191 	  }
   26192 	  /^X\(\/\/\)$/{
   26193 	    s//\1/
   26194 	    q
   26195 	  }
   26196 	  /^X\(\/\).*/{
   26197 	    s//\1/
   26198 	    q
   26199 	  }
   26200 	  s/.*/./; q'`
   26201   else
   26202     continue
   26203   fi
   26204   # Extract the definition of DEPDIR, am__include, and am__quote
   26205   # from the Makefile without running `make'.
   26206   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   26207   test -z "$DEPDIR" && continue
   26208   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   26209   test -z "am__include" && continue
   26210   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   26211   # When using ansi2knr, U may be empty or an underscore; expand it
   26212   U=`sed -n 's/^U = //p' < "$mf"`
   26213   # Find all dependency output files, they are included files with
   26214   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   26215   # simplest approach to changing $(DEPDIR) to its actual value in the
   26216   # expansion.
   26217   for file in `sed -n "
   26218     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   26219        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   26220     # Make sure the directory exists.
   26221     test -f "$dirpart/$file" && continue
   26222     fdir=`$as_dirname -- "$file" ||
   26223 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26224 	 X"$file" : 'X\(//\)[^/]' \| \
   26225 	 X"$file" : 'X\(//\)$' \| \
   26226 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   26227 echo X"$file" |
   26228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26229 	    s//\1/
   26230 	    q
   26231 	  }
   26232 	  /^X\(\/\/\)[^/].*/{
   26233 	    s//\1/
   26234 	    q
   26235 	  }
   26236 	  /^X\(\/\/\)$/{
   26237 	    s//\1/
   26238 	    q
   26239 	  }
   26240 	  /^X\(\/\).*/{
   26241 	    s//\1/
   26242 	    q
   26243 	  }
   26244 	  s/.*/./; q'`
   26245     { as_dir=$dirpart/$fdir
   26246   case $as_dir in #(
   26247   -*) as_dir=./$as_dir;;
   26248   esac
   26249   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   26250     as_dirs=
   26251     while :; do
   26252       case $as_dir in #(
   26253       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   26254       *) as_qdir=$as_dir;;
   26255       esac
   26256       as_dirs="'$as_qdir' $as_dirs"
   26257       as_dir=`$as_dirname -- "$as_dir" ||
   26258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26259 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   26260 	 X"$as_dir" : 'X\(//\)$' \| \
   26261 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   26262 echo X"$as_dir" |
   26263     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26264 	    s//\1/
   26265 	    q
   26266 	  }
   26267 	  /^X\(\/\/\)[^/].*/{
   26268 	    s//\1/
   26269 	    q
   26270 	  }
   26271 	  /^X\(\/\/\)$/{
   26272 	    s//\1/
   26273 	    q
   26274 	  }
   26275 	  /^X\(\/\).*/{
   26276 	    s//\1/
   26277 	    q
   26278 	  }
   26279 	  s/.*/./; q'`
   26280       test -d "$as_dir" && break
   26281     done
   26282     test -z "$as_dirs" || eval "mkdir $as_dirs"
   26283   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   26284 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   26285    { (exit 1); exit 1; }; }; }
   26286     # echo "creating $dirpart/$file"
   26287     echo '# dummy' > "$dirpart/$file"
   26288   done
   26289 done
   26290  ;;
   26291 
   26292   esac
   26293 done # for ac_tag
   26294 
   26295 
   26296 { (exit 0); exit 0; }
   26297 _ACEOF
   26298 chmod +x $CONFIG_STATUS
   26299 ac_clean_files=$ac_clean_files_save
   26300 
   26301 
   26302 # configure is writing to config.log, and then calls config.status.
   26303 # config.status does its own redirection, appending to config.log.
   26304 # Unfortunately, on DOS this fails, as config.log is still kept open
   26305 # by configure, so config.status won't be able to write to it; its
   26306 # output is simply discarded.  So we exec the FD to /dev/null,
   26307 # effectively closing config.log, so it can be properly (re)opened and
   26308 # appended to by config.status.  When coming back to configure, we
   26309 # need to make the FD available again.
   26310 if test "$no_create" != yes; then
   26311   ac_cs_success=:
   26312   ac_config_status_args=
   26313   test "$silent" = yes &&
   26314     ac_config_status_args="$ac_config_status_args --quiet"
   26315   exec 5>/dev/null
   26316   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   26317   exec 5>>config.log
   26318   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   26319   # would make configure fail if this is the last instruction.
   26320   $ac_cs_success || { (exit 1); exit 1; }
   26321 fi
   26322 
   26323